Skip to content

Instantly share code, notes, and snippets.

View Walexander's full-sized avatar

Will Alexander Walexander

  • MCO
  • Tysons Corner, VA
View GitHub Profile
@Walexander
Walexander / Current.html
Created August 30, 2011 17:51
Dict Markup
<div class="luna-Ent"><div class="header">
<h2 class="me">re·ply</h2><sup></sup> 
<a class="wordorglink" href="#wordorgtop" title="See Word Origin" onclick="smoothscroll('wordorgtop')" onmousedown="return spk(this,{lk:'dict',en:'dict',io:'1',b:'di1',tp:'lrl',m:'dict'})">Origin</a>
<span class="show_ipapr" style="display:none;">
<span class="prondelim">/</span>
<span class="pron">rɪˈplaɪ</span>
<span class="prondelim">/</span>
<a href="/help/luna/IPA_pron_key.html" target="_blank">
#!/usr/bin/env python
"""
Command line tool for google-diff-match-patch
"""
from diff_match_patch import diff_match_patch
import re
import sys
class bcolors:
REMOVED = '\033[9;97;41m'
@Walexander
Walexander / gdmp.py
Created May 25, 2013 00:11 — forked from tkf/gdmp.py
#!/usr/bin/env python
"""
Command line tool for google-diff-match-patch
"""
from diff_match_patch import diff_match_patch
import re
import sys
class bcolors:
REMOVED = '\033[9;97;41m'
@Walexander
Walexander / Empty 200 Response.txt
Last active August 29, 2015 13:57
Bid Requests
curl -v -H "Origin:http://x.beanstock.co" -H "Accept: application/json" -H "Content-type: application/json" -X POST -d "$data" http://pr.ybp.yahoo.com/bid/beanstock
> POST /bid/beanstock HTTP/1.1
> Host: pr.ybp.yahoo.com
> Origin:http://x.beanstock.co
> Content-Length: 666
< HTTP/1.1 200 OK
< Content-Length: 0
< Date: Thu, 20 Mar 2014 13:44:25 GMT
Bundle 'gmarik/vundle'
Bundle 'kien/ctrlp.vim'
Bundle 'scrooloose/syntastic'
Bundle 'scrooloose/nerdtree'
Bundle 'altercation/vim-colors-solarized'
Bundle 'tpope/vim-fugitive'
Bundle 'tpope/vim-dispatch'
Bundle 'pangloss/vim-javascript'
Bundle 'jelera/vim-javascript-syntax'
Bundle 'mklabs/grunt.vim'
commit b106d7c9acf4038095a996ea55891f1fb1b5d228
Author: Will Alexander <will@beanstockmedia.com>
Date: Wed Dec 10 13:59:18 2014 -0500
unit/manifest: unit tests for #getBest() method
diff --git a/test/unit/manifest.manifest.js b/test/unit/manifest.manifest.js
index 720f931..c3320c4 100644
--- a/test/unit/manifest.manifest.js

Keybase proof

I hereby claim:

  • I am Walexander on github.
  • I am serverherder (https://keybase.io/serverherder) on keybase.
  • I have a public key whose fingerprint is 6C97 0623 5ABD E1AD 8B8A A020 7845 D819 5106 91EE

To claim this, I am signing this object:

<script id="cx-nuke"
src="//c.mbid.io/tags/h"
data-bsm-pub="testpub"
data-bsm-sizes="300x250 728x90"
data-bsm-pub-zone="testpub.com/ros"
data-bsm-slot-list="testpub.com/ros@300x250 testpub.com/ros@728x90"
data-bsm-key1="value1"
data-bsm-key2="value2.0 value2.1"
></script>
<script type="text/javascript">
(function() {
// Handle #OldIE versions which do not contain the `CustomEvent` API
var CustomEvent = typeof window.Event == 'function' ? window.CustomEvent : CustomEventPolyfill
// The event details can contain a `slot_list` property, a space-separated list
// of site/section@size slots to run an auction for. If this property is missing
// or the value is empty, the slots specified in the nucleus element itself are used
var slotList = {
var a = {
foo: [ 'foo1', 'foo2' ],
bar: [ 'bar1', 'bar2' ],
}
Object.keys( a ).map( (list) => a[list] )
.reduce( (accum, current) => {
return accum.then( () => {
var promises = current.map( (url) => load(url) )