- dougie - https://www.youtube.com/watch?v=WtYSZawpSQI | https://www.youtube.com/watch?v=9PYYaMJ6SfU
- cat daddy - https://www.youtube.com/watch?v=vPu4BbB4StI
- crazy legs - https://www.youtube.com/watch?v=F3I7tgojpEA
- kick ball change - https://www.youtube.com/watch?v=XRM4vv_GC9U
- run-it dance - https://www.youtube.com/watch?v=C5X84NBjVgk
- treadmill dance aerobits - https://www.youtube.com/watch?v=SLMWaU-rLJQ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env node | |
| // npm install connect | |
| var port = process.argv[2]; | |
| var cwd = process.cwd(); | |
| if(! port) { | |
| throw("Usage: serve <port>"); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# LANGUAGE QuasiQuotes #-} | |
| import Text.InterpolatedString.Perl6 -- For tests | |
| import System.Environment (getArgs) | |
| import Data.List.Split (splitOn) | |
| import Data.List (intercalate) | |
| -- IO: | |
| main :: IO () |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| In the Beginning was the Command Line | |
| by Neal Stephenson | |
| About twenty years ago Jobs and Wozniak, the founders of Apple, came up with the very strange idea of selling information processing machines for use in the home. The business took off, and its founders made a lot of money and received the credit they deserved for being daring visionaries. But around the same time, Bill Gates and Paul Allen came up with an idea even stranger and more fantastical: selling computer operating systems. This was much weirder than the idea of Jobs and Wozniak. A computer at least had some sort of physical reality to it. It came in a box, you could open it up and plug it in and watch lights blink. An operating system had no tangible incarnation at all. It arrived on a disk, of course, but the disk was, in effect, nothing more than the box that the OS came in. The product itself was a very long string of ones and zeroes that, when properly installed and coddled, gave you the ability to manipulate other very long strings of o |
a list of things that are tentatively impossible.
- eat the sun
- disprove a true theorem
- walk through your desk in the next 5 minutes
- breathe in the vacuum of space
- purchase a quantum computer tomorrow
- ride a tiger to work
- drive a boat around the city instead of a car
- work with movie characters instead of real people
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| cabal init \ | |
| --version="0.1.0.0" \ | |
| --non-interactive \ | |
| --no-comments \ | |
| --minimal \ | |
| --license=MIT \ | |
| --author="Lyndon Maydwell" \ | |
| --email=maydwell@gmail.com \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > {-# LANGUAGE RankNTypes, | |
| > FlexibleInstances, | |
| > UndecidableInstances #-} | |
| > import Control.Monad (liftM2) | |
| > type Reducer a r = r -> a -> r | |
| > type Transducer a b = forall r. Reducer a r -> Reducer b r | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- what is this? | |
| -- http://en.wikibooks.org/wiki/Haskell/Fix_and_recursion | |
| fix :: (a -> a) -> a | |
| fix f = f (fix f) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- see http://jelv.is/blog/Lazy-Dynamic-Programming/ | |
| import Data.Array (listArray, bounds, range, (!)) | |
| import Data.List (minimumBy) | |
| import Data.Ord (comparing) | |
| -- standard fib | |
| fib n = fibs !! n | |
| where fibs = 0 : 1 : zipWith (+) fibs (drop 1 fibs) |