[originally posted 2014-03-24]
Here are two quick and dirty examples showing how to preserve
/*** multiline string comments ***/ when using uglifyjs (i.e., uglify 2.0). The first uses the basic uglify cli approach, while the second example uses gulp.
Continue reading “Preserving multi-line comment-style strings with UglifyJS2”
[originally posted 2014-03-14]
eval function and the
Function constructor to highlight their similarities as well as their subtle differences, and how to use them without problems.
[originally posted 2014-03-04]
Getting started with tests takes time because there are many small decisions to make. If you haven’t gone through the whole setup and evolution more than once or twice, it’s easy to get lost or just plain forget.
[originally posted 2013-08-12]
…then keep it simple
I like the Zen of Python, particularly the points excerpted by Jack Diederich in his talk, “Stop Writing Classes,” at PyCon US 2012:
Continue reading “Start Simple”
[originally posted 2013-08-11]
Thanks for stopping by.
I used to maintain this blog on github using Hexo, a Node.js module supporting markdown. I’ve switched over to wordpress online once I found it supported markdown (in the Settings section) so I wouldn’t have to go through all the rebuilding and deploying for such simple things as fixing a typo.
Continue reading “Hello, world (again)”