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
# -*- conf -*- | |
FSync no | |
# | |
# Luffy | |
# | |
IMAPStore remote-luffy | |
Host imap.luffy.cx |
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
local$ socat TCP-LISTEN:2222,bind=127.0.0.1,reuseaddr,fork TCP-LISTEN:2223,reuseaddr | |
local$ ssh -p 2222 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no localhost | |
remote$ socat TCP:10.0.2.2:2223 TCP:127.0.0.1:22 |
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 kafka | |
import ( | |
"strings" | |
"github.com/prometheus/client_golang/prometheus" | |
gometrics "github.com/rcrowley/go-metrics" | |
"flowexporter/reporter" | |
) |
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/env python | |
""" | |
SNMP helper for HAproxy implementing EXCELIANCE-MIB with | |
`pass_persist` protocol. Data are retrieved from multiple instances of | |
haproxy using HTTP. | |
""" | |
def toOid(oid): | |
"""Convert a string to tuple OID""" |
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
/* Proof of concept of the inability to attach to an existing NS in | |
* the same user namespace. */ | |
#define _GNU_SOURCE 1 | |
#include <sys/wait.h> | |
#include <sys/utsname.h> | |
#include <sched.h> | |
#include <string.h> | |
#include <stdio.h> | |
#include <stdlib.h> |
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
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 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
d-i mirror/country string manual | |
d-i mirror/http/hostname string packages.dm.gg | |
d-i mirror/http/directory string /dailymotion | |
d-i apt-setup/restricted boolean false | |
d-i apt-setup/universe boolean false | |
d-i apt-setup/backports boolean false | |
d-i apt-setup/proposed boolean false | |
d-i apt-setup/security_host string | |
d-i apt-setup/local0/repository string http://packages.dm.gg/dailymotion precise main restricted universe multiverse | |
d-i apt-setup/local0/source boolean false |
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
From 83f0062d385fd4f111b31c1f26b571cabd7e0e4c Mon Sep 17 00:00:00 2001 | |
From: Vincent Bernat <vincent.bernat@dailymotion.com> | |
Date: Thu, 5 Sep 2013 16:52:45 +0200 | |
Subject: [PATCH] EDNS0 client subnet support. | |
--- | |
bin/named/client.c | 227 +++++++++++++++++++++++++++++++-------- | |
bin/named/include/named/client.h | 4 + | |
bin/named/include/named/server.h | 81 +++++++------- | |
bin/named/sortlist.c | 4 +- |
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
'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'); |
NewerOlder