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. Your data is your data alone and you deserve to choose where it is stored, if it is shared with some third party and how it's transmitted over the Internet.

From zram documentation: The zram module creates RAM based block devices named /dev/zram<id> (<id> = 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 :)

I've created a small script that captures the current playing sound stream and redirects it to FLAC audio file. After the capture is started, you can start playing sound from other programs. It won't interfere with the current capture.

Capture audio

Pre requests

You have to install a couple of programs, if you don't have them from before, to make the bash script work.

Configure a Vagrant VM

Vagrantfile

This is a default generic Vagrant file which starts a m1.tiny flavor image of Ubuntu Utopic. It requires that you already have added your ssh key to OpenStack. Please add your ssh key with the name $USER_ssh_key.

require'vagrant-openstack-plugin'Vagrant.configure("2")do|config|config.vm.box="dummy"config.vm.synced_folder".","/vagrant",type:"rsync",rsync__exclude:".git/"# Make sure the private key from the key pair is providedconfig.ssh.private_key_path="~/.ssh/id_rsa"config.vm.provider:openstackdo|os|os.username="#{ENV['OS_USERNAME']}"os.api_key="#{ENV['OS_PASSWORD']}"os.flavor=/m1.tiny/os.image="Ubuntu CI utopic 2014-09-18"os.endpoint="#{ENV['OS_AUTH_URL']}/tokens"os.keypair_name="#{ENV['OS_USERNAME']}_ssh_key"os.ssh_username="ubuntu"# The tenant have two networks, so ...

From man page: fiois 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. For me it's been useful to catch changes in I/O throughput before and after a system has gone into production. Buy running the same tests on all systems the numbers are comparable.

All parameter numbers are examples, define your own test according to what you want to measure.

Installing fio

apt-get install fio

Running fio

Change bsrange to the block size range you want to test.

numjobs is the number of simultanious read/write threads.

size is the working file size.

If you want to test a read heavy load, use rwmixread with a percentage of reads versus writes..

vim: set spell spl=en syn=markdown:

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

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 VirtualBoxsudo apt-get install virtualbox first, you'll be up and running in no time.

Vagrant do profile itself for developers, but sysadmins has much to gain by using such tools to make life easier for themselves. Automation and reproducibility is key concepts in modern system administration. We need to think more and more like developers, as much as developers need to think more and more like sysadmins.

Excerpt: Create and configure lightweight, reproducible, and portable development environments.