Skip to content

Instantly share code, notes, and snippets.

View vijjunyros's full-sized avatar

VijayaLakshmi vijjunyros

  • Nyros Technologies
  • Kakinada
View GitHub Profile
# will make request with twitter credentials
>> client.faces_recognize(:urls => ['http://www.allfunnyfaces.com/pictures/Baby_Faces.jpg'], :uid => ['uiicor'])
@vijjunyros
vijjunyros / 1.png
Created November 4, 2011 18:39 — forked from jeffkreeftmeijer/1.png
Simple image diff
1.png
@vijjunyros
vijjunyros / paypal_recurring_gateway.rb
Created August 11, 2011 06:36 — forked from dmitriy-kiriyenko/paypal_recurring_gateway.rb
Paypal Recurring Gateway, based on ActiveMerchant
class PaypalRecurringGateway < ActiveMerchant::Billing::PaypalGateway
NS2 = 'n2:'
self.default_currency = 'USD'
def create_recurring(money, credit_card, options = {})
request = create_recurring_request(money, credit_card, options)
commit("CreateRecurringPaymentsProfile", request)
end
def update_recurring(money, profile_id, options = {})