You are here

Ivan Radovanovic's blog

Ivan Radovanovic's picture

Installing FreeBSD with ZFS on UEFI enabled machine

Some instructions can be found at FreeBSD wiki and FreeBSD forums

Ivan Radovanovic's picture

Reseting dconf database

In case it gets corrupted some applications might be unable to start at all - to clean it simply delete directory ~/.config/dconf

Ivan Radovanovic's picture

FreeBSD 11, X and UEFI

If X doesn't start with message similar to "Cannot run in framebuffer mode. Please specify busIDs" and you are booting your system using UEFI you should install package drm-kmod, and make sure to load appropriate module before starting X (for example i915kms.ko), but beware that after installing package modules with same names will be present in both /boot/kernel and /boot/modules, so it is necessary to give full path to module to load (for example kldload /boot/modules/i915kms.ko).

Ivan Radovanovic's picture

Installing multiple instances of Phabricator on the same server

Just non-obvious steps listed (with things to replace in uppercase), follow their installation instructions for general setup

Ivan Radovanovic's picture

How to set default sound output device in FreeBSD

It can be done using sysctl hw.snd.default_unit. Before that it is good idea to check contents of /dev/sndstat file.

Ivan Radovanovic's picture

Having external links open in new windows in Redmine

Add these lines of js to public/javascripts/application.js

function addTargetExternalLinks() {
$('.external').attr("target", "_blank");
}
$(document).ready(addTargetExternalLinks);

Credits to this redmine discussion.

Ivan Radovanovic's picture

How to have deferred queue to resend

Execute
sendmail -q

Ivan Radovanovic's picture

How to check your monitor subpixel order

Most likely it is RGB, but you can check at http://www.lagom.nl/lcd-test/subpixel.php

Ivan Radovanovic's picture

How to check if row is visible when filter is active in OpenOffice Calc or Excel

For example to check if row 5 is visible use formula subtotal(2; A5:A5) - that will return 1 if row is visible, and 0 if it is not. It should work in Excel as well.

Ivan Radovanovic's picture

Running Mono with NGINX

Important thing (if using regular expressions in server names configuration in NGINX) is to make sure to pass $host as SERVER_NAME in fastcgi_params - like:
fastcgi_param SERVER_NAME $host;

Default value of $server_name will pass regexp and that will cause Mono to crash while parsing request URI.

Pages

Subscribe to RSS - Ivan Radovanovic's blog