avatar

> /dev/null 2>&1

ramblings of a sysadmin

Distributed syncing with Syncthing

I’ve tried to ditch Dropbox for a long time. But the need for synchronizing folders between my computers have held me back. Syncthing solves this for me. It’s decentralized syncrhonization between all my units, including my phone, without the need to go through a 3rd party server. Excerpt from Syncthings homepage: Syncthing replaces proprietary sync and cloud services with something open, trustworthy and decentralized.

Compressed RAM based block devices

From zram documentation: The zram module creates RAM based block devices named /dev/zram(= 0, 1, …). Pages written to these disks are compressed and stored in memory itself. These disks allow very fast I/O and compression provides good amounts of memory savings. Some of the usecases include /tmp storage, use as swap disks, various caches under /var and maybe many more :)

Record a PulseAudio sound stream

Ever wondered on how to record the audio from one application? Either the browser or a streaming application that don’t have the option to save audio to a file. The PulseAudio sound server in your desktop makes this quite easy. I’ve created a small script that captures the current playing sound stream and redirects it to FLAC audio file.

Vagrant with OpenStack

If you want to use Vagrant with OpenStack, you need to prepare Vagrant with installing the vagrant-openstack-plugin. I had some problems installing it directly through vagrant plugin install. I had to clone it from Github and install it manually. One time configuration 🔗Install OpenStack plugin in Vagrant 🔗cd /tmp git clone https://github.

fio - flexible I/O tester

From man page: fio is a tool that will spawn a number of threads or processes doing a particular type of I/O action as specified by the user. The typical use of fio is to write a job file matching the I/O load one wants to simulate. This example only show how to use fio to make reproduceable test on a file system.

Power saving on laptop

Notes for power saving on my i5 laptop.

View Google Earth in the browser

Google now supports Google Earth in Google Maps. As far as I know it works in Chrome and Chromium. If Google Earth isn’t available where the satellite view options is, your graphic card is in the browsers blacklist. To force enabling WebGL in the browser start it with the following options

Vagrant, development environments made easy

Prototyping and testing configurations and system installations is time consuming on traditional hardware. That is why I started using Vagrant for nearly all development, prototyping and testing. It’s free and really easy to use. If you install VirtualBox sudo apt-get install virtualbox first, you’ll be up and running in no time.

Only Firefox is safe post Heartblead

oSteve Gibson have a nice round-up where he explains how certificate revocation does work and why Chrome and Chromiums certificate revocation scheme doesn’t work. I recommend to read both Steve Gibson’s article on An Evaluation of the Effectiveness of Chrome’s CRLSets and Adam Langley’s in my opinion a bit missplaced answer Revocation still doesn’t work.

Flashing a custom rom on Nexus 4

Flashing a custom image on an Android mobile could be just fun. But if you don’t know why you want to do it, or do it just because it’s a challenge. Then don’t! The bad and the good 🔗I’m only pointing out some of the cons and the pros here.