-
Recent Posts
Archives
- July 2016
- June 2016
- May 2016
- March 2016
- January 2016
- November 2015
- October 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- October 2013
- September 2013
- August 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- April 2011
- March 2011
- February 2011
Categories
My Tags
My Profile
Senior Software Engineer At Actuate
Meta
Monthly Archives: August 2011
code reading 4 – notepad++
var args method in C++ and var args method in java in the fileOpen function, it repeatedly call the method ‘setExtFilter’, each call the method would be passed in different parameters, here is the source code: void Notepad_plus::fileOpen() { FileDialog … Continue reading
Shadowbox photo gallery debug note 2
the previous post mentioned about the initialization of shadowbox , this post would talk about its animation. during the initialization, the cache.js : addCache() method would be called each time the image been loaded. the image path, file name and … Continue reading
Shadowbox photo gallery debug note 1
Here is the quote from shadowbox official site: Shadowbox is a web-based media viewer application that supports all of the web’s most popular media publishing formats. Shadowbox is written entirely in JavaScript and CSS and is highly customizable. Using Shadowbox, … Continue reading
Java Reflection In Action Study note 3
in study note 2, we talked about using java reflection api to serialize an object to xml. After compile and run the source code, the result would be
Install Ruby and Rake on RHEL 6
Yesterday I tried to investigate the implementation of a very popular photo gallery library – ShadowBox. ShadowBox is famous media viewer application which works in all main stream browser. From firebug I can see its source code. but all code … Continue reading
java reflection in action study 2
An example to serialize an Ojbect by using reflection. Based on the example of the books, I complete the serialization task. In order to output the object in an xml format, we need jdom.jar. It’s easy to find on … Continue reading
java reflection in action study notes 2
java array class name see some testing code: public static void main( String[] args ) { System.out.println( int.class.getName( ) ); System.out.println( int[].class.getName( ) ); System.out.println( char.class.getName( ) ); System.out.println( char[].class.getName( ) ); System.out.println( double.class.getName( ) ); System.out.println( double[].class.getName( ) … Continue reading