Categories: "Other languages" or "C / C++" or "Java" or "Python" or "R" or "Ruby/Rails" or "VisualBasic"

Display todays' Date with JavaScript

August 10th, 2012
To display the current date, day of the week and time on a web page, you don't want to refresh the entire page every sencond or minute. Instead you will want to use JavaScript to dynamically update just this date/clock display element. Here is the code… more »

Ruby Sorting

May 9th, 2012
Sorting (elements in an array) is a very common tasks in many scripts. A lot of research has gone into finding the most efficient way to sort. In Ruby the "sort" function performs a standard comparison accoring to the data type inspected, but as in mo… more »

AnnoTrack: Web-Server

January 27th, 2011
AnnoTrack is a Ruby-On-Rails application with is executed by an Apache2 server with the mod-rails (Passenger) plugin. It is living on virtual machines (VM) where we don't run any other services as rails does not play nice with other web-services. The… more »

Conditional Formatting in Ms Excel

November 12th, 2009
To change the format of a cell based on the content of that or another cell conditional formatting can be used. For simple things and up to three options the dialog "Format"-"Conditional Formatting" can be called after selecting the target cell. You can… more »

Ruby String Functions

April 9th, 2009
METHODS THAT ARE OPERATORS Operators such as + and * work on strings (concatenate and replicate). The % operator is a short form for sprintf, and the more »