dabase.com

Hendry's tips and tricks

Please contribute a tip or a snappy howto

Add a new post titled:

Bug Tracking with Ease

Installing Debian + Grub On A USB Stick

Find all pictures

/dev/dsp: Device or resource busy

Howto make a voice recording in Debian

Debian

Static linking improves security and updating

Sensible boot loaders

Tips for a projector

Forcefully removing broken packages

Suspend and LOCK!

Debian re-install init.d configs

Version number pain

How to rotate a video

How to find the Debian version of an installed package

Debian man pages

Clearing space on root

sysctl modify kernel parameters

USB stick automount

Xsession

Script Movies

Finding out which repository the package comes from

Terminus console font

Disable screen blanking

What does the .in suffix in postinst.in mean?

How to extend a LVM partition

Killing a process by name

Running a second X server

Configuring an external USB drive with LVM

Configuring a directory with encryption using LVM

Resizing LVM

Configuring Firefox as the default Web browser

Testing a firewall?

Installing Xfree86 4.3 SID

NAT with dhcp

Closing bugs

Working on some packages from the Web

Comparing files in directories

Turn off Beeping

FHS

Anti-aliased fonts

Screen - enhancing the power of the console

Debugging core dumps

Virtualisation with OpenVZ

Basically using diff

Spaces in filename?

Getting rid of .svn

dhclient requesting without physical connection

whois dig

Sane SUDO configuration

Packages from experimental

Configuring POSTFIX with your ISP's smtp

Taking screenshots

Finding about your Xorg display

Mplayer and BBC

Iceweasel DD search keyword shorcut bookmarks

What package does this file belong to ?

Cloning a Debian machine

Check out some multimedia

Using the Ion window manager notes

Removing something from the runlevels

Patching a debian package

SMTP via SSH

SSH port forwarding

NFS and Subversion

Ping broadcast

2.6 CD Burning

/etc/enviroment Proxy configuration

Compiling your own kernel (not recommended)

Realplayer

Re-logging in (for taking on new permission settings)

how do I filter output for just stderr messages?

Kernel modules (2.4) after copying a linux partition into a different machine

C binary information

Checking packages

Arch Indep packages

Howto tar up dot files and dirs

xkill - Killing a process

Exim 4 SMTP Auth

Diffstat

Screencasting, YouTube-y tips

netstat -napt (Who's connected to me?)

Version of package ?

Modifying runlevels

Grub Vga Framebuffer

Pinning

Showing friends and family GNU/Linux

AWK tips

Preparing a new upstream source release

LVM2

SVN homedir

Getting your IP from a DHCP server

Installing something in tmp or your homedir or something

Fixing a package listing after a screw up with dselect

Bits and Bytes

TCP Port listings

Runlevels.

Grabbing a file from a Subversion repositry

Unicode

Debian Iptable Firewall

Subversion gotchas

Bash tips

Setting timezone in Debian

What was the return code of the last command?

diffing diffs

Viewing a firewall

Using IRSSI

Backgrounding a process

Time in New York? Tokyo?

ps aux truncated output?

Name the interface

Installing debian without CDs or boot floppies

Backing up

dos2unix

Library usage

How to unfuck your terminal/console

Better than apt-cache search

Makefile for generating your CV

Exim 4 Catchall

KODAK DC3400 ZOOM DIGITAL CAMERA gphoto2

Version numbers

Re-mastering a CD

Keeping track of changes in unstable

Steps to setting a sub domain for a web service

BIN-NMU

Use XDM

Viewing a subversion dump file

Majordomo how to remove a user

H4X0ring a d3b14n b0x3n

Bashing carefully

route add default gw

Hard link vs Soft link

Duplex printing - use mpage

Writing CDs (Backing up your Mail)

Recording console sessions

hdparm

Time in Ubuntu

Mozilla crashing on news.bbc.co.uk ??

tee

Installing java

Basename (removing filename extensions in BASH)

How do I update grub menu.lst on kernel-image install ?

Image magic with imagemagick

Cat redirects

What type of file is it?

hdparm

Passwordless logins with SSH

You are working on a foreign language machine ?

date fun

Subversion CVS ROOT

Finding additional information about a package not installed

Reading USENET news

Changing your window manager

CVS checking/viewing differences between versions after commit

Ion the window manager resizing the frame

Java in Debian

Managing a TODO list

maildrop: Unable to open mailbox.

initrd

Unpacking source

Use 'sudo', not 'su'

Brazilian guys in Portugal

etc with Subversion

how can a setup the default keymap for console??

chroot

mkdir -p not mkhier

T30 2366-PM1 with Debian SID

Getting the linux boot arguments

Roll back to previous package ! DOWNGRADING

Linux Ghost

crontab job

(kernel module) keeps on loading at boot time and I don't know how to blacklist it

date time for file name

SVN ID AUTHOR DATE information

CVS importing

What does a symlink point to? (symbolic links)

bash prompt

using gnu tar reference

Grepping

Sendmail mail when back online

Official Debian Tips

Standards versions diff

Reading a man page

What is the command to change password?

Enscript

lsof

mutt - my Email client

Getting rid of duplicates

My censored .muttrc

Emailing pictures

.mailcap

Forwarding mail to another account

Merging maildirs

Exim4 Etch Configuration

Maildrop: Forwarding emails

Searching mail

Mark all mail read

c shortcuts

Saving messages in IMAP

Getting rid of frozen messages

Debugging mutt

Reading attachments (God forbid)

Trick for subscribing to a mailing list

Vim text width

Edit messages properly

GPG - Gnu Privacy Guard, to sign and encrypt

Getting started

Make a revocation certificate, in case your key is jeopardized, like your forgot your passphrase :)

Debian keysigning

The Web

Proxying around BBC Iplayer geo restrictions

Counting code examples out of BONDI widlprocxml

WebIDL function names

Default bugzilla severity priority

Adding versions to Bugzilla

Escaping and quoting best practices for PHP

Selecting the first H1

Chrome, wine and Debian

Apache2 Vhost logging

Mozex VIM textarea editing

javascript var scope

Editing HTML5 in vim

Shell CGI

Unicode in PHP

Debian feed

Mapping URLs to the FS

Bad News

update-alternatives x-www-browser

HTML is the API

Grepping a URL

Why not HTML?

Unicode UTF-8

Disable caching in Apache2

XML on the Web has failed.

Unpractial Specs from the W3C

Mozilla Type Ahead Find

Accessibility = disability

An XHTML or a XHTML ?

Mozilla and Subversion

Disable an extension in Iceweasel/Firefox

SVG sucks

PDF

Some soup sir?

Mozilla forms

Copy, Paste, Cut

Web applications with Mozilla

POST forms into Get forms

Keywords

How to make web pages properly

Apache 2 Vhost

Web stats are useless

Rails, Debian and gem

Shorcuts in Mozilla

Browser security

Mobitopia

Encode your email address to protect yourself from spam bots

Licensing

Addressbook standard

WHAT

Wordpress password mysql

Webstats

Dogma

Arguments

Writing a new faq entry

Normative, Idiomatic, Canonical

Bad X-ray

Comparing modes of working communication

Sales procedure - Need, Feature, Benefit

Dreams

Lesscode!

Lets believe a clueless analyst

Finnish ALCOHOL TAXATION

Religions can be damaging

Radical Simplicity

Anonymity

Politicians

RAID sucks

Python as a teaching language

Digital Media

DRM

Copywrongs

Standards

Compare and contrasting

KP Child / Kiddie Pornography

Internet over powerlines

Selling free software

Gmail

Civil liberties

1 in 3 people in South Africa die of AIDS

Quotes

NO to the de-facto monopoly Microsoft

Certification bodies

Powerpoint SUCKS

There is NO GOD

Fire and Motion

Credit Card security

Free markets

Writing letters

Leadership

Free software in Education / Schools

IP

Bill Gates will solve spam

For EU

Scientific Writing

Python

Parsing XML root attributes

Joining a list of strings, or ints

Dropping into the interpreter after an ERROR to debug

Am I running PyXML?

StripoGram - use strings

String contains - Python2.3

Adding lists

Running other programs

importing modules

Parsing XML for the text/cdata between a particular start/end tag

Fixing tabs? Use reindent.py

PYTHONPATH in script

Parsing strings into dicts

Normalizing whitespace

None is null in python

Inserting values into HTML output

Constructing and then Printing/Writing a simple XML file with dom

VIM settings for proper style

Parsing HTML with REs

Class customization

Unique elements from a list

Template

Recursive file tree add thing

Write now!

Mapping Types = dict

Regular Expressions

Installing XML-SIG package as a user

repr

Infrequently asked questions

Umask, permissions in newly created files

Counting lines in a file

Sorting dictionaries (code example)

Urllib

Zip

Printing attributes of a class

How would one read line (x) from a file?

Bayes

Type checking or Object type comparisons

Traversing minidom's tree (Parsing XML to text)

Iterating through two (equal) lists

Debugging trick

Quick reference

r+ (appending) and pickle do not mix!

Parsing tag soup

Ordered list union

Refactoring perl ;) STDIN STDOUT Example

List sorting (DSU?)

Not using readlines (save memory)

Printing your enviroment settings

Passing arguments

Copy a list !

Fiddling with PYTHONPATH in bash

How do I determine whether a string is of letter characters or digits?

Unitesting (simple example)

for i in range(len(li)): BAD

Regex XML

Installing libraries into your $HOME

Finding the key to a value

Using sub re groups as arguments in functions

Returning first word on a line in a file by line number example

PyGTK

Passwords

Setting/initializing a list of certain length

Try use cPickle, it is faster

Running nevow/twistd on a vhost

how do I call a function in my class?

Return, do not print

Organizing libs for your project

Setting list values

Reading input / user interaction

VIM - my editor of choice

Merging differences

Formatting text

Searching short variable names

Inserting a Unicode character in VIM

vim7's tabs

vim7's auto-completion features

Undoing and bouncing between changes

Inserting UNICODE

How do I configure VIM to resume editing where I was last editing in a file, saved and quit?

Byte code!

Searching and Replacing

Literal Char

Commenting certain lines

Latex

Cleaning whitespace

FAQ

Search and replace

New lines in VIM

The book

vim7's spelling features

Wordcount

Make development cycles in C/C++

Learn like IRC

Python

Spanish

XML

Editing two files

Outputting VIM buffer as HTML

Hardware

Testing BT ADSL

Floppy disks should have a WARNING on them

Optical mice need cleaning too

Use Memtest86 and badblocks to test a computer

Source Control SCM

Cherry picking git commits from another branch

Git tips from work

Git CVS tutorial

Checking mirrors in SVK

Tracking another branch of a project with GIT

Revert a change in CVS

Finding .svn

Howto send a PATCH from git

cvs release in Subversion?

SVK notes

Unpatch a patch

Merging changes from your HEAD branch to your other branches

Cherry pick a change in SVN

Diff to head of trunk

I am on changes X and I want to roll back to X-1 for testing

SVK: Missing file

Reverting with Subversion

Building Subversion in your $HOME

Accidental deletion

Latex

Links

Biblography tips

TODO list

Roman enumeration

Online resources

Letters

Latin1 Characters

R

Sorting a table

Pipe

Histogram

Barplot

Red Hat

User limits

CentOS

Listing files in an RPM

Installing from CDs using the console

SELinux

Silly security with TCP wrappers hosts.allow

Firewall

Bash and shell

Using shell instead of awk for printing columns

Exit Makefile on error

Writing shell scripts that suckless

Sort by column

Do not use GNU find when recursion is not needed

Using CSV values to insert text

Updating a version number for a release

Parsing a comma seperated file with shell

Converting XML to CSV

First character of a variable in shell

Shell cat END

Testing for root in POSIX shell

Listing directory size

find tips

Source line count

Sed in place editing

Progress bar for dd

ISO8601 a file

Adding a column of floats

Viewing certain pictures

Backspace

Removing characters

Checking a variable is set

Bash YES/NO prompt interaction

Deleting french movies with spaces

Testing VARs

split

find and copy

Case insentitive basename

Getting port numbers out of /etc/service

Turning off option parsing

Testing a file exists

Count to ten

All tips are in the public domain