Skip to content

Instantly share code, notes, and snippets.

Avatar

Gabe Wyatt GabeStah

View GitHub Profile
@GabeStah
GabeStah / index.user.js
Last active January 4, 2020 06:13
the-idle-class-helper
View index.user.js
// ==UserScript==
// @name The Idle Class Helper
// @namespace http://tampermonkey.net/
// @version 0.1.5
// @description try to take over the world!
// @author Gabe Wyatt <gabe@gabewyatt.com>
// @match https://www.smallgraygames.com/the-idle-class
// @grant none
// @require https://cdn.jsdelivr.net/npm/lodash@4.17.15/lodash.min.js
// @updateURL https://gist.githubusercontent.com/GabeStah/a687f64db4bb844a4aadd367052bf152/raw/index.user.js
@GabeStah
GabeStah / file.md
Last active March 28, 2019 16:33
Dgraph Child Node Query
View file.md

Schema

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 .
View ad-tampermonkey-auto-script.js
// ==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
@GabeStah
GabeStah / paperclips.js
Last active August 15, 2018 05:38 — forked from cowboy/paperclips.js
Universal Paperclips: stuff to paste into console http://www.decisionproblem.com/paperclips
View paperclips.js
_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)
}
@GabeStah
GabeStah / kookie-autobuyer.user.js
Last active April 10, 2020 01:47
Kookie Autobuyer - Cookie Clicker Helper
View kookie-autobuyer.user.js
// ==UserScript==
// @name Cookie Clicker Helper
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Helps with all the things cookie!
// @author Gabe Wyatt <gabe@gabewyatt.com>
// @match https://orteil.dashnet.org/cookieclicker/
// @require https://code.jquery.com/jquery-3.4.1.slim.min.js
// @require https://raw.githubusercontent.com/marcuswestin/store.js/master/dist/store.everything.min.js
// @use https://gist.github.com/GabeStah/bed9ca6b0227a5f4c5efc150eb9ba3cd/raw/9d1f559624d66831f4c6a79629baed1ee8f30e5d/kookie-autobuyer.user.js
View MapMechanicsLib_h.galaxy
// MISC
const fixed libMapM_gv_bALJungleBirthDelay = 3.0;
const fixed libMapM_gv_bALJungleCampCaptureTime = 1.5;
const fixed libMapM_gv_bALJungleCampCaptureRadius = 3.0;
const int libMapM_gv_dataJungleMaxNumberOfDefenderTypes = 15;
const int libMapM_gv_dataJungleMaxNumberOfDefendersPerCamp = 10;
const int libMapM_gv_dataJungleMaxNumberOfMercTypes = 15;
const int libMapM_gv_dataJungleMaxNumberOfMercsSpawned = 10;
const int libMapM_gv_dataJungleMaxNumberOfPaths = 6;
const int libMapM_gv_jungleMaxCamps = 15;
View gist:95d776f80284219b584d
-- Change the name to the name of the WeakAura
local name = "A Test Group"
local GetRegion = function(name)
local DisplayType = function(name)
if WeakAuras then
if WeakAuras.auras and WeakAuras.auras[name] then return 'auras' end
if WeakAuras.regions and WeakAuras.regions[name] then return 'regions' end
end
end
local displayType = DisplayType(name)
@GabeStah
GabeStah / gist:e558ef87abd224375891
Last active August 29, 2015 14:17
Gruul Slice Rotation WeakAura
View gist:e558ef87abd224375891
dKLrAcqiaQGArOs9irjPlHKOSjaQOpHQWOKu6uskEfsI0Saf3ss1UaQHbP0XGu1YeLWZaLY0GuPRbkX2qvfFdGQghscNdvvY6eLeEhavOMhOKY9Gk7tus9paQGmqKaDqaYcHuXdrvzIOQQlIeAJIs0hfLYircOtIe0krQxIKiyMauPBIQkv7ejPFckjdfjr1sbLQNIkMkuLRkkjARqv5RqkglavGolavaRfGkK3IKAUOQs5UOs2RK8xOQAWQdJYIrv0JfvtgrxwQndKpdjJgaNwIvJKi0RrIMnuUnOA3c(TidxuCCKerlhKNdX0f66iSDa13fLQXdq58OkTEqjvVhqmFKaCFaP9txH(k8Q4WQWRkwXbPItwag9Grly0xXbEfhYkoKv4vXbWGvGaH0XQSSoGNkGnyd9aE(f)GwQaTWcSqfOLkQavhDr3ko8cRabcPJvufTGrlArl6sfurwqfOplGLkoingiQ8ujeR4GoWk8WdwXVd4sXSeVkoqnQskGhVz6koOGsezQ4q2i5vC4lbNNSOtrG7q05qzJ1XuWzyyPSJ4GsqoWneVEobsmbVaRZ4jw7KfKmymErCwG0HsrwSKcmmVeil5SyccX5jdPj9uWrISajdI0ZtW5jl6yjuEdChIiGDNA(GAwSjDEYRtLabggjdIcsbYlvImS6zLC4QItGaoEqfuOAiKkQI(kofYkoOdglNsOuoLEwMicKq8619SbrqG51DoyL82H9uKflPGNnOerMkoyjgzfEvCilGavYjWI8wHxfh4eyXsfEvXQyfhiwExHxfh4eyXsfEvXQyfhcKg)5ymeKkEwXjYW6qScVkoWjWILk8QIvXkoqjSUcVkoWjWILk8QIvXQyfNgWYWcKnzf6ufR4KxHxfvrFfEvCilizWy8IxdyXkovCGsrwSXRbSyfhQcROkfR4uYtHk0PIteQGcvdvHxfhKebuExXjBqeeyvCijGyXskuXb9vCG3iimun(tzAiwmbvXbujqwlpOYq4rnvCYjqIj44hGczxX
View gist:f8a1cca59aca1c68b9c4
#showtooltip
/use [talent:2/2, target=mouseover, help][talent:2/2] Zen Sphere;[talent:2/3]Chi Burst;[talent:2/1]Chi Wave