Skip to content

Instantly share code, notes, and snippets.

View pepakriz's full-sized avatar
🎯
Focusing

Josef Kříž pepakriz

🎯
Focusing
View GitHub Profile
@pcdavid
pcdavid / setup-external-screen
Last active September 27, 2018 13:47
Enabling 2560x1440 under Linux (tested with Ubuntu 13.10 on an Asus Zen Prime UX31A with Intel HD 4000 and a Iiyama XB2779QS)

Try 55 Hz if possible:

% xrandr --newmode "2560x1440_55.00" 220.812 2560 2608 2640 2720 1440 1443 1448 1478 -hsync -vsync
% xrandr --addmode HDMI1 "2560x1440_55.00"

or 30 Hz otherwise:

% xrandr --newmode "2560x1440_30.00" 146.25 2560 2680 2944 3328 1440 1443 1448 1468 -hsync +vsync
% xrandr --addmode HDMI1 "2560x1440_30.00"
@VasekPurchart
VasekPurchart / .bashrc
Last active July 8, 2023 18:29
GIT global configuration and enhancements
# used by Git (commit messages, rebase, ...)
export EDITOR=vim