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
#!/usr/bin/perl | |
use WWW::Mechanize; | |
my $options = "options: name (A|CNAME|ALIAS|...) value [ttl]"; | |
my $k = shift || die $options; | |
my $t = shift || die $options; | |
my $v = shift || die $options; | |
my $ttl = shift || 600; |
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
# SOME DESCRIPTIVE TITLE. | |
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | |
# This file is distributed under the same license as the PACKAGE package. | |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
# | |
#, fuzzy | |
msgid "" | |
msgstr "" | |
"Project-Id-Version: PACKAGE VERSION\n" | |
"Report-Msgid-Bugs-To: \n" |
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 | |
# | |
# rrdcache-stats.sh | |
# @jbuchbinder | |
# | |
GMETRIC="/usr/bin/gmetric" | |
( echo "STATS"; sleep 1; echo "QUIT" ) | \ | |
sudo socat - unix:/var/rrdtool/rrdcached/rrdcached.sock | \ |
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
diff -uNr rlib-1.3.7-orig/inputs/mysql/mysql.c rlib-1.3.7/inputs/mysql/mysql.c | |
--- rlib-1.3.7-orig/inputs/mysql/mysql.c 2006-01-08 18:18:33.000000000 -0500 | |
+++ rlib-1.3.7/inputs/mysql/mysql.c 2007-10-13 16:57:44.000000000 -0400 | |
@@ -66,7 +66,7 @@ | |
group == NULL ? database : mysql->options.db, | |
group == NULL ? 0 : mysql->options.port, | |
group == NULL ? NULL : mysql->options.unix_socket, | |
- 0 | |
+ CLIENT_MULTI_STATEMENTS | |
) == NULL) |
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 | |
# mp4-to-iso.sh - @jbuchbinder | |
# Simple MP4-to-DVD ISO conversion script | |
if [ $# -ne 2 ]; then | |
echo "syntax: $0 input output" | |
echo "example: $0 DemoReel.mp4 DEMOREEL" | |
exit | |
fi |
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
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAw10AjBfOOBYqjXqymK57j9h6IjKWeqZIdRA4LUIZuTq4QLgJeMFlOgCT4m4AZFxf2ZQflEA1WYhaWNtvH5yDlEeKOZqKTVQUo93l9TnS+VDQyqFBlh27Km0DIRD/uj31gIv1SEUZPgqgi/OZjRNKJLuN/tBaqr50OIT1lBK1pgc= root@rtfm | |
ssh-dss AAAAB3NzaC1kc3MAAACBAIpDA+b2XFASKrokl4DZnLTklz21SMGlrv/voameHyk6vtNKl4KaCfehuQSX4wM1F0uKWA8TcKc/hQXo10CKZzNXlSvwKD7fciJMgFUZOgonOD7Vv9KcbRxSpb13XDO+wKgaRKnnG529wClW4ZBBWR9oNcFzhSFZSoaCsUIzzcGJAAAAFQDzEJJsCpPawtDFSRtiH3v9NVBVTwAAAIBcpviYl8QbWELvbYr8pEEh6NCx0M1rqqywnYQO6zf8DKgrCUWT/XpRN53KNarxnWo2tDD0AOLHn3HpJ7iaxPaAcHS+UVS2snq0dKo8yq78aorsQr2+0HZMTeOj0MTMONPrPbkK9p2HyTlpO97GUF4VncTGNgOLnzFjRIzIQMwxHQAAAIANzVdHti67xNI5JVmk/bbeXTDr9CYGbZWEkYHalI1DQyMTMjg5WR8Ut7tHCzJUfv5U6M/Ol8TNmrvi0iPCJ95ch/nWMzs59XqGWZ4oaAgN0FIg0/MT2cYcZuHYuetOBAVSht9WYoiyQiUL8mk05/KwDrGh4wQKMF1V7UHEBTmhtg== jbuchbinder@rtfm | |
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDTXFICbfHu8xf57s+igyKfbYogQ22Mvw4jQSP93C6sbmOce7QyyLOPApDeD1f4nB60HhLcQDtXwP36K96F/jTfEKpFRhcZTwKAEB7KrYV15AR4KAlN2p3Exb4YPh8bBzJXN++uEKolM3c/UHn5pVFTjkzcRwB9lFh |
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
/* bgImageTween, a Jquery plugin for smooth background image transition loops. | |
Copyright (C) 2010 Toni Anzlovar | |
Certain changes and updates | |
Copyright (c) 2013 Jeff Buchbinder (github.com/jbuchbinder) | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. |
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
package main | |
import ( | |
"unicode/utf8" | |
) | |
// Fake converting UTF-8 internal string representation to standard | |
// ASCII bytes for serial connections. | |
func StringToAsciiBytes(s string) []byte { | |
t := make([]byte, utf8.RuneCountInString(s)) |
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 | |
# | |
# Build all binaries in a series of checkouts. | |
# | |
FIRST_TAG=3.5.0 | |
git clone git@github.com:ganglia/monitor-core.git | |
( |
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 | |
# | |
# Transfer EXIF data to retouched photos using exiv2 utility. | |
# Assumes that retouched photos are ${ORIGINAL_PREFIX}_retouched.jpg | |
# @jbuchbinder / jbuchbinder.com | |
# | |
for R in *_retouched.jpg; do | |
O=${R//_retouched.jpg}.jpg | |
echo " * Processing $O -> $R" |
OlderNewer