Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
cd ~/sandbox/autotomie
for A in backend cas user_service payment_service donations dashboard admin
do
echo $A
cap apps:$A:staging deploy
done
#!/bin/sh
cd ~/sandbox/autotomie
for A in backend cas user_service payment_service donations dashboard admin
do
echo $A
# We need to force any local modification
cap apps:$A:staging deploy
done
setTimeout(function() {var a = document.createElement('script');
var b = document.getElementsByTagName('script')[0];
a.src = document.location.protocol + '//dnn506yrbagrg.cloudfront.net/pages/scripts/0022/9651.js?'+ Math.floor(new Date().getTime() / 3600000);
a.async = true;a.type = 'text/javascript';b.parentNode.insertBefore(a, b);}, 1);
;;
;; MM""""""""`M
;; MM mmmmmmmM
;; M` MMMM 88d8b.d8b. .d8888b. .d8888b. .d8888b.
;; MM MMMMMMMM 88''88'`88 88' `88 88' `"" Y8ooooo.
;; MM MMMMMMMM 88 88 88 88. .88 88. ... 88
;; MM .M dP dP dP `88888P8 '88888P' '88888P'
;; MMMMMMMMMMMM
;;
;; M""MMMMMMMM M""M M""MMMMM""M MM""""""""`M
entries = [
[ 'hackathons-challengepost', 'http://challengepost.com/hackathons' ],
[ 'hackathons-angelhack', 'http://angelhack.com/events/' ],
[ 'hackathons-att', 'http://developer.att.com/community/events' ],
[ 'hackathons-hackalist', 'http://www.hackalist.org/' ],
[ 'hackathons-calendar', 'https://raw.githubusercontent.com/japacible/Hackathon-Calendar/master/README.md' ],
[ 'hackathons-hackforchange', 'http://hackforchange.org/events/' ],
[ 'hackathons-eventbrite', 'https://www.eventbrite.com/d/local/hackathon/' ],
]
<html>
<head>
<title>Word Frequency</title>
<style>
@import url(https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.0/css/materialize.min.css);
h1 {
color: #727272;
}
for JS in $(find . -name "*.js")
do
echo Processing $JS
echo "alert(\"Starting $JS\");" > $JS.new
cat $JS >> $JS.new
mv $JS.new $JS
done
window.onerror = function(e, u, l) {
alert("Error: " + e);
return true;
};
#!/bin/sh
F=myFont.ttf
DATAURI=$(uuencode -m $F processed | grep -v begin-base64 | grep -v "====" | tr -d "\n")
echo '
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>