Skip to content

Instantly share code, notes, and snippets.

View digitaljhelms's full-sized avatar

Jeremy Helms digitaljhelms

  • USA
View GitHub Profile
@digitaljhelms
digitaljhelms / .gems
Last active December 23, 2015 05:49
Boilerplate files for a client-side JavaScript project, inherently using Node for Grunt to manage build tasks and Bower to manage script dependencies, with the option of Vagrant.
# .gems gem export file.
compass
@digitaljhelms
digitaljhelms / gist:6501232
Created September 9, 2013 20:42
Vagrant cannot forward the specified ports...

The issue:

$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Fixed port collision for 22 => 2222. Now on port 2200.
Vagrant cannot forward the specified ports on this VM, since they
would collide with some other application that is already listening
@digitaljhelms
digitaljhelms / disableinstantwatch.user.js
Last active June 28, 2022 00:51
Disable Netflix Instant Watch Links
// ==UserScript==
// @name Disable Netflix Instant Watch Links
// @namespace https://gist.github.com/6349351
// @description Click the cover image, go the video detail page, simple...
// @version 1.1
// @author Jeremy Helms <digitaljhelms@gmail.com>
// @include http://www.netflix.com/*
// @exclude http://www.netflix.com/WiPlayer/*
// ==/UserScript==
@digitaljhelms
digitaljhelms / gist:5247192
Last active September 17, 2020 11:01
A faster, less buggy alternative to "python -m SimpleHTTPServer"
$ npm install -g http-server
$ http-server -p 8000 -a foo.bar.com

Would serve PWD at http://foo.bar.com/

@digitaljhelms
digitaljhelms / .bashrc
Last active March 29, 2016 05:21
My personal ~/.bashrc file
Moved: https://github.com/digitaljhelms/dotfiles
@digitaljhelms
digitaljhelms / gist:4287848
Last active April 23, 2024 21:43
Git/GitHub branching standards & conventions

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch
@digitaljhelms
digitaljhelms / gist:4208694
Last active October 13, 2015 14:18
What makes up a CSS rule
,....................... (CSS RULE) ......................,
| |
| ,...., |
| (SELECTOR) --> | h1 | |
| `''''` |
| { |
| ,....................., |
| | ,......., ,....., | |
| (DECLARATION) --> | | color | : | red | | ; |
| | `'''''''` `'''''` | |
@digitaljhelms
digitaljhelms / gist:4035539
Created November 8, 2012 00:08
Yahoo! Pipes & Twitter REST API rate limits and authentication requirements

Usage limits for Pipes

  • 200 runs (of a given Pipe) in 10 minutes
  • 200 runs (of any Pipe) from an IP in 10 minutes
  • If you exceed the 200 runs in a 10 minute block, your Pipe will be 999'ed for a hour (a 999 error implies you are over utilizing our service)

Usage limits for Twitter + Pipes

REST API

@digitaljhelms
digitaljhelms / .gitconfig
Last active February 1, 2023 06:02
My personal ~/.gitconfig file
[user]
name = Jeremy Helms
email = digitaljhelms@gmail.com
[alias]
aliases = !git config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /' | sort # list all aliases
cb = !git branch | grep ^* | cut -d' ' -f2
branch-name = !git cb # alias to "cb" alias
st = status
ci = commit
cie = commit --allow-empty-message -m ''
@digitaljhelms
digitaljhelms / gist:3761873
Last active September 10, 2023 23:43
Git/GitHub commit standards & conventions

Committing Code

General Rules

  • Make atomic commits of changes, even across multiple files, in logical units. That is, as much as possible, each commit should be focused on one specific purpose.
  • As much as possible, make sure a commit does not contain unnecessary whitespace changes. This can be checked as follows:
$ git diff --check