4chan BBS - Genius sorting algorithm: Sleep sort
june 2011 by scottjacksonx
#!/bin/bash
function f() {
sleep "$1"
echo "$1"
}
while [ -n "$1" ]
do
f "$1" &
shift
done
wait
example usage:
./sleepsort.bash 5 3 6 3 6 3 1 4 7
programming
sorting
algorithm
function f() {
sleep "$1"
echo "$1"
}
while [ -n "$1" ]
do
f "$1" &
shift
done
wait
example usage:
./sleepsort.bash 5 3 6 3 6 3 1 4 7
june 2011 by scottjacksonx
Kod
january 2011 by scottjacksonx
Text editor that takes cues from Chrome.
osx
programming
texteditor
january 2011 by scottjacksonx
Flow (psychology) - Wikipedia, the free encyclopedia
february 2010 by scottjacksonx
"Flow is the mental state of operation in which the person is fully immersed in what he or she is doing."
creativity
productivity
wikipedia
programming
february 2010 by scottjacksonx
Lou's Pseudo 3d Page
february 2010 by scottjacksonx
Interesting look at how to draw pseudo-3D roads in a 2D game.
gamedesign
programming
february 2010 by scottjacksonx
related tags
algorithm ⊕ business ⊕ cheatsheet ⊕ cocoa ⊕ creativity ⊕ development ⊕ gamedesign ⊕ git ⊕ history ⊕ interview ⊕ job ⊕ osx ⊕ productivity ⊕ programming ⊖ software ⊕ sorting ⊕ style ⊕ texteditor ⊕ versioncontrol ⊕ wikipedia ⊕Copy this bookmark: