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
# Checkout a branch for a pull request | |
# Inspired from | |
# https://gist.github.com/captainsafia/954351fc7b05bb748b5d2112624f8a2f | |
function gh-pull { | |
if [[ "$#" != 2 ]] | |
then | |
echo "Arguments must be <remote> <PR-ID>." | |
return 1 | |
fi | |
remote=$1 |
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
# Requires: | |
# a) `jq` to be installed | |
# b) A Bearer token (you can grab this from the healthgraph debug console) | |
export BEARER=MY_TOKEN_FROM_THE_CONSOLE | |
curl https://api.runkeeper.com/fitnessActivities?pageSize=100 -H "Authorization: Bearer $BEARER" > page1.json | |
curl https://api.runkeeper.com/fitnessActivities?pageSize=100&page=2 -H "Authorization: Bearer $BEARER" > page2.json | |
curl https://api.runkeeper.com/fitnessActivities?pageSize=100&page=3 -H "Authorization: Bearer $BEARER" > page3.json |
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
Unite.vim | |
=============================================== | |
These are takeaways from the VimChi talk on Unite.vim. | |
This gist serves as easy copy paste resource when experimenting | |
with Unite, so that I can save you from taking notes in | |
the talk. | |
For more specific configuration with mapping and such, | |
you can checkout my .vimrc: github.com/gsavovski/VimplifY | |