Search content:

 

Genres

Last topics

Linux and Linux Shell Commands
Misc

### teamviewersudo teamviewer --daemon disablesudo teamviewer --daemon stopps -aux | grep team   ###purge all packa...
Linux Server

Linux and Linux Shell Commands
fail2ban

Ubuntu 14.04 #apt-get install fail2ban Protects against SSH login attacks.   change email: #vim /etc/fail2ban/jail....
Linux Server

Linux and Linux Shell Commands
Linux Shell Script

All examples are at http://www.webdevelopment-tutorials.com/example/preview/?uri=/...
Linux Server

Linux and Linux Shell Commands
Mail each successful SSH ...

  Ubuntu 14.04 $ssh -l root 5.34.23.123 #vim ~/.bashrc   ##mail each SSH ...
Linux Server

Linux and Linux Shell Commands
Server resources

1. Type the following command at the shell prompt to find out top 10 largest file/directories: # du -a /var | sort -n -r | head -n 10
Linux Server

Redis
Installation on Ubuntu 16...

COMPILER #apt-get update #apt-get install build-essential tcl   INSTALLATION #cd /tmp #curl -O
Database

NodeJS By Examples
NVM

Multiple nvm versions. Installation on Ubuntu 16.04 $wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install....
JavaScript

NodeJS By Examples
PM2 on server reboot

This lesson explains how to autostart nodeJS app with PM2 after server reboot.  
JavaScript

NodeJS By Examples
NodeJS Installation on Ce...

Installation - NodeJS on Centos 6.5 1. yum list nodejs
JavaScript

NodeJS By Examples
Centos 7 and NodeJS 6.2.1

1. problem: globally installed npms are not accessible from root and ordinary user #export PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin...
JavaScript

NodeJS By Examples
PM2

Start Node app with pm2 : $ pm2 start bin/www -i 0 -n 'crawler' -i 0  the number of instances is equal to number of proc...
JavaScript

VIM Editor
Open VIM at wanted line

To open VIM at a certain line number do: #vim +100 some_file will open VIM at line 1...
Misc

VIM Editor
Clear all text from file

To remove all text from editor: gg - puts cursor at the beginning dG - delete all text
Misc

VIM Editor
Copy line and paste

dd - cut line and put into buffer yy - copy line p - paste line below cursor CTRL+p - paste line above cursor  
Misc

VIM Editor
Undo and Redo operation

-command mode u - undo CRTL+r - redo
Misc

VIM Editor
Commands

Some useful commands for VIM   Text Entry Commands (Used to start text entry) a Append text fo...
Misc

Last 5 tutorials modified