Skip to content

Instantly share code, notes, and snippets.

View markerdmann's full-sized avatar

mark erdmann markerdmann

View GitHub Profile
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>SF Plotter</title>
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAjU0EJWnWPMv7oQ-jjS7dYxSPW5CJgpdgO_s4yyMovOaVh_KvvhSfpvagV18eOyDWu7VytS6Bi1CWxw"
type="text/javascript"></script>
<script type="text/javascript">
@markerdmann
markerdmann / gist:1080897
Created July 13, 2011 18:09
Deploy Redweb to DotCloud
git clone [email protected]:markerdmann/redweb.git
cd redweb
dotcloud create helloredweb
dotcloud push helloredweb
@markerdmann
markerdmann / gist:1080904
Created July 13, 2011 18:11
Redweb CURL examples
curl --user admin:admin -d 'key=hello&value=redweb' http://yourdeployment.dotcloud.com/strings/set
curl --user admin:admin -d 'key=hello' http://yourdeployment.dotcloud.com/strings/get
newurl = 'oDeskMate://success?' + urllib.urlencode(self.request.params)
self.redirect(newurl)
{
"metadata": {
"name": "",
"signature": "sha256:b7eed14979a18e9675ef15ea95b74002b91b118a88581e3ceaa5e109b831a13a"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
## Options section
setopt correct # Auto correct mistakes
setopt extendedglob # Extended globbing. Allows using regular expressions with *
setopt nocaseglob # Case insensitive globbing
setopt rcexpandparam # Array expension with parameters
setopt nocheckjobs # Don't warn about running processes when exiting
setopt numericglobsort # Sort filenames numerically when it makes sense
setopt nobeep # No beep
setopt appendhistory # Immediately append history instead of overwriting
setopt histignorealldups # If a new command is a duplicate, remove the older one