A Pen by Louay Akkad on CodePen.
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
| # Export to a folder | |
| mkdir -p db | |
| cd db | |
| curl -k $REPLIT_DB_URL?prefix= | xargs -I@ curl -k -O "$REPLIT_DB_URL/@" | |
| cd .. | |
| tar -czvf db.tar.gz db | |
| # Then download db.tar.gz manually |
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 diff --name-status | |
| gh api repos/$OWNER/$REPO/compare/$HEAD...$BASE | jq -r ' | |
| .files[] | | |
| ( | |
| ( | |
| if .status == "modified" then "M" | |
| elif .status == "added" then "A" | |
| elif .status == "removed" then "D" | |
| else "?" | |
| end |
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
| export DD_API_KEY=XXXXX | |
| export DD_ENV=`whoami`-local |
OlderNewer