Category: Uncategorized
-
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.
-
Configuring default resolution for FreeBSD 11 with UEFI
If you have to set native resolution on system console (if for example you have to run scfb driver for X), first check resolutions supported by UEFI – escape to loader prompt when booting OS and type:modeThat should list all textual modes recognized by loader (alternatively you can also try gop list or uga list,…
-
If NVIDIA is not finding screens for X
Things to check:That you have BusID in your Device section – syntax example BusID “PCI:1:0:0” (you can discover it for example using nvidia-xconfig –query-gpu-info or pciconf -lv). If you have problem with finding modes for monitor you can add Option “ModeDebug” “True” to your Device section in xorg.conf.
-
How to delete message from sendmail queue
First find it with$ mailq/var/spool/mqueue (1 request)—–Q-ID—– –Size– —–Q-Time—– ————Sender/Recipient———–w0MEs0vA055142 5289 Mon Jan 22 14:54(Deferred: Operation timed out with some server.) Total requests: 1 Then delete it using qtool.pl (in sendmail’s contrib dir): ./qtool.pl -C /etc/mail/sendmail.cf -d /var/spool/mqueue/w0MEs0vA055142
-
Command for CMake to generate makefiles showing commands
cmake -DCMAKE_VERBOSE_MAKEFILE=on …
-
Nice website with Eclipse programming tutorials
Vogella Eclipse Plugin Development JFace examples from Eclipse project