Posted on July 24, 2011
| 6 minutes
| 1257 words
| Ton Kersten
Some time ago I was fighting my .screenrc again. I wanted to change the status line, but it was hardly possible to read and understand what I typed hardly half a year ago. The screen config file is not exactly poetry.
While searching the web to find how to change the status line I ran into tmux and I thought: “Let’s give it a try”. And after the very simple compile I started configuring it.
[Read More]
Posted on July 24, 2011
| 1 minutes
| 193 words
| Ton Kersten
Last Friday I decided it was time to update my MacBook to OS X Lion. So I went to the app-store and donated my 23.99 euros to Apple.
The download was fast, very fast, if you consider how many people where downloading at that same moment.
After the download I first made a copy of the installer files, because I read that the installer throws these files away after installation. And, of course, I made a full backup with Time Machine.
[Read More]
Posted on July 15, 2011
| 2 minutes
| 276 words
| Ton Kersten
In my original Markdown setup I had some smilies, or emoticons, defined that could be used in the posts. As Python Markdown lacks that I decided to hack it into BlazeBlogger. The only reason being that I can hack Perl and I can’t hack Python.
In the .blaze/config I now have an option called smilies that points to the top of the directory containing all smiley images. If this option is not defined the smiley conversion is skipped.
[Read More]
Posted on July 15, 2011
| 1 minutes
| 182 words
| Ton Kersten
After using John Grubers original Markdown for a couple of years now, I finally ditched it. I kept wanting things that where not in the Perl version and after a while I lost the fun to code them myself. So I started looking around and I found some alternatives, like rdiscount, libupskirt and a lot more. But I also wanted syntax highlighting, without JavaScript if possible.
Digging around I found Markdown in Python in combination with Pygments.
[Read More]
Posted on July 13, 2011
| 1 minutes
| 115 words
| Ton Kersten
Last weekend we participated in the IARU HF championship and we where active for the full 24 hours. We used my own call pa1ton.
Being a very small gun (1 transmitter, two antennas and only 100 watts) we decided that we could have a lot of fun not racing for the points, but trying to work stations we never worked before.
In the end we had 384 QSO’s, which isn’t that much.
[Read More]
Posted on July 8, 2011
| 1 minutes
| 129 words
| Ton Kersten
Next weekend it’s IARU contest time again.
With pa1pat and Coen we will setup a portable station again, as we have always done.
Using an Icom IC746 and a FD5 longwire of about 80 meters long we try to have lots of fun during the contest. Our goal is to reach over 500 QSO’s in the 24 hour long contest using the single TX and only 100W.
The contest starts on 2011-07-09 1200UTC and runs for 24 hours.
[Read More]
Posted on June 22, 2011
| 2 minutes
| 258 words
| Ton Kersten
I have been running WordPress for some time now, and I rather liked it. The only thing I didn’t like was the fact that I had to use PHP and a lot of strange software that was almost impossible to keep up to date.
Before I started using WordPress I used NanoBlogger and I liked that because it generates static websites. And I am a big fan of that. But: NanoBlogger is very, very slow and I didn’t like that, as you can imagine.
[Read More]
Posted on June 11, 2011
| 1 minutes
| 149 words
| Ton Kersten
A very long time ago, when I was still studying computer science I had a HP15C calculator. And I realy loved it. Unfortunately it was stolen and I couldn’t afford to buy a new one. I ended up using a Casio FX602p. A very, very good calculator, but it’s not a HP15C.
Last Friday I was discussing old times with a nerd like me and we ended up discussing calculators and what the heck, he had used the HP15C as well and hated HP for stopping to sell it, as wel as I do.
[Read More]
Posted on June 9, 2011
| 6 minutes
| 1150 words
| Ton Kersten
Some posts ago I wrote that I was busy to find out how a FreeBSD machine can be PXE-ed from a Linux server. Well, I found that some time ago, but I didn’t have the time to type it here, yet. Well, as always, once you know how it’s done, it’s quite simple. But because a lot of the FreeBSD documentation is very old (talking about FreeBSD 4, 5 and 6) it takes some time to find it all.
[Read More]
Posted on May 3, 2011
| 2 minutes
| 335 words
| Ton Kersten
In my previous post I stipulated that I was PXE booting FreeBSD. Well this works and I will come back on that. But for the configuration I want to run Puppet. Nice and easy config management.
On my server I run Puppet from source. This because the server is a CentOS box with a very old Ruby and Puppet. So I decided to run the Puppet client from source as well.
[Read More]
Posted on May 1, 2011
| 1 minutes
| 35 words
| Ton Kersten
At the moment I’m busy PXE booting a FreeBSD server of a Linux (Ubuntu)
machine. I’ve got that running and now I only need to autoinstall Puppet to
perform the configuration.
Posted on March 10, 2011
| 2 minutes
| 252 words
| Ton Kersten
I’ve added some more downloads to the download page and now I’m running into tiny troubles. When I change a script or configfile, this is placed in this blogs download directory. But the blogs database isn’t updated, so the file size, date/time and revision numbers are not the same on the download page as they are on disk. Of course it’s possible to update all this by hand, every time something changes, but being lazy I created a little script that does this all for me.
[Read More]
Posted on March 2, 2011
| 1 minutes
| 41 words
| Ton Kersten
I cleared the Hurricane Electric Sage test way back in August. When you do
clear this test, the HE people promise to send you a nice nerdy IPv6 T-shirt.
It did take them some time, but today it arrived.
Posted on February 27, 2011
| 1 minutes
| 150 words
| Ton Kersten
I’m trying to make SSHFP work. With these fingerprints in DNSSEC it should be possible to verify a host through DNSSEC.
It seems I’m not the only one having problems. Take a look at Jan-Piet Mens blog.
At the moment I’m trying to link libbind9 with OpenSSH to use the Bind resolver instead of the standard libresolv. This is suggested in this bug report, but I do not have that working, yet.
[Read More]
Posted on February 26, 2011
| 1 minutes
| 71 words
| Ton Kersten
This afternoon I switched to WordPress completely. I found a little Perl script to import my previous posts. Oke, not completely nice and all, but better this than cut and paste.
But I missed my downloads. It’s not much, but I want them back. So I did. WordPress has a very nice download manager, so I installed it and added all files. Created a download page and added the categories.
[Read More]
Posted on February 26, 2011
| 1 minutes
| 80 words
| Ton Kersten
I’ve been using nanoblogger for a long time now, but it has some grave disadvantages. First of all it looks like development has stopped. And when I add a new blog entry it takes ages for it to come online.
So I’m in the process of switching to WordPress. As you can see I have a lot of old entries converted (not all yet, but that’s just a matter of hard grinding work).
[Read More]
Posted on December 20, 2010
| 1 minutes
| 162 words
| Ton Kersten
I was working on a customers project and I had to change a lot of files. This could easily be done with the sed and find commands, but I wanted these changes to be checked in into git as well. And I also wanted the git keywords expanded.
There was always the trick to edit all the files with sed, then edit them again with git.vi and just press ZZ for all files.
[Read More]
Posted on December 8, 2010
| 1 minutes
| 148 words
| Ton Kersten
Some users insist on using bash. This is a good shell, but not as good as zsh. But, I do want them to be able to use the per directory umask as well as all the zsh users.
So I started digging, as the bash shell does not support a chpwd hook.
This is what I came up with:
chpwd() { # Set the initial umask case "${PWD}/" in /etc/puppet/*) um=$(umask) umask 007 ;; *) [[ x"${um}" !
[Read More]
Posted on December 6, 2010
| 2 minutes
| 320 words
| Ton Kersten
I’ve been working with Puppet some time now, and we are configuring our way through a lot of hosts, with 6 persons, all working in the same Puppet master directory.
This should work fine with all UNIX/Linux groups and setgid directories. But simple problem arose with the git version control stuff.
Once in a while the complete git repo was destroyed and quite a lot of searching revealed the reason why.
[Read More]
Posted on December 3, 2010
| 4 minutes
| 835 words
| Ton Kersten
I was playing around and configuring the MySQL backup on a customers database server and I ran into little problems. One of the defaults was not parsed correctly and a configuration setting made things run amok.
So I decided to streamline things and create some extra program options to set and show the default settings and the settings after the configuration file.
The help now shows:
mysqlbackup version 1.50 Syntax: mysqlbackup [ -h|-v|-s|-c|-d|] -h Display this help and exit -v Display the version number and exit -s Show the defaults and their values -d Show a description of the defaults and their values -c Show a default configuration file -a Show settings after the config file is processed configfile Use this file as the configuration file instead of the default.
[Read More]