Skip to content

Instantly share code, notes, and snippets.

View allisonburtch's full-sized avatar

Allison allisonburtch

View GitHub Profile
Esther Hicks
Salman Khan
Crystal healing
Nike, Inc.
Beatport
Southern hip hop
Singer-songwriter
Perspiration
Capitalism
Urban chicken
#!/usr/bin/env ruby
#create a board
def show_board(board)
puts " #{board[0]} | #{board[1]} | #{board[2]} "
puts "-----------"
puts " #{board[3]} | #{board[4]} | #{board[5]} "
puts "-----------"
puts " #{board[6]} | #{board[7]} | #{board[8]} "

Keybase proof

I hereby claim:

  • I am allisonburtch on github.
  • I am allison (https://keybase.io/allison) on keybase.
  • I have a public key whose fingerprint is 6F4F 3333 A12D C22C C341 CCAD 1DE2 AA34 8629 3F94

To claim this, I am signing this object:

@allisonburtch
allisonburtch / week1
Created October 1, 2013 03:27
first thing i ever coded. reminder that i've come a long way and to never ever do this again.
void setup(){
size (1100,700);
background(255);
fill (0);
strokeWeight (2);
[acb551]
exten => s,1,Wait(1)
exten => s,n,AGI(googletts.agi, "Welcome to smartify Allison's dumbphone. To hear the number of unread emails, press 1")
exten => s,n,WaitExten(3)
exten => 1,1,Goto(acb551_unread,s,1)
exten => s,n,Wait(1)
[acb551_unread]
exten => s,1,Answer()
exten => s,n,Set(new_emails=${SHELL(/home/acb551/asterisk_agi/email.rb)})
@allisonburtch
allisonburtch / gist:5233308
Last active December 15, 2015 08:49
This is the Ruby code I am using to "smartify my dumbphone." Combined with calling an Asterisk server, I will be able to listen to my gmail read to me by google text to speech.
#!/usr/bin/env ruby
require 'gmail'
##private
username="username@gmail.com" #replace with your username
password="password123" #replace with your password
##
#opens the session, information above should be private