Write zero's to disk Infinite loop

I was bored... So this is a little bash script i wrote that will write zero's to a hard disk infinately until you press CTRL+C. It uses dcfldd instead of plain dd because i like the progress output it provides.

 1
 2
 3
 4
 5
 6
 7
 8
 9 …
more ...

Convert High-Def MKV to play on xbox 360 using Linux

There are a million different tutorials out there on how to convert a MKV file into a format that an xbox360 will play. You may have found, like i did, that most of them use 50 different questionable pieces of software to manipulate individual tracks and separate the mkv, etc …

more ...



Freebsd-update fetch interupted

I lost power while freebsd-update fetch was downloading patches up to 8.0-Release-p3. When the server came back online, I ran a freebsd-update fetch again and it still found two files that needed updating. after running freebsd-update install, got this error:

# freebsd-update install
Installing updates...gunzip: (stdin): unexpected end …
more ...

'ZFS Cant rm: No space left on device'

If you completely fill up a zfs pool, it wont let you delete files on it. What you CAN do, is pick a scapegoat file to wipe out or remove a snapshot. Then you will be able to use the rm command. what I did:

# df -h
Filesystem     Size    Used …
more ...

FreeBSD error in /boot/loader.conf

While experimenting with ZFS in FreeBSD, I made some tweaks to the vk.kmem_size variable in /boot/loader.conf. when setting it like this:

#/boot/loader.conf
vm.kmem_size="1024"

everything worked, but I wanted to see what would happen if i doubled it. Unfortunately, setting vm.kmem …

more ...


Karmic install cannot login (gdm freezes) Nvidia

On a fresh install of karmic, using an Nvidia 7800 GT. When I went to click on my username to log in, some artifacts would appear on the screen, then the system would freeze. hard. Couldnt even ctrl+alt to another console. Installing the Nvidia drivers fixed the issue. To …

more ...

Windows 32 (x86) or 64 (AMD64) detection in batch files

While there are a lot of ways to detect for a 64 bit version of windows. you can test for %programFiles(x86)%, but handling the output and writing the IF comparisons is messy.

In Batch files, you can easily check for architecture by using the "processor_architecture" variable. x86 versions …

more ...