Skip to content

Index

Saving and loading iptables rules on Debian

For some reason, Debian can't do "/etc/init.d/iptables save". So, we have to fix something ourselves. I used this article as source, which also has some useful comments. Apparently, the iptables initscript used to exist... Read More »

Linux OCR with Tesseract

I'm scanning old Flor y Fauna news letters for my Dutch Hardwood Investment Wiki. I need to do this because most of these newsletters, although produced digitally, are available in the Sicirec archive only in paper form. The only graphical item these news-letters sport is a simple graphical header, so I want to convert the scans to text and put the text in a wiki article for each newsletter; I don't want to upload dozens of image-heavy PDFs just to show the original (crappy) layout. Read More »

WordPress admin menu layout problem

In this WordPress installation I have a problem with my admin menu. If I add clear: left; to the rules for #adminmenu li.menu-top it appears to be fixed. Read More »

Structure and Interpretation of Computer Programs

Structure and Interpretation of Computer Programs is on-line free MIT text-book that uses Scheme in an attempt to give the reader a general and practical understanding of programming. Read More »

Matriux, a penetration testing and security analysis LiveCD

Matriux is a fully featured security distribution consisting of a bunch of powerful, open source and free tools that can be used for various purposes including, but not limited to, penetration testing, ethical hacking, system and network administration, cyber forensics investigations, security testing, vulnerability analysis, and much more. Read More »

Monitor the progress of Unix commands with Pipe Viewer (pv)

I just stumbled across the following post while trying to find out how to copy text from VIM using XSel without losing the selected text. It introduces Pipe Viewer, a Unix utility which is a kind of cat with a progress bar. Read More »

Installing Windows on Xen

Just a a kind of bookmark, I used this blog post as a base to find out how to install Windows as a DomU on Xen. I might at some point reconstruct my steps, but for now this link is all... (judging by the URL the blog won't exist much longer, but oh well...)

Read More »

XSel, for command-line operations on X selections

Since I first learned that Windowmaker installs two command-line tools, wxcopy and wxpaste, to play around with X selections, I have wanted to be able to make and use X selections from my Bash shell. wxcopy and wxpaste never did what I expected them to do, so I gave up until recently I learned about all the different X selections. Read More »

Installing Xen with Lenny guest on a Debian machine

This is supersceeded by my install on Debian Squeeze). On Lenny, everything is just too outdated. Read More »

Copy-pasting to and from XTerms

By default, XTerms only supports the PRIMARY selection for copy and paste. The PRIMARY selection is the one that is used by most ‘modern’ X application when you select text. This text can then usually be pasted by clicking the middle/second mouse button. Because this selection is set whenever you select, it's easily overwritten, often accidentally. That's why most newer X apps offer a parallel copy/paste mechanism where the selection is only explicitly set by choosing “Cut” or “Copy” from the application's “Edit” menu or from its context menu (or with the Control-X/C/V keyboard shortcuts). In X, this selection is called CLIPBOARD, just like in Windows where it's the only selection. Read More »