Skip to content

Instantly share code, notes, and snippets.

Date: 2016-02-04 EST
[21:25:33.818] wlc: logind: session control granted
[21:25:33.818] wlc: Running on vt 1 (fd 0)
[21:25:33.971] (WARN) wlc: Failed to open X11 display
[21:25:33.983] registered plugin orbment (0.0.1) Hook api.
[21:25:33.983] (WARN) Could not open plugins directory: /usr/local/lib/orbment
[21:25:33.983] (WARN) Could not open plugins directory: /home/leon/.local/share/orbment/plugins
[21:25:33.983] Loading plugin 'orbment'
[21:25:33.983] Loaded 1/1 plugins
[21:25:33.983] -- Orbment started --
[wlc] logind: session control granted
[wlc] Running on vt 1 (fd 0)
[wlc] Failed to open X11 display
Starting sway version 6793648 (2016-02-03, branch "master")
Set XDG_CONFIG_HOME to /home/leon/.config
Loading config from /home/leon/.config/sway/config
handling config command 'set $mod Mod4'
find_handler(set) 0
handling config command 'font pango:monospace 8'
17:10:14.704 [0-irc.freenode.net] [main] INFO org.pircbotx.InputParser - :TheLQ!~quackstar@cpe-74-132-248-165.swo.res.rr.com PRIVMSG #pircbotx2 :?mymodes
17:10:14.708 [0-irc.freenode.net] [listenerPool0-thread19] INFO org.pircbotx.output.OutputRaw - PRIVMSG #pircbotx2 :TheLQ: Levels: []
17:10:15.708 [0-irc.freenode.net] [listenerPool0-thread19] INFO org.pircbotx.output.OutputRaw - PRIVMSG #pircbotx2 :TheLQ: op? false | voice? false
17:10:24.916 [0-irc.freenode.net] [main] INFO org.pircbotx.InputParser - :ChanServ!ChanServ@services. MODE #pircbotx2 +o TheLQ
17:10:24.917 [0-irc.freenode.net] [main] TRACE org.pircbotx.Channel - Unknown args in mode '+o TheLQ', getting mode
17:10:24.954 [0-irc.freenode.net] [main] INFO org.pircbotx.output.OutputRaw - MODE #pircbotx2
17:10:24.989 [0-irc.freenode.net] [main] INFO org.pircbotx.InputParser - :morgan.freenode.net 324 PircTest #pircbotx2 +cnt
17:10:25.074 [0-irc.freenode.net] [main] INFO org.pircbotx.InputParser - :morgan.freenode.net 329 PircTest #pircbotx2 141
@TheLQ
TheLQ / gist:7ac22897c5648f6a20a0
Created December 10, 2014 17:49
PircBotX mode stale
INFO org.pircbotx.InputParser - :TheLQ!~quackstar@cpe-74-138-11-241.swo.res.rr.com PRIVMSG #pircbotx :?mode
INFO org.pircbotx.output.OutputRaw - PRIVMSG #pircbotx :TheLQ: Mode for #pircbotx is +ntf #pircbotx2
INFO org.pircbotx.InputParser - :TheLQ!~quackstar@cpe-74-138-11-241.swo.res.rr.com MODE #pircbotx -f
INFO org.pircbotx.InputParser - :TheLQ!~quackstar@cpe-74-138-11-241.swo.res.rr.com PRIVMSG #pircbotx :?mode
DEBUG org.pircbotx.Channel - Mode is stale for channel #pircbotx, fetching fresh mode
INFO org.pircbotx.output.OutputRaw - MODE #pircbotx
INFO org.pircbotx.InputParser - :rajaniemi.freenode.net 324 QTest #pircbotx +nt
INFO org.pircbotx.InputParser - :rajaniemi.freenode.net 329 QTest #pircbotx 1328490732
INFO org.pircbotx.output.OutputRaw - PRIVMSG #pircbotx :TheLQ: Mode for #pircbotx is +nt
@TheLQ
TheLQ / japicmp-pircbot.xml
Created November 24, 2014 12:36
japicmp report of PircBotX
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<japicmp xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" newJar="/home/lordquackstar/quackpad-win8/pircbotx/target/pircbotx-2.1-SNAPSHOT.jar" oldJar="/home/lordquackstar/.m2/repository/org/pircbotx/pircbotx/2.0.1/pircbotx-2.0.1.jar" xsi:schemaLocation="https://github.com/siom79/japicmp/schema/japicmp.xsd japicmp.xsd" xsi:noNamespaceSchemaLocation="japicmp.xsd">
<classes>
<class binaryCompatible="false" changeStatus="MODIFIED" fullyQualifiedName="org.pircbotx.ServerInfo" type="CLASS">
<annotations/>
<attributes>
<attribute changeStatus="UNCHANGED" newValue="NON_SYNTHETIC" oldValue="NON_SYNTHETIC"/>
</attributes>
<constructors/>
<fields/>
<b>bold text</b>
PircBotX bot = new PircBotX(configuration);
long firstStart = System.currentTimeMillis();
int attempts = 0;
while(true)
try {
if(attempts < 5 && System.currentTimeMillis() > firstStart + (1000 * 60 * 2))
throw new RuntimeException("Failed to connect");
//Connect to the freenode IRC network
bot.startBot();
@TheLQ
TheLQ / gist:47142ea3383a25f34e00
Created November 3, 2014 17:52
PircBotX example reconnect
PircBotX bot = new PircBotX(configuration);
long firstStart = System.currentTimeMillis();
int attempts = 0;
while(true)
try {
if(attempts < 5 && System.currentTimeMillis() > firstStart + (1000 * 60 * 2))
throw new RuntimeException("Failed to connect");
//Connect to the freenode IRC network
bot.startBot();
@TheLQ
TheLQ / 2012
Created November 2, 2014 23:07
# HG changeset patch
# User Leon Blakey <lord.quackstar@gmail.com>
# Date 1414969416 18000
# Sun Nov 02 18:03:36 2014 -0500
# Node ID d3203f1bf33dbf1be3ef808d9887da81135431f5
# Parent 146c11421a399d45179497f4105488a474af35fa
pircbotx dao debug patch commit
diff -r 146c11421a39 -r d3203f1bf33d src/main/java/org/pircbotx/UserChannelDao.java
--- a/src/main/java/org/pircbotx/UserChannelDao.java Thu Oct 30 22:32:24 2014 -0400
@TheLQ
TheLQ / gist:c5aef1071b4ae4bf4916
Created November 2, 2014 22:40
PircBotX dao debug patch
diff -r 146c11421a39 src/main/java/org/pircbotx/UserChannelDao.java
--- a/src/main/java/org/pircbotx/UserChannelDao.java Thu Oct 30 22:32:24 2014 -0400
+++ b/src/main/java/org/pircbotx/UserChannelDao.java Sun Nov 02 17:39:53 2014 -0500
@@ -34,6 +34,7 @@
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
import lombok.Synchronized;
+import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.pircbotx.exception.DaoException;