Skip to content

Instantly share code, notes, and snippets.

💯
How can I help you?

Chris Hough chrishough

💯
How can I help you?
Block or report user

Report or block chrishough

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@chrishough
chrishough / meyers-reset.scss
Last active Sep 12, 2017 — forked from trey/reset.sass
Eric Meyer's reset.css in Sass. Originally by @postpostmodern.
View meyers-reset.scss
/*
http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
@chrishough
chrishough / deploy.rake
Last active Jul 26, 2017
Deploy to Heroku via Rake since Capistrano is unavailable and Notify Sentry
View deploy.rake
# frozen_string_literal: true
namespace :myapp do
namespace :deploy do
desc 'deploy current branch to staging'
task staging: :environment do
puts "\nDeploying #{current_branch} to heroku staging\n"
system("git push staging #{current_branch}:master")
system("heroku run rake db:migrate --app #{my_staging_server}")
Raven.capture_message("Deployed Branch: #{current_branch}", level: 'info')
@chrishough
chrishough / circle.yml
Last active Oct 30, 2018
Circle 2.0 : Ruby 2.4.1, Postgres 9.6.3, Redis 4.0.6, Dockerize v0.6.0, Rspec with Circle Formatted Errors, Brakeman, Rubocop, Rubocop-Rspec, Gem Caching
View circle.yml
version: 2
jobs:
build:
working_directory: ~/gathrly-smartforms
docker:
- image: circleci/ruby:2.4.1-node
environment:
RAILS_ENV: continous_integration
PGHOST: 127.0.0.1
PGUSER: rails_test_user
View keybase.md

Keybase proof

I hereby claim:

  • I am chrishough on github.
  • I am chrishough (https://keybase.io/chrishough) on keybase.
  • I have a public key whose fingerprint is 7648 A622 B0D0 CDCD 34F1 6999 27BE A9FB 9620 B4FB

To claim this, I am signing this object:

@chrishough
chrishough / print-markdown-bookmarklet.js
Last active Oct 13, 2016
A bookmarklet to make all markdown files printable. This works with both public and private repositories.
View print-markdown-bookmarklet.js
javascript:var content = document. querySelector('article'); var body = document.querySelector('body'); body.innerHTML = ''; body.appendChild(content);
You can’t perform that action at this time.