.
├── default
│ ├── default
│ ├── test
│ └── local
├── types
│ ├── ui
│ │ ├── default
│ │ ├── test
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 | |
erlang="./otp/bin/erl" | |
! [ -f "$erlang" ] && erlang="erl" | |
# Default to 64 threads | |
if [ -z "$THREAD_COUNT" ] | |
then | |
THREAD_COUNT="64" | |
fi |
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
-include erlang.mk | |
ifndef PKG_FILE | |
task = $(firstword $(MAKECMDGOALS)) | |
$(task): | |
@curl https://raw.github.com/extend/erlang.mk/master/erlang.mk -o erlang.mk | |
@make $(MAKECMDGOALS) | |
.PHONY: $(task) | |
endif |
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
/* | |
* Module dependencies. | |
*/ | |
var rework = require('rework'); | |
var mixins = require('rework-mixins'); | |
var calc = require('rework-calc'); | |
var breakpoints = require('rework-breakpoints'); | |
var modules = require('rework-modules'); | |
var myth = require('myth'); |
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
style. | |
body { | |
font-family: Helvetica, Arial, san-serif; | |
padding: 40px; | |
} | |
[id^="hyper-"] { | |
display: block; | |
margin: 20px; | |
} |
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 | |
: ${TYPES:="map set counter"} | |
for TYPE in $TYPES | |
do | |
./bin/riak-admin bucket-type create $TYPE '{"props": {"datatype": "'$TYPE'", "allow_mult": true}}' | |
./bin/riak-admin bucket-type activate $TYPE | |
done |
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
body { | |
white-space: pre; | |
font-family: monospace; | |
background: #0F323D; | |
color: #83948F; | |
} | |
.property { | |
font-weight: bold; | |
} |
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
/** | |
* Compress scopes with an emum into an efficient integer | |
*/ | |
function compressScope(scopes, scopesEnum) { | |
var value = scopesEnum.map(function(scope) { | |
return (!!~scopes.indexOf(scope)) ? '1' : '0'; | |
}).join(''); | |
return parseInt(value, 2); | |
}; |
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 | |
/** | |
* Module dependencies. | |
*/ | |
var program = require('commander') | |
, secrets = require('simple-secrets'); | |
program |