Setting up Chef

Prerequisite: Chef 12.1.x

»
Author's profile picture David Chua

Connecting your AWS RDS to your AWS EC2

To secure your AWS RDS instance and prevent outside connections from connecting to it, ensure that during the RDS creation, you've unchecked "Publicly Available".

»
Author's profile picture David Chua

Ignore files already committed to Git

Have you ever have a situation where you do not want your changes to a particular file to be tracked but you still need it in the repository for future developers?

»
Author's profile picture David Chua on blog

How to Test for File Operations with FakeFS and RSpec

Background:

»
Author's profile picture David Chua on blog

How to make a S3 bucket publicly accessible

In your AWS Console, select the Bucket that you're trying to make public.

»
Author's profile picture David Chua

How to setup Fluentd to Log to S3 with Rails

Logging is important. When you're running a fully fledge production application server, you do not have the luxury of monitoring your rails console all the time.

»
Author's profile picture David Chua

How to add a confirmation dialog box in AngularJS

Setting up a confirmation box can be quite tricky, here's how to quickly get a confirmation box setup in AngularJS.

»
Author's profile picture David Chua

Fix AngularJS from loading twice error on Rails 4

If you're running a Rails 4.x app with AngularJS, and you're getting increasingly frustrated with receiving "AngularJS loaded twice" errors and you can't seem to figure out what went wrong, perhaps you might want to make sure you do two things first:

»
Author's profile picture David Chua

How to Start a Static Blog in 10 minutes with Jekyll and Terminal

Run your own Terminal Blog with Terminal

»
Author's profile picture David Chua

How to fix BigDecimal returning as Strings in Rails

Something that I've just found out recently.

»
Author's profile picture David Chua

How to Move your Rubygems from one Ruby version to another in RVM

Today's post is going to be a pretty short one.

»
Author's profile picture David Chua

How to Generate PDFs with HTML templates in 10 minutes with Rails

Generating PDF for your webapplication is not that difficult as you think.

»
Author's profile picture David Chua

Setting up your First Ruby Environment

Setting your ruby environment can be quite difficult.

»
Author's profile picture David Chua

Remove title bar in your Android App

To remove the title bar in your android app, add the following in your Activity's onCreate() method.

»
Author's profile picture David Chua

Run a webrick server to serve static html content in a folder

Need a quick way to serve html files?

»
Author's profile picture David Chua