Skip to content

Instantly share code, notes, and snippets.


Garrett Hyder nightbook

  • Allscenes Media Inc.
  • Victoria, British Columbia, Canada
View GitHub Profile
nightbook / gist:8484268
Last active Jan 3, 2016
Pinterest Follow All - jQuery Console Snippet - Instructions: Simple Inspect a Pinterest page with follow buttons and execute through the console, should click all follow buttons excluding unfollow buttons. *This is how I quickly follow all my followers en masse.
View gist:8484268
nightbook / jquery-twitter-follow.js
Created Dec 31, 2014
Twitter Follow All - jQuery Snippet
View jquery-twitter-follow.js
// Place into your Inspect Console to Follow All on Page
$('.not-following .follow-button').trigger('click');
// Place into your Inspect Console to UnFollow All on Page
$('.following .follow-button').trigger('click');
nightbook / gist:f5ab39cd39751013d547
Last active Aug 29, 2015
Woocommerce Bootle Deposit
View gist:f5ab39cd39751013d547
* WooCommerce Bottle Deposit
* --------------------------
* Add bottle deposit fee to checkout
function woo_add_bottle_deposit_fee($cart_object) {
global $woocommerce;
$deposit = 0;