Skip to content

Instantly share code, notes, and snippets.

be0c88ea9aa45b00d5a41d73d47bbf76c21d6f64 CoryDoctorow-AttackSurface/attack_surface_sq.jpg
5a24e193e598be98f692b5a46fc735c4815050bd CoryDoctorow-AttackSurface/cory_doctorow_attack_surface_001_introduction.mp3
327ecc6b98d56342a65bc04a30d512f7f9485e8a CoryDoctorow-AttackSurface/cory_doctorow_attack_surface_002_chapter_1a.mp3
96c63507954a4bf2fdd92895c064077145671822 CoryDoctorow-AttackSurface/cory_doctorow_attack_surface_003_chapter_1b.mp3
2a5d4b20f75cdb4ebe80c8c8a71428dd3a9cc846 CoryDoctorow-AttackSurface/cory_doctorow_attack_surface_004_chapter_1c.mp3
23baf9edcd36d615f0b08cd3103b341bcff1f9fa CoryDoctorow-AttackSurface/cory_doctorow_attack_surface_005_chapter_2.mp3
10f2c4ab659fdd9417e0c92a53d5f1e984ccf8be CoryDoctorow-AttackSurface/cory_doctorow_attack_surface_011_chapter_6b.mp3
138341f79bd9c010f87a8ca7af59199c338602b1 CoryDoctorow-AttackSurface/cory_doctorow_attack_surface_012_chapter_7.mp3
1a9b41c2d95fa7f188b0b0e10d34888ba57fafc2 CoryDoctorow-AttackSurface/cory_doctorow_attack_surface_013_chapter_8a.m
@daneroo
daneroo / invalid.xml
Last active November 24, 2018 18:33 — forked from sritchie/gist.xml
Live xml for dash parsing
<?xml version="1.0" encoding="utf-8"?>
<MPD>
<ProgramInformation>
<Title>This Document is not valid XML because it has an unclosed tag</Title>
</ProgramInformation>
<UnclosedTag>
</MPD>
@daneroo
daneroo / keybase.md
Created April 25, 2017 17:15
keybase.md

Keybase proof

I hereby claim:

  • I am daneroo on github.
  • I am daniellauzon (https://keybase.io/daniellauzon) on keybase.
  • I have a public key ASAhfCTSurFOmsHXGXeVfV-YkX5O4dUaC8MUDMDhJRvoYgo

To claim this, I am signing this object:

-- comma-10
password 12345
encrypted $2a$10$Su9ZTjPsGLIem1CfMGApteTVA9sXEgYllWnm.aDr5Y1.KGynwUAg2
rounds 10
-- genSalt-no-params
password 12345
encrypted $2a$10$BOdSeAtFbxqj9Np/Rzv2VuPaJg2B7c3CxxU2pI9XsVMgfcpG2Rb7i
rounds 10
-- genSalt(10)
password 12345
@daneroo
daneroo / gist:2820356
Created May 28, 2012 18:07 — forked from hacklschorsch/gist:2788656
a jshint pre-commit hook for git
#!/bin/bash
# A pre-commit hook for git to lint JavaScript files with jshint
# @see https://github.com/jshint/jshint/
#
# @see http://blog.founddrama.net/2011/06/jshint-pre-commit-hook-for-git
# @see https://gist.github.com/1013614
#
# Modified by fs@it-agenten.com 2012-05-22 for node.js and explicit /bin/bash
if git rev-parse --verify HEAD >/dev/null 2>&1
typeof(v): ["number","object","undefined"]
==null (v): [false,true,true]
===null (v): [false,true,false]
<!DOCTYPE html>
<title>jQuery UI Sortable / Palette test</title>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css" type="text/css" media="all" />
<style>
*{margin:0;padding:0;}
ul,ol
{list-style: none;}
@daneroo
daneroo / index.js
Created November 22, 2010 06:46
chat away
var clientNames=[];
for (var i=0;i<10000;i++){
clientNames.push("client-"+(1e7+i*5));
}
clientNames.forEach(function(cn) {
var channel = cn.substr(0,cn.length-1);
var total=0;
hub.fromClient(cn).subscribe(channel, function listenerFunction(message){
total++;
if (total%10==0){