Blog

Transfer your GPG public and private keys to another computer (for k in $(gpg -K | egrep ^sec | awk '{print $2}' | awk -F/ '{print $2}'); do gpg --output - --export $k; gpg --output - --export-secret-key $k; done) | gpg --armor --output keys.asc --symmetric --cipher-algo AES256 Now, i
Read More

Resume old Time Machine backup

$ sudo tmutil inheritbackup /Volumes/jaysoncena/Jayson\ Cena\'s\ rMBP.sparsebundle Attaching disk image... ** /dev/rdisk3s2 (NO WRITE) Executing fsck_hfs (version hfs-305.10.1). QUICKCHECK ONLY; FILESYSTEM CLEAN Claiming disk image for machine... Ejecting disk image... $ sudo tmutil s
Read More

5 Advanced Java Debugging Techniques Every Developer Should Know About

A must-read for DevOps supporting Java Applications http://www.infoq.com/articles/Advanced-Java-Debugging-Techniques
Read More

Get public certificate from an HTTPS service

Save the certificate to publci_cert.pem   Show details of the certificate
Read More

Fix 2-way SSL between Google Chrome and Tomcat (POODLE fix as well)

Use the following in your conf/server.xml, <Connector> configuration
Read More

Recover Couchbase Administrator Password

Using the built-in Erlang shell on Couchbase, we are going to decode the configuration to retrieve/recover the administrator’s password.
Read More

Part 1 – Accessing OrientDB in Python: OrientDB Installation

In this how-to, I’m going to show you how you can access your OrientDB Graph database in your Python projects. Introduction What is OrientDB? OrientDB is a mix of 2 database technology: Document-oriented and Object-oriented databases. Also, one of the advantages of OrientDB comp
Read More

Highly-Available and Load-Balanced WordPress Cluster – Part 1: Introduction

This article explains on how to setup a load-balanced Wordpress cluster in a master-slave configuration. The load balancer(HAProxy) sits in front of 2 or more web server nodes (1 Master and 1 Slave) which has the same contents.
Read More