Skip to content

Instantly share code, notes, and snippets.

nickmerwin / Dockerfile
Created Jun 30, 2016 publishing system Docker installation
View Dockerfile
FROM phusion/baseimage:0.9.11
MAINTAINER Nick Merwin <>
ENV HOME /root
RUN /etc/my_init.d/
CMD ["/sbin/my_init"]
# ==============================================================================
# install deps
nickmerwin / out
Created Jul 25, 2015
nickmerwin @Nicks-MacBook-Pro.local : ssh -i tmp/coveralls_backup.pem ubuntu@
View out
yo yo yo yo\n yo yo yo

Keybase proof

I hereby claim:

  • I am nickmerwin on github.
  • I am mer ( on keybase.
  • I have a public key whose fingerprint is 24AE 1631 875E 8746 1B75 23D7 449A B548 4E59 8A2B

To claim this, I am signing this object:

nickmerwin / sunspot_session_proxy.rb
Created Sep 13, 2011 Sunspot Session Proxy
View sunspot_session_proxy.rb
module Sunspot
module SessionProxy
class TandemSessionProxy < AbstractSessionProxy
attr_reader :search_session
delegate :new_search, :search, :config,
:new_more_like_this, :more_like_this,
:delete_dirty, :delete_dirty?,
:to => :search_session
nickmerwin / backup.rake
Created Oct 8, 2009
Task to backup your heroku db to S3
View backup.rake
# Heroku S3 Database backup task
# by Nick Merwin (Lemur Heavy Industries) 10.08.09
# * dumps db to yaml, gzip's and sends to S3
# Setup:
# 1) replace APP_NAME and BACKUP_BUCKET with your info
# 2) add config/s3.yml like so (same as Paperclip's):
# production:
# access_key_id: ...
# secret_access_key: ...