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 | |
# Blog post: http://bekt.github.io/p/gae-sdk/ | |
API_CHECK=https://appengine.google.com/api/updatecheck | |
SDK_VERSION=$(curl -s $API_CHECK | awk -F '\"' '/release/ {print $2}') | |
# Remove the dots. | |
SDK_VERSION_S=${SDK_VERSION//./} | |
SDK_URL=https://storage.googleapis.com/appengine-sdks/ |
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
#!/bin/sh | |
# http://kedar.nitty-witty.com | |
#SPLIT DUMP FILE INTO INDIVIDUAL TABLE DUMPS | |
# Text color variables | |
txtund=$(tput sgr 0 1) # Underline | |
txtbld=$(tput bold) # Bold | |
txtred=$(tput setaf 1) # Red | |
txtgrn=$(tput setaf 2) # Green | |
txtylw=$(tput setaf 3) # Yellow | |
txtblu=$(tput setaf 4) # Blue |