Author: cobra_admin

Using Vim syntax highlighting on custom file types

Let’s say you have a file type whose contents are in XML format but have a different file extension such as .tim . If you want to edit these files with Vim with syntax highlighting, simply add the following to ~/.vimrc (affects only your Vim environment) or /etc/vim/vimrc (affects everyone’s Vim environment): au BufNewFile,BufRead *.tim …

Start reading Using Vim syntax highlighting on custom file types

FATAL: Ident authentication failed for user [username] Error – PostgreSQL

If you’re getting a FATAL: Ident authentication failed for user [username] Error when attempting to connect to postgres as a specific user, chances are you need to change some security settings. Postgresql, by default, only allows you to connect to postgres if the postgres username is the same as your username on the operating system. In other …

Start reading FATAL: Ident authentication failed for user [username] Error – PostgreSQL

Using the Tesco VGA Webcam in Skype with Ubuntu 10.04

This is a very specific post about using the £8.97 VGA webcam from Tesco with Ubuntu 10.04, namely with Skype. These instructions might work with other webcams and/or other linux distros, but I have not tested this personally. If this does/doesn’t work for your webcam/distro combination then please leave a comment describing your experiences. Okay, …

Start reading Using the Tesco VGA Webcam in Skype with Ubuntu 10.04