Skip to content

Instantly share code, notes, and snippets.

View solarce's full-sized avatar

Brandon Burton solarce

View GitHub Profile
cfengine
declarative
runs continuously
language is "baroque"
supports classes
large number of action sequences
-----
puppet
> Merlin Mann's Custom Quix Commands
> TITLE: mann-quix-d.txt
> REMARKS: Hello, world. Under construction. Dilute! Dilute!
> GITHUB: http://gist.github.com/290059
> MORE: http://quixapp.com
> UPDATED: 2010-02-07_13-07-54
@Merlin Mann's Custom Quix Commands
@May organize these better once they all stabilize
bit javascript:var%20e=document.createElement('script');e.setAttribute('language','javascript');e.setAttribute('src','http://bit.ly/bookmarklet/load.js');document.body.appendChild(e);void(0); Make a bit.ly link
cal javascript:var%20s;if(window.getSelection){s=window.getSelection();}else{s=document.selection.createRange().text;}var%20t=prompt('Please%20enter%20a%20description%20for%20the%20event',s);if(t){void(window.open(encodeURI('http://www.google.com/calendar/event?ctext='+t+'&action=TEMPLATE&pprop=HowCreated%3AQUICKADD'),'gcal'));}else{void(s);} Add event to Google Calendar
;;; python-pep8.el --- minor mode for running `pep8'
;; Copyright (c) 2009, 2010 Ian Eure <[email protected]>
;; Author: Ian Eure <[email protected]>
;; Keywords: languages python
;; Last edit: 2010-02-12
;; Version: 1.01
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>offlineimap-cron5min</string>
<key>UserName</key>
<string>solarce</string>
<key>GroupName</key>
@solarce
solarce / a.rb
Created December 12, 2012 21:49
meow
2012-12-12T13:46:15-0800 staging -----> Stackato receiving staging request
2012-12-12T13:46:18-0800 staging -----> Node.js app detected
2012-12-12T13:46:25-0800 staging -----> Resolving engine versions
2012-12-12T13:46:25-0800 staging Using Node.js version: 0.8.10
2012-12-12T13:46:25-0800 staging Using npm version: 1.1.49
2012-12-12T13:46:25-0800 staging -----> Fetching Node.js binaries
2012-12-12T13:46:32-0800 staging -----> Vendoring node into slug
2012-12-12T13:46:32-0800 staging -----> Installing dependencies with npm
2012-12-12T13:46:33-0800 staging npm http GET https://registry.npmjs.org/winston/0.6.2
2012-12-12T13:46:33-0800 staging npm http GET https://registry.npmjs.org/redis/0.8.1
@solarce
solarce / a.rb
Created December 12, 2012 21:54
bburton@voltaire [01:49:51] [~/code/haste-server] [stackato *]
-> % s delete
Provisioned service [file-backing] detected would you like to delete it ?: [yN]: n
Deleting application [hastebin]: OK
bburton@voltaire [01:51:14] [~/code/haste-server] [stackato *]
-> % s push
Would you like to deploy from the current directory ? [Yn]: y
Pushing application 'hastebin'...
Framework: buildpack
Runtime: <framework-specific default>
@solarce
solarce / a.rb
Created December 12, 2012 22:07
-> % s push
Would you like to deploy from the current directory ? [Yn]:
Pushing application 'hastebin'...
Framework: buildpack
Runtime: <framework-specific default>
Application Deployed URL [hastebin.paas.allizom.org]:
Application Url: hastebin.paas.allizom.org
Creating Application [hastebin]: OK
Creating redis service [file-backing]:
OK
@solarce
solarce / a.rb
Created December 12, 2012 22:53
-> % s push
Would you like to deploy from the current directory ? [Yn]:
Pushing application 'standup-irc-solarce'...
Framework: buildpack
Runtime: <framework-specific default>
Application Deployed URL [standup-irc-solarce.paas.allizom.org]:
Application Url: standup-irc-solarce.paas.allizom.org
Creating Application [standup-irc-solarce]: OK
Bind existing services to 'standup-irc-solarce' ? [yN]:
Create services to bind to 'standup-irc-solarce' ? [yN]:
@solarce
solarce / flaskr.py
Created December 13, 2012 00:07 — forked from Blue0ctober/flaskr.py
#all the imports
from __future__ import with_statement
from contextlib import closing
import sqlite3
from flask import Flask, request, session, g, redirect, url_for, abort, render_template, flash
# configuration
DATABASE = "/tmp/flaskr.db"
DEBUG = True
SECRET_KEY = 'development key'