Public Domain Scraps

Scrap User Syntax License Created Updated
shuffleArray Randomly rearrange the contents of an array
jwodder C Public Domain 11 Jan 2010 8 years, 9 months ago
memndup Allocates a copy of an arbitrary byte sequence
jwodder C Public Domain 11 Jan 2010 8 years, 9 months ago
issymlink Tests whether a given path is a symbolic link
jwodder C Public Domain 11 Jan 2010 8 years, 9 months ago
gcd.c Greatest common denominator/divisor function in C
tags: C GCD math
jwodder C Public Domain 13 Jan 2010 8 years, 9 months ago
webcam upload to ftp Get's an image from any opencv-supported webcam and uploads it to an ftp site
netrebel Python Public Domain 10 Jan 2010 8 years, 9 months ago
findSublist.hs Find a sublist/substring in a list/string
jwodder Haskell Public Domain 16 Jan 2010 8 years, 9 months ago
tags: email gmail smtp
domenic C# Public Domain 11 Jan 2010 8 years, 9 months ago
UTF-16 surrogatization Converts between Unicode codepoints and UTF-16 surrogate pairs
jwodder C Public Domain 10 Jan 2010 8 years, 9 months ago
bellrand.hs Generate random numbers with a normal distribution
jwodder Haskell Public Domain 13 Jan 2010 8 years, 9 months ago
fileExists Tests whether a given file path exists
jwodder C Public Domain 11 Jan 2010 8 years, 9 months ago
Clean inclusion of windows.h Include windows.h in a more POSIX-friendly way
victorliu C++ Public Domain 10 Jan 2010 8 years, 9 months ago
Model setup for foozball for a webapp i'm working on
tags: django python
dfnkt Python Public Domain 01 Sep 2010 8 years, 1 month ago
C Signal Handler A quick demo of how to catch and handle signals in C/C++
tags: c c++ signal
thech0s3n0n3 C Public Domain 11 Jan 2010 8 years, 9 months ago
Ping to File pings all computers listed in c:\computers.txt and writes results to a notepad file
tags: batch cmd ping
dfnkt Batch Public Domain 05 Aug 2010 8 years, 2 months ago
GCD in Forth Greatest common denominator/divisor function in Forth
tags: Forth GCD math
jwodder Plain Text Public Domain 12 Jan 2010 8 years, 9 months ago
WindsorControllerFactory Implements castle windsor IoC container to abstract calls from an ecommerce application to a database. This lets you change your RDBMS ...
dfnkt C# Public Domain 29 Dec 2010 7 years, 9 months ago
Regex Regular Expression
tags: regex
amjith Python Public Domain 11 Jan 2010 8 years, 9 months ago
testfromjohn simple html page
tags: html
jakedahn HTML Public Domain 10 Jan 2010 8 years, 9 months ago
API Helper prints out methods/functions and their associated doc strings to assist you in using objects.
dfnkt Python Public Domain 09 Sep 2010 8 years, 1 month ago
Factorial, combinations, & permutations Calculate factorials, combinations, & permutations in C
jwodder C Public Domain 13 Jan 2010 8 years, 9 months ago
Motivational Wolf Prints out motivational text, suitable for a command prompt.
ink-jet Python Public Domain 10 Jan 2010 8 years, 9 months ago
Java native L&F Get the OS's native look-and-feel for Swing GUIs
v Java Public Domain 10 Jan 2010 8 years, 9 months ago
binsearch.hs Perform a binary search on a list, returning either an element or an index
jwodder Haskell Public Domain 12 Jan 2010 8 years, 9 months ago
GenPass Uses webob to generate a password. Usage -- 127.0.0.01/GenPass?length=8
dfnkt Python Public Domain 04 Oct 2010 8 years ago
C# Regex for rss Regex pour lire un flux rss
tags: regex rss
erbere C# Public Domain 12 Jan 2010 8 years, 9 months ago
cross.hs Cartesian cross product of one or more lists
jwodder Haskell Public Domain 12 Jan 2010 8 years, 9 months ago
wrapLine Fold lines at 80 characters (or any other point)
jwodder Perl Public Domain 11 Jan 2010 8 years, 9 months ago
Exponentiation in Forth Integer exponentiation in Forth
jwodder Plain Text Public Domain 12 Jan 2010 8 years, 9 months ago
tags: basic
dfnkt Erlang Public Domain 09 Feb 2010 8 years, 8 months ago
tabs2spaces Convert tab characters to the appropriate number of spaces
jwodder Perl Public Domain 11 Jan 2010 8 years, 9 months ago
set<->list Convert a list to a set and vice versa
jwodder Haskell Public Domain 12 Jan 2010 8 years, 9 months ago
flatten.ss Convert a list of lists to a flat list
jwodder Scheme Public Domain 13 Jan 2010 8 years, 9 months ago
bork ABAP Public Domain 08 Feb 2010 8 years, 8 months ago
uniq Return only the unique elements of a (pre-sorted) list
jwodder Perl Public Domain 11 Jan 2010 8 years, 9 months ago
anakryiko Sql Public Domain 02 Apr 2010 8 years, 6 months ago
list-head.ss Return an initial portion of a list
tags: list lists Scheme
jwodder Scheme Public Domain 13 Jan 2010 8 years, 9 months ago
Index.hs Assign contiguous indices to the elements of a list of ordered values
jwodder Haskell Public Domain 13 Jan 2010 8 years, 9 months ago
shuffle.hs Randomly reorder the elements of a list
jwodder Haskell Public Domain 12 Jan 2010 8 years, 9 months ago
final.ss Get the last element in a list
tags: last list Scheme
jwodder Scheme Public Domain 13 Jan 2010 8 years, 9 months ago
bitqtyset Counts the number of bits set in an int
tags: bit bits bitwise C set
jwodder C Public Domain 11 Jan 2010 8 years, 9 months ago
wide2utf Converts a Unicode codepoint to its UTF-8 representation
jwodder C Public Domain 11 Jan 2010 8 years, 9 months ago
Konami 01 Konami cheat code
gf3 Javascript Public Domain 11 Jan 2010 8 years, 9 months ago
Ideas, suggestions, & bug reports for foo(book): This seems like the best place to put this.
jwodder Plain Text Public Domain 15 Jan 2010 8 years, 9 months ago
Test Test
tags: Test
eg1242 VB.NET aspx Public Domain 10 Jan 2010 8 years, 9 months ago
Transpose columns and rows Transpose code from long format to wide format.
schalkheunis Sql Public Domain 11 Jan 2010 8 years, 9 months ago
mandelPoint.c Determine how many iterations of the Mandelbrot function it takes a point to escape
jwodder C Public Domain 13 Jan 2010 8 years, 9 months ago
StringTokenizer A simple C++ implementation of Java's StringTokenizer
victorliu C++ Public Domain 10 Jan 2010 8 years, 9 months ago
trim.hs Remove leading & trailing whitespace from a String
jwodder Haskell Public Domain 12 Jan 2010 8 years, 9 months ago
Ternary.hs Ternary/conditional operator in Haskell (It's shorter than if/else/then)
jwodder Haskell Public Domain 13 Jan 2010 8 years, 9 months ago
slice.ss Get a sublist of a list
jwodder Scheme Public Domain 13 Jan 2010 8 years, 9 months ago

Page:

« 1 2 3 4 »