Skip to content

Instantly share code, notes, and snippets.

View lwillmeth's full-sized avatar

Levi W. lwillmeth

View GitHub Profile
@dmglab
dmglab / git_bible.md
Last active March 9, 2024 02:59
how to git

Note: this is a summary of different git workflows putting together to a small git bible. references are in between the text


How to Branch

try to keep your hacking out of the master and create feature branches. the [feature-branch workflow][4] is a good median between noobs (i have no idea how to branch) and git veterans (let's do some rocket sience with git branches!). everybody get the idea!

Basic usage examples

@armiller
armiller / test.rb
Last active September 7, 2016 14:34
Recursive test for node attributes
require 'chef/sugar'
def loop_hash(hash, keys = [], &block)
hash.each do |k, v|
if v.is_a?(Hash)
loop_hash(v, keys.push(k), &block)
keys.pop
elsif block
p = keys << k
yield(p.clone, v)
@shortjared
shortjared / list.txt
Last active July 19, 2024 21:20
List of AWS Service Principals
a4b.amazonaws.com
access-analyzer.amazonaws.com
account.amazonaws.com
acm-pca.amazonaws.com
acm.amazonaws.com
airflow-env.amazonaws.com
airflow.amazonaws.com
alexa-appkit.amazon.com
alexa-connectedhome.amazon.com
amazonmq.amazonaws.com