How to increase VM disk size without re-deploy the machine

Ref: http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&externalId=1006371 [root@demo ~]# fdisk /dev/sda -Create a primary partition-

L2L VPN with ASA - Connection established but no packet coming from one side

Symtom: 1. Connection established. 2. 0 en/decapsulated packet from one side.

Fix Hadoop leap second bug without rebooting

Source: http://blog.wpkg.org/2012/07/01/java-leap-second-bug-30-june-1-july-2012-fix/ Applied our hadoop node having CPU usage issue. (CentOS)

Change iMessage & Facetime phone number in case of verification failure

Happened me after carrier change. Keep picking up SIM build-in number rather than my old number ported in later.

Device credential for Cisco license lookup and transfer

https://tools.cisco.com/SWIFT/LicensingUI/LicenseAdminServlet/licenseLookup in CLI: license save credential flash0:/credentials.lic more flash0:/credentials.lic Try SSH if you can’t get full strings from serial connection.

ZeroMQ - PHP client & Python server with multi part message example

Using pyobj or php data serialisation is not an option in this case.

hubot pandora bot adapter

# Chat with pandora bot # # ai <anything> – PANDORA AI # QS = require “querystring” xml2js = require ‘xml2js’ module.

cloudmailin hipchat hubot script

Took really long time to deduce workaround… :S Set cloudmailin as

Python - write compressed log file into HDFS for hadoop hive mapreduce

import pyhdfs from cStringIO import StringIO import binascii -snip- #Set hdfs connection info hdfsaddress = “namenode” hdfsport = 12345 hdfsfn = “filename” #gzip compression level clevel = 1 -snip- logger.

Facebook scribe with hdfs

packages: libevent hadoop-0.20-libhdfs JDK for hdfs support Boost http://sourceforge.net/projects/boost/ ./bootstrap.sh