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
/*global jQuery */ | |
;(function($) { | |
/*global document */ | |
"use strict"; | |
if (typeof document !== 'undefined' && ('classList' in document.createElement('a'))) { | |
var $ = jQuery; |
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
[Thu Oct 13 19:37:05.946 2011] [27614] rotating index 'quizlet_sets_delta': success | |
[Thu Oct 13 19:37:05.946 2011] [27614] rotating finished | |
[Thu Oct 13 19:37:06.168 2011] [27614] rotating indices (seamless=1) | |
[Thu Oct 13 19:37:06.173 2011] [27614] WARNING: rotating index 'quizlet_sets_main': prealloc: mmap() failed: Not enough space (length=275116427); using old index | |
[Thu Oct 13 19:37:06.173 2011] [27614] rotating finished | |
[Thu Oct 13 19:37:09.013 2011] [27614] rotating indices (seamless=1) | |
[Thu Oct 13 19:37:09.024 2011] [27614] rotating index 'quizlet_sets_delta': success | |
[Thu Oct 13 19:37:09.027 2011] [27614] WARNING: rotating index 'quizlet_sets_main': prealloc: mmap() failed: Not enough space (length=162417384); using old index | |
[Thu Oct 13 19:37:09.027 2011] [27614] rotating finished | |
[Thu Oct 13 19:37:12.081 2011] [27614] rotating indices (seamless=1) |
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 Gmail "From" Address auto-selector | |
// @version 0.17 | |
// @description Looks in your "To" field and sees if you have an email address in your "From" addresses with the same domain. Changes <select> onblur | |
// @author Andrew Sutherland, https://github.com/asuth | |
// @include http://mail.google.com/* | |
// @include https://mail.google.com/* | |
// @include http://*.mail.google.com/* | |
// @include https://*.mail.google.com/* | |
// ==/UserScript== |
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
#!/opt/local/bin/php | |
<?php | |
// Git pre-commit file to check Puppet for errors | |
$files = array(); | |
exec('git diff-index --cached --name-only HEAD', $files); | |
$exitcode = 0; |
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
#!/opt/local/bin/php | |
<?php | |
// https://www.firehed.net/lint-check-all-php-files-syntax-validation | |
// with some modifications | |
// =========== | |
// = Globals = | |
// =========== | |
$count = 0; // total files checked |