I recieved a few emails over the past few days from various folks in a specific user group who were looking for flavors of UNIX to put on some old machines they were donated.
The poor folks ended up getting similar hardware that I used to have on my NAT box; bad BIOS that can’t speak above 16MB pr...
Yes, yes. I know, you hate using the command line. I’ve already received email requests for a “front end” to my port of xmame to MacOS X, and I haven’t even mentioned it other than to three OS X using friends!
Sadly, most “front ends” utilities are not open source, or tied to third-party GUI widge...
You’ve probably wanted ‘du’ to print in a tree formation at some point to make it easier to comprehend… right? Right? Well, I know I have!
Here’s my pretty little zsh alias: pdu () {du $1 | sort +1 -2 | expand | awk -F/ ‘{for (i = 0; i < NF; ++i) printf “ “; print; }’ }
What’s it do? Simple!
...It’s quick, it’s dirty, and it’s ugly. Works for me, though.
#include int main() { int c; while(1) { c=getchar(); if (c==EOF) exit(1); if (c != ‘<’) putchar©; else while (c != ‘>’) { c=getchar(); if (c==EOF) exit(1); } } exit 0; }
I’m tired! I’ve been pretty busy recently, getting everything up to date, and with the release of xmame-sdl, I think I can finally take a bit of time off to do less-geeky things with the few precious hours left this weekend. Still, it’s been nice to see how easy it is to get back into the swing...