Skip to content

Instantly share code, notes, and snippets.

Gabe Wyatt GabeStah

Block or report user

Report or block GabeStah

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
@GabeStah
GabeStah / file.md
Last active Mar 28, 2019
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 Aug 15, 2018 — 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 Jul 24, 2018
Kookie Autobuyer - Cookie Clicker Helper
View kookie-autobuyer.user.js
const DEFAULT_SETTINGS = {
// E
'KLICKER_ENABLED': true,
// B
'AUTOBUY_ENABLED': true,
'AUTOBUY_DELAY': 100,
// M
'AUTOCLICKER_ENABLED': true,
'AUTOCLICKER_DELAY': 25,
// N
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 Aug 29, 2015
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
View gist:5cb1b077a5c48ca9db05
-- EXAMPLE 1
local a = 123
local b = 456
local c = 789
local d = c and a or 'missing'
print(d)
-- OUTPUT: 123
---------------
-- EXAMPLE 2
local a = 123
You can’t perform that action at this time.