Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE nbt PUBLIC "+//IDN libredstone.org//DTD XML-NBT//EN" "http://libredstone.org/dtd/nbt.dtd">
<nbt>
<compound>
<compound name="Data">
<int name="rainTime">108730</int>
<long name="SizeOnDisk">1826816</long>
<string name="LevelName">SeedGlacier</string>
<int name="SpawnZ">0</int>
<int name="SpawnY">64</int>
custom_rendermodes = {
'nether' : {
'parent' : 'smooth-lighting',
'label' : 'Nether',
'description' : 'Nether Mode',
'options' : {
'nether' : True,
'shade_strength' : 0.5,
},
},
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import time
from subprocess import Popen, PIPE, STDOUT
import serial
from watchdog.events import FileSystemEventHandler
from watchdog.observers import Observer
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed); notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
From d9def728aefb3559d70e3a7072acd00d4f6b9920 Mon Sep 17 00:00:00 2001
From: Thomas Lake <[email protected]>
Date: Mon, 5 Sep 2011 14:34:51 +0100
Subject: [PATCH] Add option to log to file
Adds option --logfile
All output normally sent to console will be sent to specified file,
after options have been parsed. Any errors prior to parsing options will
be output to the console as at present.
@agrif
agrif / jobs.py
Created December 11, 2011 21:51
import multiprocessing
import itertools
import Queue
from signals import Signal
##
## first, some generic interfaces
##
agrif@hesperus:~$ dpkg -I deb86_32-v0.3.0-227-g55b6ba3.deb
new debian package, version 2.0.
size 169966 bytes: control archive= 1863 bytes.
392 bytes, 11 lines control
3615 bytes, 40 lines md5sums
197 bytes, 7 lines * postinst #!/bin/sh
200 bytes, 7 lines * prerm #!/bin/sh
Package: minecraft-overviewer
Version: 0.3.0-227
Architecture: i386
from overviewer_core import dispatcher
from overviewer_core import signals
import hashlib
import string
import os
import sys
import socket
def md5(s):
plugins:
- type: hesperus.plugins.irc.IRCPlugin
config:
server: irc.freenode.net
port: 6667
nick: hesperus-gitbot
channelmap:
default: "#moosesocks"
nickmap:
admin: [agrif, achin, brownan]
plugins:
- type: hesperus.plugins.irc.IRCPlugin
server: irc.freenode.net
port: 6667
nick: EmceeOverviewer
nickserv-password: nottherealone
channelmap:
irc: "#overviewer"
nickmap: