Skip to content

Instantly share code, notes, and snippets.

iterm2

Profiles->Keys->Shortcuts

  • Delete previous word: Send Hex Code 0x17
  • Jump previous word: Send escape seq: b
  • Jump next word: Send escape seq: f

tmux

  • do
  • lists suck here
@csakoda
csakoda / gist:563b66ed1e24c375927b
Created October 16, 2014 23:34
salt-cloud haxin

I started writing this in outlook but outlook doesn't support markdown or something ???????????

csakoda/salt-cloud

  • Initially, implemented VPC creation automation
    • This should have been implemented in CloudFormation, probably not worth bringing up
  • Added a logical layer in VPC resource naming that allows us to
    • Fix a salt-master to a VPC
    • Then refer to subnets, securitygroups, etc, by generalized names, like “public-subnet”, and “db-SG”
    • This allows us to build general instance and load balancer profiles that don’t refer to specific subnetIds, securitygroupIds, etc, and instead are composed at runtime with the configured VPC for the salt-master to determine the actual Ids that need to be shoved through the AWS API
@csakoda
csakoda / gist:244a4bcf3fc5c73b5498
Created October 16, 2014 23:33
salt-cloud haxin
I started writing this in outlook but outlook doesn't support markdown or something ???????????
# csakoda/salt-cloud
* Initially, implemented VPC creation automation
* This should have been implemented in CloudFormation, probably not worth bringing up
* Added a logical layer in VPC resource naming that allows us to
* Fix a salt-master to a VPC
* Then refer to subnets, securitygroups, etc, by generalized names, like “public-subnet”, and “db-SG”
* This allows us to build general instance and load balancer profiles that don’t refer to specific subnetIds, securitygroupIds, etc, and instead are composed at runtime with the configured VPC for the salt-master to determine the actual Ids that need to be shoved through the AWS API