Tag: script
September 13, 2012
algorithms, batch script, beginner, code, code library, implementation, programming languages, string, tricks, windows, windows command shell
Under Linux, there is a famous quote: “When there is a shell, there is a way.”, meaning that the Linux SHELL script is very powerful and in fact can …
In Javascript, functions are objects. Therefore you can define objects by using functions like the following. function Person(name, age) { this.name = name; this.age = age; } var Jack …
In , the euclidean algorithms i.e. gcd and lcm are presented. Especially the gcd function, which computes the greatest common divisor, is fundamentally important in math and can be …
August 29, 2012
beginner, bug fixes, HTML5, http, implementation, internet, javascript, programming languages, SEO, technical, tricks
Today, I rewrite the home page of the my site www.steakovercooked.com using mainly Javascript. The idea is to use the object defined in , printing the messages and major …
August 28, 2012
beginner, github, HTML5, http, implementation, internet, javascript, programming languages, technical, tricks
In Javascript, there are some nice language features, one of them is to define a class via returning a list of functions. For example, the following illustrates this simple …