Popular source snippets

» ENUMERATE ALL EXTENSIONS FROM REGISTRY WITH THEIR HOST APPLICATION
Category: Delphi
Visits: 253
The snippet assumes the presence of Memo1 on Form1.
» SIMPLE RSS READER
Category: Ruby
Visits: 252
Written in Ruby this class reads an RSS feed and downloads the latest enclosure if it exists.
» THE 0-1 KNAPSACK PROBLEM IN C
Category: C
Visits: 250
This is a dynamic-programming algorithm implementation for solving the the 0-1 Knapsack Problem in C.
» SAFE VERSION OF GETS()
Category: C
Visits: 248
Never used the function gets. Why? It is unsafe. Since the maximum string size cannot be specified, it is always susceptible to buffer overflow. This snippet shows one way to do a safe version of gets. It...
» STRING REVERSAL WITHOUT USING INDEXING.
Category: C
Visits: 248
Used recursion to reverse the string. Another method for string reversal.
» SIMPLE SPELL CHECKER
Category: Ruby
Visits: 234
Requires aspell and wxCocoaDialog. Checks all of your selection for misspellings.
» DATE UTILITY
Category: Java
Visits: 231
JAVA Date Utility ( This program Demonstrates the proper use of Date functionality in common java programming scenarios ) Date and Time
» QUICKSORT
Category: C
Visits: 225
Quicksort written in C. Uses the Hoare partition algorithm.
» DUMP MODELS INTO FIXTURES
Category: Ruby
Visits: 223
This snippet of code will look in app/models for all models, then dump their contents into the corresponding fixture file found in test/fixtures. At the moment, it can not differentiate between regular...
» ENUMTOTYPE / TYPETOENUM
Category: C#
Visits: 220
Convert (Enum to Type and Type to Enum)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15