Remove Entry from Known Host

Sometimes I am moving my domain from one server to another and facing this problem Add correct host key in /home/rezha/.ssh/known_hosts to get rid of this message. Offending key in /home/rezha/.ssh/known_hosts:60 RSA host key for rezhajulio.id has changed and you have requested strict checking. Host key verification failed. I am just too lazy to find line 60 of known_host I ended up deleting the entire known_host. Use this command to remove entries from known_hosts:...

February 3, 2016 · 1 min · Rezha Julio

Installing or Upgrading PostgreSQL 9.4 on Ubuntu 14.04

I am currently having a side project that requiring JSON Blob feature on PostgreSQL 9.4. But Ubuntu 14.04 only delivering PostgreSQL 9.3 on their repositories. Now I’ll posting step by step how to install or upgrade if you already using PostgreSQL 9.3 on ubuntu 14.04 to PostgreSQL 9.4. ...

August 20, 2015 · 1 min · Rezha Julio

Fix Locale Settings Error On Ubuntu Server 14.04

We are just migrating our cloud from Amazon Web Service to SoftLayer, and we feel really happy with performance improvement. But, somehow the new system has error like this. ...

July 29, 2015 · 1 min · Rezha Julio

EAFP Coding Style in Python

What is EAFP ? EAFP (Easier to Ask for Forgiveness than Permission) is a coding style that’s commonly used in Python community. This coding style assumes that needed variables, files, etc. exist. Any problems are caught as exceptions. This results in a generally clean and concise style containing a lot of try and except statements. This technique is really contrasts with common style in many other language like C with LBYL (Look Before You Leap) approach which is characterized by the presence of many if statements. ...

April 27, 2015 · 1 min · Rezha Julio

Installing Varnish with nginx on Ubuntu 14.04

About Varnish Varnish is an HTTP accelerator and a useful tool for speeding up a server, especially during a times when there is high traffic to a site. It works by redirecting visitors to static pages whenever possible and only drawing on the server itself if there is a need for an active process. ...

April 26, 2015 · 2 min · Rezha Julio