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
"watch-css": "jung -f '\.scss$' -- npm run build-css", |
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
(imhotep)meandave@Mainframe:~/Code/imhotep$ python imhotep/main.py --repo_name="meandavejustice/extreme-sound-stretch" --github-username="meandavejustice" --github-password="CLASSIFIED" --pr-number=2 | |
No handlers could be found for logger "__main__" | |
remote: Reusing existing pack: 51, done. | |
remote: Counting objects: 10, done. | |
remote: Compressing objects: 100% (10/10), done. | |
remote: Total 61 (delta 2), reused 0 (delta 0) | |
Receiving objects: 100% (61/61), 36.91 MiB | 761 KiB/s, done. | |
Resolving deltas: 100% (17/17), 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
#!/bin/bash | |
# http://scott.sherrillmix.com/blog/programmer/syntax-highlighting-in-terminal/ | |
if [ ! -t 0 ]; then | |
file=/dev/stdin | |
elif [ -f $1 ]; then | |
file=$1 | |
else | |
echo "Usage: $0 code.js" | |
echo "or e.g. head code.js|$0" |
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
var request = require('request'); | |
var cheerio = require('cheerio'); | |
var prompt = require('prompt'); | |
prompt.start(); | |
prompt.get(['url', 'keyword'], function (err, result) { | |
request.post('https://butt.ly/index.php', function(err, resp, body) { | |
var $ = cheerio.load(body); | |
console.log($('#shorturl').attr('value') + ' now refers to ' + result.url); | |
}).form({url:result.url, keyword: result.keyword}); |
I hereby claim:
- I am meandavejustice on github.
- I am meandave (https://keybase.io/meandave) on keybase.
- I have a public key whose fingerprint is 4A3B DEEF A86E 76EC FBE1 5DCB CBEB 3995 DF07 F31B
To claim this, I am signing this object:
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 | |
if [ ! -t 0 ]; then | |
user=/dev/stdin | |
elif [ $1 ]; then | |
user=$1 | |
else | |
echo "Usage: $1 [username <string>] $2 [-m msg <string>]" 1>&2; exit 1; | |
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
(322/322) checking for file conflicts | |
error: failed to commit transaction (conflicting files) | |
nodejs: /usr/share/man/man5/package.json.5 exists in filesystem | |
nodejs: /usr/share/man/man7/removing-npm.7 exists in filesystem | |
nodejs: /usr/share/man/man7/semver.7 exists in filesystem | |
Errors occurred, no packages were upgraded. |
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
var hb = require('handlebars'); | |
var marked = require('marked'); | |
var ls = require('ls-stream'); | |
var fs = require('fs'); | |
var path = require('path'); | |
marked.setOptions({ | |
gfm: true, | |
highlight: function (code) { | |
return require('highlight.js').highlightAuto(code).value; |
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
;; mplayer on arch linux skipping issue | |
(unless (package-installed-p 'emms) | |
(package-install 'emms)) | |
(require 'emms) | |
(emms-all) | |
(emms-default-players) |