Skip to content

Instantly share code, notes, and snippets.

View davidcraig's full-sized avatar

David Craig davidcraig

View GitHub Profile
@davidcraig
davidcraig / 0. Initial install - error
Last active August 28, 2020 12:49
Lutris Battle.net
lutris-wrapper: Blizzard Battle.net
Running /home/david/.local/share/lutris/runners/wine/lutris-5.7-8-x86_64/bin/wine /home/david/Games/battlenet/drive_c/Program Files (x86)/Battle.net/Battle.net.exe
Initial process has started with pid 8451
Game is considered started.
Fontconfig warning: line 5: unknown element "its:rules"
Fontconfig warning: line 6: unknown element "its:translateRule"
Fontconfig error: line 6: invalid attribute 'translate'
Fontconfig error: line 6: invalid attribute 'selector'
Fontconfig error: line 7: invalid attribute 'xmlns:its'
Fontconfig error: line 7: invalid attribute 'version'
@davidcraig
davidcraig / Console (Kittens Game Script)
Last active October 18, 2020 15:33
Kittens Game script
if (!window.speed) speed = 1;
if (!game.realUpdateModel) game.realUpdateModel = game.updateModel;
game.updateModel = () => {
for (var i = 0; i < speed; i++) {
if (i !== 0) {
game.calendar.tick();
}
game.realUpdateModel();
}
}
@davidcraig
davidcraig / wow-class-colors.scss
Last active December 5, 2022 16:54
SCSS: World of Warcraft: Class Colours
$wow_priest: #FFFFFF;
$wow_mage: #69CCF0;
$wow_warlock: #9482C9;
$wow_rogue: #FFF569;
$wow_druid: #FF7D0A;
$wow_monk: #00FF96;
$wow_demon_hunter: #A330C9;
$wow_hunter: #ABD473;