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
| # other | |
| whereis node | |
| ss -lnp | |
| sudo start ssh | |
| sudo restart ssh | |
| sudo killall node | |
| sudo killall -u root node | |
| sudo update node | |
| dolphin ./ & | |
| dolphin & |
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
| # Force dnsomatic.com DDNS updating | |
| sudo ddclient -force |
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
| # Start node server | |
| # login as root | |
| nohup node subdomain-server.js & |
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
| # Updating | |
| sudo apt-get update | |
| sudo apt-get dist-upgrade | |
| # a specific program to update: | |
| sudo apt-get install <program> |
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
| # View auth.log | |
| sudo tail -f /var/log/auth.log |
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
| # list all dependencies | |
| npm list --depth=0 | |
| # list dependencies for a specific package | |
| npm list --depth=0 | grep grunt-contrib-compass |
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
| find ./ -name "myfile.js" |
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
| # From: http://www.cmake.org/pipermail/cmake/2013-February/053649.html | |
| # This will create a directory named "Support" in your home folder, download | |
| # and extract CMake 2.8.10. Finally it invokes cmake with the "-version" | |
| # param to check that cmake run. | |
| cd && mkdir Support && cd Support && \ | |
| wget http://www.cmake.org/files/v2.8/cmake-2.8.10.2-Linux-i386.tar.gz && \ | |
| tar -xzvf cmake-2.8.10.2-Linux-i386.tar.gz && \ | |
| ./cmake-2.8.10.2-Linux-i386/bin/cmake -version |
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
| curl -o mygettext.html http://www.gnu.org/software/gettext/manual/gettext.html |
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
| npm shrinkwrap --dev |