Skip to content

Instantly share code, notes, and snippets.

@steven2358
steven2358 / ffmpeg.md
Last active July 13, 2024 20:20
FFmpeg cheat sheet
@shanna
shanna / persona.go
Created October 8, 2012 13:00
Persona Verification in Go
package persona
import (
"encoding/json"
"io/ioutil"
"net/http"
"net/url"
)
type Auth struct {
@moraes
moraes / gist:2370781
Created April 12, 2012 20:32
GetPage for App Engine datastore (Go)
package foo
import (
"reflect"
"appengine"
"appengine/datastore"
)
var (
@fudanchii
fudanchii / http.go
Created June 8, 2011 09:26
web server example for serving static file
package main
import (
"http"
"runtime"
"log"
"flag"
"os"
)
@darktable
darktable / app.yaml
Created March 16, 2011 19:10
GAE: App.yaml designed for serving a static site on Google App Engine (Python). Copy your static html and files into a folder called "static" next to app.yaml. Contains a bunch of mimetype declarations from html5boilerplate's .htaccess. May not be neces
application: you-app-name-here
version: 1
runtime: python
api_version: 1
default_expiration: "30d"
handlers:
- url: /(.*\.(appcache|manifest))
mime_type: text/cache-manifest
#python 3.1
x = 'hello'
y = 'world'
print(x + " " + y)