Display Line Numbers in nano
nano is a popular text editor for Linux/UNIX. In order to display line numbers, edit global configuration file (or user file /home/user/.nanorc) nano /etc/nanorc Go to line 49 (approximately) and…
nano is a popular text editor for Linux/UNIX. In order to display line numbers, edit global configuration file (or user file /home/user/.nanorc) nano /etc/nanorc Go to line 49 (approximately) and…
A simple solution to scan your network is nmap. Avoid to use nmap in external networks, as it could be considered as an "attack". To install nmap in Debian/Ubuntu apt-get…
What is the javascript equivalent of PHP call-user-func? To call a user-defined javascript function, for example DoReload(), you have just to write its name: DoReload(); In case you want to…
Javascript Window open() Method opens a popup window. How to center this window on the screen? A solution could be the following function: CenterWindow <script> /** * Opens window screen…
Use of include is very common in PHP. include will parse a file and display the result. But, how to store the result in a variable for later use? In…