Skip to content

Instantly share code, notes, and snippets.

View bleepbloop's full-sized avatar

Jose Torres bleepbloop

View GitHub Profile
@bleepbloop
bleepbloop / sql backup log results
Created February 24, 2011 00:56
main decision tree of SQL cron
We couldn’t find that file to show.
@bleepbloop
bleepbloop / Bash Scripting Argument Usage Checker
Created February 19, 2011 06:56
Simple bash if statement for usage
#!/bin/bash
if [ $# -eq 0 ]; then
echo "Usage: $0 -n [number] -m [message] -u [username] -p [password]";
echo "";
echo "[number] = SMS number to send message to";
echo "[message] = Text of message you want to send";
echo "[username] = Username assocated with aql account";
echo "[password] = Password assocated with aql account";
echo " Both the username and password options are optional and";