In this article, I will explain how to perform full integration tests with flakes outside nixpkgs. With NixOS testing framework, you can …| ~/git/blog
No such file or directory: How I stopped worrying and started loving binaries on NixOS. In this article, I will discuss the technical issue …| ~/git/blog
Lately, I hacked on some kernel modules to get more debug logs out of a kernel module on my NixOS machine. Because NixOS does not follow the …| ~/git/blog
Background Last week I was setting up this RISCv-based HiFive Unmatched board[1] with NixOS. Thanks to zhaofengli this was actually pretty …| ~/git/blog
When you are trying to get Vivado Remote Connections working on Ubuntu, you might have an issue to establish the connection. This can be …| ~/git/blog
In this article I will explain how to root Intel-CPU based android Devices on Linux/Mac OS X. The instructions are based on this forum post. …| ~/git/blog
Lets say you want to trigger remote the start of a python script. But you don’t want to have a service running all the time waiting for …| ~/git/blog
When using sshd.socket to start sshd on demand, detaching from a tmux/screen session will not work. The reason is once the ssh session is …| ~/git/blog
By default Digitalocean add some custom rc.d scripts for network configuration to your droplet. You can just append the content of …| ~/git/blog
The bananapi does currently assign random mac addresses to its ethnernet nic, which is bad if you want to assign static dhcp leases. To …| ~/git/blog
If you are a ruby user and find it annoying to remove binding.pry by hand, you may find the following snippet useful. (Put it in your …| ~/git/blog
The Docker daemon add his own custom rules by default to iptables. If you use ferm to manage your iptables rules, it is a good idea to …| ~/git/blog
tl;dr: How-to use ACRA and a PHP-script for getting fairly pretty crash-reports and user-feedback via email (without ugly Android …| ~/git/blog
Update: Added adhoc wlan network A guide to connect with a different machine using a ethernet cable for internet sharing or just …| ~/git/blog
Some days before I broke my raspberry pie, after pacman running out of memory, while updating my glibc. To solve such problems on any of my …| ~/git/blog
Because my shift key got broken, I remapped Caps Lock to Shift using xmodmap: remove Lock = Caps_Lock keysym Caps_Lock = Shift_L add Shift = …| ~/git/blog
For our latest iOS app we are using RestKit Framework, which is a really great and advanced library to communicate to your REST API. When …| ~/git/blog
date = “Nov” slug = “Nov/mongoid-use-objectid-as-created-at” One great feature of Mongodb is, that the first bytes of each ObjectID contains …| ~/git/blog
Since systemd 197 timer units support calendar time events, which makes systemd a full cron replacement. Why one would replace the good old …| ~/git/blog
In this article I will share my setup, I use to backup chef server. In the best case, you have a dedicated machine, which has network access …| ~/git/blog
Since my last post owncloud has added official documentation for nginx. Unfortunately the documentation there didn’t worked for me out of …| ~/git/blog
In this article I explain how to set up octopress with pubsubhubbub, to get push-enabled feeds. In my example I use superfeedr, which is …| ~/git/blog
In this article I will show my nginx configuration for the icinga web interface. At the time of writing I installed version 1.8 on ubuntu …| ~/git/blog
As I like the stability and raw speed of systemd, I wanted to leave debian’s init system behind and switch to systemd. The basic …| ~/git/blog
initscript to run pyload on gentoo as a service| ~/git/blog
Sometimes for whatever reason you want a secure internet connection. Maybe because you distrust your local network or your network filter …| ~/git/blog
updated at Do 14. Jul 2012 Short after writing this entry, I discover a good one. Nginx don’t understand the .htaccess, which is shipped with owncloud. So some rewrites, required by the webdav implementation, aren’t applied. To get owncloud running, some additional options are necessary: Nginx upstream backend { unix:/var/run/php-fpm.sock; # <--- edit me } # force https server { listen 80; server_name cloud.site.com; rewrite ^ https://$server_name$request_uri? permanent; } server { listen...| blog.thalheim.io
For complex modules, you may sometimes struggle to understand why a test isn’t behaving properly. To gain more insight, you may want to check the debug output. This leads me to discuss how to execute NixOS tests interactively. Problem statement In a standard way of running tests, you can’t interfere with the process to explore what’s gone wrong. But there’s a trick: you can start the test driver in a python REPL loop, which will provide an interactive shell where you can execute your ...| blog.thalheim.io