/(^Received:.*?\n)(?=[a-zA-Z-]+:|\n)/im
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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 | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Justin's ZSH Configuration | |
# | |
# Oh My ZSH Configuration ==================================================== | |
# Path to Oh My ZSH ---------------------------------------------------------- | |
ZSH=$HOME/.oh-my-zsh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
// | |
// Iterates over an array of numbers and returns the sum. Example: | |
// | |
// _.sum([1, 2, 3]) => 6 | |
// | |
_.sum = function(obj) { | |
if (!$.isArray(obj) || obj.length == 0) return 0; | |
return _.reduce(obj, function(sum, n) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[mysql] | |
user = root | |
[mysqladmin] | |
user = root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Justin's "Staple" ZSH Theme | |
# | |
# For use with Oh-My-Zsh. Place in ~/.oh-my-zsh/custom. | |
# | |
autoload -U add-zsh-hook | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}[%{$fg_no_bold[green]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install: --user-install --no-document | |
update: --user-install --no-document |
NewerOlder