dailysrc - Profile (original) (raw)

on 1 March 2005 (#6299594)

Random, useful, interesting, or clever functions and one-liners.

Guidelines:
* Any programming language will do.
* The code must be your own.
* The code must be readable -- it can be obfuscated but it should be formatted well.
* Test your code before posting it.
* Wrap your code in

...
, and set Text Formatting to None. Remember to HTML-escape < and > if necessary.

Examples of good posts might include:
* Posting a useful, well-documented function
* Posting a particularly clever function and explaining it
* Posting a particularly clever function and inviting the reader to figure it out

awk, c, c#, c++, java, objective c, perl, python, ruby, sed, sh