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:
| #! /bin/sh | |
| # Spectre & Meltdown checker | |
| # | |
| # Check for the latest version at: | |
| # https://github.com/speed47/spectre-meltdown-checker | |
| # git clone https://github.com/speed47/spectre-meltdown-checker.git | |
| # or wget https://raw.githubusercontent.com/speed47/spectre-meltdown-checker/master/spectre-meltdown-checker.sh | |
| # | |
| # Stephane Lesimple | |
| # |
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "os/exec" | |
| "strings" | |
| "github.com/mkideal/cli" | |
| ) |
| # 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 |
| # 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 |
| 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}' |
| solr_authentication [] do | |
| foo false | |
| end |
| # sock::default recipe | |
| chef_gem 'rest-client' | |
| # libraries/sock.rb | |
| class Chef::Recipe::Sock | |
| require 'rest_client' | |
| #..... | |
| end |
| 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 |
I hereby claim:
To claim this, I am signing this object:
| /var/log/chef-server/**/*.log { | |
| daily | |
| missingok | |
| rotate 52 | |
| compress | |
| delaycompress | |
| notifempty | |
| create 640 root root | |
| sharedscripts | |
| copytruncate |