Based on Dave Chenells tweet - https://twitter.com/davechenell/status/557328423602098178
The Best Language Evar
##The Spec
3 blank lines - initiates a valid file - REQUIRED
Commas are line endings - because why the fuck not - REQUIRED
#!/bin/bash | |
COUNTER=0 | |
while [ $COUNTER -lt 10 ]; do | |
echo FIX ALL THE THINGS run - $COUNTER | |
echo Clear Cache | |
drush cc all | |
echo Refvert all the features | |
drush fra -y | |
let COUNTER=COUNTER+1 | |
done |
#!/bin/sh | |
# Shell script to install your public key on a remote machine | |
# Takes the remote machine name as an argument. | |
# Obviously, the remote machine must accept password authentication, | |
# or one of the other keys in your ssh-agent, for this to work. | |
ID_FILE="${HOME}/.ssh/id_rsa.pub" | |
if [ "-i" = "$1" ]; then |
We're no strangers to love | |
You know the rules and so do I | |
A full commitment's what I'm thinking of | |
You wouldn't get this from any other guy | |
I just wanna tell you how I'm feeling | |
Gotta make you understand | |
Never gonna give you up, | |
Never gonna let you down | |
Never gonna run around and desert you |
trap 'error=1' ERR | |
while true; do | |
slackin "ACCOUNTNAMEHERE" "KEYGOESHERE" -p 8002 -s | |
code="$?" | |
if [[ -n "$error" ]]; then | |
echo "Caught an error! Status = $code" | |
error= # reset the error | |
elif [[ "$code" != 0 ]]; then | |
echo "Program exited with non-zero code: $code" | |
fi |
// ==UserScript== | |
// @name StupidJira | |
// @namespace http://mikebell.io | |
// @version 0.1 | |
// @description Add branch details | |
// @match https://jira.ctidigital.com/browse/* | |
// @grant none | |
//allow pasting | |
// ==/UserScript== |
# vim:ft=zsh ts=2 sw=2 sts=2 | |
# | |
# agnoster's Theme - https://gist.github.com/3712874 | |
# A Powerline-inspired theme for ZSH | |
# | |
# # README | |
# | |
# In order for this theme to render correctly, you will need a | |
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts). | |
# Make sure you have a recent version: the code points that Powerline |
<project name="mumblrmake" default="dl modules" description="Jenkins Mumblr Make"> | |
<target name="dl modules"> | |
<exec command="drush make mumblr.make . --yes" error='error' checkreturn="true"> | |
</exec> | |
<loadfile property="en.error" file="error" /> | |
<if> | |
<contains string="${en.error}" substring="warning" /> | |
<then> | |
<property name="en.fail" value="Could not download all modules" /> |
[ | |
[ | |
{ | |
"a": 6, | |
"f": 9, | |
"w": 4.25, | |
"d": true | |
}, | |
"Blue Wave v0.0.6" | |
], |
zend_extension="/usr/lib/php5/modules/xdebug.so" | |
xdebug.coverage_enable=1 | |
xdebug.default_enable=1 | |
xdebug.remote_enable=true | |
xdebug.remote_connect_back=true | |
xdebug.remote_host=localhost | |
xdebug.remote_port=9000 | |
xdebug.remote_handler=dbgp |
Based on Dave Chenells tweet - https://twitter.com/davechenell/status/557328423602098178
The Best Language Evar
##The Spec
3 blank lines - initiates a valid file - REQUIRED
Commas are line endings - because why the fuck not - REQUIRED