Skip to content

Instantly share code, notes, and snippets.

# A Rudy Routine
routines do
git_example do
before_local do
# Store variables using global variables. But be
# aware that the dollar sign variables can be set
# anywhere.
@sha = git 'rev-parse', '--short', 'HEAD'
@tagname = Time.now.strftime("%Y-%m-%d-#{Rudy.sysinfo.user}-#{@sha}")
git 'tag', :a, @tagname, :m, "Another release by Rudy"

#Basic voicemail system#

A basic voicemail system using Twilio.

##How to install##

  • Place check.php and twiliorest.php on some private server that only you have access too. You can run check.php on the command line too if you don't mind the HTML output.
  • Place all of the other .php files into the same directory on a publicly accessible server. Use a non-guessable name for the directory like an md5 hash of your favourite type of salt.
  • In check.php, plunk in your Account SID and API token
  • Change the recipient email address in 1_receive-voicemail.php