I hereby claim:
- I am zhann on github.
- I am zhann (https://keybase.io/zhann) on keybase.
- I have a public key whose fingerprint is F4F4 5499 D3F6 0195 6B47 C916 4599 4F5A EC80 8158
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
setw -g mode-keys vi | |
# use 256 term for pretty colors | |
set -g default-terminal "screen-256color" | |
# increase scroll-back history | |
set -g history-limit 100000 | |
# decrease command delay (increases vim responsiveness) | |
set -sg escape-time 1 |
# sock::default recipe | |
chef_gem 'rest-client' | |
# libraries/sock.rb | |
class Chef::Recipe::Sock | |
require 'rest_client' | |
#..... | |
end |
solr_authentication [] do | |
foo false | |
end |
unbind % | |
bind-key c new-window -c '#{pane_current_path}' | |
bind-key '-' split-window -c '#{pane_current_path}' | |
bind-key | split-window -h -c '#{pane_current_path}' |
# works as expected | |
core@coreos-1 ~ $ sudo hostnamectl set-hostname 'coreos-1.banteng.be' | |
core@coreos-1 ~ $ hostnamectl | |
Static hostname: coreos-1.banteng.be | |
Icon name: computer-vm | |
Chassis: vm | |
Machine ID: fcb997ab81144cdd8486ebed3da426bd | |
Boot ID: 7f40717efbe34fdbbc1d3efff6141d71 | |
Virtualization: kvm |
# hostnamectl | |
core@coreos-2 ~ $ sudo hostnamectl set-hostname web-001.coreos.banteng.be | |
core@coreos-2 ~ $ hostname --fqdn | |
web-001.coreos.banteng.be | |
core@coreos-2 ~ $ hostname --domain | |
coreos.banteng.be | |
# even manually |
alias dog='dig +short' | |
dug() { dig +short -x $(dig +short $1) } | |
whatserver() { curl -Is $1 | ack server | cut -f 2 -d " " } |
module ActiveRecord | |
class Base | |
def self.random | |
if (c = count) != 0 | |
find(:first, :offset =>rand(c)) | |
end | |
end | |
end | |
end |
[color] | |
branch = auto | |
diff = auto | |
status = auto | |
ui = auto | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green |