About a year ago, I purchased a couple of Sonoff Basic units. After some issues with WiFi, I finally got them to work properly with ESPHome. Here is how. My Sonoff BASIC units are equipped with an ESP-8266EX processor and 1MB flash. Flashing it with the sample configs of ESPHome (cf. here and here), my […]
Mendeley, bibtex and the web page citation fiasco
Here is a work-around for the insufficiently-functioning Mendeley bibtex export for web page/URL citations. The issue is that a) the URL is exported as ‘url =’ and not ‘howpublished =’ and b) there is no ‘last accessed’ (aka ‘last viewed’ or ‘last checked’) field… This little workflow and command line might help someone.
Shoutcast Traffic
Yesterday, somebody asked me how much traffic a Shotcast server produces. And I though I might as well share the computation: Stream @ 128 kbps (Kilo Bit per second) on in average 30 days of a month n = average number of users that listen 24h per day s = 1.1 = Shoutcast overhead factor […]
MySQL: Drop ALL tables of a database
After looking around for a while, here is a little recipe to efficiently drop all tables from a MySQL database. Background story: If you have sufficient access rights to the MySQL server, you could easily drop database dbname; and create database dbname; If circumstances don’t allow you to drop and create this way, here are two ways […]
LaTeX tweak: Continuous enumeration over multiple sections
Soo…I move this from a former page to a post. At some point last year, I needed a solution for a problem in LaTeX, where I wanted to continue an enumeration over several paragraphs. Read on and find out how I did it. Cheers!
Permanent links
Dear Readers, recently, I updated this blog to use a different structure for permanent links. Please update your bookmarks accordingly. Thanks and sorry for the inconvenience! H.
Mac OS X Snow Leopard Authentication Problem
Hi Folks, A while back, I upgraded my Mac OS X Leopard to Snow Leopard and encountered some strange behavior which did not allow me to authenticate anymore. This lead to very ugly situations where no software could be installed anymore (since the dialog didn’t fire up to enter the password) and some settings could […]
[Extension] XEN Mixed Networking (translation from referenced German howto)
This is a translation of the Hetzner Dokuwiki Article “Xen mit Routing-Setup und zusätzlicher (interner) Bridge” [1] which I mentioned in my last post about XEN Networking [2]. [1] http://wiki.hetzner.de/index.php/Xen_mit_Routing_und_Bridge [2] https://www.henningweiler.de/?p=85
Exim Helpers
Hi there, in the ‘old days’ I’ve been using the Exim MTA and just found a few helpful commands, which I thought might help some people also. Here we go… Count frozen messages in mail queue: exim4 -bpr | grep frozen | wc -l Remove all frozen messages from the mail queue: mailq | awk […]
XEN Mixed Networking (Direct Routing + Internal Bridge)
Hi Everybody, in order to setup a new server, I had to deal with this more or less troublesome topic. I want to give everybody a hint who is facing trouble with this. The Setup: – Debian Lenny (Kernel 2.6.26-2-xen-amd64) 64 Bit host and 64 Bit guests – xen-hypervisor 3.2-1 The Goal: I. have a […]