Skip to content

Instantly share code, notes, and snippets.

View drushmakephing.xml
<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">
<loadfile property="en.error" file="error" />
<contains string="${en.error}" substring="warning" />
<property name="" value="Could not download all modules" />
View never
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
View ssh-copy-id
# 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.
if [ "-i" = "$1" ]; then
mikebell /
Created Oct 30, 2013
Sometimes Drupal doesn't want to play ball first thing on a Wednesday morning.
while [ $COUNTER -lt 10 ]; do
echo Clear Cache
drush cc all
echo Refvert all the features
drush fra -y
mikebell / FeatureContext.php
Last active Aug 29, 2015
Behat create screenshot on test failure
View FeatureContext.php
use Behat\Mink\Driver\Selenium2Driver;
use Behat\Behat\Event\StepEvent;
* Take screenshot when step fails.
* Works only with Selenium2Driver.
* @AfterStep
View osx-squidman-squid.conf
# ----------------------------------------------------------------------
# WARNING - do not edit this template unless you know what you are doing
# ----------------------------------------------------------------------
# the parent cache
cache_peer %PARENTPROXY% parent %PARENTPORT% 7 no-query no-digest no-netdb-exchange default
# disk and memory cache settings
cache_dir ufs %CACHEDIR% %CACHESIZE% 16 256

Keybase proof

I hereby claim:

  • I am mikebell on github.
  • I am mikebell ( on keybase.
  • I have a public key whose fingerprint is 6087 4CF3 46F6 8FD2 7962 BEAB 39EA E076 8E94 A413

To claim this, I am signing this object:

mikebell /
Last active Aug 29, 2015
Halp I need to rename all the features and I'm lazy
#! /bin/bash
#Forgive me cli gods for I have sinned
mv $1 $2
cd $2
rename "s/$1/$2/g;" *
perl -pi -w -e "s/$1/$2/g;" *
View autoexec.cfg
dota_force_right_click_attack "1"
dota_screen_shake "0" // Screen will no longer shake when certain are cast
dota_disable_range_finder "0" // When spell is selected, range finder is shown
dota_sf_game_end_delay 0 // Make results appear immediately after game ends
// Chat Bindings
bind "p" "say_team miss top"
bind "," "say_team miss bottom"
bind "l" "say_team miss mid"
#! /bin/bash
Xvfb :99 -ac -screen 0 1280x1024x24 &
export DISPLAY=:99
java -jar selenium-server-standalone-2.43.1.jar