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
# this config needs haproxy-1.1.28 or haproxy-1.2.1 | |
global | |
log 127.0.0.1 local0 | |
log 127.0.0.1 local1 notice | |
#log loghost local0 info | |
maxconn 4096 | |
#chroot /usr/share/haproxy | |
user haproxy | |
group haproxy |
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 | |
# This script will download and install Google Chrome on a fresh installation of Mac OS X. | |
# Usage: curl -fkL gist.github.com/raw/4364590/install-chrome.sh | sh | |
curl -Lo /tmp/Google\ Chrome.dmg https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg; | |
hdiutil attach /tmp/Google\ Chrome.dmg; | |
ditto -rsrc /Volumes/Google\ Chrome/Google\ Chrome.app /Applications/Google\ Chrome.app; | |
hdiutil detach /Volumes/Google\ Chrome; | |
rm /tmp/Google\ Chrome.dmg; |
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
### Keybase proof | |
I hereby claim: | |
* I am feniix on github. | |
* I am feniix (https://keybase.io/feniix) on keybase. | |
* I have a public key ASArRrslEcjv4bFEAzU2sjhR1ZGK91CCnnuwlku_n4DHBQo | |
To claim this, I am signing this object: |
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
fresh: clean chart | |
chart: instance_ages | |
@echo "AWS EC2 Instance Age Report" | |
@echo "---------------------------" | |
@echo "Days\\tCount" | |
@cat instance_ages | ./chart.py -n | |
clean: | |
rm -f instance* |
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 --git a/builds/redhat/zeromq.spec b/builds/redhat/zeromq.spec | |
index 781c65d..28e5c94 100644 | |
--- a/builds/redhat/zeromq.spec | |
+++ b/builds/redhat/zeromq.spec | |
@@ -8,7 +8,11 @@ URL: http://www.zeromq.org/ | |
Source: http://www.zeromq.org/local--files/area:download/%{name}-%{version}.tar.gz | |
Prefix: %{_prefix} | |
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root | |
+%if %{?rhel}%{!?rhel:0} >= 6 | |
+BuildRequires: libuuid-devel, gcc, make, gcc-c++, libstdc++-devel |
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
otaeguis@otaeguis-laptop:~/projects/src/mongrel2/examples/python/mongrel2$ m2sh help | |
Available commands: | |
commit | |
config | |
dump | |
help | |
hosts | |
init | |
load |
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
{ | |
"id": "/app", | |
"container": { | |
"type": "DOCKER", | |
"docker": { | |
"network": "HOST", | |
"image": "registry.spantree.net/app:#{BUILD_ID}", | |
"privileged": true, | |
"forcePullImage": true, | |
"parameters": [ |
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
# chronos | |
# | |
# This upstart job configuration is managed by Puppet. | |
# Do not edit this file. Your changes will be lost. | |
description "Chronos" | |
version "2.3.2" | |
start on runlevel [2345] | |
stop on runlevel [!2345] |
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 --git i/Vagrantfile w/Vagrantfile | |
index 3cdca40..abc1e80 100644 | |
--- i/Vagrantfile | |
+++ w/Vagrantfile | |
@@ -1,5 +1,5 @@ | |
require 'yaml' | |
-require './vagrant/lib/gen_node_infos' | |
+require File.join(File.dirname(__FILE__), 'vagrant/lib/gen_node_infos') | |
PROJECT_ROOT='/usr/local/src/Platform' |
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
class kafka_broker( | |
$zookeeper_connect = 'localhost:2181' | |
) { | |
class { 'kafka': | |
version => '0.8.2.0', | |
scala_version => '2.9.2', | |
install_java => false | |
} | |
class { 'kafka::broker': |
NewerOlder