A Good Dream

A good dream that lasted only a month.

It helped me learned what my limits were and unlocked all the potential I have. Stubborn ideals I once had fell like the Berlin Wall.

It triggered another change in my life, gave me energy and made me feel young again.

Many mistakes were made.
Words that shouldn’t be said were said.
Words that should be said weren’t said.

I’m sad that it’s over, I’m thankful it happened.

Now to put this newfound energy into my career.


Work has begun on the next version of The Tarutaru Times Online.

I don’t know when I can finish it, and I can’t promise it.

It will be a complete rewrite of the whole system, using all the new knowledge I’ve gained since v2.

You could say the motivation for this rewrite is because of FF14. It’s that good.

And to commemorate this new beginning, I’ve updated the blog, using the new templates :o

Deploying with Github

Just a note for myself. Or if anyone’s interested, feel free to continue reading.

This posts records the steps needed to allow the webserver to run a “git pull” command in your website’s folder.

Setting up SSH

In the case of Nginx, the home folder is /var/cache/nginx/

You need a .ssh folder here with the ownership given to “nginx”, which is the user account the webserver runs as.

Generate your PKI keys, update the public key at github and also make sure nginx owns those keys.

Website folder permissions

You will need to change the ownership of all the files in your web folder, including the .git folder and files to the “nginx” user account.

Git pull

su nginx to “log in” as the nginx user. You may need to change the bash settings in /etc/passwd in order to allow this login.

go to your website folder and run “git pull”. You will be asked to add the public key for github.com into your list of known hosts, so just type in “yes”

Github hook

I have a php file in /var/www/html that runs the git pull in the website folder when accessed.

The line of code is simply:

shell_exec(“cd /var/www/websitefolder.com/; git pull”);

Then add the url to this file in github’s hooks section and whenever you push to github, github will send a post to this file, triggering the git pull in that website folder.

The only sad thing about gaming

One thing I find depressing about console gaming is that newer generation consoles are often not backwards compatible. Which means they can’t play games from previous generation consoles; a PlayStation 3 cannot read or play the games of PS2.

So when one day, my PS2 console finally gives up on me, I would have to hunt for a second-hand PS2 or my games will all be unplayable to me anymore.

Which… is kind of sad…