- Donkey
- Kong
- rar?
- boo!
aws --region us-west-2 cloudtrail lookup-events --start-time="2016-05-06, 9:49 AM" --end-time="2016-05-06, 9:52 AM" | jq '[.Events[] | {EventTime: .EventTime, EventName: .EventName, ResourceType: [.Resources[].ResourceType], EventRequestParams: .CloudTrailEvent|fromjson.requestParameters}]' |
cat log.log | gawk 'match($0, /[\s]*.*\.sh/, arr) { print arr[0]}' | sed $'s/ */\\\n/g' | gawk 'match($0, /.*\.sh$/, arr) {print arr[0]}' | sort | uniq -u > uniqueScripts.txt |
echo $(netstat -nr | grep '^0\.0\.0\.0' | awk '{print $2}') dockerhost >> /etc/hosts |
cat kubernetes.yml \ | |
| ruby -ryaml -rjson -e 'print YAML.load(STDIN.read).to_json' \ | |
| tee kubernetes.json |
#!/bin/sh | |
# Designed to be run from a project root directory, the script will: | |
# - recursively traverse down the folder structure from the execution location | |
# - look for 'target' folders | |
# - look for jar's with a name matching a pattern like '*.jar' | |
# - install all found jar's into the local maven repo | |
# | |
# NOTE: if you need to install test jar's then you need to specify an option -Dpackaging=test-jar |
#!/bin/sh | |
echo " This should be run from the the modules base directory. It should:" | |
echo " - loop through each dependency listed in the supplied file" | |
echo " - then check to see if that dependency is used in any of the ivy.xml files" | |
echo " - if it finds a match, then it should print it out along with the path to the file it was in." | |
USAGE="findBadDependencies toBeFound.txt" | |
if ["$1" = ""]; then | |
echo "Where's the dependencies file dufus?" | |
echo $USAGE |
find modules -name 'file_name_to_look_for' -exec grep -sH 'string_or_regex_to_be_found' {} \; |
cat /home/ioan/Perforce/iowen_linux/iowen_linux/hcomemea/Tools/core-foundation-version-advisor/previouslyUpdated.txt | grep -G -x -B 1 --color "" | grep . | grep -v -- "--" > /home/ioan/brokenBuilds.txt |
defaults read /Library/Preferences/org.jenkins-ci | |
sudo defaults write /Library/Preferences/org.jenkins-ci <propertyName> '<value>' |