Wednesday, April 28, 2010

convert ext3 -> ext4

umount /dev/sda1
tune2fs -O extents,uninit_bg,dir_index /dev/sda1
e2fsck /dev/sda1
append to kernel boot options in file: /boot/grub/menu.lst rootfstype=ext4

force fsck

sudo touch /forcefsck
or during boot press Alt+F+F to check the filesystem

Tuesday, February 16, 2010

mplayer to rip dvd's

mplayer -dvd-device /dev/hda dvd://1 -dumpstream -dumpfile out.mpg

- required: libdvdcss2 

Monday, February 8, 2010

glCreateShaderObjectARB( GL_FRAGMENT_SHADER_ARB ) fails

because the card doesn't support frag or vertex 

if (GLEW_ARB_vertex_shader && GLEW_ARB_fragment_shader)
      printf("Ready for GLSL\n");

Thursday, October 1, 2009

apt-build

used to build source packages from apt WITH deps optimized for your architecture
booyeah!