putty > terminal > keyboard > The backspace key = Control-H
echo "bindkey "^?" backward-delete-char" >> ~/.zshrc
echo "set t_kb=^V<BS>" >> ~/.vimrc
echo "set fixdel" >> ~/.vimrc
Since I have the memory of a goldfish, this will basically used to catalog/archive things so that I can use it as a reference. Maybe someone might find it helpful. It will mostly revolve around tech/linux stuff.
Thursday, December 30, 2010
Tuesday, October 5, 2010
Thursday, April 29, 2010
unknown terminal "xterm-256color"
sudo apt-get install ncurses-term
echo "export TERM=xterm-256color" >> ~/.bashrc
echo "export set t_Co=256" >> ~/.vimrc
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
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");
Subscribe to:
Posts (Atom)