So at first, this looks normal: The emulated hardware consists in the following devices: 32 bit x86 compatible CPU 8259 Programmble Interrupt Controller 8254 Programmble Interrupt Timer 16450 UART Real Time Clock. IDE interface and hard disk. But then… he goes on to say it’s written in… javascript. http://bellard.org/jslinux/tech.html Astonishing demo here (requires somewhat of a modern browser) :) http://bellard.org/jslinux/ Some people have big brains.
code
A one line gawk script to transfer a file to a waiting netcat… it’s sort of a really crappy one-way netcat that you stuff things into. I actually sort of needed this when on a suxx0r really stripped down busybox linux system that had zero file transfer programs, it was a wasteland… but the fools left gawk on the system… so a quick hack to do file transfers: […]
After looking at about a zillion different options I ended up with Leo Charre’s WordPress CLI CPAN package for uploading posts… and after a bit of tinkering got it to work with 3.x WP. However… it didn’t support tags, which I really needed for the project I’m working on. This handy pointer to how to do it to java saved my bacon: it turns out that making a very […]
Sometime, probably in the paleozoic era, I wrote a little perl script I just came across again. At the time I was frustrated by commands in /bin or /usr/bin not having documentation, even on a cleanly installed system… I guess I would think if something is important enough to install on a system you might want to tell your users what it does… so I thought I’d look at how […]
I keep having to look this up… so here’s a perl script (click to DL below). Also prints out some other stuff I keep forgetting how to get. Also does it for the user logged in, so you can sudo and have it work. Will die if you can’t read the hash file. Sample run: # ./get_hashpipe.pl Running Snow Leopard, version 10.6.8 You is: zen Gen UID for zen […]