Archive for the Category » Uncategorized «

Tuesday, January 12th, 2010 | Author: Fusselwurm

wanted to install critterding, but there doesnt seem to be an ubuntu package.

had to install some packages:

sudo apt-get install autoconf libtool g++ libfreetype6-dev libsdl-dev

downloaded sources, went to source directory:


touch aclocal.m4 # necessary?
autoreconf -fi
./configure
make

now execute:

src/critterding

yay!

Category: Uncategorized  | Tags: , , ,  | Leave a Comment
Thursday, December 24th, 2009 | Author: Fusselwurm

Dadumdidum… ECMAScript5 (“JavaScript”) gefällt mir. Und weil’s so schön ist, implementier ich schon mal die neuen Arraymethoden… bspw.:

if (typeof Array.prototype.indexOf === 'undefined') {

	/**
	* 15.4.4.14
	* NOTE the second parameter fromIndex is not explicitly stated so that the
	*      method's length property becomes 1
	*
	* @param searchElement array element to be searched for
	* @param fromIndex (optional, integer)
	*/
	Array.prototype.indexOf = function (f) {
		var l = this.length,
			i = arguments[1] || 0;

		i += (i < 0) ? l : 0;

		for (i = Math.max(i, 0); i < l; i += 1) {
			if (this[i] === f) {
				return i;
			}
		}
		return -1;
	};
}

…außerdem gefällt mir dieses Syntax-Highlighting hier :D
to be extended…

Thursday, May 21st, 2009 | Author: Fusselwurm

I’m reading a book, and it’s, well, a plain text file. The lack of structure bothers me.
I’m using Kate, and Kate offers a simple way of adding syntax highlighting.
So I wrote a very small highlighting definition for Kate, which allows me to view quotes in a slightly different color (provided that actual quotation marks are used, not apostrophes). Yes, it does nested quotes.
I may improve it sometime, but for now I’m happy.

Usage:

copy the file to ~/.kde/share/apps/katepart/syntax/
In Kate, select Extras->Highlighting->Other->eBook txt

Monday, March 02nd, 2009 | Author: Fusselwurm

RL-Dialog vor fünfzehn Minuten…

Moritz: wasn das fürn Soundtrack?
Moritz: Operation Flashpoint 2?
Moritz: Gothic3?
Jakob: Bilder einer Ausstellung...

Category: Uncategorized  | Tags: , ,  | Leave a Comment
Tuesday, September 02nd, 2008 | Author: Fusselwurm

…meinte Jakob eben zu mir. Recht hat er.
map missing some borders in Europe

Friday, June 20th, 2008 | Author: Fusselwurm

what keeps you alive
makes you get up
each morning
but the hope
for things
that wont
ever be
true
?
so
what
should
i do instead
give up hope
and be content
with whatever i have
no i say dont be cowed
fight for there is life in it.