30 Mayıs 2013 Perşembe

Linux Snapshot

Pdf dosyalarındaki resimleri çekebilmek için güzel bir uygulama:

sudo apt-get install ksnapshot

19 Mayıs 2013 Pazar

Git Belirli Bir Commit'i Çekme

git init
git remote add origin http://xxx@yyy/zzz.git
git pull origin
git checkout 8b43188

Ubuntu Bulunduğun Klasörde Terminal Çalıştırma

Yandaki uygulama kurulduktan sonra, sağ tuş menusunden bulunduğunuz klasörde terminal açabilirsiniz. nautilus-open-terminal 

17 Mayıs 2013 Cuma

Nutch 2.x - 2.1 batchId column

Hata:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'batchId' in

Çözüm:
DB'de aşağıdaki alter çalıştırılır:
alter table webpage add column `batchId` varchar(32) CHARACTER SET latin1 DEFAULT NULL

VBox Disk Alanı Arttırma

VBoxManage modifyhd /home/abc/VirtualBox\ VMs/centos/centos.vdi --resize 45000 

10 Mayıs 2013 Cuma

BigInsights Unzip Hatası

BigInsights_v1.3.part01.exe olan dosyasının uzantısı .rar olarak düzeltilmeli.

8 Mayıs 2013 Çarşamba

Internal Repo problemi

Internal olarak tanımlamış olduğumuz bir repodan, maven ile jar dosyalarını çekmeye çalışırken

[WARNING] Unable to get resource .......error transferring file:


bu durumda hosts dosyasına yeni reponun ipsini eklersek problem çözülüyor.

1 Mayıs 2013 Çarşamba

MySql- Java Blob to String


           Blob textBlob = resultSet.getBlob("old_text");
            byte[] bdata = textBlob.getBytes(1, (int) textBlob.length());
            text = new String(bdata);