Skip to content

Instantly share code, notes, and snippets.

@AntumDeluge
AntumDeluge / stendhalserver.ps1
Last active Apr 23, 2020
PowerShell script for launching Stendhal server
View stendhalserver.ps1
<#
Public Domain dedication:
The author hereby relinquishes all rights to this work & dedicates
it to the Public Domain via Creative Commons Zero (CC0). See:
https://creativecommons.org/licenses/publicdomain/
#>
@AntumDeluge
AntumDeluge / stendhalserver.sh
Last active Apr 23, 2020
Shell script for launching Stendhal server
View stendhalserver.sh
#!/usr/bin/env bash
# Public Domain dedication:
#
# The author hereby relinquishes all rights to this work & dedicates
# it to the Public Domain via Creative Commons Zero (CC0). See:
# https://creativecommons.org/licenses/publicdomain/
# change this path to root installation directory of Stendhal server
@AntumDeluge
AntumDeluge / cleanwhitespace.py
Created Jan 10, 2020
A simple script for cleaning up whitespace in text/source files.
View cleanwhitespace.py
#!/usr/bin/env python
# A simple script for cleaning up whitespace in text/source files.
#
# Licensing: CC0
# The author hereby relinqueshes any copyright claim to this script
# & dedicates it to the public domain.
#
# TODO:
# - add help & usage information
@AntumDeluge
AntumDeluge / getstendhaltestclient.py
Last active Jan 10, 2020
A script for retrieving the current Stendhal test client.
View getstendhaltestclient.py
#!/usr/bin/env python
# Script: getstendhaltestclient.py
# Version: 1.1
#
# This file is licensed under CC0.
#
# A script for retrieving the Stendhal test client.
#
# This script requires Python to be installed on your system.
@AntumDeluge
AntumDeluge / getchatlog.sh
Last active Nov 28, 2019
A simple shell script to download & convert Stendhal chat logs to plain text for a specified month.
View getchatlog.sh
#!/usr/bin/env bash
# Script to download & convert Stendhal chat logs (https://stendhalgame.org/chat/) to plain text for a specified month.
#
# License: CC0
script="$(basename $0)"
function usage {
echo -e "\nUsage:\n\t${script} <year>-<month>"
@AntumDeluge
AntumDeluge / placeholdimg.py
Last active Oct 26, 2019
A Python script for replacing the opaque pixels of an image with an "overlay"
View placeholdimg.py
#!/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:
# https://stackoverflow.com/a/49397413/4677917
# Licensing: Creative Commons Zero (CC0)
@AntumDeluge
AntumDeluge / recdesk-x11.sh
Last active Mar 1, 2019
Shell script for recording my desktop with FFmpeg (X11).
View recdesk-x11.sh
#!/bin/bash
# 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
AntumDeluge / stendhal.sh
Last active Feb 18, 2019
A script for installing/updating Stendhal on a Linux/Unix system.
View stendhal.sh
#!/bin/bash
# A script for installing/updating Stendhal on a Linux/Unix system.
#
# LICENSE: CC0
# script to run/update Stendhal
JAVA=$(which java)
@AntumDeluge
AntumDeluge / recdesk-win32.sh
Last active Mar 1, 2019
Shell script for recording my desktop with FFmpeg (Windows 10 w/ MSYS2/BASH shell).
View recdesk-win32.sh
#!/bin/bash
# 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
MOUSE=1
@AntumDeluge
AntumDeluge / irc.md
Created Apr 5, 2018 — forked from xero/irc.md
irc cheat sheet
View irc.md

#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.
You can’t perform that action at this time.