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.


Homebrew PHP 5.6 With Oracle PDO_OCI 8

I follow this instruction https://gist.github.com/gido/5237100 but with some small modifications:

I use oracle instant client version 12.1.0.2 on El Capitan:

sudo mkdir /usr/local/instantclient
sudo mkdir /usr/local/instantclient/12.1.0.2

All downloaded zip files extracted to /usr/local/instantclient/12.1.0.2

Then the symlinks:


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:


How To Disable System Integrity Protection

Starting from OSX El Capitan, apple has equipped their OS with System Integrity Protection. Aimed to protect system directory, root action, etc. But the payoffs is some older application become misbehave with this new environment.

Here is step by step on how to disable the System Integrity Protection:


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 (⌘ + ⇒).


Maven Error: Could not calculate build plan

Whenever this error popped out:

Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6

Just go to Eclipse » Preferences » Maven » User Settings
And point the value to


Gaji....

Gaji itu hanya ilusi.
Yang penting bahagia.
Bahagia itu saat ilusi jadi kenyataan

Semoga kata2 saya diatas dapat menjadi renungan bagi anda yang menanti gajian. Salam.