Darky ROM with HOME button on T959D (Galaxy S Fascinate)

Hey! If you’ve installed the Darky Rom 10.2 (or 10.3) on your T959D phone (Samsung Galaxy S Fascinate), and you are missing the HOME and SEARCH key here is how to get them working : Install Darky ROM 10.2 Download the latest Odin 3 (I used Odin3 v1.85) * Start Odin Download DarkyROM_10.2_Resurrection.zip Extract the ZIP Put the pit file in PIT Tick repartition Put PDA.tar it into PDA Put phone in Download Mode (vol-down+home+pwr) Connect through USB to your computer (make sure Kies is off) Hit Start Sit back and relax while your phone gets resurrected The provided Odin 1.3 didn’t detected my phone, so I just used version 1.85 Install the key layout patch But since this ROM is for the I9000 phone which has a hardware HOME button, you need to install a patch to fix the T959D’s software buttons : Download the “Key Layout Update.zip” from this page Connect your phone to your computer as a mass storage device Copy the “Key Layout Update.zip” to your phone’s sd card.

Search within pdf files using grep

Put this code snippet into a script named greppdf into your path : #!/bin/bash for PDF in *.pdf do NB_PAGES=`pdfinfo "$PDF" |grep "Pages" |cut -f 2 -d ":"` for (( PAGE=1; PAGE<=$NB_PAGES; PAGE++ )) do pdftotext "$PDF" -f $PAGE -l $PAGE - | grep -i $@ | while read line; do echo "$PDF:$PAGE:$line"; done done done Now you can search through a directory of pdf, using this command (you can use as well regular grep parameters) : greppdf "programming" This will output the filename and slide number where the “programming” string is found.

Apache virtual host using a symlink to home directory

Forbidden : You don’t have the permission to access / on this server. If you see this error message, then perhaps you’re trying to use an Apache virtual host that’s located somewhere in your home directory? Well this could be because Apache doesn’t have the permissions to traverse the directory, and this post explains how to fix it with complete config files. In my case, my default apache document root is /var/www and I want to server /var/www/potdigger which is a symlink to /home/david/workspace/php/potdigger_backend .

Howdy! Finally switched to WordPress!

I finally made it! Special thanks to Dave Murphy and Jacius for their instructions on migrating from Mephisto to WordPress. Now, I’ll be able to catchup with some articles!! Stay tuned!

Projects

Open Source Projects Android Time Tracker for Assembla API

About David Lauzon

(english version coming soon…) Je suis un jeune leader dynamique possèdant 5 ans d’expérience professionnelle en programmation. Étant a l’aise avec le Bash, je développe principalement sous Linux mais je connais aussi bien MS Windows. Et bien que je sois spécialisé en Web 2.0 (Ruby/Rails, PHP, REST, Flash AS3, JavaScript/Ajax), je développe aussi des applications Desktop (QT C++, Java), mobiles (Android Java) et base de données SQL. Comme j’aspire a devenir architecte, je focus sur ma polyvalence dans plusieurs domaines de l’informatique.

Utilisation de GoogleMaps en Java

Introduction Cet article s’adresse aux développeurs cherchant intégrer un système cartographique dans leur application Java. Vous trouverez ci-bas les résultats de mes recherches effectués lors de mes charges de laboratoire du cours Analyse et Conception de Logiciel l’École de Technologie Supérieure (ÉTS). Survol des possibilités étudiées Voici un schéma qui résume les options possibles. La légende est la suivante : en vert les options faciles, en orange difficulté moyenne, en rouge non-recommandée, et en grisées les options non explorées lors de cette recherche.

Use svn with Eclipse Galileo on Ubuntu 9.10

After wasting a lot of time myself, I thought this could serve some other people… So here’s how I did it : First install the Subclipse plugin Run sudo eclipse (that will install plugins system-wide) Eclipse > Install new software > Add Name = “whatever” Location = http://subclipse.tigris.org/update_1.6.x OK Work with: “whatever” Select these to install : CollabNet Merge Client Subclipse Subclipse Integration for Mylyn 3.x Subversion Client Adapter Subversion JavaHL Native Library Adapter Subversion Revision Graph If you get a “Subversion 1.6 contains a bug that causes Eclipse to crash ….

How to use QT Jambi from within Eclipse

This article is part 2 / 2 of using QT Jambi within Eclipse. Click here to read the first part of this article, “Getting started with QT Jambi on Linux”. The present article you will learn how to design forms within eclipse and structure your QT code using the MVC pattern : File > New > Other > Qt Jambi Project (Using Designer Form) Name it JambiWeb Add a new QT Jambi Designer Form and ajust settings like on screenshot.