Thursday, April 09, 2015

xrebel ve jrebel kullanılmalı

yaklaşık 10 senedir profosyonel java geliştiriyorum. ve evet java ortamları insanı sıkacak kadar yavaş olabiliyor. kodu yazıp denemesi en az 30 saniye. hadi profile edim dersen en az 5dk harcanıyor. bunları hızlandırmak mümkün. uzun süredir jrebel social kullanıyorum. kendisi şuradan edinilebilir

https://my.jrebel.com/

gelelim xrebel e. xrebel bir profiling ürünü ve önyüzde  sonuç veriyor. kısa tanıtım filmi şöyle



türkçe anlatmak gerekirse jar ı indirip javaagent parametresiyle jvm e vermeniz yeterli sonra önyüzde kaç saniye nerede geçirdiğini ekrandan görebiliyorsunuz. umarım bunuda social falan yaparlar çok sevdim tool u blog yazdırdı bana :)

Thursday, April 02, 2015

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.

odd string diff

 https://leetcode.com/problems/odd-string-difference/ Beats 19.92% of users with Java   class Solution { public String oddString ( S...