Skip to content

Instantly share code, notes, and snippets.

View jeffsaracco's full-sized avatar

Jeff Saracco jeffsaracco

View GitHub Profile
@jeffsaracco
jeffsaracco / donut-recipe.md
Last active April 20, 2020 12:48
donut-recipe

Donut Recipe

2440BFBF-6159-4673-8584-45396C7ECB8E_1_105_c

Ingredients

Dough

  • 1 cup milk
  • 1/4 cup plus 1 tsp. granulated sugar, divided
@jeffsaracco
jeffsaracco / Vim-hash-search-and-replace.md
Last active March 19, 2018 13:01
Vim search and replace to change old ruby hash syntax (ie: :symbol => 'value') into new ruby hash syntax (ie: symbol: 'value')

For old ruby hash syntax with symbols %s/:\([a-z_]\+\) =>/\1:/gc

For old syntax with strings %s/"\([a-z]\+\)" =>/\1:/gc