select dbms_utility.port_string from dual;
Wednesday, October 21, 2015
Saturday, September 12, 2015
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
Thursday, September 10, 2015
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 :)
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 :)
Saturday, September 05, 2015
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.
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.
Saturday, August 22, 2015
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
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
Sunday, June 28, 2015
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
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
Tuesday, May 26, 2015
google universal analytics kodu ile subdomain takibi
google analytics sitenizin trafiğini takip etmenizi sağlayan bir araçtır. GA ya üye olup js kodunu sitenize eklemeniz yeterlidir sonrasında günlük sayfa gösterim veya tekil ziyaretçileri izlemeye başlayabilirsiniz.
benim bu işlemi bir subdomain de yapmam gerekti. en son google mobil siteleriniz olması lazım diye bir duyuruda bulundu ve geçen ay konuyla ilgili arama algoritmasını yayına aldı. o sebeple eldeki sitelerin mobil versiyonlarını yazıp GA ile takip etmeye devam etmek istedim.
GA ya login olduktan sonra yukardan Admin linkine tıklanır View bölümünde imajda göründüğü gibi "create new view" a tıklanır ve mobil kodumuzu yerleştirdiğimiz site için yeni bir view oluşturulur.
ben daha evel oluşturduğum için yukarda mobili görüyorsunuz. daha sonra bir isim verip yeni view ı oluşturursunuz. sonraki adımda filters. yine yukardaki arayüzde view ın altında görünen filters a tıklanır.
çıkan sayfada new filter a tıklanır. sonra filtera bir isim verilir. özellikler kısmındada hostname in geçtiği seçilir ve mobil siteniz için uygun hostname yazılır ve kaydet e basılır.
eski trafikleri burada göremezsiniz. yani bu filtreyi oluşturmadan önceki trafiği bu view da göremeyeceksiniz. o sebeple mobil trafiği izlemek için bu filter ı hemen oluşturmanızda fayda var.
benim bu işlemi bir subdomain de yapmam gerekti. en son google mobil siteleriniz olması lazım diye bir duyuruda bulundu ve geçen ay konuyla ilgili arama algoritmasını yayına aldı. o sebeple eldeki sitelerin mobil versiyonlarını yazıp GA ile takip etmeye devam etmek istedim.
GA ya login olduktan sonra yukardan Admin linkine tıklanır View bölümünde imajda göründüğü gibi "create new view" a tıklanır ve mobil kodumuzu yerleştirdiğimiz site için yeni bir view oluşturulur.
ben daha evel oluşturduğum için yukarda mobili görüyorsunuz. daha sonra bir isim verip yeni view ı oluşturursunuz. sonraki adımda filters. yine yukardaki arayüzde view ın altında görünen filters a tıklanır.
çıkan sayfada new filter a tıklanır. sonra filtera bir isim verilir. özellikler kısmındada hostname in geçtiği seçilir ve mobil siteniz için uygun hostname yazılır ve kaydet e basılır.
eski trafikleri burada göremezsiniz. yani bu filtreyi oluşturmadan önceki trafiği bu view da göremeyeceksiniz. o sebeple mobil trafiği izlemek için bu filter ı hemen oluşturmanızda fayda var.
Subscribe to:
Posts (Atom)
-
at the end of any product there will be a reporting interfaces for counts. let say you build a advertisement site which gives people to publ...
-
I took the first jab in August 15 around 10:30 in the morning. no pain or nausea or dry mouth, I have been intermittent fasting since 2017 ...




