Skip to content

Instantly share code, notes, and snippets.

{% extends "layout.html" %}
{% block pagetitle %}
<h2 class="server server-{{ title }}">
<span id="server-background-overlay">
<span id="server-text-wrapper">{{ title }}: <em>{{ addr }}</em></span>
</span>
</h2>
{% endblock %}
{% block content %}
{{ description }}
import urllib
import json
API_ADDRESS = 'http://mcbouncer.com/api'
class MCBouncer():
def __init__(self, API_KEY):
self.API_KEY = API_KEY
def __getattr__(self, method):
[
{
"coords": [
1106,
-1448
],
"rev": 16,
"page_title": "Cactus Cliff",
"server": "creative",
"title": "Cactus Cliff"
[
{
"rev": 8,
"server": "pve",
"page_title": "Avalon City",
"title": "Avalon"
},
{
"coords": [
1800,
00:37:57 [WARNING] Could not properly handle event PLAYER_QUIT:
java.lang.IllegalAccessError: Synchronized code got accessed from another thread: com.mcbouncer.bukkit.BukkitPlayerListener$PlayerJoinThread
at org.bukkit.event.Listener.onPlayerQuit(Listener:0)
at sun.reflect.GeneratedMethodAccessor156.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
package nu.nerd.mobcount;
import java.util.HashMap;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.bukkit.Chunk;
import org.bukkit.World;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
#!/usr/bin/python
import random
window_size = 5
class Perceptron:
def __init__(self, num_inputs, threshold, learning_rate):
self.weights = [random.random()-0.5 for i in range(num_inputs)]
2012-05-16 21:10:19 [INFO] §aJohnAdams1735§f:/lb toolblock on
2012-05-16 21:10:19 [WARNING] [LogBlock] Exception in commands handler:
java.lang.NullPointerException
at de.diddiz.LogBlock.CommandsHandler.onCommand(CommandsHandler.java:160)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479)
at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764)
[1:10 PM] Connecting to server 85.236.**.**.
[1:10 PM] SSL Verification failed: The host name did not match any of the valid hosts for this certificate
[1:10 PM] SSL Verification failed: The certificate is self-signed, and untrusted
[1:10 PM] Reconnecting.
[1:10 PM] SSL Verification failed: The host name did not match any of the valid hosts for this certificate
[1:10 PM] SSL Verification failed: The certificate is self-signed, and untrusted
[1:10 PM] Reconnecting.
[1:10 PM] SSL Verification failed: The host name did not match any of the valid hosts for this certificate
[1:10 PM] SSL Verification failed: The certificate is self-signed, and untrusted
May 12 14:58:46 invert pulseaudio[15061]: [alsa-sink] memblockq.c: Assertion '!bq->blocks || (bq->write_index + (int64_t)chunk.length <= bq->blocks->index)' failed at pulsecore/memblockq.c:408, function pa_memblockq_push(). Aborting.
May 12 14:58:48 invert pulseaudio[17427]: [pulseaudio] main.c: User-configured server at {3c57545fd9007fcac1f08fcd00001118}unix:/home/barney/.pulse/3c57545fd9007fcac1f08fcd00001118-runtime/native, which appears to be local. Probing deeper.
May 12 14:58:48 invert pulseaudio[17428]: [pulseaudio] main.c: User-configured server at {3c57545fd9007fcac1f08fcd00001118}unix:/home/barney/.pulse/3c57545fd9007fcac1f08fcd00001118-runtime/native, which appears to be local. Probing deeper.
May 12 14:58:48 invert rtkit-daemon[2196]: Successfully made thread 17431 of process 17431 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
May 12 14:58:48 invert rtkit-daemon[2196]: Supervising 1 threads of 1 processes of 1 users.
May 12 14:58:48 invert pulseaudio[17431]: [pulseaudio] p