Skip to content

Instantly share code, notes, and snippets.

Jordan Irwin AntumDeluge

Block or report user

Report or block AntumDeluge

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
AntumDeluge / mod_debug.lua
Last active Sep 6, 2016 — forked from rubenwardy/mod_debug.lua
Modified version of rubenwardy's craft debugger to output to debug log:
View mod_debug.lua
-- Written by rubenwardy, WTFPL
-- To use:
-- * Save as mod_debug.lua in builtin/game
-- * add dofile(gamepath.."mod_debug.lua") to the last line of builtin/game/init.lua
-- OR
-- * Install as a mod. Needs to be run before any other mod.
local mod = {} = {}
mod.aliases = {}
View example.lua
local name, count
for name in pairs(minetest.luaentities) do
if name == "mobname" then -- Replace mobname with the name of the mob
count = count + 1
if count >= mobcap then return end -- Replace mobcap with the number of mobs at a time.
AntumDeluge /
Created Jun 6, 2017 — forked from samrocketman/
On Ubuntu 16.04, since iOS 10 update, libimobiledevice can't connect to my iPhone. This is my attempt to document a fix.

Why this document?

I upgraded my iPhone 5s to iOS 10 and could no longer retrieve photos from it. This was unacceptable for me so I worked at achieving retrieving my photos. This document is my story (on Ubuntu 16.04).

The solution is to compile libimobiledevice and ifuse from source.

While I did my best to think of beginners when creating this guide; This guide is not for the faint of heart. If you've not compiled software before then I recommend you practicing inside of VirtualBox before attempting this on your real system. Follow this guide at your own risk because I can't make any guarantees based on unknown individual skill level.


AntumDeluge / glass_node_color.lua
Last active Aug 15, 2017
Using hardware node coloring with Minetest.
View glass_node_color.lua
local function dig_glass(pos, node, digger)
local inv = digger:get_inventory()
local can_dig = not core.is_protected(pos, digger:get_player_name())
local drops = {}
if digger:is_player() then
local meta = core.get_meta(pos)
if can_dig then
if not inv:room_for_item('main', then
AntumDeluge /
Created Oct 5, 2017
Error occurring with new outfit system in Stendhal.

The following error output occurs when attempting to change hair in client OutfitDialog:

WARN  [AWT-EventQueue-0]             ( 162) - Cannot build outfit. Setting failsafe outfit.
java.lang.IllegalArgumentException: No body image found for outfit: 12
	at games.stendhal.client.OutfitStore.buildOutfit(
	at games.stendhal.client.OutfitStore.getOutfit(
	at games.stendhal.client.OutfitStore.getOutfit(
	at games.stendhal.client.OutfitStore.getAdjustedOutfit(
	at games.stendhal.client.gui.j2d.entity.Player2DView.getAnimationSprite(
	at games.stendhal.client.gui.j2d.entity.RPEntity2DView.buildSprites(
AntumDeluge /
Created Apr 5, 2018 — forked from xero/
irc cheat sheet

#IRC Reference

Not intended as a guide for newbies, more like a "cheat sheet" for the somewhat experienced IRC user, especially one who wields some power over a channel.

##The Basics

  • /join #channel
    • Joins the specified channel.
  • /part #channel
    • Leaves the specified channel.
AntumDeluge /
Last active Feb 18, 2019
A script for installing/updating Stendhal on a Linux/Unix system.
# A script for installing/updating Stendhal on a Linux/Unix system.
# script to run/update Stendhal
JAVA=$(which java)
AntumDeluge /
Last active Mar 1, 2019
Shell script for recording my desktop with FFmpeg (Windows 10 w/ MSYS2/BASH shell).
# This script can be re-distributed under the CC0 license (public domain).
# It is created specifically for my system (Windows 10 with MSYS2/BASH shell).
# If you want to use it on you may need to change certain values such as the
# audio device name.
# defines whether or not mouse is drawn
AntumDeluge /
Last active Mar 1, 2019
Shell script for recording my desktop with FFmpeg (X11).
# This script is specific to my local machine. Many of the options may need
# to be changed to work on different systems.
# Licensing: CC0
# check if necessary executables are available
FFMPEG=$(which ffmpeg)
XWIN=$(which xwininfo)
AntumDeluge /
Last active Oct 26, 2019
A Python script for replacing the opaque pixels of an image with an "overlay"
#!/usr/bin/env python
# This script replaces pixel data of a source image with that of another image by
# tiling its data over the source image.
# Appreciation goes out to GeeMack & Fred Weinhaus (fmw42) for helping me with
# using the ImageMagick `convert` command:
# Licensing: Creative Commons Zero (CC0)
You can’t perform that action at this time.