cd /usr/share/X11/xorg.conf.d
sudo nano 40-libinput.conf
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
From a post by John Fairbairn on GoDiscussions.com: | |
For most practical purposes the necessary information can be reduced to an algorithm which I think goes back to a paper by Karl-Heinz Lenz in the Deutsche Go-Zeiting in the early 80s. My version of it (at your own peril) is: | |
1. Choose Attacker (= player with advantage; side with bigger eye or, if equal side with more exclusive liberties) and defender; small eyes count as equal irrespective of size) | |
2. Get number of Shared liberties S | |
3. From S, get Fail number F |
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
on adding folder items to this_folder after receiving added_items | |
tell application "Safari" | |
repeat with w in windows | |
if name of w is "Downloads" then | |
set isdocument to true | |
try | |
set d to document of w | |
set the result to d | |
on error | |
set isdocument to false |
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/bash | |
# great src url: http://igo-kisen.hp.infoseek.co.jp/topics.html | |
SGF_SRC_LISTUsers/adrian/Go/Games/TWIG/urls.txt | |
SCRATCH_DIRtmp/twig | |
DESTINATION_DIRUsers/adrian/Go/Games/TWIG | |
mkdir $SCRATCH_DIR | |
cd $SCRATCH_DIR |
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/bash | |
clear | |
for f in {1..7} | |
do | |
vcgencmd measure_temp | |
sysbench --test=cpu --cpu-max-prime=25000 --num-threads=4 run >/dev/null 2>&1 | |
done | |
vcgencmd measure_temp |
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/bash | |
clear | |
glxgears & | |
echo running a full day, ctrl+c to quit | |
stress-ng --cpu 0 --cpu-method fft |
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
https://github.com/cspeterson/splatmoji |
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
[Desktop Entry] | |
Type=Application | |
Name=Shairport-sync autostart | |
Comment=must be run after login because of pulseaudio | |
NoDisplay=true | |
Exec=/usr/local/bin/shairport-sync |
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
! model | |
pc101 Generic 101-key PC | |
pc102 Generic 102-key (Intl) PC | |
pc104 Generic 104-key PC | |
pc105 Generic 105-key (Intl) PC | |
dell101 Dell 101-key PC | |
latitude Dell Latitude series laptop | |
dellm65 Dell Precision M65 | |
everex Everex STEPnote | |
flexpro Keytronic FlexPro |
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
export $(gnome-keyring-daemon --daemonize --start) |
OlderNewer