swisstech.net

tech and photography

Linux

How to fix file permissions on debian

A guide on how to restore file permissions on a Debian system after a failed migration where permissions were not preserved, using a series of chmod, chown, and aptitude reinstall commands.

Posted on 2014-06-13

Migrating Sonar to a different host

A set of notes on how to migrate a SonarQube installation to a new host, including steps for installing SonarQube and PostgreSQL, and migrating the database and extensions.

Posted on 2014-01-30

Installing/Upgrading flash on Ubuntu behind a proxy

A workaround for installing or upgrading the Adobe Flash plugin on Ubuntu when you are behind a proxy that the installer doesn’’t respect, by downloading the plugin manually and serving it from a local web server.

Posted on 2013-10-01

How to rename/merge projects in sonar

A guide on how to rename or merge projects in SonarQube by directly manipulating the PostgreSQL database, for when you need to preserve the history of a project after renaming it.

Posted on 2013-06-03

How to mount an iPod in linux

A short tutorial on how to mount an iPod on a Linux system using ifuse to access the device’’s file system.

Posted on 2013-05-12

Resizing VirtualBox Drives

A quick guide on how to resize a VirtualBox disk image (.vdi) and then use gparted to resize the partition within the virtual machine.

Posted on 2013-05-06

Quality loss when saving as JPEG

A post that debunks the myth that saving a JPEG multiple times at 100% quality does not degrade the image, with a script to demonstrate the quality loss.

Posted on 2013-01-02

Automatically switch your mvn settings

A simple shell function to automatically switch between different Maven settings.xml files based on the current network environment, useful for when you’’re moving between work and home.

Posted on 2012-10-18

Mercurial and self-signed server certificates

A guide on how to configure Mercurial to accept a self-signed SSL certificate from a repository by adding the certificate’’s fingerprint to the ~/.hgrc file.

Posted on 2012-10-13

Local postfix as relay to Amazon SES

A quick guide for experienced Linux users on how to set up a local Postfix server to act as a relay to Amazon Simple Email Service (SES).

Posted on 2012-06-08

The simplest backup solution ever...

A simple backup solution using a Groovy script to generate rsync commands for backing up files from multiple remote hosts.

Posted on 2010-11-17