SVN - Global Ignores

SVN 1.8 introduces svn:global-ignores. This can be particularly useful if you want to make sure to exlcude/ignore certain things from your repository, but either don't know the exact path where they might appear or it is impractical to manually add the svn:ignore rules at each location.…

Read this article

Firefox - Check Multiprocessing Support

After Firefox 54 rolled out with its better support for multiprocessing, I thought I'd try switching back and resolved its slow startup problem. I had thought that I was already enjoying its speed improvements, but it turns out I wasn't because multiprocessing will be disabled if you have any addons…

Read this article

Sharing ZFS Datasets Via NFS

You might have seen my previous tutorials on setting up an NFS server and a client. When it comes to sharing ZFS datasets over NFS, I suggest you use this tutorial as a replacement to the server-side tutorial. This is because we will be using ZFS to manage the ZFS…

Read this article

Resolve Firefox Slow Startup

With the speed improvements introduced in Firefox 54 through better multithreading support, I wanted to see if I could switch back to using it as my default browser, from Vivaldi. Indeed it does seem a lot better at handling situations where I have tens/hundreds of tabs open, and perhaps…

Read this article

Qcow2 - Recover Disk Space on Linux

Sparse qcow2 images can be convenient for allowing you to over-subscribe your disk for your KVM guests in case they might need that space later. For example, you could provision 3 guests each with 400 GB of storage, on a single 500 GB drive. To begin with, the guests will…

Read this article

PHP - Splat Operator

Since PHP 5.6, you can use splat operator (...) to create simpler variadic functions (functions that take an undefined number of arguments). To demonstrate this, the code snippet below provides a function that will return the sum of any number of numbers: function adder(...$numbers) { $sum = 0; foreach ($numbers as…

Read this article

Rsync

Rsync is a great tool for making file backups/copies or for transferring files to a remote server. This is because it will only transfer the data that has changed, and it can even compress the data before sending it, which is great if bandwidth is an issue (which it…

Read this article

Windows 10 - Enable BASH

It looks like Micro$oft has realised the power of Linux and allows you to "install" a version of Ubuntu (originally 14.04 and now 16.04 I believe) within Windows so that you can take advantage of it. This allows you to perform useful everyday tasks such as rsync…

Read this article

Windows 10 - Enable Developer Mode

Press the windows key (or click the start button), and type "Settings" before clicking on the settings application. Click on the For developers item in the left-hand menu and click on Developer mode. At the prompt, click Yes. After doing so, you will see the following: You may need to…

Read this article

FFMPEG - Losslessly convert mp4 to mkv

The formats mp4 and mkv are just the "containers" for video files that you have, which "contain" the video, audio, and metadata, such as chapter information and subtitles, for the content. The video and audio streams are encoded using codecs such as libx264 and vorbis etc. Since mkv and mp4…

Read this article