Skip to content

Instantly share code, notes, and snippets.

View LeoVerto's full-sized avatar

Leo Verto LeoVerto

View GitHub Profile
@LeoVerto
LeoVerto / reddit-robin-autogrowth.user.js
Last active April 1, 2016 23:08
Userscript for automatically voting "Growth" on reddit robin
// ==UserScript==
// @name Robin Auto-Growth
// @namespace com.github.leoverto
// @include https://www.reddit.com/robin/
// @version 1
// @grant none
// ==/UserScript==
setTimeout(function () {
document.getElementsByClassName("robin--vote-class--increase")[0].click();
console.log("WE SHALL GROW!");
@LeoVerto
LeoVerto / reddit-robin-autogrow.js
Created April 1, 2016 16:20
Reddit Robin Auto-Grow
// Paste this into your browser's dev console to automatically click "Grow" once a minute.
setInterval(function () {document.getElementsByClassName("robin--vote-class--increase")[0].click();}, 60000);
@LeoVerto
LeoVerto / Add-ignore_prefix-configuration-option.patch
Created August 25, 2015 21:41
Download to root of project and run "git apply Add-ignore_prefix-configuration-option.patch" to apply.
From 69b7d2a3d8f62edb717aabc7a094ee13798d4de5 Mon Sep 17 00:00:00 2001
From: LeoVerto <LeoVerto@users.noreply.github.com>
Date: Thu, 30 Jul 2015 04:41:22 +0300
Subject: [PATCH] Add ignore_prefix configuration option
This option allows users to prevent a message from being logged by starting it with a configurable prefix.
Possible prefixes include: "[off]", ".off" and "[ignore]".
---
botbot/apps/plugins/core/logger.py | 31 +++++++++++++++++++++----------
@LeoVerto
LeoVerto / nukeAPI
Last active August 29, 2015 14:18
Custom ComputerCraft shell based on a file browser by some other guy.
-- Initialize some variables for later
local xMax, yMax = term.getSize()
local row = 4, 3, 1
-- Returns a table of possible icon origin positions
function originTable(maxCol, maxRow)
local tOrigins = {}
for i=1, maxRow do
for j=1, maxCol do
table.insert(tOrigins, {3+9*(j-1), 2+6*(i-1)})
{
"version": "0.1.5.1",
"port": 2078,
"playersActive": 0,
"playersMax": 8,
"playersOnline": {},
"serverInfo": "Leo's KMP dev server",
"updatesPerSecond": 60,
"shipsInactive": 100,
"screenshotHeight": 512,
*.class
# Package Files #
*.jar
*.war
*.ear
# Forge and vanilla #
/bin/*
/conf/*