Skip to content

Instantly share code, notes, and snippets.

View PromoFaux's full-sized avatar

Adam Warner PromoFaux

View GitHub Profile
#!/usr/bin/env bash
# Pi-hole: A black hole for Internet advertisements
# by Jacob Salmela
# Network-wide ad blocking via your Raspberry Pi
#
# (c) 2015 by Jacob Salmela
# This file is part of Pi-hole.
#
# Pi-hole is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@PromoFaux
PromoFaux / gist:8891b301e27a170fcf37
Last active August 29, 2015 14:16
Macro Mod script for minecraft to be used in conjunction with minebot (https://github.com/michaelzangl/minebot). Checks if hotbar contains Picks/shovels/dirt, and if not, refills the hotbar from the inventory. Could be edited to use without minebot.
&pick = "stone_pickaxe";
&shovel = "stone_shovel";
&pillar = "dirt";
IF(automine);
LOG("Automine Disabled");
ECHO("/minebot stop");
UNSET(automine);
ELSE;
LOG("Automine Enabled");