This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Farewell < Mrsool | |
def initialize(colleagues) | |
@colleagues = colleagues | |
puts "It's time to close this chapter. You've all been the 'attr_accessor' to my success." | |
end | |
def thank_you | |
puts "From 'do' loops to food scoops, we've built an 'exception'al app." | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Entry < ActiveRecord::Base | |
validates :status_weather, inclusion: { | |
in: EntryStatus::OPTIONS[:weather] | |
} | |
validates :status_landform, inclusion: { | |
in: EntryStatus::OPTIONS[:landform] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stops = ->(x) { abort("what is the song?") } | |
thing = [] ; | |
class This | |
class << self | |
def tell; end | |
def terrible(_); yield ; end | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |