View gist:6541241
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 | |
if [[ "${APP_FILE}" == "" ]]; then | |
APP_FILE="app3.js" | |
fi | |
echo "TTNRT : about to forever start ${APP_FILE}" | |
if [[ "${1}" == "start" ]]; then | |
echo "Starting: ${APP_FILE}" |
View gist:3388925
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/bash | |
echo -e "Hi, I'm Douglas Crockford. Do you have an issue or a pull request?\n" | |
ask() { | |
read Type | |
if [[ "$Type" =~ "request" ]]; then | |
echo "You have the source." | |
elif [[ "$Type" =~ "issue" ]]; then |