Category: tools / utilities
If you want to change the colour of the font or the background of the console, you can use the command color under the command shell (cmd.exe). The color …
September 13, 2012
algorithms, batch script, beginner, games, images drawing, profiler, software design, string, technical, tools / utilities, windows command shell
Windows Batch Programming has been in existent for decades, ever since the first MS-DOS. The file extension that ends with *.bat will be interpreted by the DOS line by …
Scripting languages are relatively slow compared to native languages e.g. C/C++. Therefore, it is often needed to identify the performance bottlenecks of the code. In , the timeit function …
August 17, 2012
http, I/O File, implementation, multithreading, mysql, php, SEO, software design, tools / utilities, tricks, web programming
In , a PHP-based framework for caching the website is introduced. The sample PHP psudo-code is given. This post will present some additional improvements based on this framework. It …
Python provides a module timeit which allows quick timing of a piece of code. The straightforward example is given below. import timeit bar = timeit.Timer("a += 1", "a = …