Skip to content

Instantly share code, notes, and snippets.

View patcon's full-sized avatar

Patrick Connolly patcon

View GitHub Profile
postgres@vagrant-ubuntu-precise-64:/home/vagrant/www.gittip.com$ make run
./env/bin/honcho -e defaults.env,local.env run ./env/bin/aspen \
--www_root=www/ \
--project_root=. \
--show_tracebacks=yes \
--changes_reload=yes \
--network_address=:8537
pid-2555 thread-47360263048960 (MainThread) Reading configuration from defaults, environment, and command line.
pid-2555 thread-47360263048960 (MainThread) changes_reload False default
pid-2555 thread-47360263048960 (MainThread) changes_reload True command line option --changes_reload=yes
# Description:
# Submit time query to www.timeapi.org
#
# Commands:
# hubot time - Current time in UTC
# hubot time <timezone> - Current time in timezone
# hubot time <timezone> <query> - Time in timezone based on query
module.exports = (robot) ->

Keybase proof

I hereby claim:

  • I am patcon on github.
  • I am patcon (https://keybase.io/patcon) on keybase.
  • I have a public key whose fingerprint is 3A1C 0B22 D068 00FE 9941 70F0 95F8 9F53 5142 1685

To claim this, I am signing this object:

@patcon
patcon / npm-debug.log
Created March 29, 2014 02:16
npm publish fails silently in grunt-release
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'publish' ]
2 info using npm@1.4.3
3 info using node@v0.10.26
4 verbose node symlink /usr/bin/node
5 verbose publish [ '.' ]
6 verbose cache add [ '.', null ]
7 verbose cache add name=undefined spec="." args=[".",null]
8 verbose parsed url { protocol: null,
8 verbose parsed url slashes: null,
@patcon
patcon / npm-debug.log
Created March 30, 2014 19:20
npm error log in `sudo npm install -g npmsearch`
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install', '-g', 'npmsearch' ]
2 info using npm@1.4.3
3 info using node@v0.10.26
4 verbose node symlink /usr/bin/node
5 verbose cache add [ 'npmsearch', null ]
6 verbose cache add name=undefined spec="npmsearch" args=["npmsearch",null]
7 verbose parsed url { protocol: null,
7 verbose parsed url slashes: null,
7 verbose parsed url auth: null,
➜ ~ keybase track clone1018
info: ...checking identity proofs
✔ public key fingerprint: 5C32 41F4 18F8 A50C 4FB8 CF1B D232 97EB DE01 90AE
✖ "clone1018" on twitter: https://twitter.com/clone1018/status/453276538637545472 (failed with code 240)
✔ "clone1018" on github: https://gist.github.com/10054267
Some remote proofs failed!
Still verify this user as clone1018? [y/N] n
warn: Bailing out; proofs were not accepted
@patcon
patcon / README.md
Last active August 29, 2015 13:59
Google App Scripts for gittip budgeting (for use in Google Spreadsheet "Tools > Script editor...")

Usage

  • Create new spreadsheet.
  • Click Tools > Script editor...
  • Copy in code.js.
  • Save with an arbitrary name, and then click the "Run" arrow.
  • Go back to spreadsheet.
  • Use custom functions like this in a cell: =getGittipReceivingIndividual("patcon")
@patcon
patcon / -
Created April 20, 2014 20:38
Step 0 : FROM ubuntu:12.04
---> c0fe63f9a4c1
Step 1 : MAINTAINER Mihir Singh (@citruspi)
---> Using cache
---> 7a81eb3b4df3
Step 2 : ENV DEBIAN_FRONTEND noninteractive
---> Using cache
---> 17b8b2499fbb
Step 3 : RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main" > /etc/apt/sources.list.d/pgdg.list
---> Using cache
@patcon
patcon / iptables-vnL--table-nat.diff
Created August 24, 2014 04:14
orWall bug. Firefox. `iptables --table nat`
--- iptable-vnL-nat-no-auth.log 2014-08-24 01:01:04.304998976 -0300
+++ iptable-vnL-nat-browser-auth.log 2014-08-24 01:00:59.664999202 -0300
@@ -1,23 +1,24 @@
-Chain PREROUTING (policy ACCEPT 29 packets, 11334 bytes)
+Chain PREROUTING (policy ACCEPT 6 packets, 2344 bytes)
pkts bytes target prot opt in out source destination
- 609 251K oem_nat_pre all -- * * 0.0.0.0/0 0.0.0.0/0
+ 622 256K oem_nat_pre all -- * * 0.0.0.0/0 0.0.0.0/0
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
@patcon
patcon / iptables-vnL--table-filter.diff
Last active August 29, 2015 14:05
orWall bug. Firefox. `iptables --table filter`
--- iptable-vnL-no-auth.log 2014-08-24 01:00:43.964999966 -0300
+++ iptable-vnL-browser-auth.log 2014-08-24 01:00:50.708999638 -0300
@@ -1,7 +1,9 @@
-Chain INPUT (policy DROP 17 packets, 4512 bytes)
+Chain INPUT (policy DROP 2 packets, 592 bytes)
pkts bytes target prot opt in out source destination
-13246 7849K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 owner UID match 10058 ctstate NEW,RELATED,ESTABLISHED /* Allow Orbot inputs */
- 5400 6455K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED /* Allow related,established inputs */
+13624 8008K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 owner UID match 10058 ctstate NEW,RELATED,ESTABLISHED /* Allow Orbot inputs */
+ 5561 6567K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED /* Allow related,established inputs */