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
# custom WebStorm properties | |
editor.zero.latency.typing=true | |
idea.max.intellisense.filesize=3500 | |
idea.cycle.buffer.size=2048 |
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
git config --global credential.helper store | |
git config --global credential.helper cache |
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
yay -Sy python-virtualenv | |
virtualenv | |
yay -Sy python-pipenv | |
pipenv | |
pipenv shell | |
pipenv install flask | |
pipenv install flask_restful | |
pipenv install opencv-python |
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
egrep --color 'vmx|svm' /proc/cpuinfo | |
sudo pacman -Sy libvirt qemu ebtables dnsmasq | |
sudo usermod -a -G libvirt $(whoami) | |
newgrp libvirt | |
sudo systemctl start libvirtd.service | |
sudo systemctl enable libvirtd.service | |
sudo systemctl start virtlockd.service |
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
## Sample initialization file for GNU nano. | |
## | |
## This file should not be in DOS or Mac format, and characters | |
## specially interpreted by the shell should not be escaped here. | |
## | |
## To make sure an option is disabled, use "unset <option>". | |
## | |
## For the options that take parameters, the default value is given. | |
## Other options are unset by default. | |
## |
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
//change | |
amixer -q set Master toggle | |
//to | |
amixer -D pulse set Master toggle |
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
Removing unused packages (orphans) | |
# sudo pacman -Rns $(pacman -Qtdq) | |
Cleaning the package cache | |
# sudo pacman -Sc | |
# journalctl --disk-usage | |
# sudo journalctl --vacuum-size=10M |
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 pacman -S i3 | |
:: There are 5 members in group i3: | |
:: Repository community | |
1) i3-gaps 2) i3-wm 3) i3blocks 4) i3lock 5) i3status | |
Enter a selection (default=all): 1, 4 | |
Optional dependencies for i3-gaps | |
rxvt-unicode: The terminal emulator used in the default config. |
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
gsettings get org.gnome.desktop.interface gtk-theme | |
locate Vimix-Laptop-Doder | |
ls /usr/share/themes | |
gsettings set org.gnome.desktop.interface gtk-theme Numix |
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
yaourt php-pear | |
sudo pecl channel-update pecl.php.net | |
sudo pecl install mongodb | |
sudo echo "extension=mongodb.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"` | |
or | |
sudo nano /etc/php/php.ini | |
add extension=mongodb.so | |
sudo systemctl restart httpd.service |