Skip to content

Instantly share code, notes, and snippets.

View jsmecham's full-sized avatar
💣
Breaking Things…

Justin Mecham jsmecham

💣
Breaking Things…
View GitHub Profile
### Keybase proof
I hereby claim:
* I am jsmecham on github.
* I am jsmecham (https://keybase.io/jsmecham) on keybase.
* I have a public key whose fingerprint is BAA8 933A E979 B718 AF8E 2AE8 A529 B5C4 3E5A 5F04
To claim this, I am signing this object:
@jsmecham
jsmecham / build-package.sh
Created June 15, 2017 23:04
Atom build-package
#!/bin/sh
echo "Downloading latest Atom release..."
ATOM_CHANNEL="${ATOM_CHANNEL:=stable}"
if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
curl -s -L "https://atom.io/download/mac?channel=${ATOM_CHANNEL}" \
-H 'Accept: application/octet-stream' \
-o "atom.zip"
mkdir atom
@jsmecham
jsmecham / .zshrc
Last active October 28, 2017 17:11
#
# Justin's ZSH Configuration
#
# Oh My ZSH Configuration ====================================================
# Path to Oh My ZSH ----------------------------------------------------------
ZSH=$HOME/.oh-my-zsh
#
# Justin's IRB Configuration
#
# Support User Gems in Bundler-Managed Applications --------------------------
#
# if defined? ::Bundler
# user_gem_paths = Dir.glob("#{Gem.user_dir}/gems/*")
# user_gem_paths.each do |path|
# gem_path = "#{path}/lib"
@jsmecham
jsmecham / Date.js
Created April 14, 2011 01:32
JavaScript Date Formatter
/**
* Date#strftime(format) -> String
*
* - format (String): the format string
*
* Formats the *date* according to the directives given in the *format*
* string. Requires a String#interpolate() extension.
*
* ## Format Components
*