Skip to content

Instantly share code, notes, and snippets.

View patcon's full-sized avatar

Patrick Connolly patcon

View GitHub Profile
@patcon
patcon / create-hubot-script-repo
Last active March 9, 2017 10:43
Small helper script to make managing hubot-scripts org less tedious.
#!/usr/bin/env ruby
## Description:
# Small helper script to make managing hubot-scripts org less tedious.
#
## Requirements:
# gem install octokit
#
## Usage:
# create-hubot-script-repo <username>/<repo> [<org>]
@patcon
patcon / README.md
Last active January 2, 2016 17:49
Using Sqwiggle in a hover window

Introduction

Sqwiggle is a remote collaboration tool. [video demo]

Using squiggle is great if you have multiple monitors and can keep the application window open on the side. However, it's much simpler to forget that it's open when you have it below your working window on a single screen.

Installing Afloat, an OSX window manager, allows you to float a small, transparent app window over your single workspace.

Requirements

@patcon
patcon / id_rsa.pub
Created January 9, 2014 19:04
patcon's SSH key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC+ujPWbxkhvkjv6EW9MwNHgjyGtAUFTtCnLsE7CEukzfeaL1NMyivCYwrdQ2TBaUTPkxKDKtuR0/729T+rXKpb2Aeua4WhPccOETb7ZOdJTxLu6nzDe2M/ri94umlvWMbH5Gf64zt/E7SYv398kRxABMOPFP4Kd2DcuCyItWp1GquGPB5DlWFwJ57kBmTsuarkWrz3WntG/htQI0woEBdPlBQ08aVWr8TQnn3/fclcgLyjtD6B7MRXHuwrK45l/VIK/ZI7OOnciHVxSVbJZjHII/gqmoGeu4KYdPy9DbVllKyBMI5hW/G2Dnqu0Xo+ISaC56Hcr2mIVvXx5teWcpxeSFuCQI8TqdxDK8/3TRn7EfGADUlvTbf9pCOMYD01Ifam11WqtaO6MsvAv/aWRFUTBxmCESyiN4E1y0LdKiIobo/fLMpcFgLt/kCtXs4Uok9M+8RYH25w6eQeLWs+hwswPVnB1Rt3TzmPW0TvuEjS1hHQk22KTsB5YXqlSApvY9bxtYZo+6k6UXur06w95luK3cL5FB7wbAQxYCPsX3a7Oz0nHNnkk7Dm4KAM6pCmayA2beV85o3mvp9pTZ6hvsqOng8qYMgo93tlgALOi+Ly1IdWirzC+WC6DNC3zpzHC+ShUvE4gP7l0g1Ve6/6k0putzVlUb6nBw3Gim8T4KBPow== patcon@myplanet-macbook
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 [email protected]
3 info using [email protected]
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 [email protected]
3 info using [email protected]
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")