This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
x=200 | |
y=100 | |
w=768 | |
h=432 | |
cd "$(dirname "$0")" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Section "InputClass" | |
MatchProduct "Wacom" | |
MatchIsTablet "true" | |
Identifier "Tablet" | |
Driver "wacom" | |
Option "TPCButton" "on" | |
Option "TopX" "150" | |
Option "BottomX" "26200" | |
Option "TopY" "225" | |
Option "BottomY" "16375" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
nyxmms2 stop | |
nyxmms2 clear | |
nyxmms2 add 'timesplayed<1' | |
nyxmms2 playlist sort date album album_id tracknr | |
nyxmms2 jump 1 | |
nyxmms2 play |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
parse_ip (Packet) -> | |
case Packet of | |
<<4:4, HeaderLength:4, _DiffServ:8, _Length:16, _Identification:16, | |
_Flags:3, _FragOffset:13, _TTL:8, Protocol:8, _HeaderChecksum:16, | |
SrcAddr:32/bits, DstAddr:32/bits, OptionsAndData/bytes>> | |
-> | |
OptionsLength = HeaderLength*32-160, | |
<<_Options:OptionsLength, Data/bytes>> = OptionsAndData, | |
case Protocol of |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Section "Device" | |
Identifier "Device 0" | |
Driver "trident" | |
EndSection | |
Section "Monitor" | |
Identifier "Monitor 0" | |
HorizSync 31.5-48.0 | |
VertRefresh 56.0-65.0 | |
EndSection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://libtorrent.rakshasa.no/wiki/RTorrentRatioHandling | |
ratio.enable = | |
ratio.min.set = 200 | |
ratio.max.set = 0 | |
ratio.upload.set = 0 | |
system.method.set = group.seeding.ratio.command, d.close=, d.erase= | |
# Link when finished. | |
system.method.set_key = event.download.finished, link_finished, "execute = mkdir, -p, ../done; execute = cp, -al, --, $d.get_base_path=, ../done/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'cgi' | |
require 'erubis' | |
require 'iconv' | |
require 'logger' | |
require 'mechanize' | |
require 'ostruct' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(sed -re '/^Exec=/s/$/ --start-hidden/' /usr/share/applications/empathy.desktop; printf 'OnlyShowIn=GNOME;\nAutostartCondition=GNOME /apps/empathy/autoconnect\nX-GNOME-Autostart-Delay=30\n') >~/.config/autostart/empathy.desktop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -g status-keys vi | |
set -g status off | |
setw -g mode-keys vi | |
setw -g utf8 on | |
set -g prefix C-z | |
unbind C-b | |
bind C-z send-prefix | |
unbind 0; bind 0 select-window -t :9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
objdump --section=.rodata --full-contents --start-address=0x3940 --stop-address="$((0x3940+0x2540))" NVIDIA-Linux-x86-256.29/kernel/nv-kernel.o | sed -nr 's/^ [0-9a-f]+ ([0-9a-f]{2})([0-9a-f]{2})0000.*/\2\1/p' | sort | uniq | grep -vx 0000 | |
0040 | |
0041 | |
0042 | |
0043 | |
0044 | |
0045 | |
0046 | |
0047 |