Tag Archives: snippet

Minimal audio-only FFmpeg build with MinGW32

Another post intended mainly for future me, I tend to lose and re-invent this kind of stuff if it’s not public… :) For projects like Picard or Chromaprint, when I’m doing a Windows build, I need a minimal version of … Continue reading

Posted in Misc | Tagged , , , , , | 4 Comments

Cross-compiling with CMake and Autotools

The last time I needed to build a Windows binary, I found it easier to cross-compile it from Linux than to setup a development environment on a freshly installed Windows machine. The problem is that even though it’s not hard, … Continue reading

Posted in Programming, Tools | Tagged , , , , , | Leave a comment

Tomboy’s “Start Here” note

I use Dropbox to synchronize my Tomboy notes. This works very well, but there is a problem when setting it up on a new computer. Tomboy has a special “Start Here” note, which is used mainly for organizing other notes. … Continue reading

Posted in Tools | Tagged , , , | 1 Comment

Redirect HTTP requests to HTTPS in Apache

One more short snippet, that might be useful to me in the future. If you have a website served by Apache and want your clients to only use HTTPS, you can use this mod_rewrite configuration: RewriteEngine On RewriteCond %{HTTPS} off … Continue reading

Posted in Tools | Tagged , , , | Leave a comment

Resizing a LVM swap volume

Another post mainly for myself, just so I know where to find the information quickly the next time I need it. If you have swap on a LVM volume, these commands can be used to resize it (in this case, … Continue reading

Posted in Tools | Tagged , , , , | Leave a comment