Category: tricks
July 20, 2012
algorithms, BASH, batch script, beginner, brute force, implementation, non-technical, programming languages, tools / utilities, tricks
Shell Script Programming is of lots of fun. The following script prints a chess board with 8×8 squares interleaving black and white. Using simple loops and some simple math …
U-drives are very popular nowadays, they have generally replace floppys, and even CDs. Many light-weight virus or trojans are aiming for creating a hidden file which is called autorun.inf …
July 16, 2012
algorithms, batch script, beginner, brute force, implementation, math, programming languages, technical, tricks, windows, windows command shell
Windows Batch File (*.bat, *.cmd) is probably the most well-known exectuable file formats because of its simplicity, i.e. each line corresponds to a command for shell to execute. This …
The Python way of initializing a list can be clearly expressed as the multiplication operator: * for example, # an array of ten integers, which are all initialized to …
July 11, 2012
algorithms, batch script, beginner, code, code library, implementation, linux, multithreading, programming languages, tricks
In , the implementation of a sleep-sort algorithm is presented via the Python code. This article will shortly presents the implementation in Linux BASH Shell Script, which demonstrates the …