Log <-

Archive for the ‘projects’ Category

RSS   RSS feed for this category

MCPlayerEdit v0.10 released

I've released a new version of my Minecraft Player/World Editor MCPlayerEdit v0.10. This release is an update for Minecraft Beta v1.3 and features the following modifications and additions:

  • You can now load worlds by name.
  • Added items:
    • Double Stone Slab,
    • Double Sandstone Slab,
    • Double Wooden Slab,
    • Double Cobblestone Slab,
    • Stone Slab,
    • Sandstone Slab,
    • Wooden Slab,
    • Cobblestone Slab,
    • Bed
    • Redstone repeater
  • Added a 'seed' command which displays your world's random seed.

You can get the new version Here.

MCPlayerEdit v0.8 released

I've just released the latest version of MCPlayerEdit: v0.8.

This release fixes a bug in the 'give' command. If the user supplied in invalid ID or item name, MCPlayerEdit would crash. (Patch by Stephen Rollyson). The 'give' command has also been extended with additional option menus when the user chooses an item by id, but there are multiple items with that id (logs, wools and dyes).

Get the new release here.

Happy Crafting!

MCPlayerEdit v0.7 released

I've just released the latest version of MCPlayerEdit: v0.7.

This release brings MCPlayerEdit up to date with Minecraft Beta v1.2 and adds the new block types (note blocks, wool, birch, redwood, sandstone, cake) and items (Dyes, bone, sugar, cake, charcoal) presented in Minecraft Beta v1.2. Some blocks and items already present have been renamed to their proper names, as indicated by the tooltips in Minecraft. A bug in the kitsave command was also fixed.

Get the new release here.

Happy Crafting!

MCPlayerEdit v0.6 released

I released version 0.6 of my MCPlayerEdit.

MCPlayerEdit is a MineCraft player/inventory editor for GNU/Linux, MacOSX and Windows.

This release adds the ability to create your own kits using the kitsave command, improved tab-completing for Windows, a warpto command which allows the player to warp to a specific set of coordinates (patch by Foone) and fixes a bug in the position command.

You can find the release here.

MCPlayerEdit v0.5 released

I've just released version 0.5 of MCPlayerEdit, a Minecraft player data and inventory editor.

Features:

  • Modifying the inventory.
  • Adding kits (collections of items) to the inventory.
  • Showing and moving the player and spawn point coordinates.
  • Setting the in-game time of day.
  • Bookmark locations and warp back to them (works inter-dimensional).
  • Track your inventory in case of death.
  • Commandline history
  • Commandline tab-completion (only on GNU/Linux for now)

Homepage.

Templum v0.4.0 released (Simple PHP templating)

I've released Templum v0.4.0

Templum is an extremely lightweight, simple yet powerful and fast templating engine for PHP. It re-uses the power of PHP itself for rendering templates, but provides additional features making it easier to write templating code. Rendering templates using Templum is very fast; it approximates native PHP rendering speed for include() statements.

This release features:

  • Some small bug fixes
  • Documentation updates
  • The ability to include other templates in a template

Download instructions here.

HIrcd – minimal IRC server in Python

I wrote a little IRC server in Python:

HIrcd is a minimal, hacky implementation of an IRC server daemon written in Python in about 400 lines of code, including comments, etc.

It is mostly useful as a testing tool or perhaps for building something like a private proxy on. Do NOT use it in any kind of production code or anything that will ever be connected to by the public.

Direct link to the source code, for those interested.

Templum v0.2.0: Simple PHP Templating

I just released v0.2.0 of Templum, a simple templating engine for PHP.

About

From the homepage:

Templum is an extremely lightweight, simple yet powerful and fast templating engine for PHP. It re-uses the power of PHP itself for rendering templates, but provides additional features making it easier to write templating code. Rendering templates using Templum is very fast; it approximates native PHP rendering speed for include() statements.

Changes

Changes in this release:

  • PHP 4 support added (patch by Pierre Jochem).
  • Bugfix (#1): {{$var}} at end-of-line eats newline following it.
  • Various examples added.
  • Added the ability to turn off automatic escaping using htmlentities().
  • Improved the error reporting.
  • The locale can now be changed after creating a Templum instance.
  • Userguide updated.

This release is backwards compatible with the previous version 0.1.0.

Install

You can install Templum v0.2.0 using PEAR:

pear install http://templum.electricmonk.nl/releases/templum-0.2.0.tgz

If you've got a previous version of Templum installed, you must first uninstall that one:

pear uninstall channel://__uri/templum-0.1.0

There's also a non-PEAR tar.gz which also contains examples and the API documentation and Userguide:

templum-src-0.2.0.tar.gz.

More information

Templum: Simple PHP Templating

At the company I work for (ZX), we needed a simple yet powerful templating language for PHP. I googled around a bit for something, but we couldn't really find anything. So I wrote Templum, and ZX was kind enough to allow me to release it as Open Source under the MIT License.

From the Templum homepage:

Templum is an extremely lightweight, simple yet powerful and fast templating engine for PHP. It re-uses the power of PHP itself for rendering templates, but provides additional features making it easier to write templating code. Rendering templates using Templum is very fast; it approximates native PHP rendering speed for include() statements.

You can install it using PEAR:

pear install http://templum.electricmonk.nl/releases/templum-0.1.0.tgz

For some examples, check the website.

MyQryReplayer

I've written a tool called MyQryReplayer:

MyQryReplayer is a tool which can read the MySQL query log and replay an entire session's worth of queries against a database (SELECT queries only by default). While doing so, it records the time each query took to run, and any queries that failed including their error messages. MyQryReplayer can be used to inspect query performance, and to check a log of queries against a database for possible errors (when upgrading to a new version of MySQL for example).

Get version 0.1 here.