Skip to content

Instantly share code, notes, and snippets.

View gotwalt's full-sized avatar

Aaron Gotwalt gotwalt

View GitHub Profile
@gotwalt
gotwalt / gist:5743651
Created June 9, 2013 13:58
Trying to use Webmock's to_rack functionality and Rails 4 and getting huge errors with the session object? This monkeypatch provides the missing 'rack.session.options' key to the request environment.
require 'webmock/minitest'
module WebMock
class RackResponse < WebMock::Response
def build_rack_env(request)
uri = request.uri
headers = request.headers || {}
body = request.body || ''
@gotwalt
gotwalt / Code of Conduct.md
Last active April 13, 2016 21:46
Projector Community Code of Conduct

If you choose not to abide by the following guidelines, your membership in Projector Community will be revoked.

The Code

  • Any app developer, product manager, or marketing professional with a Projector account may request to join.
  • Assume that these conversations are confidential. If you would like to share someone else’s experience in a more public forum (ie, Twitter), please DM them and get their explicit consent.
  • Be good to one another.
  • Never use @-everyone or @-channel in #announcements. The use of that tool in other channels is on a case-by-case basis, but please consider the following: Does everyone really need to know? Will @-here suffice? Is this time-sensitive information?

We need this to be a safe and welcoming environment for all, regardless of level of experience, gender expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, or nationality.

Keybase proof

I hereby claim:

  • I am gotwalt on github.
  • I am gotwalt (https://keybase.io/gotwalt) on keybase.
  • I have a public key ASDcnKsN49ga0kD77pMlayDOpdyWEAhQW_Hlt1RqdFrm8wo

To claim this, I am signing this object:

@gotwalt
gotwalt / config.yml
Last active August 4, 2017 16:14
Circle CI 2.0 building a node app and continuously deploying to Google App Engine
version: 2
jobs:
build:
docker:
- image: circleci/node:8.1
working_directory: ~/web
steps:
- checkout