Skip to content

Instantly share code, notes, and snippets.

View macabreb0b's full-sized avatar

a knee macabreb0b

View GitHub Profile
@macabreb0b
macabreb0b / dragon_boat.html
Last active August 29, 2015 14:08
render dragon boat seating chart with absolute positioning and hover effect
<html>
<head>
<style>
body * {
box-sizing: border-box;
}
.boat {
background-image: url(http://www.lively-dragon.com/Resources/Pictures/boat_seating.png);
background-size: 100% auto;
@macabreb0b
macabreb0b / pokemonDownloader.js
Last active November 23, 2017 20:05
Download pngs of the first 151 Pokemon from pokemon.com
// 1. Go to pokemon.com/us/pokedex
// 2. Copy + paste script into the console to reveal n pokemon and download their png source files.
// * change 151 to whatever number you like to download more / less pokemon.
var figures,
n = 151,
currentLength = 0;
loadMore.click();
var downloadImages = function() {
@macabreb0b
macabreb0b / meetupMassUnsubscribe
Last active October 24, 2022 21:18
Unsubscribe from all group notifications on Meetup.com
// Tired of getting Meetup.com notifications? Me too.
// 1. Navigate to: http://www.meetup.com/account/comm/ (you must be logged in!)
// 2. Open your browser's console, and paste in the script below:
$('.commSettings').each(function(idx, item) {var $item = $(item);var boardId = $item.attr("id").split('_')[1];var url = $item.children('form').attr('action');var params = {evRemind:1,mailing_list_status:0, submitButton:'Save Settings', submit:'submit'};params['board_' + boardId] = boardId;$.ajax({data: params, url: url, type: 'post'});});$('.generalEmailSettings').find('input[type="checkbox"]').prop('checked', false);$('.generalEmailSettings').find('input[type="submit"]').click();