// ==UserScript== // @name Drupal.org // @namespace work // @description Tweaks for UI // @include drupal.org. // @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js // @version 1 // ==/UserScript== $(document).ready(function() { tweak();
View getinstinct
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Getinstinct | |
// @namespace http://use.i.E.your.homepage/ | |
// @version 0.1 | |
// @description Tweaks for Getinstinct | |
// @match http://getinstinct.com/*/riffs/*/practice | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js | |
// @copyright 2012+, You | |
// ==/UserScript== |
View dennis.drush.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* drush command. | |
*/ | |
/** | |
* Implementation of hook_drush_command(). | |
* |
View delayrepaysniper tweaks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Delay Repay | |
// @namespace work | |
// @description Tweaks for UI | |
// @include http://www.delayrepaysniper.com/* | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js | |
// @version 1 | |
// ==/UserScript== | |
$(document).ready(function() { | |
tweak(); |
View Jenkins tweaks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Jenkins Tweaks | |
// @namespace work | |
// @description Tweaks for UI | |
// @include *jenkins.dennis.co.uk* | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js | |
// @grant GM_getValue | |
// @grant GM_setValue | |
// ==/UserScript== | |
function uiTweaksConsole() { |
View FogBiugz
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name FogBugz | |
// @namespace work | |
// @description Tweaks | |
// @include *.fogbugz.com/* | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js | |
// @version 1 | |
// ==/UserScript== | |
$(document).ready(function() { |
View Yahoo mail tweaks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Yahoo mail | |
// @namespace work | |
// @description Tweaks for UI | |
// @include *mail.yahoo.* | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js | |
// @version 1 | |
// ==/UserScript== | |
$(document).ready(function() { | |
tweak(); |
View call trace php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function generateCallTrace() { | |
$e = new \Exception(); | |
$trace = explode("\n", $e->getTraceAsString()); | |
// reverse array to make steps line up chronologically | |
$trace = array_reverse($trace); | |
array_shift($trace); // remove {main} | |
array_pop($trace); // remove call to this method | |
$length = count($trace); | |
$result = array(); |
View README.md
agnoster.zsh-theme
A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
View README.md
Contributing
Please send a patch as a pull request against the branch develop. After a successful build this branch will be merged to master.
For Drupal modules, please follow these guidelines:
Coding standards
OlderNewer