Skip to content

Instantly share code, notes, and snippets.

View XaserAcheron's full-sized avatar
🔥
Always on fire, always in space.

Xaser Acheron XaserAcheron

🔥
Always on fire, always in space.
View GitHub Profile
@XaserAcheron
XaserAcheron / ClassWeaponGiver.zs
Last active September 14, 2017 17:06
[ZScript] Generic-ish class-based weapon giver
// [XA] generic-ish class-based weapon giver. This jankily postfixes the player
// class name as a string to the end of the weapon, e.g. if you're a DoomPlayer
// and BaseWeapon is "Shotgun", it will first try and give you a "ShotgunDoomPlayer".
// If that fails, it'll try and give you a "Shotgun" before giving up.
// [XA] NOTE: this is currently untested code. Will update as soon as it is. ;)
class ClassWeaponGiver : Weapon
{
string baseWeapon;
@XaserAcheron
XaserAcheron / controllers.application.js
Created June 9, 2017 21:13
ember-bootstrap tooltip tester
import Ember from 'ember';
export default Ember.Controller.extend({
tooltipMessage: null
});
@XaserAcheron
XaserAcheron / components.spaceship-editor.js
Last active May 9, 2017 23:06
a probably fruitless attempt to reproduce a particularly insidious error report
import Ember from 'ember';
import Changeset from 'ember-changeset';
export default Ember.Component.extend({
spaceship: null,
changeset: null,
isExpanded: false,
init() {
this._super(...arguments);
@XaserAcheron
XaserAcheron / fix-doomworld.user.js
Last active October 1, 2015 00:19
FIX DOOMWORLD: For those who are tired of using broken Doomworld.
// ==UserScript==
// @name Fix Doomworld
// @namespace http://thissureisanamespace.yep
// @version 99.99999
// @description THIS USERSCRIPT FIXES DOOMWORLD FOREVER
// @match *.doomworld.com/vb/
// @match *.doomworld.com/vb/index.php
// @copyright 2015, Xaser Acheron (or whatever; this is WTFPL, idgaf)
// ==/UserScript==