Skip to content

Instantly share code, notes, and snippets.

View ramananbalakrishnan's full-sized avatar

Ramanan Balakrishnan ramananbalakrishnan

View GitHub Profile
@ianneub
ianneub / example.rb
Created December 9, 2012 02:56
Shopify API tweak to easily paginate API calls
ShopifyAPI::Customer.find_all do |customer|
# do something with the customer
end
ShopifyAPI::Order.find_all(:status => :any) do |order|
# do something with the order
end
ShopifyAPI::Product.find_all(:limit => 250) do |order|
# do something with the product
@c0wfunk
c0wfunk / git-multi-status.sh
Created September 7, 2012 13:47 — forked from aroberts/git-multi-status.sh
Script for checking git status of many git repositories
#!/bin/bash
# usage: $0 source_dir [source_dir] ...
# where source_dir args are directories containing git repositories
red="\033[00;31m"
green="\033[00;32m"
yellow="\033[00;33m"
blue="\033[00;34m"
purple="\033[00;35m"