csrutil disable
This file contains 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
curl -sf https://raw.githubusercontent.com/aws/aws-sdk-java/master/CHANGELOG.md |\ | |
sed \ | |
-e 's/Amazon Simple Storage Service/Amazon S3/' \ | |
-e 's/^# /- /' \ | |
-e 's/^## / - ## /' \ | |
-e "s/#.*/'&'/" \ | |
-e 's/: / - /g' \ | |
-e 's/^ \(.*\)/ \1/' \ | |
-e 's/^ -/ -/' \ | |
-e 's/^ -/ -/' \ |
This file contains 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 bash | |
set -Eeuo pipefail | |
trap cleanup SIGINT SIGTERM ERR EXIT | |
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P) | |
usage() { | |
cat <<EOF | |
Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...] |
This file contains 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
brew install \ | |
bash \ | |
zsh \ | |
make \ | |
openssh \ | |
git \ | |
coreutils \ | |
findutils \ | |
gnu-sed \ | |
gnu-tar \ |
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
This file contains 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
# Use ag and fzf to pick a result and open it in vim at the matching line, | |
# plus show the ag results in the quickfix window (needs Ag plugin in your vim) | |
function agvim () { | |
CHOICE=$(ag --color $* | fzf -0 -1 --ansi) | |
if [ ! -z "$CHOICE" ]; then | |
# Open vim at the selected file and line, but also run the Ag scan | |
# the ! on Ag! stops Ag jumping to the first match, and the wincmd gives the editor window focus | |
nvim $( echo "$CHOICE" | awk 'BEGIN { FS=":" } { printf "+%d %s\n", $2, $1 } ') +"Ag! '$*'" "+wincmd k" | |
fi | |
} |