Skip to content

Instantly share code, notes, and snippets.

View Gnarfoz's full-sized avatar

Christian Wissel Gnarfoz

View GitHub Profile
[Service]
AmbientCapabilities=CAP_NET_BIND_SERVICE
Environment="IDENTPORT=113"
ExecStart=
ExecStart=/usr/bin/quasselcore --configdir=${DATADIR} --logfile=${LOGFILE} --loglevel=${LOGLEVEL} --port=${PORT} --listen=${LISTEN} --require-ssl --ident-daemon --ident-port=${IDENTPORT} --ident-listen=${LISTEN}
@Gnarfoz
Gnarfoz / combatlog_splitter.pl
Created February 14, 2019 10:33
WoW combatlog splitter
#!/usr/bin/perl
use strict;
use warnings;
$| = 1;
my ($infilename, $in, $out) = ("WoWCombatLog.txt");
my ($year, $month, $day) = (2012);
my ($lastday, $i) = (0, 0);
print "A simple World of Warcraft combat log splitter\n==============================================\n\n";
[table]
DARK_BLACK = 0,0,0
DARK_BLUE = 0,55,218
DARK_GREEN = 19,161,14
DARK_CYAN = 58,150,221
DARK_RED = 197,15,31
DARK_MAGENTA = 136,23,152
DARK_YELLOW = 193,156,0
DARK_WHITE = 204,204,204
BRIGHT_BLACK = 118,118,118
@Gnarfoz
Gnarfoz / custom.css
Last active July 13, 2018 01:00
pbwow3 theme customizations
/* hddf.eu - 2018-07-12 */
body {
background-image: url("/bfa2.jpg") !important;
background-attachment: fixed !important;
background-repeat: initial;
background-position-x: 70%;
background-position-y: 33%;
/* background-size: cover; */
}
@Gnarfoz
Gnarfoz / ScenarioToChat.lua
Last active May 3, 2018 18:09
Output scenario info to chat
## Interface: 70300
## Title: Scenario to Chat
## Notes: Dumps the current scenario stage name and description to chat
scenario_to_chat.lua
@Gnarfoz
Gnarfoz / mediakeys.ahk
Created September 16, 2015 13:51
Media keys AutoHotKey script
#a::SendInput {Media_Prev}
#s::SendInput {Media_Next}
#x::SendInput {Media_Play_Pause}
#c::SendInput {Media_Play_Pause}
#z::SendInput {Media_Stop}
#w::SendInput +!w
#q::SendInput +!q
; #q::SendInput {Volume_Down}
; #w::SendInput {Volume_Up}
@Gnarfoz
Gnarfoz / postgrey_cidr.patch
Created June 23, 2015 18:51
Postgrey IPv6 CIDR patch
--- postgrey-1.34.orig/postgrey 2011-05-08 10:57:49.147483555 +0200
+++ postgrey-1.34/postgrey 2011-05-08 11:48:07.286255075 +0200
@@ -11,6 +11,8 @@
use strict;
use Pod::Usage;
use Getopt::Long 2.25 qw(:config posix_default no_ignore_case);
+use Net::IP;
+use NetAddr::IP;
use Net::Server; # used only to find out which version we use
use Net::Server::Multiplex;
1x DeathNote\DataCapture.lua:218: You should never use debugprofilestart()!
[C]: in function `error'
...\TradeSkillMaster\Libs\AccurateTime\AccurateTime-7.nil.lua:93: in function `debugprofilestart'
DeathNote\DataCapture.lua:218: in function `CleanData'
DeathNote\DeathNote-v1.8c.lua:34: in function `OnClick'
Bazooka\Bazooka-v2.4.1.lua:1364: in function <Bazooka\Bazooka.lua:1361>
Locals:
3x BigWigs_Transcriptor\Transcriptor-r223-release.lua:205: BigWigs isn't registed with AceConfigRegistry, unable to open config
[C]: ?
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0-60.lua:1801: in function `Open'
BigWigs_Transcriptor\Transcriptor-r223-release.lua:205: in function `?'
FrameXML\ChatFrame.lua:4387: in function <FrameXML\ChatFrame.lua:4334>
[C]: in function `ChatEdit_ParseText'
FrameXML\ChatFrame.lua:4041: in function `ChatEdit_SendText'
FrameXML\ChatFrame.lua:4080: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>
1x BigWigs_Highmaul\Margok.lua:120: attempt to perform arithmetic on local 'amount' (a nil value)
BigWigs_Highmaul\Margok.lua:120: in function <BigWigs_Highmaul\Margok.lua:112>
BigWigs_Highmaul\Margok.lua:272: in function `?'
BigWigs_Core\BossPrototype.lua:303: in function <BigWigs_Core\BossPrototype.lua:270>
Locals:
5x BigWigs_Highmaul\Margok.lua:196: attempt to perform arithmetic on local 'amount' (a nil value)