Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
#
# /etc/rc.local: Local multi-user startup script.
#
POWER_CHECK=/sys/class/power_supply/AC/online
# set screen brightness
echo 10 > /sys/class/backlight/acpi_video0/brightness
@alexciarlillo
alexciarlillo / gist:1974686
Created March 4, 2012 20:36
arch depends problem
ciarlill@odin:~$ sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
archlinuxfr is up to date
:: Starting full system upgrade...
resolving dependencies...
warning: cannot resolve "gcc-multilib=4.6.2", a dependency of "libtool-multilib"
Section "ServerFlags"
Option "AutoAddDevices" "False"
EndSection
Section "Device"
Identifier "Card0"
Driver "ati"
BusID "PCI:1:0:0"
Option "AGPMode" "4"
Option "AGPFastWrite" "on" #Faster than default (off)
113 io.sockets.on('connection', function(socket) {
114 var user = new User(socket);
115
116 socket.on('set-nick', function(nick, response) {
117 user.setNick(nick, response);
118 });
119
120 socket.on('join-platform', function(data, response) {
121 user.joinPlatform(platforms, data, response);
122
@alexciarlillo
alexciarlillo / Xorg.0.log
Created October 18, 2011 13:11
syslog, Xorg.0.log, Xorg.failsafe.log from last reboot 10-18
X.Org X Server 1.7.6
Release Date: 2010-03-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-27-server i686 Ubuntu
Current Operating System: Linux MUNIN 2.6.32-34-generic-pae #77-Ubuntu SMP Tue Sep 13 21:16:18 UTC 2011 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-34-generic-pae root=UUID=849188e8-9198-4bf4-96e7-8890f589af82 ro quiet splash xbmc=autostart,nodiskmount loglevel=0
Build Date: 08 March 2011 08:22:50AM
xorg-server 2:1.7.6-2ubuntu7.6 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.16.4