Skip to content

Instantly share code, notes, and snippets.

View jherdman's full-sized avatar

James Herdman jherdman

View GitHub Profile
This file has been truncated, but you can view the full file.
18009 info postinstall concat-map@0.0.1
18010 verbose linkBins wrappy@1.0.1
18011 verbose linkMans wrappy@1.0.1
18012 verbose rebuildBundles wrappy@1.0.1
18013 silly gentlyRm /Users/james/Projects/ember-simple-auth/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion is being purged from base /Users/james/Projects/ember-simple-auth
18014 verbose gentlyRm don't care about contents; nuking /Users/james/Projects/ember-simple-auth/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion
18015 info install wrappy@1.0.1
18016 verbose readDependencies loading dependencies from /Users/james/Projects/ember-simple-auth/node_modules/grunt-mocha/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/package.json
18017 verbose tar unpack /Users/james/.npm/brace-expansion/1.1.0/package.tgz
18018 verbose tar
(defn HAS-ALL-THE-AWARDS? [book awards]
(every? (fn [award] (has-award? book award)) awards))
# Don't forget to manually enter GIT_AUTHOR_NAME and GIT_AUTHOR_EMAIL
# in your .zshrc file.
[alias]
co = checkout
pr = pull --rebase --prune
ci = commit -v
rollback = reset --soft HEAD^
st = status -sb
br = branch
diff --git a/db/structure.sql b/db/structure.sql
index 81578f2..7c67a5c 100644
--- a/db/structure.sql
+++ b/db/structure.sql
@@ -638,7 +638,7 @@ CREATE VIEW completion_rate AS
SELECT activity_state_count.membership_id,
sum(activity_state_count.count) AS completed
FROM activity_state_count
- WHERE ((activity_state_count.state)::text = ANY ((ARRAY['completed'::character varying, 'reviewed'::character varying])::text[]))
+ WHERE ((activity_state_count.state)::text = ANY (ARRAY[('completed'::character varying)::text, ('reviewed'::character varying)::text]))
# Activate the gem you are reporting the issue against.
gem 'activerecord', '4.1.8'
gem 'pg'
require 'active_record'
require 'minitest/autorun'
require 'logger'
# Ensure backward compatibility with Minitest 4
Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test)
# Activate the gem you are reporting the issue against.
gem 'activerecord', '4.2.0.rc1'
gem 'pg'
require 'active_record'
require 'minitest/autorun'
require 'logger'
# Ensure backward compatibility with Minitest 4
Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test)
commit ecf68bb77b778490c79bda9b7ccdb0e68ead1cd3
Author: Tomster <tomster@emberjs.com>
Date: Wed Nov 12 16:08:14 2014 -0500
Initial Commit from Ember CLI v0.1.2
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,....,,........,.. . . .,...........,
,,,,,,,,,,,,,,,:...,,.,,,,,,,,,,,,,,,,,,,,,.,,.,,......... .~.::::. ..........,
,,,,,,,,,,,,. .. .. .. ..,... ,+7ZOOOZ7=, . .,..... ~.=:::::: ..........,
,,,,,,,,,, .====IIIIISZ. .. 7ZSIIIIIIIIIIIIIII7ZO... .::..+:::::::= ..........,
try {
post.get('comments').reload();
} catch (e) {
post.get('comments');
}
WARNING on line 604 of /vagrant/vendor/assets/stylesheets/csswizardry-grids.scss: ".push--desk--four-sixteenths" failed to @extend ".push--desk--one-quarters".
WARNING on line 604 of /vagrant/vendor/assets/stylesheets/csswizardry-grids.scss: ".push--max--four-sixteenths" failed to @extend ".push--max--one-quarters".
WARNING on line 746 of /vagrant/vendor/assets/stylesheets/csswizardry-grids.scss: ".pull--four-sixteenths" failed to @extend ".pull--one-quarters".
WARNING on line 746 of /vagrant/vendor/assets/stylesheets/csswizardry-grids.scss: ".pull--palm--four-sixteenths" failed to @extend ".pull--palm--one-quarters".
WARNING on line 746 of /vagrant/vendor/assets/stylesheets/csswizardry-grids.scss: ".pull--lap--four-sixteenths" failed to @extend ".pull--lap--one-quarters".
WARNING on line 746 of /vagrant/vendor/assets/stylesheets/csswizardry-grids.scss: ".pull--double--four-sixteenths" failed to @extend ".pull--double--one-quarters".
WARNING on line 746 of /vagrant/vendor/assets/stylesheets/csswizardry-grids.
@jherdman
jherdman / coffee-i-wrote.coffee
Last active August 29, 2015 14:00
Fuck you, CoffeeScript
defaultFoo = 10
foo = 3
foo = (defaultFoo > foo) ? defaultFoo : foo
console.log(foo)
=> true