Skip to content

Instantly share code, notes, and snippets.

@TheNotary
Last active December 16, 2015 21:10
Show Gist options
  • Save TheNotary/5498143 to your computer and use it in GitHub Desktop.
Save TheNotary/5498143 to your computer and use it in GitHub Desktop.
file_hacks:
- make_things_better:
starting_md5: "k1j23lkj213"
patches:
-
string_to_patch: "function patchThisLine(){" # this is regex
replace_with: "function withThisLine(){"
patch_multiple: false
-
string_to_patch: "function anotherLine(){"
replace_with: "function withThisLine(){"
patch_multiple: 2
# store ending_md5 in a reciepts folder so the procedure can be undone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment