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
.Dd December 01, 2013 | |
.Dt DH_VIRTUALENV 1 | |
.Sh NAME | |
.Nm dh_virtualenv | |
.Nd deploy a Python package in a self-contained virtualenv | |
.Sh SYNOPSIS | |
.Nm | |
.Sh DESCRIPTION | |
.Nm | |
is a tool that aims to combine Debian packaging with self-contained |
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
require 'rake' | |
require 'rspec/core/rake_task' | |
require 'xpool' | |
require 'colorize' | |
$REPORTS = "./reports" # Where to store JSON reports | |
$PARALLEL = 10 # How many parallel tasks should we run? | |
# Return all roles of a given host | |
def roles(host) |
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 | |
usage() { | |
cat <<EOF >&2 | |
Usage: $0 [ -t type ] input-filter.conf | |
Test a filter configuration for Logstash. The filter is specified in | |
the provided \`input-filter.conf'. This file is expected to contain a | |
filter only (enclosed in \`filter' directive). The logs will be read | |
from stdin and the parsed result will be output to stdout. |
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
package main | |
import ( | |
"sync/atomic" | |
) | |
type StandardEWMA struct { | |
alpha float64 | |
init bool // Remove to remove the bug | |
rate float64 |
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 | |
set -e | |
case "$1" in | |
configure|reconfigure) | |
;; | |
*) | |
adduser --system --disabled-password --disabled-login --home /nonexistent \ | |
--no-create-home --quiet --force-badname --group _serf |
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 | |
SERFDIR="${SERFDIR:-/etc/serf}" | |
# Dispatch an event to the appropriate handlers. | |
# | |
# $ tree /etc/serf | |
# /etc/serf | |
# └── handlers | |
# ├── member-failed |
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
'use strict'; | |
var setup = require('../.'), | |
should = require('should'), | |
path = require('path'), | |
Sequelize = require('sequelize'), | |
db = require('../../lib/db'), | |
config = require('../../lib/config'), | |
logger = require('../../lib/logger'); |
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/zsh | |
# Use a dedicated network namespace to build and test firewall rules | |
# before applying them. | |
set -e | |
zparseopts -D n=dryrun -dry-run=dryrun t=trace -trace=trace f=iptables | |
[[ -n $trace ]] && setopt xtrace | |
[[ -z $iptables ]] && { |
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
# -*- conf -*- | |
FSync no | |
# | |
# Luffy | |
# | |
IMAPStore remote-luffy | |
Host imap.luffy.cx |
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
[Unit] | |
Description = XBMC Media Center | |
After = remote-fs.target | |
After = syslog.target | |
[Service] | |
User = xbmc | |
Group = xbmc | |
Type = simple | |
Restart = always |