Skip to content

Instantly share code, notes, and snippets.

@alexle
alexle / smspython.py
Created September 16, 2013 03:12
Simple Python script to send SMS! Can send image attachments as well.
# smspython.py
# Sends sms message to any cell phone using gmail smtp gateway
# Written by Alex Le (http://alexanderle.com)
import smtplib, base64, sys, re
from email.MIMEMultipart import MIMEMultipart
from email.MIMEText import MIMEText
from email.MIMEImage import MIMEImage
@osoleve
osoleve / TicTacToe.lisp
Created October 30, 2010 18:53
A simple two player textual implementation of Tic Tac Toe.
;;;; tictactoe.lisp
;;;;
;;;; Andrew Levenson
;;;; 10/27/10
;;;;
;;;; Simple two player ASCII Tic Tac Toe Game
;;; First player is X, so initialize the marker to X
(setf *marker* :X)
(setf *player* "Player 1")