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
(function($) { | |
/** | |
* @memberOf $ | |
*/ | |
$.wpProQuizFront = function(element, options) { | |
console.log(options.json); | |
var $e = $(element); | |
var config = options; | |
var plugin = this; | |
var results = new Object(); |
<?php | |
/* | |
class.Diff.php | |
A class containing a diff implementation | |
Created by Stephen Morley - http://stephenmorley.org/ - and released under the | |
terms of the CC0 1.0 Universal legal code: |
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
// ==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();
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(); |
// ==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(); |
// ==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() { |
// ==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() { |
// ==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(); |