Rails

Persistent Cookie Authentication Gem Documentation

07.07.08 | Permalink | 2 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?

Postman rails plugin for calculating shipping rates

Guitar

Guitar Chords for Shelter - Corrinne May

05.10.08 | Permalink | 1 Comment

Shelter by Corrinne May
And here’s the chord file in text format: shelter.txt Well, if there’re any obscure songs that you couldn’t find chords for it on the web, do let me know. I’ll try to write for that if I like the song too…
G                   D
What’s wrong, whats getting you down
C                           Bm
Is it something I […]

Guitar

Guitar Chords for Love Song #1 - Corrinne May

04.21.08 | Permalink | Comment?

Another self written piece. And here’s my original chord file(which is more accurate!) love-song-_1.txt
A […]

Guitar

Guitar Chords for ‘Journey’ - Corrinne May

04.12.08 | Permalink | Comment?

If you haven’t realised, ‘Journey’ and ‘Everything in its time’ are similar in structure. But anyway here’s the chords: journey.txt
Journey - Corrinne May
A                F#m
It’s a long long journey
A                          F#m
Till I know where I’m supposed to be
A         F#m
It’s a long long journey
A                     F#m
And I don’t know if I can believe
C#m              D
When shadows fall and block my […]

Guitar

Every beat of my heart - Corinne May Guitar Chords

04.03.08 | Permalink | 1 Comment

Here’s the guitar chords for “Every beat of my heart” a song by Corrinne May. My favourite song. And a rather short one too. Those playing it, note my usual disclaimers in my earlier chords entries. Here’s the text file for those who wants it: every-beat-of-my-heart.txt
D […]

Guitar

Guitar Chords for ‘Everything in its time’ by Corrinne May

03.15.08 | Permalink | 1 Comment

Another self created piece for ‘Everything in its time’ which is Corrinne May song. It’s not perfect, but it is good enough for me. Hope you guys out there like it! As usual, the spacing on the browser is not the same as the one on my text editor.
You can download the text file here: […]

Software

How to set up Dual Monitors on Ubuntu Gutsy with Nvidia graphic cards

03.12.08 | Permalink | Comment?

I had always wanted a dual monitor setup. It helps you get more things done. Especially in cases when you have to read the manual and configure something at the same time. If you don’t believe me, Slashdot has some research to prove it. So how do you get it to work?
At the moment, Ubuntu […]

« Previous Entries