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
#!/bin/bash | |
version=1.0.1 | |
versionDate="2014-02-14" | |
function showHelp() { | |
echo "watchfile - monitor file(s)/command and perform action when changed | |
Possible ways of usage | |
---------------------------------------- |
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 Fluid Dock Badge for Trello | |
// @namespace http://fluidapp.com | |
// @description Display a dock badge for the Trello Dashboard with the number of new notifications | |
// @include *.trello.com | |
// @author Laurent Goussard | |
// ==/UserScript== | |
if (!window.fluid) { | |
return; | |
} |
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
/* Load jQuery only if needed */ | |
(function(){ | |
var scriptAdded = false, js; | |
function initJQuery() { | |
if(typeof(jQuery) === 'undefined'){ | |
if(!scriptAdded){ | |
js = document.createElement('script'); | |
js.src = 'https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js'; | |
var first = document.getElementsByTagName('script')[0]; |