Skip to content

Instantly share code, notes, and snippets.

View Great-Antique's full-sized avatar

Denys Hirnyk Great-Antique

View GitHub Profile
# /etc/X11/xorg.conf.d/01-synaptics.conf
Section "InputClass"
Identifier "e440 top buttons"
MatchDriver "synaptics"
# right btn|middle btn
Option "SoftButtonAreas" "60% 0 0 0 40% 60% 0 0"
Option "HorizHysteresis" "30"
Option "VertHysteresis" "30"
Option "PalmDetect" "1"
# /etc/X11/xorg.conf.d/01-synaptics.conf
Section "InputClass"
Identifier "t440 top buttons"
MatchDriver "synaptics"
# right btn|middle btn
Option "SoftButtonAreas" "60% 0 0 0 40% 60% 0 0"
Option "HorizHysteresis" "30"
Option "VertHysteresis" "30"
Option "PalmDetect" "1"
# Git visual log displays commit tree view with who did what when and in which branch
git config --global alias.vlog 'log --graph --date-order --date=relative --pretty=format:"%C(cyan)%h: %Cblue - %an - %Cgreen %C(cyan)%ar:%Creset%n%s%n" --color'
@Great-Antique
Great-Antique / common.conf
Last active August 19, 2021 02:37 — forked from jsifalda/common.conf
Nginx configuration for web application powered by Nette framework
# Please paste to folder common/common.conf
index index.html index.htm;
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
#location ~ \.(js|ico|gif|jpg|png|css|rar|zip|tar\.gz)$ { }