The relevant schema:
<hashtag.hashtag>: string @index(exact, fulltext) @count .
<hashtag.indices>: [int] .
<tweet.hashtag>: uid @count .
<tweet.text>: string @index(exact, fulltext) @upsert @count .| _toggles = {} | |
| makeToggle = (id, fn, delay = 100) => { | |
| const elem = document.querySelector('#' + id) | |
| elem.onclick = () => { | |
| if (_toggles[id]) { | |
| clearInterval(_toggles[id]) | |
| _toggles[id] = null | |
| } else { | |
| _toggles[id] = setInterval(() => elem.disabled || fn(), delay) | |
| } |
| // ==UserScript== | |
| // @name Antimatter M-key Spammer | |
| // @namespace https://gist.github.com/GabeStah/83466ed568649e1bf711fb0f451932ff | |
| // @updateURL https://gist.github.com/GabeStah/83466ed568649e1bf711fb0f451932ff | |
| // @downloadURL https://gist.github.com/GabeStah/83466ed568649e1bf711fb0f451932ff | |
| // @version 0.27 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match http://ivark.github.io/ | |
| // @grant none |
| // ==UserScript== | |
| // @name The Idle Class Helper | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1.5 | |
| // @description try to take over the world! | |
| // @author Gabe Wyatt <[email protected]> | |
| // @match https://www.smallgraygames.com/the-idle-class | |
| // @grant none | |
| // @require https://cdn.jsdelivr.net/npm/[email protected]/lodash.min.js | |
| // @updateURL https://gist.githubusercontent.com/GabeStah/a687f64db4bb844a4aadd367052bf152/raw/index.user.js |