dabase.com/ Hendry's tips and tricks

Add to Google

Please contribute a tip or a snappy howto

Add a new post titled:

Installing Debian + Grub On A USB Stick
Posted 2008-05-21

Find all pictures
Posted 2008-04-27

/dev/dsp: Device or resource busy
Posted 2008-04-26

Howto make a voice recording in Debian
Posted 2008-04-19

Debian

sysctl modify kernel parameters
Posted 2008-07-17

USB stick automount
Posted 2008-06-30

Xsession
Posted 2008-05-28

Script Movies
Posted 2008-05-20

Finding out which repository the package comes from
Posted 2008-05-20

Terminus console font
Posted 2008-05-19

Disable screen blanking
Posted 2008-05-19

What does the .in suffix in postinst.in mean?
Posted 2008-05-18

How to extend a LVM partition
Posted 2008-04-28

Killing a process by name
Posted 2008-04-22

Running a second X server
Posted 2008-04-16

Configuring an external USB drive with LVM
Posted 2008-02-28

Testing a firewall?
Posted 2008-02-18

Installing Xfree86 4.3 SID
Posted 2008-02-18

NAT with dhcp
Posted 2008-02-18

Closing bugs
Posted 2008-02-18

Working on some packages from the Web
Posted 2008-02-18

Comparing files in directories
Posted 2008-02-18

Turn off Beeping
Posted 2008-02-18

FHS
Posted 2008-02-18

Anti-aliased fonts
Posted 2008-02-18

Screen - enhancing the power of the console
Posted 2008-02-18

Debugging core dumps
Posted 2008-02-18

Virtualisation with OpenVZ
Posted 2008-02-18

Basically using diff
Posted 2008-02-18

Spaces in filename?
Posted 2008-02-18

Getting rid of .svn
Posted 2008-02-18

dhclient requesting without physical connection
Posted 2008-02-18

whois dig
Posted 2008-02-18

Sane SUDO configuration
Posted 2008-02-18

Packages from experimental
Posted 2008-02-18

Configuring POSTFIX with your ISP's smtp
Posted 2008-02-18

Taking screenshots
Posted 2008-02-18

Finding about your display
Posted 2008-02-18

Mplayer and BBC
Posted 2008-02-18

Iceweasel DD search keyword shorcut bookmarks
Posted 2008-02-18

What package does this file belong to ?
Posted 2008-02-18

Cloning a Debian machine
Posted 2008-02-18

Check out some multimedia
Posted 2008-02-18

Using the Ion window manager notes
Posted 2008-02-18

Removing something from the runlevels
Posted 2008-02-18

Patching a debian package
Posted 2008-02-18

SMTP via SSH
Posted 2008-02-18

SSH port forwarding
Posted 2008-02-18

NFS and Subversion
Posted 2008-02-18

Configuring a directory with encryption using LVM
Posted 2008-02-18

Ping broadcast
Posted 2008-02-18

2.6 CD Burning
Posted 2008-02-18

/etc/enviroment Proxy configuration
Posted 2008-02-18

Compiling your own kernel (not recommended)
Posted 2008-02-18

Realplayer
Posted 2008-02-18

Re-logging in (for taking on new permission settings)
Posted 2008-02-18

how do I filter output for just stderr messages?
Posted 2008-02-18

Kernel modules (2.4) after copying a linux partition into a different machine
Posted 2008-02-18

C binary information
Posted 2008-02-18

Checking packages
Posted 2008-02-18

Arch Indep packages
Posted 2008-02-18

Howto tar up dot files and dirs
Posted 2008-02-18

xkill - Killing a process
Posted 2008-02-18

Exim 4 SMTP Auth
Posted 2008-02-18

Diffstat
Posted 2008-02-18

Screencasting, YouTube-y tips
Posted 2008-02-18

netstat -napt (Who's connected to me?)
Posted 2008-02-18

Version of package ?
Posted 2008-02-18

Modifying runlevels
Posted 2008-02-18

Grub Vga Framebuffer
Posted 2008-02-18

Pinning
Posted 2008-02-18

Showing friends and family GNU/Linux
Posted 2008-02-18

AWK tips
Posted 2008-02-18

Preparing a new upstream source release
Posted 2008-02-18

LVM2
Posted 2008-02-18

SVN homedir
Posted 2008-02-18

Getting your IP from a DHCP server
Posted 2008-02-18

Installing something in tmp or your homedir or something
Posted 2008-02-18

Fixing a package listing after a screw up with dselect
Posted 2008-02-18

Bits and Bytes
Posted 2008-02-18

TCP Port listings
Posted 2008-02-18

Runlevels.
Posted 2008-02-18

Grabbing a file from a Subversion repositry
Posted 2008-02-18

Unicode
Posted 2008-02-18

Debian Iptable Firewall
Posted 2008-02-18

Subversion gotchas
Posted 2008-02-18

Bash tips
Posted 2008-02-18

Setting timezone in Debian
Posted 2008-02-18

What was the return code of the last command?
Posted 2008-02-18

Resizing LVM
Posted 2008-02-18

diffing diffs
Posted 2008-02-18

Viewing a firewall
Posted 2008-02-18

Using IRSSI
Posted 2008-02-18

Backgrounding a process
Posted 2008-02-18

Time in New York? Tokyo?
Posted 2008-02-18

ps aux truncated output?
Posted 2008-02-18

Name the interface
Posted 2008-02-18

Installing debian without CDs or boot floppies
Posted 2008-02-18

Backing up
Posted 2008-02-18

dos2unix
Posted 2008-02-18

Library usage
Posted 2008-02-18

How to unfuck your terminal/console
Posted 2008-02-18

Better than apt-cache search
Posted 2008-02-18

Makefile for generating your CV
Posted 2008-02-18

Exim 4 Catchall
Posted 2008-02-18

KODAK DC3400 ZOOM DIGITAL CAMERA gphoto2
Posted 2008-02-18

Version numbers
Posted 2008-02-18

Re-mastering a CD
Posted 2008-02-18

Keeping track of changes in unstable
Posted 2008-02-18

Steps to setting a sub domain for a web service
Posted 2008-02-18

BIN-NMU
Posted 2008-02-18

Use XDM
Posted 2008-02-18

Viewing a subversion dump file
Posted 2008-02-18

Majordomo how to remove a user
Posted 2008-02-18

H4X0ring a d3b14n b0x3n
Posted 2008-02-18

Bashing carefully
Posted 2008-02-18

route add default gw
Posted 2008-02-18

Hard link vs Soft link
Posted 2008-02-18

Duplex printing - use mpage
Posted 2008-02-18

Writing CDs (Backing up your Mail)
Posted 2008-02-18

Recording console sessions
Posted 2008-02-18

hdparm
Posted 2008-02-18

Time in Ubuntu
Posted 2008-02-18

Mozilla crashing on news.bbc.co.uk ??
Posted 2008-02-18

tee
Posted 2008-02-18

Installing java
Posted 2008-02-18

Basename (removing filename extensions in BASH)
Posted 2008-02-18

How do I update grub menu.lst on kernel-image install ?
Posted 2008-02-18

Imagemagick
Posted 2008-02-18

Cat redirects
Posted 2008-02-18

What type of file is it?
Posted 2008-02-18

hdparm
Posted 2008-02-18

Passwordless logins with SSH
Posted 2008-02-18

You are working on a foreign language machine ?
Posted 2008-02-18

date fun
Posted 2008-02-18

Subversion CVS ROOT
Posted 2008-02-18

Finding additional information about a package not installed
Posted 2008-02-18

Reading USENET news
Posted 2008-02-18

Changing your window manager
Posted 2008-02-18

CVS checking/viewing differences between versions after commit
Posted 2008-02-18

Ion the window manager resizing the frame
Posted 2008-02-18

Java in Debian
Posted 2008-02-18

Managing a TODO list
Posted 2008-02-18

maildrop: Unable to open mailbox.
Posted 2008-02-18

initrd
Posted 2008-02-18

Unpacking source
Posted 2008-02-18

Use 'sudo', not 'su'
Posted 2008-02-18

Brazilian guys in Portugal
Posted 2008-02-18

etc with Subversion
Posted 2008-02-18

how can a setup the default keymap for console??
Posted 2008-02-18

chroot
Posted 2008-02-18

mkdir -p not mkhier
Posted 2008-02-18

T30 2366-PM1 with Debian SID
Posted 2008-02-18

Getting the linux boot arguments
Posted 2008-02-18

Roll back to previous package ! DOWNGRADING
Posted 2008-02-18

Linux Ghost
Posted 2008-02-18

crontab job
Posted 2008-02-18

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

date time for file name
Posted 2008-02-18

SVN ID AUTHOR DATE information
Posted 2008-02-18

CVS importing
Posted 2008-02-18

What does a symlink point to? (symbolic links)
Posted 2008-02-18

bash prompt
Posted 2008-02-18

using gnu tar reference
Posted 2008-02-18

Grepping
Posted 2008-02-18

Sendmail mail when back online
Posted 2008-02-18

Official Debian Tips
Posted 2008-02-18

Standards versions diff
Posted 2008-02-18

Reading a man page
Posted 2008-02-18

What is the command to change password?
Posted 2008-02-18

Configuring Firefox as the default Web browser
Posted 2008-02-18

Enscript
Posted 2008-02-18

lsof
Posted 2008-02-18

mutt - my Email client

Getting rid of duplicates
Posted 2008-02-18

My censored .muttrc
Posted 2008-02-18

Emailing pictures
Posted 2008-02-18

.mailcap
Posted 2008-02-18

Forwarding mail to another account
Posted 2008-02-18

Merging maildirs
Posted 2008-02-18

Exim4 Etch Configuration
Posted 2008-02-18

Maildrop: Forwarding emails
Posted 2008-02-18

Searching mail
Posted 2008-02-18

Mark all mail read
Posted 2008-02-18

c shortcuts
Posted 2008-02-18

Saving messages in IMAP
Posted 2008-02-18

Getting rid of frozen messages
Posted 2008-02-18

Debugging mutt
Posted 2008-02-18

Reading attachments (God forbid)
Posted 2008-02-18

Trick for subscribing to a mailing list
Posted 2008-02-18

Vim text width
Posted 2008-02-18

Edit messages properly
Posted 2008-02-18

GPG - Gnu Privacy Guard, to sign and encrypt

Getting started
Posted 2008-02-18

Make a revocation certificate, in case your key is jeopardized, like your forgot your passphrase :)
Posted 2008-02-18

Debian keysigning
Posted 2008-02-18

The Web

Apache2 Vhost logging
Posted 2008-07-18

Mozex VIM textarea editing
Posted 2008-06-10

javascript var scope
Posted 2008-05-15

Editing HTML5 in vim
Posted 2008-05-13

Shell CGI
Posted 2008-04-27

Unicode in PHP
Posted 2008-03-10

Debian feed
Posted 2008-02-18

Mapping URLs to the FS
Posted 2008-02-18

Bad News
Posted 2008-02-18

update-alternatives x-www-browser
Posted 2008-02-18

HTML is the API
Posted 2008-02-18

Grepping a URL
Posted 2008-02-18

Why not HTML?
Posted 2008-02-18

Unicode UTF-8
Posted 2008-02-18

Disable caching in Apache2
Posted 2008-02-18

XML on the Web has failed.
Posted 2008-02-18

Unpractial Specs from the W3C
Posted 2008-02-18

Mozilla Type Ahead Find
Posted 2008-02-18

Accessibility = disability
Posted 2008-02-18

An XHTML or a XHTML ?
Posted 2008-02-18

Mozilla and Subversion
Posted 2008-02-18

Disable an extension in Iceweasel/Firefox
Posted 2008-02-18

SVG sucks
Posted 2008-02-18

PDF
Posted 2008-02-18

Some soup sir?
Posted 2008-02-18

Mozilla forms
Posted 2008-02-18

Copy, Paste, Cut
Posted 2008-02-18

Web applications with Mozilla
Posted 2008-02-18

POST forms into Get forms
Posted 2008-02-18

Keywords
Posted 2008-02-18

How to make web pages properly
Posted 2008-02-18

Apache 2 Vhost
Posted 2008-02-18

Web stats are useless
Posted 2008-02-18

Rails, Debian and gem
Posted 2008-02-18

Shorcuts in Mozilla
Posted 2008-02-18

Browser security
Posted 2008-02-18

Mobitopia
Posted 2008-02-18

Encode your email address to protect yourself from spam bots
Posted 2008-02-18

Addressbook standard
Posted 2008-02-18

Licensing
Posted 2008-02-18

WHAT
Posted 2008-02-18

Wordpress password mysql
Posted 2008-02-18

Webstats
Posted 2008-02-18

Dogma
Posted 2008-02-18

Arguments

Dreams
Posted 2008-02-18

Lesscode!
Posted 2008-02-18

Lets believe a clueless analyst
Posted 2008-02-18

Finnish ALCOHOL TAXATION
Posted 2008-02-18

Religions can be damaging
Posted 2008-02-18

Radical Simplicity
Posted 2008-02-18

Anonymity
Posted 2008-02-18

Politicians
Posted 2008-02-18

RAID sucks
Posted 2008-02-18

Python as a teaching language
Posted 2008-02-18

Digital Media
Posted 2008-02-18

DRM
Posted 2008-02-18

Copywrongs
Posted 2008-02-18

Standards
Posted 2008-02-18

Compare and contrasting
Posted 2008-02-18

KP Child / Kiddie Pornography
Posted 2008-02-18

Internet over powerlines
Posted 2008-02-18

Selling free software
Posted 2008-02-18

Gmail
Posted 2008-02-18

Civil liberties
Posted 2008-02-18

1 in 3 people in South Africa die of AIDS
Posted 2008-02-18

Quotes
Posted 2008-02-18

NO to the de-facto monopoly Microsoft
Posted 2008-02-18

Certification bodies
Posted 2008-02-18

Powerpoint SUCKS
Posted 2008-02-18

There is NO GOD
Posted 2008-02-18

Fire and Motion
Posted 2008-02-18

Credit Card security
Posted 2008-02-18

Free markets
Posted 2008-02-18

Writing letters
Posted 2008-02-18

Leadership
Posted 2008-02-18

Free software in Education / Schools
Posted 2008-02-18

IP
Posted 2008-02-18

Bill Gates will solve spam
Posted 2008-02-18

For EU
Posted 2008-02-18

Scientific Writing
Posted 2008-02-18

Python

Joining a list of strings, or ints
Posted 2008-02-18

Dropping into the interpreter after an ERROR to debug
Posted 2008-02-18

Am I running PyXML?
Posted 2008-02-18

StripoGram - use strings
Posted 2008-02-18

String contains - Python2.3
Posted 2008-02-18

Adding lists
Posted 2008-02-18

Running other programs
Posted 2008-02-18

importing modules
Posted 2008-02-18

Parsing XML for the text/cdata between a particular start/end tag
Posted 2008-02-18

Fixing tabs? Use reindent.py
Posted 2008-02-18

PYTHONPATH in script
Posted 2008-02-18

Parsing strings into dicts
Posted 2008-02-18

Normalizing whitespace
Posted 2008-02-18

None is null in python
Posted 2008-02-18

Inserting values into HTML output
Posted 2008-02-18

Constructing and then Printing/Writing a simple XML file with dom
Posted 2008-02-18

VIM settings for proper style
Posted 2008-02-18

Parsing HTML with REs
Posted 2008-02-18

Class customization
Posted 2008-02-18

Unique elements from a list
Posted 2008-02-18

Template
Posted 2008-02-18

Recursive file tree add thing
Posted 2008-02-18

Write now!
Posted 2008-02-18

Mapping Types = dict
Posted 2008-02-18

Regular Expressions
Posted 2008-02-18

Installing XML-SIG package as a user
Posted 2008-02-18

repr
Posted 2008-02-18

Infrequently asked questions
Posted 2008-02-18

Umask, permissions in newly created files
Posted 2008-02-18

Counting lines in a file
Posted 2008-02-18

Sorting dictionaries (code example)
Posted 2008-02-18

Urllib
Posted 2008-02-18

Zip
Posted 2008-02-18

Printing attributes of a class
Posted 2008-02-18

How would one read line (x) from a file?
Posted 2008-02-18

Bayes
Posted 2008-02-18

Type checking or Object type comparisons
Posted 2008-02-18

Traversing minidom's tree (Parsing XML to text)
Posted 2008-02-18

Iterating through two (equal) lists
Posted 2008-02-18

Debugging trick
Posted 2008-02-18

Quick reference
Posted 2008-02-18

r+ (appending) and pickle do not mix!
Posted 2008-02-18

Parsing tag soup
Posted 2008-02-18

Ordered list union
Posted 2008-02-18

Refactoring perl ;) STDIN STDOUT Example
Posted 2008-02-18

List sorting (DSU?)
Posted 2008-02-18

Not using readlines (save memory)
Posted 2008-02-18

Printing your enviroment settings
Posted 2008-02-18

Passing arguments
Posted 2008-02-18

Copy a list !
Posted 2008-02-18

Fiddling with PYTHONPATH in bash
Posted 2008-02-18

How do I determine whether a string is of letter characters or digits?
Posted 2008-02-18

Unitesting (simple example)
Posted 2008-02-18

for i in range(len(li)): BAD
Posted 2008-02-18

Regex XML
Posted 2008-02-18

Installing libraries into your $HOME
Posted 2008-02-18

Finding the key to a value
Posted 2008-02-18

Using sub re groups as arguments in functions
Posted 2008-02-18

Returning first word on a line in a file by line number example
Posted 2008-02-18

PyGTK
Posted 2008-02-18

Passwords
Posted 2008-02-18

Setting/initializing a list of certain length
Posted 2008-02-18

Try use cPickle, it is faster
Posted 2008-02-18

Running nevow/twistd on a vhost
Posted 2008-02-18

how do I call a function in my class?
Posted 2008-02-18

Return, do not print
Posted 2008-02-18

Organizing libs for your project
Posted 2008-02-18

Setting list values
Posted 2008-02-18

Reading input / user interaction
Posted 2008-02-18

VIM - my editor of choice

Inserting a Unicode character in VIM
Posted 2008-06-10

vim7's tabs
Posted 2008-04-22

vim7's auto-completion features
Posted 2008-04-22

Undoing and bouncing between changes
Posted 2008-04-22

Inserting UNICODE
Posted 2008-03-10

How do I configure VIM to resume editing where I was last editing in a file, saved and quit?
Posted 2008-02-18

Byte code!
Posted 2008-02-18

Searching and Replacing
Posted 2008-02-18

Literal Char
Posted 2008-02-18

Commenting certain lines
Posted 2008-02-18

Latex
Posted 2008-02-18

Cleaning whitespace
Posted 2008-02-18

FAQ
Posted 2008-02-18

Search and replace
Posted 2008-02-18

New lines in VIM
Posted 2008-02-18

The book
Posted 2008-02-18

vim7's spelling features
Posted 2008-02-18

Wordcount
Posted 2008-02-18

Make development cycles in C/C++
Posted 2008-02-18

Learn like IRC
Posted 2008-02-18

Python
Posted 2008-02-18

Spanish
Posted 2008-02-18

XML
Posted 2008-02-18

Editing two files
Posted 2008-02-18

Outputting VIM buffer as HTML
Posted 2008-02-18

Hardware

Floppy disks should have a WARNING on them
Posted 2008-02-18

Optical mice need cleaning too
Posted 2008-02-18

Use Memtest86 and badblocks to test a computer
Posted 2008-02-18

Source Control SCM

Git CVS checkout of W3C cvsweb
Posted 2008-06-30

Checking mirrors in SVK
Posted 2008-02-18

Tracking another branch of a project with GIT
Posted 2008-02-18

Revert a change in CVS
Posted 2008-02-18

Finding .svn
Posted 2008-02-18

Howto send a PATCH
Posted 2008-02-18

cvs release in Subversion?
Posted 2008-02-18

SVK notes
Posted 2008-02-18

Unpatch a patch
Posted 2008-02-18

Merging changes from your HEAD branch to your other branches
Posted 2008-02-18

Cherry pick a change in SVN
Posted 2008-02-18

Diff to head of trunk
Posted 2008-02-18

I am on changes X and I want to roll back to X-1 for testing
Posted 2008-02-18

SVK: Missing file
Posted 2008-02-18

Reverting with Subversion
Posted 2008-02-18

Building Subversion in your $HOME
Posted 2008-02-18

Accidental deletion
Posted 2008-02-18

Latex

Links
Posted 2008-02-18

Biblography tips
Posted 2008-02-18

TODO list
Posted 2008-02-18

Roman enumeration
Posted 2008-02-18

Online resources
Posted 2008-02-18

Letters
Posted 2008-02-18

Latin1 Characters
Posted 2008-02-18

R

Sorting a table
Posted 2008-02-18

Pipe
Posted 2008-02-18

Histogram
Posted 2008-02-18

Barplot
Posted 2008-02-18

Red Hat

User limits
Posted 2008-02-18

CentOS
Posted 2008-02-18

Listing files in an RPM
Posted 2008-02-18

Installing from CDs using the console
Posted 2008-02-18

SELinux
Posted 2008-02-18

Silly security with TCP wrappers hosts.allow
Posted 2008-02-18

Firewall
Posted 2008-02-18

Bash and shell

Sed in place editing
Posted 2008-03-10

13017
Posted 2008-03-09

ISO8601 a file
Posted 2008-02-18

Adding a column of floats
Posted 2008-02-18

Viewing certain pictures
Posted 2008-02-18

Backspace
Posted 2008-02-18

Removing characters
Posted 2008-02-18

Checking a variable is set
Posted 2008-02-18

Bash YES/NO prompt interaction
Posted 2008-02-18

Deleting french movies with spaces
Posted 2008-02-18

Testing VARs
Posted 2008-02-18

split
Posted 2008-02-18

find and copy
Posted 2008-02-18

Case insentitive basename
Posted 2008-02-18

Getting port numbers out of /etc/service
Posted 2008-02-18

Turning off option parsing
Posted 2008-02-18

Testing a file exists
Posted 2008-02-18

Count to ten
Posted 2008-02-18

All tips are in the public domain