My Experiences deploying Ruby on Rails apps in heroku

To remind myself in case I encounter problems / issues when deploying RoR apps in heroku, I listed them down below. 1. “heroku logs” – shows access/error logs 2. “heroku config” – shows config such as db, add-ons, etc heroku config -> must configure which database adapter to use the same as in database.yml 3. ...

Have fun with geeky anime titles

I was reading some of my friends tweets and I got interested to @ojtibi‘s idea to think of anime titles and combine it with some geekiness. Here’s some of the funny geeky anime titles: “Content-Type: X-Samurai-Battousai” “Dragon Ball Z-index” “Gleatch(Bleach)” “MS Paint Gundam” “Ghost in the Zsh-ell” Follow our tweets at: https://twitter.com/search?q=geekanimetitles  

CakePHP 2.x AuthComponent Configuration Keys Setup

I thought I should create a summary of AuthComponent Configuration keys in AppController. I saved it in a google spreadsheet. Please share if you have anything else to add.  

What is happening to this site

First of all, thank you to my readers. I appreciate you come to visit my site to get some information about me, or getting tips on how to solve installation problems, etc. I have been busy at work recently. I was working on a POC (Proof-of-Concept) project for one of our company’s top performing website. ...

Google Chrome 17: missing plus symbol to add new tab

I noticed this just recently after an upgrade in Ubuntu Synaptic. I thought it was a bug, but then it was said to be a new feature for the Google Chrome version 17. You may refer to this link for more details.

Building fastcgi issue: fcgio.cpp:50: error: ‘EOF’ was not declared in this scope

I came to this problem when I attempted to build fast_cgi in Ubuntu 11.10. I needed this installed for my personal Trac in my Ubuntu laptop. It looks everything’s OK during “./configure” , but after typing “make”  this message appears.   fcgio.cpp: In destructor ‘virtual fcgi_streambuf::~fcgi_streambuf()’: fcgio.cpp:50: error: ‘EOF’ was not declared in this scope ...

Notice: session_start() [function.session-start]: ps_files_cleanup_dir: opendir

I was creating a small web application and during my debugging and testing on one of its functionalities, I encountered this message. Notice: session_start() [function.session-start]: ps_files_cleanup_dir: opendir(/var/lib/php5) permission denied I realized that this is an error message related to your OS limiting the feature of your installed PHP to garbage collection. Some say that to ...

How to check for open ports in linux/ubuntu 11.10

In my work PC, I have Ubuntu 11.10 running on vbox as Guest OS and Windows XP as the host. I needed to restart Apache web server in my ubuntu vbox but it complained that the port 80 is already in use!  I googled for a tool that I can use in ubuntu to check ...

Happy New Year to all!

Happy new year to all! I wish everyone a happy 2012!

Earth | Time Lapse View from Space, Fly Over | NASA, ISS — cool video

A great colleague at work shared this video to us. It’s a very nice watch. I want to watch the video entirely as I wait it to load completely. Earth | Time Lapse View from Space, Fly Over | NASA, ISS Earth | Time Lapse View from Space, Fly Over | NASA, ISS from Michael ...