SpringBoot Internationalization With Absolute Path MessageSource

This is a brief example of multilanguage MessageSource resource bundle loaded from absolute path outside the project classpath.

First Create Two Properties File


error.title=Your request cannot be processed
error.subtitle=Sorry, an error has occurred.



Rangkuman Kecil Dari Gunung Sindoro

Kami ber-14 berangkat dari Tokopedia tower (padahal gw anak elevenia) pukul 22:00, menggunakan elf sewaan, sampai di Basecamp Kledung pukul 12:00. Langsung disambut porter kami, Mas Ipin. Packing ulang, makan siang, briefing sekedarnya, lanjut naik ojek ke pos 1½. Dari pos inilah kita baru start jalan kaki pake tenaga sendiri.

Kurang lebih rencana perjalanan seperti ini:

Setting Up Strongswan VPN in Ubuntu

Create CA

echo "deb http://ftp.debian.org/debian wheezy-backports main" > /etc/apt/sources.list.d/wheezy-backports.list
apt-get -t wheezy-backports install strongswan libcharon-extra-plugins
ipsec version
cd /etc/ipsec.d/
ipsec pki --gen --type rsa --size 4096 --outform pem > private/strongswanKey.pem
ipsec pki --self --ca --lifetime 3650 --in private/strongswanKey.pem --type rsa --dn "C=ID, O=example, CN=example Root CA" --outform pem > cacerts/strongswanCert.pem
ipsec pki --print --in cacerts/strongswanCert.pem

Gunung Ceremai Via Apuy

22 April 2017, terlalu malam kami start. Sekitar 21:30 mobil travel yang kita sewa baru digas dari Plaza Semanggi dengan tujuan rumah Tedy di Cirebon. Kami bertujuh berniat menjajal diri di gunung tertinggi di Jawa Barat, Ceremai.

PHP 5.6 Mac OSX 10.11.6 (El Capitan)

Check your apache version.

httpd -v
Server version: Apache/2.4.25 (Unix)

Installing PHP 5.6 With Mac OSX Default Apache

brew install php56 --with-apache

# to start apache service at boot
sudo launchctl load -w /System/Library/LaunchDaemons/org.apache.httpd.plist

# to start apache service manually
sudo apachectl start

For full list of options when installing php56:

brew options php56

Configure httpd.conf:

Tuning iTerm2 Shortcut Keys

Please meet iTerm, alternative replacement for native OSX terminal. This guy has been my preferred terminal since snow leopard. But the only thing that was missing is i want it to behave like a common text editor, where i can navigate through words using option+left (⌥ + ⇐), option+right (⌥ + ⇒), command+left (⌘ + ⇐), command+right (⌘ + ⇒).

Summoning My Old LG Optimus L3

My mother has been using this LG Optimus L3 for about 2 years. By the time this post written, it's obsolete, especially the storage was unacceptable, only few hundreds MB's available for systems app and other installation, and the other 1 GB storage was partitioned as secondary.

I bought her a new phone to replace her old LG, and she look happy :)

And i decided to keep the LG as my secondary phone.
So, after googling, reading, testing and comparing for some amount of time, i manage to root it and found the best solution for the storage issue.