Skip to content

Instantly share code, notes, and snippets.

@Rudd-O
Rudd-O / otcauth.sh
Created December 18, 2012 07:35 — forked from anonymous/otcauth.sh
#!/bin/bash
# install in ~/.kde/share/apps/konversation/scripts as otcauth
# chmod +x that file
# enable logging such that gribble from freenode ends up in
# ~/.kde/share/apps/konversation/logs/freenode_gribble.log
# restart konversation
# and then enjoy automatic auth script
# by going /otcauth NICKNAME
# directly from konversation
10.0.248.17 Resolving www.opscode.com (www.opscode.com)...
10.0.248.17 184.106.28.83
10.0.248.17
10.0.248.17 Reusing existing connection to opscode.com:80.
10.0.248.17 HTTP request sent, awaiting response...
10.0.248.17 200 OK
10.0.248.17 Length:
10.0.248.17 5801
10.0.248.17 (5.7K)
10.0.248.17 [application/x-sh]
@Rudd-O
Rudd-O / libeatmydata.spec
Created July 17, 2012 01:57
libeatmydata spec file
Name: libeatmydata
Version: 59
Release: 1%{?dist}
Summary: Disable fsync() and friends
Group: System Environment/Libraries
License: GPLv3+
Url: http://flamingspork.com/projects/libeatmydata/
Source0: http://flamingspork.com/projects/libeatmydata/libeatmydata-59.tar.gz
%description
@Rudd-O
Rudd-O / gist:1469695
Created December 12, 2011 23:46
monitoring.json config file example (for role webservers)
{
"checks": {
"Test Web server is alive": {
"command": "check_http",
"subscribers": [
"webservers"
],
"interval": 30
},
"Test Web server is not delivering garbage": {