February 9, 2022

Automating Default Audio Configurations on a Mac

Usually, tools like WebEx, BBB, Zoom, etc. tend to use the system’s default audio settings. This is nice if you use the same audio devices all the time. But, if you use different audio devices at home, in the office, or when traveling, you have to manually adjust the default audio settings often. (Or worse: you forgot to set the default settings and must adjust the audio settings in the conference tool for each call…) This repeated switching between configurations is annoying and time consuming. Read more

October 6, 2020

Fixing an Update Issue of Command Line Tools on MacOS Catalina

My homebrew had some issues with an outdated version of Command Line Tools (CLT). I tried to update the CLT manually using sudo xcode-select --install but the installer told me, that CLT could not be found on the Apple servers. Strange. I tried uninstalling CLT with sudo rm -rf /Library/Developer/CommandLineTools (this is Apple’s intended way of uninstalling the stuff) and installing it again with sudo xcode-select --install. Same situation. Now I rebooted the machine. Read more

July 11, 2018

Installing MacOS on Older Macs

I happen to have an older MacBook Air from 2011. Recently I installed Ubuntu on the device to test how well or not this works. (It does work well enough!) However, I decided to go back to MacOS. As I wiped the entire hard drive of my Mac I used the network installer to get back a working system. However, I found that this installer installed a version of MacOS from the times when they still named their OS versions after large felines. Read more

June 21, 2017

Dockerizing Stuff for Fun and Profit

When I want to play with $things, I mostly use virtual machines as throw-away systems that I can mess up with odd software I don’t want to install on my Mac or that simply does not run on it. A good while ago I looked into docker as a more lightweight and flexible alternative to a VM. However, I put docker aside as it wasn’t usable on a Mac at all. Read more

June 10, 2017

FFMPEG vs My 'Go Low' Action Cam

I got myself a really cheap action cam. Think “China copy” and “Go Pro” and you know what I bought. However, for its 35 EUR price tag that thing is pretty cool. One problem with that cam is that it comes without any software. So you need to dig around a bit if you want to get creative with recorded movies and pictures. So far, I tried two things: time lapse videos from a sequence of photos and stabilized videos. Read more

June 1, 2017

Inline Enumerations in LaTeX

Normally you use the \enumerate command in LaTeX to create enumerated lists like this: I use lots of space! If you prefer your enumeration “inline”, you could do that: ... \newcommand{\inlineEnum}[1]{ \ifcsname c@#1\endcsname \addtocounter{#1}{1} \textbf{\arabic{#1})~} \else \newcounter{#1} \setcounter{#1}{1} \textbf{\arabic{#1})~} \fi } ... \begin{document} \inlineEnum{counter} Here is some text. \inlineEnum{counter} Here is some more text. \inlineEnum{counter} And another sentence! ... \end{document} Much better: … Here is some text. 2) Here is some more text. Read more

May 31, 2017

Testing Guetzli - Google's Perceptual Image Encoder

… a quick test of the Guetzli JPEG encoder published some weeks ago by Google. To my big surprise, you cannot encode TIFF or another lossless image format into JPEG. You need to export your RAW camera file first to JPEG @ 100% quality. Then you encode that file with Guetzli. Seems a tad odd to me, as you have a lossless compression two times. The speed of Guetzli is furthermore quite disappointing. Read more

May 31, 2017

Using Two Different GitHub Accounts on the same Computer

Some days ago I created next to my private GitHub account another one for work. At first I was a bit confused how to authenticate to two different GitHub accounts. The solution is rather simple as my former colleague R. H. told me. At first, you need to create two different SSH keys id_rsa_work and id_rsa_priv. Of cause you can use your already existing SSH key for one of the GitHub accounts. Read more

January 20, 2017

Automatically Split and Crop a Multi Page PDF File

My workflow for LaTeX documents with figures is that I typically first draw the figures in MS Visio, then export the drawing to PDF and finally crop the PDF file so that there is no white margin anymore. This is a little tedious when you have lots of figures and lots of updates on these figures… I changed my workflow a bit. Meanwhile I draw all figures in the same Visio file. Read more

© ho1ger 2015 - 2022