Skip to content

Instantly share code, notes, and snippets.

Garrett Hyder nightbook

Block or report user

Report or block nightbook

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
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;
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
You can’t perform that action at this time.