Skip to content

Instantly share code, notes, and snippets.

View Deledrius's full-sized avatar

Joseph Davies Deledrius

View GitHub Profile
@Deledrius
Deledrius / UruLocalizationProposal
Created January 27, 2012 13:52
Localization Licensing Proposal for Cyan
-- Problem --
Uru has an international audience, and an extensible Localization system which allows content creators to
provide translated text to be utilized automatically. Unfortunately, many of the dialogs currently in Uru
don't take advantage of this capability and cannot be adapted to do so properly without modifying them.
-- What the Community Has Accomplished Thus Far --
Thanks to the efforts of everyone at the UruLocalizationProject, we have a database of translations in a
@Deledrius
Deledrius / transfusion.py
Created March 9, 2012 19:25
Plasma Age Conversion Script
#!/usr/bin/env python
# This file is part of PlasmaTransfusion.
#
# PlasmaTransfusion is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# PlasmaTransfusion is distributed in the hope that it will be useful,
@Deledrius
Deledrius / 0.059s
Created August 17, 2012 16:06
For an android, that is nearly an eternity...
---------------------------
Sublime Text 2
---------------------------
A plugin (set_unsaved_view_name) may be making Sublime Text unresponsive by taking too long (0.059000s) in its on_modified callback.
This message can be disabled via the detect_slow_plugins setting
@Deledrius
Deledrius / keybase.md
Created March 28, 2014 22:05
Keybase

Keybase proof

I hereby claim:

  • I am deledrius on github.
  • I am deledrius (https://keybase.io/deledrius) on keybase.
  • I have a public key whose fingerprint is C9E4 84C0 DB64 F0FF E291 C9CE E881 F446 892A 516D

To claim this, I am signing this object:

@Deledrius
Deledrius / Github.user.css
Last active May 17, 2019 01:57
Fixes for Github's design mistakes.
/* ==UserStyle==
@name Github Enhancements
@namespace com.zero-factorial.userstyles
@homepageURL https://gist.github.com/Deledrius/0ec75b8081e0a9229fcf70ad4a0acbb1
@updateURL https://gist.github.com/Deledrius/0ec75b8081e0a9229fcf70ad4a0acbb1/raw/Github.user.css
@version 1.0.2
@license MIT
@description Fixes design mistakes on Github.
@author Joseph Davies
==/UserStyle== */
#!/usr/bin/env python
# CreateClothingPRP is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# CreateClothingPRP is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@Deledrius
Deledrius / keen.conf
Last active September 6, 2019 03:09
Commander Keen: Invasion of the Vorticons - DOSBox Configuration
[sdl]
fullscreen=true
fulldouble=true
fullresolution=0x0
windowresolution=0x0
output=openglnb
autolock=true
sensitivity=500
waitonerror=true
priority=higher,normal
@Deledrius
Deledrius / prp_as_text.py
Created November 14, 2019 01:13
A utility for producing a textual overview of a PRP file, used to compare in diffs.
#!/usr/bin/env python
# PRP_as_Text is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# PRP_as_Text is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@Deledrius
Deledrius / convert_pyprp_to_korman.py
Created November 19, 2019 04:01
A Blender-Python script to convert basic Age information from inside a PyPRP .blend into a functional Korman .blend.
import bpy
import addon_utils
from PyHSPlasma import *
import korman.properties.modifiers.region as kor_region
# For reading all that alcscripty info
from ruamel.yaml import YAML
collision_bounds_translations = {
@Deledrius
Deledrius / build_cross_gcc
Created September 11, 2020 21:23 — forked from preshing/build_cross_gcc
A shell script to download packages for, configure, build and install a GCC cross-compiler.
#! /bin/bash
set -e
trap 'previous_command=$this_command; this_command=$BASH_COMMAND' DEBUG
trap 'echo FAILED COMMAND: $previous_command' EXIT
#-------------------------------------------------------------------------------------------
# This script will download packages for, configure, build and install a GCC cross-compiler.
# Customize the variables (INSTALL_PATH, TARGET, etc.) to your liking before running.
# If you get an error and need to resume the script from some point in the middle,
# just delete/comment the preceding lines before running it again.