Skip to content

Instantly share code, notes, and snippets.

View mrflip's full-sized avatar

Philip (flip) Kromer mrflip

View GitHub Profile
@mislav
mislav / example.rb
Created March 12, 2012 18:59
Dump objects into YAML using specific style
full_data = {
response: {body: StyledYAML.literal(DATA.read), status: 200},
person: StyledYAML.inline('name' => 'Steve', 'age' => 24),
array: StyledYAML.inline(%w[ apples bananas oranges ])
}
StyledYAML.dump full_data, $stdout
__END__
{
@mrflip
mrflip / mom_stereo.md
Last active December 10, 2015 13:18
Mom's improved stereo

Analysis:

Assuming these goals, from most to least important:

  1. that you, shaving finally learned (mostly) how to switch inputs, continue to have a system whose behavior you can predict
  2. reasonable-quality sound in den and living room ...
  3. ... while playing CDs
  4. ... while playing radio
  5. ---- line of essential ^^^ vs. important vvv ---
  6. ... while playing songs from computer
@mrflip
mrflip / .gitignore
Last active July 1, 2020 21:34
A list of words. The following are not in this list, because they are not words: TWL, TWL2014, OSPD, OSPD5, OWL3, OTCWL2014, or OTCWL. OWL is a word, and so it is in this list.
*.tsv
*.html
reqs/*.json
Gemfile.lock