Popular source snippets

» THREADS SPAWNING
Category: Ruby
Visits: 661
I needed a way to spawn multiple threads, have them monitored, and restarted if an error occured. I came up with the following.
» GET THE SPEED OF YOUR PROCESSOR
Category: Delphi
Visits: 660
Handy snippet that shows how you can write a application that shows you your CPU speeed
» BUSY INDICATOR
Category: C#
Visits: 653
Shows a wait cursor during a long task.
» REVERSING A LINKED LIST - RECURSIVELY
Category: C
Visits: 645
This code allows you to create a linked list and reverse it recursively.
» CREATE A RANDOM PASSWORD USING PHP
Category: PHP
Visits: 636
Nice little function that will generate a completely random password.
» BOUNCING RECTANGLE
Category: Python
Visits: 633
The snippet bounces a rectangle round the screen leaving a trail in different colors.
» COUNTDOWN TIMER
Category: ActionScript
Visits: 629
What setInterval is best at is simple (non-accurate) count-down timers and other (again, non-accurate) time-specific actions.
» CLEAN DESKTOP
Category: Python
Visits: 627
This little script to clean your desktop, shows what python easily can do.
» UTC TIME CHECKING
Category: C#
Visits: 626
Convert from local time using offset and see if a given time is between two others.
» SHA-256
Category: ActionScript
Visits: 620
The SHA (Secure Hash Algorithm) is one of the many cryptographic hash functions. It is suggested that SHA256 or greater must used for critical technology. This script is used to process variable length...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15