View tbd.diff
diff --git a/app/concepts/affiliate_commission/contract/create_offsetting_commission.rb b/app/concepts/affiliate_commission/contract/create_offsetting_commission.rb | |
new file mode 100644 | |
index 0000000000..f3104037ee | |
--- /dev/null | |
+++ b/app/concepts/affiliate_commission/contract/create_offsetting_commission.rb | |
@@ -0,0 +1,44 @@ | |
+require "reform/form/dry" | |
+ | |
+module AffiliateCommission::Contract | |
+ class CreateOffsettingCommission < Reform::Form |
View arm_mover.py
#!/usr/bin/env python | |
import math | |
import rospy | |
from std_msgs.msg import Float64 | |
from sensor_msgs.msg import JointState | |
from simple_arm.srv import * | |
def at_goal(pos_j1, goal_j1, pos_j2, goal_j2): | |
tolerance = .05 |
View poro-entries_controller.rb
class Entry < ActiveRecord::Base | |
validates :status_weather, inclusion: { | |
in: EntryStatus::OPTIONS[:weather] | |
} | |
validates :status_landform, inclusion: { | |
in: EntryStatus::OPTIONS[:landform] | |
} |
View song.rb
stops = ->(x) { abort("what is the song?") } | |
thing = [] ; | |
class This | |
class << self | |
def tell; end | |
def terrible(_); yield ; end | |
end | |
end |
View gist:1306324
~/code/shit$ brew install wine --HEAD | |
Warning: Building with LLVM, but this formula is reported to not work with LLVM: | |
Wine dies with an "Unhandled exception code" when built with LLVM | |
We are continuing anyway so if the build succeeds, please open a ticket with | |
the following information: 2335-10.7. So | |
that we can update the formula accordingly. Thanks! | |
If it doesn't work you can: brew install --use-gcc |
View wine is not working with brew
~/code$ brew install -v wine | |
Warning: Building with LLVM, but this formula is reported to not work with LLVM: | |
Wine dies with an "Unhandled exception code" when built with LLVM | |
We are continuing anyway so if the build succeeds, please open a ticket with | |
the following information: 2335-10.7. So | |
that we can update the formula accordingly. Thanks! | |
If it doesn't work you can: brew install --use-gcc |
View gist:1233687
It seems that I can't install gtk somehow , I'm using Xcode 4 , No maceport and fink installed and now it seems that I can't use brew doctor after chown /usr/local . | |
Any Help would be highly appreciated . | |
Thanks in advance | |
/usr/local$ brew install -v gtk | |
==> Installing gtk+ dependency: gdk-pixbuf | |
==> Downloading http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.23/gdk-pixbuf-2.23.5.tar.bz2 | |
File already downloaded in /Users/Apple/Library/Caches/Homebrew |