I hereby claim:
- I am davidchambers on github.
- I am davidchambers (https://keybase.io/davidchambers) on keybase.
- I have the public key with fingerprint CC3A 9C98 F8FA 1729 D1ED C345 1625 E2CF 0BD0 FE42
To claim this, I am signing this object:
var alib = require('alib'); | |
var blib = require('blib'); | |
var clib = require('clib'); | |
+var zlib = require('zlib'); | |
var fruits = [ | |
'apples', | |
'bananas', | |
'cherries', |
I hereby claim:
To claim this, I am signing this object:
DOCTEST = node_modules/.bin/doctest --module commonjs | |
.PHONY: test | |
test: JS_FILES = $(shell find . -name '*.js' -not -path './node_modules/*' -not -path './test/*') | |
test: | |
@$(foreach file,$(JS_FILES),head -n 1 -- $(file) | grep --silent 'doctest ignore' - || $(DOCTEST) $(file) || exit 1;) |
DATE | |
9am, Sunday 15 June 2014 (NZ time) | |
VENUE | |
Level 2 | |
5 High Street | |
Auckland 1010 |
findX :: (MatchObj -> Maybe MatchObj) -> [String] -> Maybe MatchObj | |
findX matcher words = head xs | |
where | |
xs = do len <- length words .. 1 | |
idx <- 0 .. length words - len | |
let m = matcher { before: take idx words | |
, group: (drop idx >>> take len) words | |
, after: drop (idx + len) words | |
, matches: defaultTransaction | |
, context: [] |
#!/usr/bin/env ruby | |
require "base64" | |
message = "HG: Enter commit message. Lines beginning with 'HG:' are removed." | |
data = STDIN.read | |
data.gsub!(/^HG: .+\n/, '') if data.include? message | |
%x[open http://hashify.me/#{Base64.encode64(data).gsub(/\n/, '')}] | |
=begin | |
+-[ COMMAND SETTINGS ]------------+ |
'use strict'; | |
const fs = require('fs'); | |
const R = require('ramda'); | |
const S = require('sanctuary'); | |
// unit :: () | |
const unit = void 0; |
<?xml version="1.0" encoding="UTF-8"?> | |
<seestyle> | |
<mode id="SEEMode.Javascript"> | |
<style id="_Default" | |
color="#657b83" font-style="normal" font-weight="normal" background-color="#fdf6e3" /> | |
<style id="/Javascript/Keywords" | |
color="#859900" font-style="normal" font-weight="normal" /> | |
<style id="/Javascript/this" | |
color="#586e75" font-style="normal" font-weight="normal" /> | |
<style id="/Javascript/Numbers" |
worker_processes 1; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
include mime.types; | |
default_type application/octet-stream; |