Skip to content

Instantly share code, notes, and snippets.

View cpb's full-sized avatar
🏠
Working from home

Caleb Buxton cpb

🏠
Working from home
View GitHub Profile
@cpb
cpb / mt6.todo.md
Last active October 31, 2018 14:49
Minitest 6 Todo
  • Clean Project
    • Split Files
      • minitest/reporter
      • list other files to split out
    • Cleaner Call Stack
    • Dream Stack
      • Runnables#shuffle
      • remove #runnable_methods
    • No Cruft
  • end support for maglev idiosyncracies
compiling ../../../../ext/sdl/sge/sge_bm_text.cpp
../../../../ext/sdl/sge/sge_bm_text.cpp:54:3: error: use of undeclared identifier 'SDL_assert'
SDL_assert(0 && "sge_BF_CreateFont");
^
../../../../ext/sdl/sge/sge_bm_text.cpp:68:4: error: use of undeclared identifier 'SDL_SetPaletteColors'
SDL_SetPaletteColors(tmp->format->palette, c, 0, 2);
^
../../../../ext/sdl/sge/sge_bm_text.cpp:387:3: error: use of undeclared identifier 'SDL_SetPaletteColors'
SDL_SetPaletteColors(font->FontSurface->format->palette, c, 0, 2);

Keybase proof

I hereby claim:

  • I am cpb on github.
  • I am cpb (https://keybase.io/cpb) on keybase.
  • I have a public key ASCcONq62kcyCuxalBq5uIDPi2SQgr1Zjbqd-DaIVJE4Qwo

To claim this, I am signing this object:

@cpb
cpb / gist:7507777
Last active December 28, 2015 13:29
{"stimuli":
[
{"id":10,
"filepicker_url":"https://www.filepicker.io/api/file/lA7or5NjRC6fO8cIqoU5",
"created_at":"2013-11-16T23:27:17.907Z",
"suggestions":
[
{"id":9,"up":1,"down":-1}
]
},
@cpb
cpb / gist:7327769
Created November 5, 2013 22:50
docker repo's vagrant up message
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms
3.8.0-32-generic
/boot/vmlinuz-3.8.0-32-generic
Error!
Bad return status for module build on kernel: 3.8.0-32-generic (x86_64)
Consult /var/lib/dkms/virtualbox-guest/4.1.12/build/make.log for more information.
$ vagrant up --provider=virtualbox 1 ↵
Bringing machine 'default' up with 'virtualbox' provider...
[default] Clearing any previously set forwarded ports...
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] -- 80 => 3001 (adapter 1)
[default] Booting VM...
@cpb
cpb / Bash log
Last active December 23, 2015 18:29
I am having problems provisioning to aws.
$ vagrant box add ubuntu http://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box
Downloading or copying the box...
Extracting box...te: 2942k/s, Estimated time remaining: 0:00:01)
The box you're attempting to add already exists:
Name: ubuntu
Provider: virtualbox
$ vagrant box list
ubuntu (virtualbox)
@cpb
cpb / gist:6640924
Created September 20, 2013 17:26
successful results
[default] Mounting shared folders...
[default] -- /vagrant
[default] -- /app_path
@cpb
cpb / gist:6227768
Created August 14, 2013 03:29
cucumber-rails failures
Failing Scenarios:
cucumber features/capybara_javascript_drivers.feature:22 # Scenario: Use a particular driver
cucumber features/capybara_javascript_drivers.feature:44 # Scenario: Mixed DB access
cucumber features/choose_javascript_database_strategy.feature:30 # Scenario: Set the strategy to truncation and run a javascript scenario.
cucumber features/emulate_javascript.feature:3 # Scenario: See a widget
cucumber features/mongoid.feature:6 # Scenario: Keep Mongoid happy
cucumber features/multiple_databases.feature:62 # Scenario: Default transactional strategy is not attempted on second database
cucumber features/multiple_databases.feature:71 # Scenario: Truncation strategy is used on the second database
@cpb
cpb / repo.sh
Last active December 20, 2015 20:08 — forked from paulspencerwilliams/repo.sh
#/usr/bin/env ruby
rails new BugReproduce -T
cd BugReproduce
echo "group :test do" >> Gemfile
echo " gem 'cucumber-rails'" >> Gemfile
echo " gem 'rspec-rails'" >> Gemfile
echo " gem 'database_cleaner'" >> Gemfile
echo "end" >> Gemfile
echo "group :development do" >> Gemfile