Skip to content

Instantly share code, notes, and snippets.

View GabeStah's full-sized avatar

Gabe Wyatt GabeStah

View GitHub Profile
@GabeStah
GabeStah / index.user.js
Last active January 25, 2024 20:58
the-idle-class-helper
// ==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
// ==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 / kookie-autobuyer.user.js
Last active April 10, 2020 01:47
Kookie Autobuyer - Cookie Clicker Helper
// ==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
@GabeStah
GabeStah / file.md
Last active March 28, 2019 16:33
Dgraph Child Node Query

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 .
@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
_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)
}
// 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;
@GabeStah
GabeStah / gist:6636046
Last active December 23, 2015 12:29
WeakAuras: Amount per Interval Skeleton - Custom Trigger Function
function(...) -- CUSTOM TRIGGER
-- BEGIN VARIABLES
local ID = 'AmountPerIntervalTracker'
local AMOUNT_TYPE = 'healing'
local DESTINATION_FLAG = COMBATLOG_OBJECT_TYPE_PLAYER
local EVENT_TYPE = 'SPELL_HEAL'
local INTERVAL_TIME = 4
local SOURCE = 'player'
local SPELL_NAME = 'Spinning Crane Kick'
-- END VARIABLES
@GabeStah
GabeStah / gist:6636034
Created September 20, 2013 11:10
WeakAuras: Amount per Interval Tracker - Custom Text Function
function() -- CUSTOM TEXT
-- BEGIN VARIABLES
local ID = 'AmountPerIntervalTracker'
-- END VARIABLES
-- BEGIN BASE FUNCTIONS
local GetValue = function(...)
if not WeakAuras.CustomValues then WeakAuras.CustomValues = {} end
if not ... then return end
local count, data = #{...}
-- 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)