This file contains hidden or 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
1/3 c Sriracha | |
1/4 c coconut aminos (or Bragg's liquid aminos) | |
1 tsp grated ginger | |
3 cloves garlic (minced) | |
1 tbs melted ghee (or butter) | |
4-5 tbs honey (to taste) | |
Combine ingredients in a small sauce pan and reduce over low heat until it reaches your desired consistency |
This file contains hidden or 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
#!/usr/bin/env python | |
""" | |
Nagios check to test DNS resolution data pulled from Graphite | |
""" | |
import optparse | |
import logging | |
import requests | |
import sys |
This file contains hidden or 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
#!/usr/bin/env python | |
import sys | |
import urllib2 | |
if len(sys.argv) != 2: | |
print('USAGE: {0} <hostname>').format(sys.argv[0]) | |
sys.exit(2) | |
try: |
This file contains hidden or 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
<?php | |
$fd = inotify_init(); | |
$watch_dir = '/tmp/'; | |
$watch_email = '[email protected]'; | |
$new_files = array(); | |
$last_event = time(); | |
$interval = 10; | |
stream_set_blocking($fd, 0); |
This file contains hidden or 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/sh | |
# Edit in the commands you want to run | |
COMMAND="uptime" | |
unset CHAR PASS CONFIRM | |
echo -n "Enter webserver root password: " | |
while IFS= read -r -s -n1 CHAR | |
do |
This file contains hidden or 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
/* | |
foreach ($GLOBALS as $field => $value) | |
{ | |
if (!in_array($field, array('_ENV', '_POST', '_GET', '_SERVER', '_FILES', '_REQUEST', 'GLOBALS', '_COOKIE'))) | |
{ | |
$data[$field] = $value; | |
} | |
} | |
*/ | |
NewerOlder