Thursday, 24. January 2008Week 03
.: UNIX tips

22:29 | Linux | Permalink
Saturday, 19. January 2008Week 02
.: How to brick your Mac
  1. Install Mac OS X 10.4
  2. Install rEFIt
  3. Install Linux
  4. After some time decide to upgrade to Mac OS X 10.5 and at the same time make the partition bigger (e.g. by merging with a FAT32 partition which was originally intended to contain some Windows)
  5. Use the GNU Parted utility to delete the Mac OS X and FAT 32 partitions and create a new bigger partition for Mac OS X 10.5.
  6. Restart your Mac.
  7. Cheer that now you can no longer boot from the harddisk or a CD/DVD nor from anything else!

And now, how to un-brick it again:

  1. Call Apple support
  2. Find out that you are lucky and have some warranty left (6 days in my case!!!).
  3. Bring your Mac to an Authorized Service Provider.
  4. Get it back with a new harddisk :-)

00:32 | Mac | Permalink
Saturday, 12. January 2008Week 01
.: Embed Flash into valid XHTML documents

<object type="application/x-shockwave-flash" data="flash.swf" width="100" height="200">

<param name="movie" value="flash.swf" />

</object>


17:12 | Webdesign | Permalink
Wednesday, 9. January 2008Week 01
.: How to enable IPv6 on your Debian Linux server in 3 easy steps
  1. Compute your 6to4 IPv6 address (2002:uuuu:vvvv::1) from your IPv4 address (a.b.c.d):
    printf "2002:%02x%02x:%02x%02x::1\n" a b c d
  2. Add a SIT (IPv6-in-IPv4) interface in /etc/network/interfaces:
    auto sit0
    
    iface sit0 inet6 static
    
            address 2002:uuuu:vvvv::1
    
            netmask 64
    
            gateway ::192.88.99.1
  3. ifup sit0

Now you can also add AAAA DNS records with 2002:uuuu:vvvv::1 for your domain(s).


16:00 | Networking | Permalink
Sunday, 6. January 2008Week 00
.: Breakout Game written in sed

Instead of learning for the exams, I mess around with strange things:

arkanoid.sed is a breakout-game written entirely in sed. Download the sed-file and use sed -f arkanoid.sed to start the game. (via)

arkanoid.sed


17:18 | Linux | Permalink
Wednesday, 2. January 2008Week 00
.: 7 Habits For Effective Text Editing 2.0

I really, really should have known the * command earlier.


10:40 | Coding | 2 comments