Skip to content

Instantly share code, notes, and snippets.

View silky's full-sized avatar

Noon van der Silk silky

View GitHub Profile
@silky
silky / map.geojson
Last active December 21, 2015 01:28 — forked from almet/map.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
(*
This script analyzes the dependencies between top level types in a .NET Assembly.
It is then used to compare the dependency relationships in some F# projects with those in some C# projects.
Note that no attempt has been made to optimize the code yet!
REQUIRES:
* Mono.Cecil for code analysis
From http://www.mono-project.com/Cecil#Download
@silky
silky / README.md
Created December 21, 2013 04:43 — forked from mobeets/README.md

THE PROCESS

  1. The dough spreads (things melt).
  2. The edges set (before the center does).
  3. The cookie rises (water from melting reacts with baking soda, which in turn reacts with acids).
  4. Egg proteins and starches set (cookie's shape finalizes).
  5. Sugar caramelizes (producing richer, sweeter flavors).
  6. The Maillard reaction occurs (flour proteins and eggs brown with the sugar, producing nutty, toaster flavors).
  7. The cookie cools (liquefied sugar hardens, producing toffee-like texture).

THE GOAL

I wasn't first to get the key. Nor was I second, third, or even fourth. I'm probably not even the
10th to get it. But I'm happy that I was able to prove to myself that I too could do it.
The sleepless adventure began yesterday afternoon, 2014-04-12 15:19:04.827516279 -0700.
First, I have to admit I was a skeptic. Like the handful of other dissenters, I had initially
believed that it would be highly improbable under normal conditions to obtain the private key
through exploiting Heartbleed. So this was my motivation for participating in Cloudflare's
challenge. I had extracted a lot of other things with Heartbleed, but I hadn't actually set out to
extract private keys. So I wanted to see first-hand if it was possible or not.
@silky
silky / field.hs
Created June 5, 2014 02:48 — forked from sordina/field.hs
{-# LANGUAGE BangPatterns #-}
-- Preview on Youtube: http://www.youtube.com/watch?v=bK01Bgh32Sc
import Data.Complex
type C = Complex Float
type Color = (Float,Float,Float)
type Point = (Float,Float)
@silky
silky / serve.js
Created June 19, 2014 10:41 — forked from sordina/serve.js
#!/usr/bin/env node
// npm install connect
var port = process.argv[2];
var cwd = process.cwd();
if(! port) {
throw("Usage: serve <port>");
}
{-# LANGUAGE QuasiQuotes #-}
import Text.InterpolatedString.Perl6 -- For tests
import System.Environment (getArgs)
import Data.List.Split (splitOn)
import Data.List (intercalate)
-- IO:
main :: IO ()
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
@silky
silky / ci
Created August 16, 2014 06:50 — forked from sordina/ci
#!/bin/bash
cabal init \
--version="0.1.0.0" \
--non-interactive \
--no-comments \
--minimal \
--license=MIT \
--author="Lyndon Maydwell" \
--email=maydwell@gmail.com \
@silky
silky / data.sh
Last active August 29, 2015 14:18 — forked from sordina/data.sh
#!/bin/bash
echo 'digraph {'
data="$(grep '^data' Prototype.hs | sed 's/data //; s/ .*//')"
for i in $data
do
echo "$i;"
targets="$(grep "data $i .*=" Prototype.hs -A 6 \
| sed '/^$/,$d' \
| grep '::' \