This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python2.7 | |
# SuperCoolPosideonShit.py! | |
# Now with more shit. | |
# Written by a really cool Debian GNU/Linux user called Tux on freenode ;) | |
# - http://the.leet.la | |
import feedparser, sys, urllib, urllib2, re, time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.tropicalwikis.tuxcraft.plugins.miningcash; | |
import java.io.Serializable; | |
public class SerializableDouble implements Serializable { | |
private static final long serialVersionUID = 504297962397622277L; | |
double s = 0.0; | |
public SerializableDouble(double d) { | |
s = d; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.bukkit.command.CommandSender; | |
import org.bukkit.Bukkit; | |
public class FlunkCommandSender implements CommandSender { | |
public void sendMessage(String message) { | |
// Shove it to IRC | |
} | |
public void sendMessage(String[] messages) { | |
for(int i=0;i<messages.length;i++) { | |
sendMessage(messages[i]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import subprocess | |
import requests | |
import threading | |
import irc.bot | |
import irc.strings | |
class RamNodeBot(irc.bot.SingleServerIRCBot): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* An APC caching plugin for esoTalk. This does not do much on its own, due to limited esoTalk support for caching. | |
* | |
* 2014 Tux | |
*/ | |
if (!defined("IN_ESOTALK")) exit; | |
ET::$pluginInfo["APCCache"] = array( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var crypto = require('crypto'); | |
var net = require('net'); | |
function createMessage(header, vote) { | |
var data = header.split(' '); | |
if (data.length != 3) { | |
throw new Error("Not a Votifier v2 protocol server"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.thechunk.chunklib.util; | |
import com.google.common.base.Preconditions; | |
import java.util.concurrent.TimeUnit; | |
/** | |
* Time related utility class. | |
*/ | |
public class TimeUtils { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20:45:33 [SEVERE] [/127.0.0.1:36400] <-> InitialHandler - encountered exception | |
io.netty.handler.codec.DecoderException: io.netty.util.IllegalReferenceCountException: refCnt: 0 | |
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:391) | |
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:244) | |
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318) | |
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304) | |
at io.netty.handler.codec.ByteToMessageDecoder.handlerRemoved(ByteToMessageDecoder.java:216) | |
at io.netty.channel.DefaultChannelPipeline.callHandlerRemoved0(DefaultChannelPipeline.java:527) | |
at io.netty.channel.DefaultChannelPipeline.callHandlerRemoved(DefaultChannelPipeline.java:521) | |
at io.netty.channel.DefaultChannelPipeline.remove0(DefaultChannelPipeline.java:351) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20:51:13 [SEVERE] [PaulaBean] <-> DownstreamBridge <-> [lobby2] - encountered exception | |
java.lang.IndexOutOfBoundsException: writerIndex(3) + minWritableBytes(40) exceeds maxCapacity(42): SlicedAbstractByteBuf(ridx: 1, widx: 3, cap: 42/42, unwrapped: PooledUnsafeDirectByteBuf(ridx: 1813, widx: 2048, cap: 2048)) | |
at io.netty.buffer.AbstractByteBuf.ensureWritable0(AbstractByteBuf.java:259) | |
at io.netty.buffer.AbstractByteBuf.ensureWritable(AbstractByteBuf.java:249) | |
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:866) | |
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:858) | |
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:848) | |
at net.md_5.bungee.entitymap.EntityMap.rewriteVarInt(EntityMap.java:96) | |
at net.md_5.bungee.entitymap.EntityMap.rewriteInternal(EntityMap.java:116) | |
at net.md_5.bungee.entitymap.EntityMap_1_8.rewriteInternal(EntityMap_1_8.java:52) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20:52:24 [SEVERE] [PaulaBean] <-> DownstreamBridge <-> [lobby] - encountered exception | |
java.lang.IndexOutOfBoundsException: readerIndex(5) + length(1) exceeds writerIndex(5): SlicedAbstractByteBuf(ridx: 5, widx: 5, cap: 5/5, unwrapped: PooledUnsafeDirectByteBuf(ridx: 7, widx: 19, cap: 64)) | |
at io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1178) | |
at io.netty.buffer.AbstractByteBuf.readByte(AbstractByteBuf.java:587) | |
at net.md_5.bungee.protocol.DefinedPacket.readVarInt(DefinedPacket.java:111) | |
at net.md_5.bungee.protocol.DefinedPacket.readVarInt(DefinedPacket.java:101) | |
at net.md_5.bungee.entitymap.EntityMap.rewriteVarInt(EntityMap.java:88) | |
at net.md_5.bungee.entitymap.EntityMap_1_8.rewriteClientbound(EntityMap_1_8.java:77) | |
at net.md_5.bungee.entitymap.EntityMap_1_8.rewriteInternal(EntityMap_1_8.java:55) | |
at net.md_5.bungee.entitymap.EntityMap.rewrite(EntityMap.java:106) |
OlderNewer