GalerieBlogUnity3D ExamplesKontaktSitemapFullsitemap

XSI XNA pipeline - 12 lines of code

this is a 12 liner in c#:

(left and right clicking not counted)

Kommentare (0)  Permalink

puttycyg - a better cygwin shell

Sometimes I like to use cygwin on windows. (Currently needed because of e)

But the it's default bash shell in a console window hast some drawbacks:
- can't be resized
- copy and paste works strange

Solution is:
C:\Programme\Comm\puttycyg\putty.exe  -cygterm -

Kommentare (0)  Permalink

solving strange explorer context menu behaviour

Just strumbled over a forum post, which lead me to shexview.
Problem was: when I right clicked a desctop icon, the windows explorer crashed with an memory expection.
Solution: use shexview and disable all "Context Menu" items.

thanks @ nirsoft

Kommentare (0)  Permalink

recusive grep in files

sometimes I need to grep for NEEDLE in all files.

Here is the short script:


#!/bin/sh
# implements: 
# grep -r -n -H -B 1 -A 1 NEEDLE --exclude="*.svn*" --exclude=EXCLUDEPATTERN .

NAME=`basename $0`
function usage() {
    echo $NAME NEEDLE [EXCLUDEPATTERN]
}

if [ $2 ]; then
    grep -r -n -H -B 1 -A 1 $1 --exclude="*.svn*" --exclude=$2 .
elif [ $1 ]; then
    grep -r -n -H -B 1 -A 1 $1 --exclude="*.svn*" .
else
    usage
fi

Kommentare (1)  Permalink
1-4/4