Category: Uncategorized
-
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
-
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
-
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.
-
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.