Skip to content

Instantly share code, notes, and snippets.

View .slate.js
// Create Operations
var pushRight = slate.operation("push", {
"direction" : "right",
"style" : "bar-resize:screenSizeX/2"
});
var pushLeft = slate.operation("push", {
"direction" : "left",
"style" : "bar-resize:screenSizeX/2"
});
var fullscreen = slate.operation("move", {
@mikebell
mikebell / StupidJira.js
Last active Oct 28, 2015
Add a git command to generate branch
View StupidJira.js
// ==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==
@mikebell
mikebell / agnostermod.zsh-theme
Last active Oct 13, 2015
Personalised Agnoster Theme
View agnostermod.zsh-theme
# 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
View layout.kbd.json
[
[
{
"a": 6,
"f": 9,
"w": 4.25,
"d": true
},
"Blue Wave v0.0.6"
],
@mikebell
mikebell / php.ini
Created Apr 13, 2015
Basic xdebug settings
View php.ini
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
View best-language-evar.md
View console.php
<?php
use Silex\Application AS SilexApplication;
use Symfony\Component\Console\Application AS ConsoleApplication;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Helper\HelperSet;
use Doctrine\DBAL\Tools\Console\Helper\ConnectionHelper;
use Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper;
use Doctrine\ORM\Tools\Console\ConsoleRunner;
require_once __DIR__.'/../web/index.php';
@mikebell
mikebell / lordjirasprayer.txt
Last active Aug 29, 2015
Lord Jiras Prayer
View lordjirasprayer.txt
Our Father who art in cloud,
hallowed be thy Confluence,
your staging server come
your tickets be done,
on earth, as it is in the cloud,
Give us this day our daily scrum,
and forgive us our technical debts,
as we forgive those who code against us,
and lead us not into hacky temptation,
but deliver us from bugs
View selenium.sh
#! /bin/bash
Xvfb :99 -ac -screen 0 1280x1024x24 &
export DISPLAY=:99
java -jar selenium-server-standalone-2.43.1.jar
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"