Category: Uncategorized
-
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…
-
Tools for calculating various code complexity metrics
In no particular order
-
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: Don’t forget to add lineexport PATH=”/usr/local/bin:$PATH”to ssh-hook file, since FreeBSD is installing php in /usr/local/bin (otherwise you might receive error “error: AuthorizedKeysCommand /usr/local/libexec/XXXX failed, status 127“)
-
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.
-
Having external links open in new windows in Redmine
Add these lines of js to public/javascripts/application.jsfunction addTargetExternalLinks() {$(‘.external’).attr(“target”, “_blank”);}$(document).ready(addTargetExternalLinks); Credits to this redmine discussion.
-
How to have deferred queue to resend
Executesendmail -q