This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
# 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 | |
} |
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.
brew install \ | |
bash \ | |
zsh \ | |
make \ | |
openssh \ | |
git \ | |
coreutils \ | |
findutils \ | |
gnu-sed \ | |
gnu-tar \ |
#!/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...] |
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/^ -/ -/' \ |