GCode Simulator

Last year I’ve built a Mendel90 3D printer. Soon I’ve printed an adapter for the Proxxon Micromot 50, so that I could use the printer also for drilling and milling. Drilling was easy, and this weak I gave milling a try and experimented with milling PCBs created with …

more ...

Types of Memory Leaks

There exists more than one type of memory leaks with different effects and different way to detect them:

  • The typical memory leak: a piece of memory the gets allocated but is not freed anymore. This is the classic type of memory leak, for what C and C++ gets blamed for …
more ...

Restrict SSH to rsync

Today I created limited access for a buildbot user via SSH. The build machines need SSH access to upload built software to our file server. This works using rsync over SSH.

Whereas real users are using a Yubikey and not SSH key files anymore, the build machines still require SSH …

more ...

Download Wordpress Media Library

I’m currently in the process of migrating my old Wordpress blog to Pelican. In Wordpress it is easy to export all your posts as an XML file, but this does not export the referenced images. Also there is no export-all functionality, or FTP access or something like that. Downloading …

more ...

Using virtualenv on Gentoo

When using Python you should always use your package mangager (portage on Gentoo) to install python software. Other tools like pip install would interfere with your system and can damage your local python installation.

But sometimes you need python modules which dont exist or are too old in your distribution …

more ...

Setting KVM hostname per DHCP

The Problem

One problem with virtual machines is, when you clone one you also copy the complete configuration including hostname, static IPs, etc. To fix this you need to boot the cloned VM, edit the config and reboot it. The problem is that you will have at least temporary hostname …

more ...

CMake uninstall

CMake is a great tool when building cross-plattform software. It offers also install target so you can build and install software this way:

# create of-of-source build directory
mkdir bld
cd bld
# run CMake to generate a Makefile
ccmake ..
# Build in 4 cores
make -j 4
# Install into CMAKE_INSTALL_PREFIX (default is …
more ...

YCM FixIt Feature

YouCompleteMe (YCM) is really an awsome plugin. But today this blog post is not about completion support, it’s about YCM’s FixIt feature. If you are developer and have seen already compiler errors like this:

expected ';' at end of declaration

then I’m sure you also thought already: “If …

more ...

New Keystroke GUI with Vim support

I’ve created an updated version of my Keystroke-gui keylogger, which can be controlled by Vim Hooks. Keystroke is keylogger and visualizer which can be used for screencasts. This is especially useful when recording screencasts for Vim, because in Vim’s normal mode you cannot see what is typed, opposed …

more ...


Using the system clipboard in Vim over an SSH session

One of the advantages of console Vim is, that you can use it in a console SSH session. This way you can work on a remote machine also on slow connections and don’t need laggy remote desktop software. This is even more important if the remote machine is a …

more ...