Skip to content

Instantly share code, notes, and snippets.

[11:00:27] --> ultamatum (~ultamatum@host86-177-226-137.range86-177.btcentralplus.com) has joined #minecraftforge
[11:01:21] <ultamatum> can someone help please 2013-02-14 17:57:54 [INFO] [ForgeModLoader] Forge Mod Loader version 4.7.4.520 for Minecraft 1.4.7 loading
[11:01:22] <ultamatum> 2013-02-14 17:58:06 [INFO] [STDOUT] 27 achievements
[11:01:22] <ultamatum> 2013-02-14 17:58:06 [INFO] [STDOUT] 210 recipes
[11:01:22] <ultamatum> 2013-02-14 17:58:07 [INFO] [STDOUT] Setting user: Player992, -
[11:01:22] <ultamatum> 2013-02-14 17:58:07 [INFO] [STDERR] Client asked for parameter: server
[11:01:23] <ultamatum> 2013-02-14 17:58:08 [INFO] [STDOUT] LWJGL Version: 2.4.2
[11:01:25] <ultamatum> 2013-02-14 17:58:11 [INFO] [ForgeModLoader] Attempting early MinecraftForge initialization
[11:01:27] <ultamatum> 2013-02-14 17:58:11 [INFO] [STDOUT] MinecraftForge v6.6.0.497 Initialized
[11:01:28] <`3ICE> stop that!
@aji
aji / msgsay.py
Last active March 19, 2018 07:36
WeeChat script to run private messages through a text to speech program, though theoretically other uses are possible
import weechat
hist = {}
histlen = 32
# [head, ..., tail]
queue = []
def enqueue(msg):
global queue
if msg is None:
@aji
aji / .vimrc
Created January 13, 2013 20:41
autocmd!
set title
set wildmenu
syntax on
set noexpandtab
set softtabstop=8
set shiftwidth=8
@aji
aji / unicorn.py
Created January 8, 2013 15:45
libunicorn ported to python
#!/usr/bin/env python3
from collections import namedtuple
IRC_Source = namedtuple('IRC_Source', 'nick ident host')
IRC_Message = namedtuple('IRC_Message', 'source command args')
def message_source_parse(spec):
spec, _, host = spec.partition('@')
nick, _, ident = spec.partition('!')
How to reproduce, using Minecraft 1.2.5, MCP 6.2, Forge 3.3.8.164, and IndustrialCraft2
1.103
1. Extract MCP to a folder, copy bin/ resources/ and minecraft_server.jar to jars/ as
explained in the README
2. Extract Forge in folder (creating a forge/ folder within the MCP root directory)
3. Extract fernflower_0.8.61.zip to runtime/bin
4. Run forge/install.sh
5. Copy industrialcraft-2-client_1.103.jar to jars/mods
6. Run ./startclient.sh
-rw-r--r-- 1 alex alex 269 Nov 28 23:57 AABBLocalPool.java
-rw-r--r-- 1 alex alex 2674 Nov 28 23:57 AABBPool.java
-rw-r--r-- 1 alex alex 4856 Nov 28 23:57 Achievement.java
-rw-r--r-- 1 alex alex 5869 Nov 28 23:57 AchievementList.java
-rw-r--r-- 1 alex alex 1196 Nov 28 23:57 AchievementMap.java
-rw-r--r-- 1 alex alex 4659 Nov 28 23:57 ActiveRenderInfo.java
-rw-r--r-- 1 alex alex 13718 Nov 28 23:57 AnvilChunkLoader.java
-rw-r--r-- 1 alex alex 376 Nov 28 23:57 AnvilChunkLoaderPending.java
-rw-r--r-- 1 alex alex 558 Nov 28 23:57 AnvilConverterData.java
-rw-r--r-- 1 alex alex 429 Nov 28 23:57 AnvilSaveConverterFileFilter.java
msg-confirm client capability
----------------------------------------------------------------------
Copyright (C) 2012 Alex Iadicicco <alex@ajitek.net>
Unlimited redistribution and modification of this document is allowed,
provided that the above copyright notice and this permission notice
remain intact.
The msg-confirm client capability allows a client's PRIVMSGs and NOTICEs
; Alex Iadicicco
; CSE 230 Project 3
.data
matA: .word 3,4,6,8,0,1,1,2,8,7,9,4,5,2
matB: .word 4,2,3,2,4,7,3,6,5,1
matC: .word 0,0,0,0,0,0,0,0
.text
la $a0, matA ; load addresses of matrices
diff --git a/src/libmowgli/ext/json.c b/src/libmowgli/ext/json.c
index 191adf0..5614f35 100644
--- a/src/libmowgli/ext/json.c
+++ b/src/libmowgli/ext/json.c
@@ -34,7 +34,7 @@ static mowgli_json_t json_true =
{
.tag = MOWGLI_JSON_TAG_BOOLEAN,
.refcount = JSON_REFCOUNT_CONSTANT,
- .v_bool = true,
+ { .v_bool = true, }
theta ~/work/sandbox/json: cat document.json
{"foo":["bar",2],"baz":true}
theta ~/work/sandbox/json: ./json < document.json
--
{
"baz": true,
"foo": [
"bar",
2
]