Skip to content

Instantly share code, notes, and snippets.

View narze's full-sized avatar
🕺
You know the rules, and so do I

Manassarn "Noom" Manoonchai narze

🕺
You know the rules, and so do I
View GitHub Profile
@narze
narze / LICENSE.txt
Created August 14, 2012 17:07 — forked from 140bytes/LICENSE.txt
140byt.es -- Click ↑↑ fork ↑↑ to play!
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@narze
narze / .sVimrc
Created October 10, 2018 10:36 — forked from TSFoster/.sVimrc
.sVimrc
let scrollstep = 100
let hintcharacters = "asdfjkl"
let homeurl = "about:blank"
let mapleader = "space"
let blacklists = ["*://www.fastmail.com/*","*://mail.google.com/*","*://docs.google.com/*","*://*feedbin.com/*","*://www.babbel.com/*","*://*trello.com/*","*://www.codewars.com/*","*://www.shortcutfoo.com/*","*://getpocket.com/*","*://*netflix.com/*","*://app.youneedabudget.com/*", "*://codepen.io/*","*://duckduckgo.com/*","*://www.youtube.com/watch?*","https://ellie-app.com/*"]
async function run() {
const wait = ms => new Promise(resolve => setTimeout(resolve, ms))
const selector = 'div[aria-label="Toggle to follow"] div'
const nodes = [...document.querySelectorAll(selector)]
if (!nodes.length) return
for (let node of nodes) {
const text = node.parentElement.parentElement.parentElement.innerText