Sample code on how to take screenshots of websites, resize them to thumbnails and save them as PNG file onto the harddrive.
Array of States and their Abbreviation
An array of states and their two letter abbreviation written in Ruby, useful for populating dropdown lists.
Get The Current Season
Get the current season based on the United States calendar of seasons and the clock of the PHP server.
Reverse a linked list
This code shows the logic behind reversing a linked list in C++ using pointers and looping through the current nodes, changing the order in which the elements are linked to eachother.
Search all stored procedures for keyword
This SQL query will search for a specific keyword in all the stored procedures available.
Convert ASCII values from hex to characters
This C# code takes in a list of ASCII values (hexadecimal) and shows the actual characters behind, thus converting hex values to strings.
Delete All Temporary Internet Files Of IE
Delete all the temporary files from Internet Explorer’s cache folder using basic methods available in the System.IO namespace.
Pronounceable Random Password Generator
This piece of code generates a random password of the specified length, but mixes the two sets of letters so that a pronouncable password is being generated.
Validate String For Positive Integer Values
A very simple way to validate a string for positive integer values using C# and regular expressions.
Display Time That Passed Since a Date
Calculate the time that has passed since a specified Unix formatted date and time, and show it in a human readable format, all in a PHP function.