Skip to content

Instantly share code, notes, and snippets.

View johnrizzo1's full-sized avatar

John Rizzo johnrizzo1

View GitHub Profile
@johnrizzo1
johnrizzo1 / init.sls
Created August 23, 2017 15:37
aws salt-stack issue
/srv/pillar/aws/init.sls which is called from /srv/pillar/aws/top.sls
aws:
accounts:
common:
iam_groups:
- aws-common_admin:
- permissions:
- managed_policies:
- AdministratorAccess
@johnrizzo1
johnrizzo1 / Vagrant_HyperV Development Notes
Created April 27, 2017 19:56
Vagrant_HyperV Development Notes
HyperV Support
- Get Static IP Working
- Public, Private and External
- Get DHCP Working
- Public and Private but probably not external
- Move network selection to the config.vm.network definition (bridge???) instead of provider options
- Install Linux Integration Services on Linux Guests
- Add obvious provider options such as
HyperV Network Types
# Purpose: Read a file and parse each line into two variables
# File Format
# Each line is a space separated set of fields
# $first - the first field in the file
# $rest - all remaining fields in the file
while read i
do
echo $i
first=${i[(w)0]}
print "\tFirst: $first\n"

Keybase proof

I hereby claim:

  • I am johnrizzo1 on github.
  • I am johnrizzo1 (https://keybase.io/johnrizzo1) on keybase.
  • I have a public key whose fingerprint is 2D6C 8774 21D8 3227 366D 4F53 1BAC 56AE 29C2 FFB4

To claim this, I am signing this object:

@johnrizzo1
johnrizzo1 / gist:6073853
Created July 24, 2013 19:45
sublime_keybinding
{ "keys": ["super+shift+o"], "command": "code_formatter", "context":
[
{ "key": "selector", "operator": "equal", "operand": "source.javascript" }
]
}