This file contains hidden or 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 |
This file contains hidden or 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
| edit /usr/share/applications/mimeinfo.cache | |
| change to | |
| inode/directory=org.gnome.Nautilus.desktop;visual-studio-code.desktop; |
This file contains hidden or 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
| db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } ) | |
| db.adminCommand( { setFeatureCompatibilityVersion: "3.4" } ) | |
| upgrade to mongodb 3.6 | |
| db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } ) | |
| db.adminCommand( { setFeatureCompatibilityVersion: "3.6" } ) |
This file contains hidden or 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
| ~ downgrade mongodb | |
| Available packages: | |
| * 1) mongodb-3.6.1-1-x86_64.pkg.tar.xz (remote) | |
| * 2) mongodb-3.6.1-1-x86_64.pkg.tar.xz (local) | |
| * 3) mongodb-3.6.0-1-x86_64.pkg.tar.xz (remote) | |
| * 4) mongodb-3.6.0-1-x86_64.pkg.tar.xz (local) | |
| * 5) mongodb-3.4.9-1-x86_64.pkg.tar.xz (remote) | |
| * 6) mongodb-3.4.9-1-x86_64.pkg.tar.xz (local) | |
| * 7) mongodb-3.4.3-2-x86_64.pkg.tar.xz (remote) |
This file contains hidden or 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 --m-arg "--skipchecksums --skippgpcheck" -Sb nativescript-sidekick |
This file contains hidden or 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 systemctl enable fstrim.timer | |
| sudo systemctl start fstrim.timer | |
| sudo systemctl status fstrim.timer |
This file contains hidden or 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
| [] ~ adb devices | |
| List of devices attached | |
| xxxxxx no permissions; see [http://developer.android.com/tools/device.html] | |
| [] ~ sudo pacman -S android-udev | |
| [] ~ adb devices | |
| List of devices attached | |
| 84ad63ba device |
This file contains hidden or 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
| rm .emacs | |
| rm -rf .emacs.d | |
| mkdir .emacs.d | |
| put init.el to folder .emacs.d |
This file contains hidden or 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 cpupower | |
| cpupower frequency-info | |
| sudo nano /etc/default/grub | |
| sudo mkinitcpio -p linux | |
| sudo grub-mkconfig -o /boot/grub/grub.cfg | |
| sudo cpupower frequency-set -g ondemand |
This file contains hidden or 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 JAVA_HOME=/usr/lib/jvm/java-8-jdk | |
| export PATH=$PATH:$JAVA_HOME/bin | |
| # export ANDROID_HOME=/tools/android-sdk-linux | |
| export ANDROID_HOME=/home/han/Android/Sdk | |
| export PATH=$PATH:$ANDROID_HOME/tools | |
| export PATH=$PATH:$ANDROID_HOME/platform-tools |