Skip to content

Instantly share code, notes, and snippets.

tim DessertArbiter

Block or report user

Report or block DessertArbiter

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
@DessertArbiter
DessertArbiter / twitter_list_members.rb
Last active Aug 22, 2019 — forked from jpmckinney/twitter_list_members.rb
Download all Twitter list members to CSV
View twitter_list_members.rb
require 'csv'
require 'twitter'
@client = Twitter::REST::Client.new do |config|
config.consumer_key = ''
config.consumer_secret = ''
config.oauth_token = ''
config.oauth_token_secret = ''
end
@DessertArbiter
DessertArbiter / 0-openwrt-auto-mount-readme.md
Last active Jul 9, 2019 — forked from lanceliao/0-openwrt-auto-mount-readme.md
Auto mount USB storage device by uuid on OpenWrt
View 0-openwrt-auto-mount-readme.md
  1. Install USB device support;
opkg install kmod-fs-ntfs ntfs-3g kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-storage e2fsprogs fdisk usbutils mount-utils block-mount kmod-fs-ext4 kmod-fs-vfat kmod-nls-utf-8 kmod-nls-cp437 kmod-nls-iso8859-1

reboot
  1. Install blkid, run opkg update && opkg install blkid;
  2. Copy block.sh to directory /lib/functions;
  3. Copy 10-mount and 20-swap to directory /etc/hotplug.d/block;
  4. That's it! run logread -f command then plug in a USB stick to test.
@DessertArbiter
DessertArbiter / yt-unsub.js
Last active Nov 22, 2017
Unsubscribe from all YouTube channels on current page
View yt-unsub.js
var button = document.getElementsByClassName("subscribed-label");
for(var i=0;i<button.length;i++)
{
button[i].click();
var unsub = document.getElementsByClassName("overlay-confirmation-unsubscribe-button");
//console.log(unsub.length)
for(var j=0;j<unsub.length;j++)
unsub[j].click();
}
You can’t perform that action at this time.