Michael Hartog

Detailing random internet junk since 2008
  • Home
  • About
  • To-do

Archive for May, 2008

You are currently browsing the Michael Hartog blog archives for May, 2008.

27 May 2008

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 »

27 May, 2008 at 22:34 by Michael Hartog

Tags: bash, iso, linux, script, shell
Posted in Computers, Technology, Work, random | 2 Comments »

25 May 2008

Opeth, 3 and that other band

Earplugs are the best investment you can have when going to a concert. Makes the music sound normal and when you leave your ears aren’t bleeding. Especially when listening to metal.
Read the rest of this entry »

25 May, 2008 at 22:47 by Michael Hartog

Posted in Music | No Comments »

4 May 2008

My First Week of REAL Work

Damn it’s tiring waking up at 6:30 all week!
Read the rest of this entry »

4 May, 2008 at 23:53 by Michael Hartog

Posted in Work | No Comments »

  • Blogs

    • James Gunn
    • PC Game Girl
    • Rebecca
    • Veronica
  • Links

    • Idle Thumbs
    • Tales of Mere Existence
    • XKCD
  • Google Reader Shared Items

    • got fired get revenge
    • Study Shows TV Makes Kids Fat, Computers Don't
    • AMD: Developers Use PhysX Only For The Cash
    • boringteeth the boringest teeth
  • Twitter

    • Spent the last... six hours learns hammer. A TF2 map will be made! Done BLU spawn and exit paths. Link 5 hours ago
    • @returners Wouldn't that require instruments in the "band"? Link 2010/03/09
    • @relsqui Need more milk with those cookies! Link 2010/03/09
    • Called it! Ubisoft DRM servers went down today. Link 2010/03/08
  • Last.fm

    • Sonata Arctica – My Land 7 hours ago
    • Nightwish – Swanheart 7 hours ago
    • The Beatles – When I'm Sixty-Four 7 hours ago
    • Bloodrayne – WaveFight3 7 hours ago
  • Categories

    • Books (2)
    • Comparisons (7)
    • Computers (18)
    • Gaming (9)
    • Music (2)
    • Politics (1)
    • random (32)
    • School (12)
    • Technology (14)
    • TV (3)
    • Work (5)
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
Michael Hartog's Blog is proudly powered by WordPress and NearlyFreeSpeech.NET
Design & code by Jonk
Entries (RSS) and Comments (RSS).