This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
cancer_in_home = [ | |
"Library/Developer", | |
"Library/Preferences/com.apple.dt.*", | |
"Library/Caches/com.apple.dt.*", | |
'Library/Application\ Support/Xcode' | |
] | |
cancer_in_root = [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/root/.ssh/test_repo_deploy_key: | |
file.managed: | |
- mode: 600 | |
- contents: | | |
fake_private_key | |
multi line | |
awesome sauce | |
wow doge |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
map function: | |
function(doc) { | |
if(doc.symbol.lastIndexOf("HFF") == 0){ | |
emit(doc.symbol,{last_update:doc.last_updatedutc,symbol:doc.symbol,last_yield:doc.last_yield}); | |
} | |
} | |
View output: |