Software

Troubleshooting an Eclipse PDE Build

06.10.09 | Permalink | Comment?

In this post, I’ll share what I’ve learnt trying to run an Eclipse PDE build. The specific version is Eclipse 3.2. This took me a while to get right(a few months in fact!). The key to getting it right is getting The Dependencies right. So let’s dive in!

Setting up

I’m following the [...]

Guitar

Fly away – Corrinne May Guitar Chords

11.09.08 | Permalink | 2 Comments

This is a sad sad song. Well it happened to be my best friend’s favourite. Reminds her of her Mom. Anyway this is for you MF!

F major, capo 1

F Am
“When will you be home?” she asks
[...]

Software

Setting up a basic project infrastructure with Redmine, Hudson, VSFTP

10.23.08 | Permalink | Comment?

Here I would like to share with you the steps to set up the basic project infrastructure.
For a project, there’re a few tools which are absolutely necessary to function

File Server
Project Wiki
Continuous Integration Server
Bug/Issue Tracking
Source Control

With these features in mind, I have identified the software necessary to provide all these functionality.

Subversion – Source Control
Redmine – wiki, [...]

Guitar

Plucking patterns for 让夜轻轻落下

10.18.08 | Permalink | 1 Comment

This is a very old song. Its from the ‘Xinyao’ era in ’80s Singapore
where its a mini Renaissance of local Chinese music. I love songs from that era. Here is one of them. You can catch the original song here.
The plucking patterns are improvised by me. For those new to guitar music notation:
p = thumb(duh…)
i [...]

Guitar

Guitar Chords for The Birthday Song – Corrinne May

10.06.08 | Permalink | 5 Comments

The Birthday Song – Corrinne May
Here’s another set of self written chords. I wrote this cos someone wanted to play this song for her best friend. And I thought that’s a worthy cause. So here goes…

G
Don’t worry about that extra line
       Em
That’s creeping up upon your face
     G
It’s just a part of nature’s way
   Em                        [...]

Software

Comparing payment gateways for an e-commerce store in Singapore

09.18.08 | Permalink | Comment?

In this post I hope to share the nuts and bolts of setting up an e-commerce website from scratch. The topic of e-commerce is too broad to broach upon in 1 post. So let’s focus on the payment gateway. What is a payment gateway? Why do I need it?  And the more important question: Where [...]

Rails

Persistent Cookie Authentication Gem Documentation

07.07.08 | Permalink | 4 Comments

What are persistent cookies? What are persistent cookies used for?
A persistent cookie is no different from other cookies. What is different is that it is used to identify users. With identification, it enables a website to remember you on subsequent visits, speeding up or enhancing your experience of services or functions offered. For example, [...]

Rails

Persistent Cookie Authentication Generator

07.06.08 | Permalink | 4 Comments

This is a Rails gem that I wrote, or rather extracted from the codebase from hushyhushy.com. OK, what is PersistentCookie Authentication Generator?
This gem is a code generator.  This generator creates an authentication system with persistent cookie management.
Feature include

a model which uses SHA1 encryption and salted hashes for passwords
a controller with signup, login, welcome and logoff [...]

Rails

InvalidAuthenticityToken and Session Expiry

06.29.08 | Permalink | Comment?

This is something that I’ve discovered as I was building hushyhushy. After I upgraded to Rails 2, I began using authenticity tokens. So far so good. But in the course of testing the app, I would encounter the infamous ‘InvalidAuthenticityToken Error’. That’s weird! It usually happened in the middle of testing the app, and after [...]

Rails

Postman Rails Plugin

06.27.08 | Permalink | Comment?

This plugin is calculates the shipping rate for a given location and weight. It is useful for cases where the postal service in your country doesn’t provide APIs for calculating shipping rates.
This is actually extracted code from my website hushyhushy.com. I needed some sort of a calculator for shipping rates. But there isn’t any. Those [...]

« Previous Entries