RSS

lzo stdin stdout decompression

hadoop fs -cat test/part-00000.lzo | lzop -df

 
Leave a comment

Posted by on January 26, 2012 in hadoop, linux

 

seq leading zero

seq -f "%02g" 1 1 24

 
Leave a comment

Posted by on January 26, 2012 in linux

 

lion macports erlang compilation patch

Add the following under “platform darwin 11″

if {${configure.compiler} == "clang"} {
configure.compiler llvm-gcc-4.2
}
configure.cflags-delete "-std=c99"
configure.cflags-delete -O2
configure.cxxflags-delete -O2
configure.cflags-append -O0
configure.cxxflags-append -O0
....

 
Leave a comment

Posted by on November 6, 2011 in Uncategorized

 

Tags: , ,

Varnish

Commands

  • varnishlog – log
  • varnishncsa – apache style varnish log
  • vanishtop – top
  • varnishd -s malloc,1G -f /path/to/name.vcl
 
Leave a comment

Posted by on September 12, 2011 in varnish

 

netbeans jetty maven debug

  1. export MAVEN_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000"
  2. Debug -> Attach Debugger, enter 8000 as the port
 
Leave a comment

Posted by on June 27, 2011 in java, maven

 
 
Follow

Get every new post delivered to your Inbox.