Skip to content

Instantly share code, notes, and snippets.

View mrboli's full-sized avatar

Bo Li mrboli

  • Toronto, ON
View GitHub Profile
@mrboli
mrboli / unsub.js
Created March 2, 2016 23:24
Unsubscribe to Meetups on meetup.com
$('input.j-checkbox').each(function(){
if ($(this).attr('checked')) {
$(this).next().trigger('click');
}
});
$('.j-selectbox').val('NO_RECEIVE');
class Business < ActiveRecord::Base
include SubuserExtender
# ...
end