Skip to content

Instantly share code, notes, and snippets.

@jpf
jpf / app.py
Created August 1, 2012 23:56
Python/Flask application that takes SMS messages from Twilio, parses them and adds them to a Google Spreadsheet via a Google Form.
import urllib
import re
from flask import Flask, request
import twilio.twiml
app = Flask(__name__)
def submit_to_google_form(formkey, keyword, email, number):
google_form = "https://docs.google.com/spreadsheet/" \
"formResponse?formkey=%s&ifq" % formkey
@nathan-osman
nathan-osman / win32.go
Last active July 18, 2024 16:55
Simple Windows GUI application written in Go
package main
import (
"log"
"syscall"
"unsafe"
)
var (
kernel32 = syscall.NewLazyDLL("kernel32.dll")