Skip to content

Instantly share code, notes, and snippets.

@starks
starks / switchlibglx
Created February 26, 2017 20:27
switchlibglx
#!/usr/bin/python
#
# switchlibglx
#
# Copyright 2011 Canonical Ltd.
# Author: Alberto Milone <alberto.milone@canonical.com>
#
# Script to switch between AMD and Intel graphics driver libraries.
#
# Usage:
@starks
starks / switchlibGL
Created February 26, 2017 20:22
switchlibGL
#!/usr/bin/python
#
# switchlibGL
#
# Copyright 2011 Canonical Ltd.
# Author: Alberto Milone <alberto.milone@canonical.com>
#
# Script to switch between AMD and Intel graphics driver libraries.
#
# Usage:
@starks
starks / xorg.conf
Created February 26, 2017 20:21
xorg.conf pxp
Section "ServerLayout"
Identifier "fglrx-layout"
Screen 0 "fglrx-screen" 0 0
EndSection
Section "Device"
Identifier "intel"
Driver "intel"
Option "AccelMethod" "sna"
BusID "PCI:0@0:2:0"
@starks
starks / tti.js
Created June 11, 2015 06:14
gameweasel tti implementation
/* vim: set et sw=2 ts=2 sts=2 tw=79:
*
* Copyright 2010, 2011 Jesse Lentz
*
* This file is part of GameWeasel.
*
* GameWeasel is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation.
*