Skip to content

Instantly share code, notes, and snippets.

#/etc/X11/xorg.conf
Section "Device"
Identifier "nvidia"
Driver "nvidia"
Option "NoLogo" "true"
Option "DPI" "96 x 96"
# Specify Nvidia PCI device
BusID "PCI:1:0:0"
# Make sure X starts also when no outputs are connected to the Nvidia chip
Option "AllowEmptyInitialConfiguration"
function testGA() {
doTrack_('UA-NNNNNN-1', 'YORR_KEY', 'YOUR_SERVICE', 'YOUR_ID');
}
function doTrack_(utmac, key, service, user) {
var path = '/' + key + '/' + service + '/' + user;
try {
var host = 'YOUR_HOST';
var utmGifLocation = "http://www.google-analytics.com/__utm.gif";