Skip to content

Instantly share code, notes, and snippets.

View grahamc's full-sized avatar
❄️

Graham Christensen grahamc

❄️
View GitHub Profile
WHERE
email_schedule_subscription.id IS NULL
AND email_schedule.deleted_at IS NULL
AND field_user.deleted_at IS NULL
AND (
(
field_user.timezone_identifier = 'US/Eastern'
AND email_schedule_log.created_at > '2011-07-28 00:00:00'
)
OR (
There were 28 failures:
1) FieldUserTest::testCanGetGroupAndRole with data set #47 (administrative user)
User should be able to retrieve group.
Failed asserting that <null> is an instance of class "FieldGroup".
/Users/grahamc/Websites/app/test/client/FieldUserTest.php:25
2) FieldUserTest::testCanGetGroupAndRole with data set #48 (administrative user)
User should be able to retrieve group.
0) Iterate over each branch
1) Iterate over the list of commits in your branch that aren't in master
2) If it has multiple parents, skip it
3) Get the date of the commit
4) Perform date magic
...
???) Profit
# Gets commits unique the branch, not in master
git rev-list topicbranch ^master
/usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/runtime.rb:31:in `setup': You have already activated rack 1.3.0, but your Gemfile requires rack 1.1.0. Consider using bundle exec. (Gem::LoadError)
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/spec_set.rb:12:in `each'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/spec_set.rb:12:in `each'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/runtime.rb:17:in `setup'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler.rb:107:in `setup'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/setup.rb:17
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:59:in `gem_original_require'
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:59:in `require'
from /home/gchristensen/integrity/init.rb:6
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
<?php
/**
* In reality we should be creating our getters, setters, etc, but for the
* truely lazy among us...
*
* @param string $method
* @param array $arguments
* @return void
* @author Travis Black
*/
[11:53 PM] <+zaxis42> can anyone help me with a git problem? http://pastebin.com/vCJzsvp6
[11:57 PM] <itrebal> zaxis42: what do you interpret the problem to be?
[11:57 PM] <+zaxis42> unsure, I just got this error after doing a commit
[11:57 PM] <itrebal> zaxis42: have you read the complete error message?
[11:58 PM] <+zaxis42> well yes, I have been googling it for a long time now trying to find answers
[11:59 PM] <itrebal> zaxis42: please summarize the error for me
...
{
"boxfile": "lucid32",
"dependencies": {
"apt": ["build-essential"],
"cpan": "LWP"
},
"commands": [
["echo", "This one might fail :("],
["exit", 1]
]
<?php
class Controller_Foo extends Controller
{
public function get()
{
return 'You got me!';
}
public function post()
<?php
class Controller_Foo extends Controller
{
public function index()
{
return 'You got me!';
}
public function save()
$ phpunit --debug -c phpunit.xml test/unit/lib/model/FieldStoryTest.php
PHPUnit 3.5.15 by Sebastian Bergmann.
Starting test 'FieldStoryTest::testFilter with data set #0 (3, Team 1, Team Leader, NULL)'.
.
Starting test 'FieldStoryTest::testFilter with data set #1 (1, Team 1, Team Leader, Foo)'.
.
Starting test 'FieldStoryTest::testFilter with data set #2 (2, Team 1, Team Leader, Bar)'.
.