Skip to content

Instantly share code, notes, and snippets.

View ramananbalakrishnan's full-sized avatar

Ramanan Balakrishnan ramananbalakrishnan

View GitHub Profile
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 |product|
# do something with the product
@ramananbalakrishnan
ramananbalakrishnan / git-multi-status.sh
Last active June 22, 2016 18:11 — forked from c0wfunk/git-multi-status.sh
check the status of all git repositories located under a given directory (default: cwd)
#!/bin/bash
# usage: $0 [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"
cyan="\033[00;36m"