Skip to content

Instantly share code, notes, and snippets.

View micookie's full-sized avatar
🎯
Focusing

Cookie micookie

🎯
Focusing
View GitHub Profile
@michaelansel
michaelansel / hubot-http-proxy.js
Created December 15, 2014 19:48
Using a PAC file for all HTTP requests in hubot
/* from package.json
"dependencies": {
"pac-proxy-agent": "~0.2.0",
"scoped-http-client": "~0.10.0"
}
*/
var url = require('url');
var http = require('http');
var https = require('https');
@ykarikos
ykarikos / png2svg.sh
Created June 7, 2012 22:17
Convert png to svg using imagemagick and potrace
#!/bin/bash
if [ "$1" == "" ]; then
echo Usage: $0 pngfile
exit 0;
fi
FILE=`basename $1 .png`
if [ ! -e $FILE.png ]; then