Harden your SSL Security - The site is using outdated security.

If you've seen the following warning on your browser when accessing your already configured nginx SSL, you probably need to work on getting it compliant.

»
Author's profile picture David Chua on blog

Setting up OpenVPN AS with FreeRADIUS AND stunnel

If you're ever curious as to how do VPN service providers manage all their users and their authentication. I hope this might give you a little peek.

»
Author's profile picture David Chua on blog

Find out which processes is using your swap

To find out which process is using your swap memory, use smem

»
Author's profile picture David Chua

Fix freezing mouse-click issue on Spotify Linux

If you're running Linuxmint/Ubuntu and you're experiencing strange issues with your mouse click being disabled across the entire desktop after running spotify, you might experiencing this issue

»
Author's profile picture David Chua

Debugging Redis and its Memory

To determine the size of a key

redis-cli> DEBUG OBJECT <keyname>
Value at:0x7ffc8f8eb330 refcount:1 encoding:linkedlist serializedlength:1175841791 lru:416416 lru_seconds_idle:30
»
Author's profile picture David Chua on blog

Configuring RDS with EC2

When configuring RDS with EC2, ensure that your EC2 instance meet the following criteria:

»
Author's profile picture David Chua

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