Redoing my Computers
So, a few weeks ago I decided it was time to change my software setup. At the time I had the Windows 7 beta running on my desktop and laptop and FreeBSD running on my server. I switched it up by putting OS X back on my laptop (yay hackintosh!) and this time with sound working.
I also brought my server into my room and have started using it for TV and such. I realized that it was being used almost exclusively for storage and since it had a lot more power than that I wanted to use it for something else. That combined with my problem with a few games not liking dual-monitors made me recommission it as a Debian box which is sitting in my room now. Whenever I’m playing games or other things on my desktop I use that box for TV. Apart from that it still serves the exact same purpose as before, but it’s also easier to maintain with Debian.
Read the rest of this entry »
Shell script to extract isos from a folder
I had to do this repeatedly manually at work so it took me like 2 minutes to make my first script to do it for me. It was horribly messy and looked something this:
for x in $(ls -1 .); do
mount -t iso9660 -o loop $x temp/;
cp -r temp/* .;
umount temp/;
done;
Which did the job but was horribly messing on doing it more than once with tons of errors and stuff.
When I came home I decided to make it much better. I even included how long it takes to do the whole process, which was harder than the process itself.
Read the rest of this entry »