Skip to content

Instantly share code, notes, and snippets.

View edbishop's full-sized avatar

Edward Bishop edbishop

View GitHub Profile
@TK009
TK009 / trello-progress.user.js
Created June 20, 2016 08:19
Add a thin progress bar to trello cards that have a checklist
// ==UserScript==
// @name Trello card progress
// @namespace trello
// @author Tuomas Kinnunen
// @description Add a thin progress bar to trello cards that have a checklist
// @include https://trello.com/b/*
// @version 1
// @grant none
// ==/UserScript==
window.addEventListener ("load", Greasemonkey_main, false);
@kylefdoherty
kylefdoherty / rails-deploy-to-digitalocean.md
Last active September 7, 2018 08:44
Notes for myself on How to Deploy a Rails App to DigitalOcean with Ubuntu 14.04, Phusion Passenger & Nginx, Postgres, and Capistrano

How to Deploy a Rails App to DigitalOcean with Ubuntu 14.04, Phusion Passenger & Nginx, Postgres, and Capistrano

1. Setup DigitalOcean Droplet

  • Choose Server Image

choose server image

  • Choose Size (if this is a hobby app you can probably get away with the smallest)

choose server size

@pburtchaell
pburtchaell / styles.css
Last active February 12, 2025 08:45
VH and VW units can cause issues on iOS devices. To overcome this, create media queries that target the width, height, and orientation of iOS devices.
/**
* VH and VW units can cause issues on iOS devices: http://caniuse.com/#feat=viewport-units
*
* To overcome this, create media queries that target the width, height, and orientation of iOS devices.
* It isn't optimal, but there is really no other way to solve the problem. In this example, I am fixing
* the height of element `.foo` —which is a full width and height cover image.
*
* iOS Resolution Quick Reference: http://www.iosres.com/
*/