I hereby claim:
- I am lusentis on github.
- I am slusenti (https://keybase.io/slusenti) on keybase.
- I have a public key whose fingerprint is B9FB B8B3 7D30 F2F6 1AB8 1168 11A0 1A91 E12B 1737
To claim this, I am signing this object:
apm install sync-settings |
#!/bin/bash | |
set -e | |
STAGE=$1 | |
if [ ! "$STAGE" ]; then | |
echo "Usage: $0 <stage>" | |
exit 1 | |
fi |
/*eslint quotes: [0] */ | |
/*global desc, task, watchTask, complete, jake */ | |
var assert = require('assert'); | |
assert(process.env.NODE_ENV, 'NODE_ENV must be set'); | |
var EXEC_OPTS = { printStdout: true, printStderr: true }; | |
desc('Build the source with webpack'); | |
task('build', { async: true }, function () { |
/*jshint node:true, esnext:true */ | |
'use strict'; | |
module.exports.police = function (text) { | |
if (!text) { return ''; } | |
text = text.replace(/(\s| )+/g, ' '); // compact multiple places | |
text = text.replace(/e'\s+/g, 'è '); // apos -> accent | |
text = text.replace(/o'\s+/g, 'ò '); |
I hereby claim:
To claim this, I am signing this object:
# -.- coding: utf-8 -.- | |
import json | |
import urllib2 | |
import predictionio | |
client = predictionio.Client(appkey="XXXXXXXXXXXXXXXXXXXXXXX") | |
total = 6028561 | |
size = 1000 |
#!/bin/bash | |
if [ -f ".virtualenvname" ]; then | |
echo "~ detected python project ~" | |
echo "~ switcing to virtualenv $(cat .virtualenvname)" | |
workon $(cat .virtualenvname) | |
pip install -r requirements.txt | |
fi | |
'use strict'; | |
var PASS_LENGTH = [1, 4, 2]; | |
var _makePassword = module.exports.makePassword = function () { | |
var a = [ | |
'ABCDEFGHJKMNPQRSTUVXZ', | |
'abcdefghjkmnpqrstuvxz', | |
'23564789' | |
].map(function (i) { return i.split(''); }); |
0.1.2 |
#!/bin/bash | |
# | |
# Please run as root. | |
# Usage: bash findport.sh 3000 100 | |
# | |
if [[ -z "$1" || -z "$2" ]]; then | |
echo "Usage: $0 <base_port> <increment>" | |
exit 1 |