Recently I was trying to play around with some WordPress plugins, that brought my attention to the console and discovered there have been JavaScript errors […]
Continue readingCategory: Tech
Summary and thinking on Bulb Switcher problem
Bulb Switcher Problem: There are n bulbs that are initially off. You first turn on all the bulbs. Then, you turn off every second bulb. […]
Continue readingJavaScript (jQuery AngularJS) Notes
Better way to compare two floats When you compare two floats, you’d better not directly compare them. Because in the calculation handled by computer, some […]
Continue readingCompile & install 32 bit Python 2.7 on 64 bit CentOS 6.5
You might want to compile a version of Python other than shipped one on your CentOS system. For example, running a Python script using a […]
Continue readingHow to check Python version (both command-line and programmatically)
Sometimes you might want to confirm if your program will run / is running under Python 2.x or 3.x. We have a very simple way […]
Continue reading
Recent Comments