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 mikejarema on github. | |
* I am mikejarema (https://keybase.io/mikejarema) on keybase. | |
* I have a public key ASAO3DcoN8KsxmljV0k2dzp7iKqKj7Msels8eLnwx9fgsAo | |
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
require 'hashie' | |
# Include an ActiveSupport extension *other than* ActiveSupport::HashWithIndifferentAccess | |
require 'active_support/core_ext/string/inflections' | |
hash = {}.extend(Hashie::Extensions::DeepFind).deep_find("something") | |
# => NameError: uninitialized constant ActiveSupport::HashWithIndifferentAccess |
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
// A list of possible usernames to reserve to avoid | |
// vanity URL collision with resource paths | |
// It is a merged list of the recommendations from this Quora discussion: | |
// http://www.quora.com/How-do-sites-prevent-vanity-URLs-from-colliding-with-future-features | |
// Country TLDs found here: | |
// http://en.wikipedia.org/wiki/List_of_Internet_top-level_domains//Country_code_top-level_domains | |
// Languages found here: |
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
# An example Jekyll Liquid tag. Utilizes the new plugin system. | |
# | |
# 1. Make a _plugins directory in your jekyll site, and put this class in a file there. | |
# 2. In anyone of your pages, you can use the 'render_time' liquid tag like so: | |
# {% render_time %} => November 27, 2014 | |
# | |
# Or with a custom date format (format here: http://apidock.com/ruby/DateTime/strftime): | |
# {% render_time %b %d, %Y at %l:%M%P %} => Nov 27, 2014 at 4:38pm | |
module Jekyll |