I hereby claim:
- I am jeffreyvdb on github.
- I am jeffreyvdb (https://keybase.io/jeffreyvdb) on keybase.
- I have a public key ASDV3QZS1nS2RCx5Nh-9cmBk19l6kxgi6-sABKgmhyh5BAo
To claim this, I am signing this object:
'require strict'; | |
var http = require('http'), | |
url = require('url'), | |
fs = require('fs'), | |
util = require('util'), | |
exec = require('child_process').exec, | |
sh = require('execSync'); | |
http.createServer(function (req, res) { |
#!/bin/bash | |
# Ubuntu 14.04 Gnome edition post install script | |
ADD_REPO="add-apt-repository -y" | |
RM="rm -f" | |
MKDIR="mkdir -p" | |
BITMAPPED_FONTS=1 | |
LIQUORIX_KERNEL=1 | |
NVIDIA_CLOSED_SOURCE=1 |
#!/bin/bash | |
shopt -s dotglob | |
# clean up download folders | |
for d in /home/*/Downloads; do | |
echo "removing files in $d" | |
rm -rf $d/* | |
done | |
# Remove old kernels with magic |
# When pressing the overview button, open the multitasking view | |
"xte 'keydown Super_L' 'key S' 'keyup Super_L'" | |
b:10 + release | |
# Open urxvt when super + return key is pressed | |
"urxvtcd -e tmux" | |
m:0x50 + c:36 | |
# When super and back forward, switch desktops | |
"xte 'key Right'" |
package main | |
import ( | |
"fmt" | |
"hash/fnv" | |
"sync" | |
) | |
const ( | |
shardCount = 32 |
/var/log/*.log { | |
weekly | |
rotate 26 | |
compress | |
compresscmd "/usr/local/bin/xzuwsgi" | |
uncompresscmd "/usr/local/bin/unxzuwsgi" | |
compressext .xz | |
missingok | |
notifempty | |
copytruncate |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
[Unit] | |
Description=consul agent | |
Requires=network-online.target | |
After=network-online.target | |
[Service] | |
EnvironmentFile=-/etc/sysconfig/consul | |
Environment=GOMAXPROCS=2 | |
Restart=on-failure | |
ExecStart=/usr/local/sbin/consul agent $OPTIONS -config-dir=/etc/consul.d |
#!/bin/bash | |
# | |
# Ansible role test shim. | |
# | |
# Usage: [OPTIONS] ./tests/test.sh | |
# - distro: a supported Docker distro version (default = "centos7") | |
# - playbook: a playbook in the tests directory (default = "test.yml") | |
# - cleanup: whether to remove the Docker container (default = true) | |
# - container_id: the --name to set for the container (default = timestamp) | |
# - test_idempotence: whether to test playbook's idempotence (default = true) |