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
// ==UserScript== | |
// @name arm_infocenter_ultrawide | |
// @namespace aiu | |
// @description make ARM infocenter view for ultrawide monitor better. | |
// @include http://infocenter.arm.com/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
$(body).css('max-width','9999px'); |
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
// ==UserScript== | |
// @name UltraWideFix | |
// @namespace uwf | |
// @description Fix aspect ratio for youtube. | |
// @include https://www.youtube.com/watch=* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
document.addEventListener("keydown", OnKeyDownHandler, 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
The cypress touchpad firmware is smarter than normal touchpad, but linux snyaptics driver treats it as a normal one. | |
So one will have hard time clicking a cypress touchpad. To fix this problem, add a file like this | |
/etc/X11/xorg.conf.d/99-clickpad.conf | |
Section "InputClass" | |
Identifier "Disable clickpad for touchpad" | |
MatchDriver "synaptics" | |
Option "ClickPad" "off" | |
Option "HorizTwoFingerScroll" "on" | |
Option "TapButton1" "on" |
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
sudo yum-config-manager --enable rhel-server-rhscl-7-rpms | |
sudo yum install devtoolset-6 |
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
# first of all, you must nux repo enabled | |
# and nux needs epel repo | |
sudo yum -y install epel-release && rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm | |
#then | |
sudo yum install libX11-devel mesa-libGL-devel libv4l-devel \ | |
pulseaudio-libs-devel x264-devel freetype-devel \ | |
fontconfig-devel libXcomposite-devel libXinerama-devel \ | |
qt5-qtbase-devel qt5-qtx11extras-devel libcurl-devel \ | |
systemd-devel ffmpeg ffmpeg-devel |
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
#updatedb run so long? | |
#it's a good idea to skip .cache and .mozilla folders | |
sudo sed -i '/PRUNENAMES/ s/"\(.*\)"/".cache .mozilla .git .hg .svn"/' /etc/updatedb.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
/etc/NetworkManager/conf.d/00_mac_randomization.conf | |
[device-mac-randomization] | |
# "yes" is already the default for scanning | |
wifi.scan-rand-mac-address=yes | |
[connection-mac-randomization] | |
# Randomize MAC for every ethernet connection | |
ethernet.cloned-mac-address=random | |
# Generate a random MAC for each WiFi and associate the two permanently. |
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
0.2994x 0.291y |
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
UUID=221c5a9d-a605-4a8c-780b-33aaa65a1649 / ext4 defaults,noatime,commit=15,data=ordered,discard 1 1 | |
tmpfs /tmp tmpfs defaults,mode=01777 0 0 | |
tmpfs /var/spool tmpfs defaults,mode=01777 0 0 | |
tmpfs /home/alastorid/.cache tmpfs defaults,mode=01777 0 0 | |
# defaults,noatime,commit=15,data=ordered,discard | |
# noatime = no access time | |
# commit = 15 , jbd (ext4 journaling commits every 15 seconds)(default=5 sec) | |
# data=ordered,discard (trim) |
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
sudo yum install libtool gcc-c++ wxGTK-devel | |
svn checkout svn://svn.code.sf.net/p/wxhexeditor/code/trunk wxHexEditor | |
cd wxHexEditor | |
make OPTFLAGS=”-fopenmp” |
OlderNewer