Skip to content

Instantly share code, notes, and snippets.

View jacques's full-sized avatar
🎯
Focusing

Jacques Marneweck jacques

🎯
Focusing
View GitHub Profile
@jacques
jacques / example_with_cidr.txt
Created September 4, 2012 09:02
multiple ips on FreeBSD notebook examples
ifconfig_em0="inet 192.168.37.2/24"
ifconfig_em0_alias0="inet 192.168.37.3/32"
ifconfig_em0_alias1="inet 192.168.37.4/32"
ifconfig_em0_alias1="inet 192.168.38.2/24"
@jacques
jacques / gist:3582569
Created September 1, 2012 18:31
Unset the Authorization header when using Apache as a reverse proxy
RequestHeader unset Authorization
@jacques
jacques / README
Created April 17, 2012 14:05
munin-bits
Some munin bits fixed for SmartOS
@jacques
jacques / clickatell.js
Created February 16, 2011 10:04
node library for sending messages via clickatell
/**
*/
config = require('yaml').eval(
require('fs')
.readFileSync(process.env['HOME'] + '/.clickatell.yml')
.toString('utf-8')
);
var clickatell = require("../lib/clickatell.js");
clickatell = new clickatell(config)
<Files ~"^\.git">
Order allow,deny
Deny from all
</Files>
<Location ~ "/\.git">
Order deny,allow
Deny from all
</Location>
# Copyright 2010 Drew Blas <[email protected]>
# From: http://drewblas.com/2010/07/15/an-analysis-of-gpled-code-in-thesis
#
# 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 program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
<?xml version='1.0'?>
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
<service_bundle type='manifest' name='export'>
<service name='network/nagios-nrpe' type='service' version='0'>
<create_default_instance enabled='true'/>
<single_instance/>
<dependency name='network' grouping='require_all' restart_on='error' type='service'>
<service_fmri value='svc:/milestone/network:default'/>
</dependency>
<dependency name='filesystem-local' grouping='require_all' restart_on='none' type='service'>