Skip to content

Instantly share code, notes, and snippets.

Avatar

David Lee dlee

View GitHub Profile
View .zshrc
export SKIP_INSTALL_AVN="Y"
export NVM_DIR="$HOME/.nvm"
# [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
if [ -s "$NVM_DIR/nvm.sh" ]; then
# https://github.com/creationix/nvm/blob/d91b6197f3f60e1e7a332acf69a9b90e83120f06/nvm.sh#L265-L282
# https://github.com/creationix/nvm#calling-nvm-use-automatically-in-a-directory-with-a-nvmrc-file
load_nvmrc() {
local dir="${PWD}"
while [ -n "${dir}" ]; do
[ -e "${dir}/.nvmrc" ] && break
View gist:7225457
2013-10-29 17:40:30 -0700 SolrCore [INFO] [shard_1] webapp=/solr path=/select params={mm=100%25&facet=true&locale=en-US&qf=assignee_email^4+assignee_name^4+author_email^3+author_name^4+cc_email^3+cc_name^3+comment^2+description^3+details^2+email^100+email_domain^4+external_id^3+field_entry_text^3+forum^2+identifier^4+keywords^8+name^100+nice_id_string^100+notes^2+original_nice_id_string^100+phone^3+requester_email^4+requester_name^4+subject^10+tags^5+value^5&bv=0.6&wt=ruby&rows=15&facet.type.method=enum&zuid=81f40ced975983e8&bq=%2Bticket_type_id:3+-status_id:4+%2Btype:ticket&fl=id,db_id,type,score&start=0&facet.query=updated_at:[2013-10-30T00:00:00Z+TO+*]&facet.query=updated_at:[2013-10-29T00:00:00Z+TO+*]&facet.query=updated_at:[2013-10-23T00:00:00Z+TO+*]&facet.query=updated_at:[2013-09-30T00:00:00Z+TO+*]&facet.query=updated_at:[2012-10-30T00:00:00Z+TO+*]&q=hi&timeAllowed=9000&facet.field=type&qt=incremental&fq=account_id:1&fq=type:(ticket+OR+entry+OR+user+OR+group+OR+organization)} hits=0 status=0 QTime=251
@dlee
dlee / Gemfile
Created Oct 30, 2012
Undefined variable using Rails 4 master and Foundation (run rake assets:precompile)
View Gemfile
source :rubygems
gem "rails", github: "rails/rails"
gem "journey", github: "rails/journey"
gem "activerecord-deprecated_finders", github: "rails/activerecord-deprecated_finders"
gem "sprockets-rails", github: "rails/sprockets-rails"
gem "zurb-foundation"
You can’t perform that action at this time.