Skip to content

Instantly share code, notes, and snippets.

View bhegazy's full-sized avatar
🏠
Working from home

Bill Hegazy bhegazy

🏠
Working from home
View GitHub Profile
○ → TF_LOG=trace terraform init
2019/08/29 09:26:26 [INFO] Terraform version: 0.12.7
2019/08/29 09:26:26 [INFO] Go runtime version: go1.12.9
2019/08/29 09:26:26 [INFO] CLI args: []string{"/usr/local/bin/terraform", "init"}
2019/08/29 09:26:26 [DEBUG] Attempting to open CLI config file: /Users/bill/.terraformrc
2019/08/29 09:26:26 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/08/29 09:26:26 [INFO] CLI command args: []string{"init"}
Initializing the backend...
2019/08/29 09:26:26 [TRACE] Meta.Backend: built configuration for "gcs" backend with hash value 2860040886
@bhegazy
bhegazy / sysctl.conf
Created February 16, 2018 06:56 — forked from techgaun/sysctl.conf
Sysctl configuration for high performance
### KERNEL TUNING ###
# Increase size of file handles and inode cache
fs.file-max = 2097152
# Do less swapping
vm.swappiness = 10
vm.dirty_ratio = 60
vm.dirty_background_ratio = 2

Keybase proof

I hereby claim:

  • I am bhegazy on github.
  • I am bhegazy (https://keybase.io/bhegazy) on keybase.
  • I have a public key ASCUzJJC8C5lTW4BhR-WSQqOcNBeQQDWGyVgHzhTBxqdIwo

To claim this, I am signing this object:

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

# For use on a clean master install of 2015.2.x
# usage:
# `puppet module install puppetlabs-inifile`
# `puppet module install puppetlabs-stdlib`
# `puppet apply` this file
$old_codedir = '/etc/puppetlabs/code'
$new_codedir = '/data/puppet/puppetcode'
$new_datadir = "${new_codedir}/environments/production/hieradata"
$new_datadir_string = "${new_codedir}/environments/%{environment}/hieradata"