Skip to content

Instantly share code, notes, and snippets.

🏠
git pull a day keeps the conflicts away

Eqbal Eki eqbal

🏠
git pull a day keeps the conflicts away
Block or report user

Report or block eqbal

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
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]
}
@eqbal
eqbal / song.rb
Created Aug 27, 2016
What's the song?
View song.rb
stops = ->(x) { abort("what is the song?") }
thing = [] ;
class This
class << self
def tell; end
def terrible(_); yield ; end
end
end
@eqbal
eqbal / gist:1306324
Created Oct 22, 2011
Wine is not working under Lion
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
@eqbal
eqbal / wine is not working with brew
Created Oct 21, 2011
Wine is not working with Mac Lion
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
@eqbal
eqbal / gist:1233687
Created Sep 22, 2011
Gtk is not working on my Lion OSX , and it seems that the brew doctor is not working anymore after "sudo chown -R $USER /usr/local" you mentioned
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
You can’t perform that action at this time.