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
setopt PROMPT_SUBST | |
pulumi() | |
{ | |
if [[ "$@" == *"stack select"* ]] then | |
CURRENT_STACK=$(cat ~/.pulumi-prompt.json | jq '.currentStack' -r) && \ | |
jq -n --arg currentStack $CURRENT_STACK --arg previousPwd $PWD '{"currentStack":$currentStack, "previousPwd":$previousPwd, "stackChanged": true}' > ~/.pulumi-prompt.json | |
fi | |
/opt/homebrew/bin/pulumi "$@" | |
} |
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
setopt PROMPT_SUBST | |
up_find() | |
{ | |
while [[ $PWD != / ]] ; do | |
find "$PWD"/ -maxdepth 1 "$@" | |
cd .. | |
done | |
} |
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
npm start > server.log 2>&1 & |
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
{ | |
"aggs": { | |
"valueIsDisclosed": { | |
"terms": { | |
"field": "computed.valueIsDisclosed" | |
} | |
}, | |
"fitsMMCriteria": { | |
"terms": { | |
"field": "_computed.fitsMMCriteria" |
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
{ | |
"editions": { | |
"type": "checkbox", | |
"filters": [ | |
{ | |
"disabled": false, | |
"name": "North America", | |
"mmgid": "na", | |
"type": "editions", | |
"count": 1323 |
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
atom-sync-settings-gist |
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
git fetch <remote> <rbranch>:<lbranch> | |
git checkout <lbranch> |