After restructuring a Mercurial repository, I wanted to split it into two separate projects, but keep history clean.
I chose to rewrite history of the old repository to treat the action when the files were moved into a separate directory structure as a removal of the original files, and ignore history touching these files from there on. At the same time I wanted to create a new repository that began at this very moment and recorded the subsequent file specific history.
Step-by-step instructions to stress test, partition, format and permanently install a new Seagate ST4000DM000 4 TB drive with 4k sectors in Debian.
After getting a new mouse and plugging it in, the mouse pointer sensitivity was way too high for my liking. The settings for this are conveniently collected and modifiable with a tool named xinput
. Here is a short summary of my usage for this purpose.
A how-to with pictures from a reparation of a Samsung 225MW LCD monitor that suffered from bad capacitors in the power switching supply, which hindered the backlight from functioning correctly. Should also be applicable on the contemporary and more common Samsung 226BW, and probably also most LCD monitors on the market.
A collection of scripts to add tray icon notification on irssi highlights and actions to subsequently activate the irssi session.
Describes installation and initial setup of BitlBee in Debian, and some notes on interaction with irssi.
As a long-term Aterm user for no apparent reason, I switched to its "successor" rxvt-unicode when I started getting tired of Aterm's "won't fix"-bugs. Here I describe some nice settings and properties of rxvt-unicode.
Python's inherent clear syntax enables it to function as a competent CLI calculator out of the box. With (very) small modifications, it becomes even better. A small guide follows.
I manage websites using separate development and production locations. Changes are communicated and revision control kept through Mercurial. In this post the method is documented.
A commented collection of practices I adhere to when using Vim – my editor of choice since many years. Includes ~/.vimrc
entries, certain keyboard commands, plugin suggestions and esoteric concluding words.
A small usage guide to tmux: a competent and lightweight GNU Screen replacement. Written from a Debian perspective, but mostly independent of platform.
Some lessons learnt the hard way while interacting with a Samsung SGH-L700 mobile phone.
Instructions for installing NCDC on Debian. Should hold for Debian derivatives as well.
Steps to install and run VerliHub are described. The guide is written for a Debian-like distribution, e.g. Debian itself or Ubuntu. The difference from other distributions is probably only the package manager and the specific names of the prerequisites. On some distributions, VerliHub might even be a part of the main repository, making a large part of this text superfluous.
Attempt to fix a TODO
in Automator.pm
in combination with the Mercurial backend.
This post is sourced from the entry at http://ikiwiki.info/, mostly as a backup.
- To define hooks, Mercurial uses paths given in the config file
.hg/hgrc
. To enable Mercurial to callikiwiki-wrapper
automatically after blog/wiki setup, ikiwiki thus needs to createhgrc
. - To reflect changes in
$config{srcdir}
and/or$config{mercurial_wrapper}
, relevant lines inhgrc
need to be updated on wrapper creation.
ikiwiki can keep track of lines in hgrc
for which it is responsible by adding a .ikiwiki
suffix to its hooks. This is correct and recommended markup, Mercurial-wise.
Two ways follow below. I prefer the long one. --Daniel Andersson
A practical run-through of the commands used to create this ikiwiki site. On Debian Sid, using Mercurial as backend. My paths will be used as reference, exchange them wherever necessary.
Condensed instructions for installing Mercurial and its standard web interface on Debian. Should hold for Debian derivatives as well.
Requires Apache.
Instructions for installing Tiny Tiny RSS on a Debian system.
Uses Apache and MySQL.
Powered by ikiwiki.