Skip to content

Instantly share code, notes, and snippets.

View woganmay's full-sized avatar

Wogan May woganmay

View GitHub Profile
@SeoFood
SeoFood / nrpe_local.cfg
Created June 28, 2015 08:21
Laravel Monitoring Failed Jobs with Icinga / Icinga2 / Nagios
command[check_seofood_failed_jobs]=/usr/lib/nagios/plugins/check_mysql_query -H localhost -u nagios -d laravel -q "select count(*) from failed_jobs" -c 0
@jlongster
jlongster / bloop.js
Last active September 5, 2022 23:33
bloop
(function() {
// Do not use this library. This is just a fun example to prove a
// point.
var Bloop = window.Bloop = {};
var mountId = 0;
function newMountId() {
return mountId++;
}
@caniszczyk
caniszczyk / clone-all-twitter-github-repos.sh
Created October 9, 2012 04:25
Clone all repos from a GitHub organization
curl -s https://api.github.com/orgs/twitter/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["ssh_url"]} ]}'