Skip to content

Instantly share code, notes, and snippets.

View marcelovani's full-sized avatar

Marcelo Vani marcelovani

View GitHub Profile
@marcelovani
marcelovani / getinstinct
Last active December 17, 2015 05:49
Getinstinct tweaks
// ==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==
<?php
/**
* @file
* drush command.
*/
/**
* Implementation of hook_drush_command().
*
// ==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();
// ==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() {
@marcelovani
marcelovani / FogBiugz
Created June 19, 2015 16:23
FogBugz tweaks
// ==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 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();
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();
@marcelovani
marcelovani / README.md
Created February 15, 2016 11:16 — forked from agnoster/README.md
My ZSH Theme

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