Strictly Programming

Generating SSL for Apache and Tomcat

Posted in Apache by sqllyw on 07/18/2011

Generate a self signed ssl certificate for Apache and Tomcat. (more…)

Adding a SATA drive to Ubuntu 8.10

Posted in Uncategorized by sqllyw on 04/08/2011

Credit Card number related

Posted in Uncategorized by sqllyw on 03/30/2011

Some resources when programming credit card support. (more…)

Some basic tips on Facebook application develop

Posted in Uncategorized by sqllyw on 03/24/2011

Recording some tips/infos along the development of facebook applications. (more…)

Calibrate Macbook Pro Battery A1175

Posted in Uncategorized by sqllyw on 10/29/2010

Calibrate a macbook pro battery:

Ok, Macbook Pro’s battery is known to have a poor performance, I got a replacement, and it just last for a few months, but honestly, I did not really follow the calibration suggestions as it seems difficult to do , for the few months I’m using the battery, I did that full calibration a few times, looking back, there should be an easier way to calibrate, here is a tip about this:

The official way:

1. Fully charge the battery first.
2. Keep it in full state for at lest two hours.
3. Disconnect the power and use the computer until it goes to sleep.
4. Rest the computer for at least five hours.
5. Fully charge the battery again.

you can use your unit in all the steps above except #4.

An easy to follow approach:

1. Use your unit with power connected in the day.
2. Unplug the power x hours before you go to sleep, x represents the max number of hour your battery can last, in my case, it’s only 20 min.
3. Use the computer until goes into sleep mode, you go to sleep too.
4. Use your unit with power connected next morning until it is fully charged.

Installing Wine in Zenwalk and make it look nicer

Posted in Wine, Zenwalk by sqllyw on 05/31/2010

Zenwalk 6.4 and Wine installation

(more…)

Interbase Slow Connection in Macbook Pro

Posted in Delphi by sqllyw on 05/28/2010

try to find IB_AFFINITY in the net and run:
IB_AFFINITY -q -A2

this should work with IB prior to 6.5. Firebird does not need this.

Tagged with:

Cocoa Binding – A simple Example

Posted in Objective-C by sqllyw on 05/26/2010

A very simple example of binding

(more…)

Cocoa Binding – Key Value Coding

Posted in Objective-C, Uncategorized by sqllyw on 05/26/2010

KVC is similar to Java’s beans.

(more…)

Tagged with: , ,

Objective C Coding Style

Posted in Objective-C by sqllyw on 03/28/2010

Just came across a blog regarding Objective C coding style, very useful:
Cocoa Style for Objective C: Part I
Cocoa Style for Objective C: Part II

(more…)

Tagged with:
Follow

Get every new post delivered to your Inbox.