-
How to use diff and patch
We’ll learn the three things below, as follows:- 1) Differentiating between two files and redirecting the differences into a new file.2) Creating a patch file with the diff command utility.3) Updating the file with patch. diff => diff is a Unix utility showing the difference between two files which are almost similiar by virtue of […]
-
Password-less SSH authentication to a remote machine
If you’re getting irritated or tired of giving your password again and again during SSH login to a remote host, then there is another way using which you can do SSH access to the remote host: RSA/DSA key-based authentication. For this you’ll need to create the RSA/DSA-based public/private key on the source host and save […]
-
Argument list too long? Deleting the file or directory using its inode number
We’ve noticed that sometimes a file or directory has a really big size due to which removing it is not possibleand you get the message below:- Argument list too long \* This issue certainly happens with everyone and especially with the folder “Session”, where all the sessions of the server in a directory are kept. […]
-
Mounting a shared Windows directory on Linux
If you have some important data on your Windows machine which you want to access from the Linux server, then you can do that and be able to access the shared directory or drive over the network and can access the directory from the Linux machine which is on the same network. Below is the […]
-
Steps to install the Gallery application manually with Linux hosting
Please follow the steps below to install the Gallery application:- 1. Download the package from the official website or through any other means of Internet resources.2. Upload the package in the domain directory where it is to be installed using the FTP client software.3. Create the MySQL database from the H-Sphere control panel as per […]
-
HTML vs HAML – some differences
1) HTML: random text HAML: %tag random text 2) For inner tags (please note: whitespace indentations here are meaningful in HAML, unlike in HTML): HTML: random text other text HAML: %tag random text %subtag other text 3) For the CSS selector “class” with a random HTML element, say : HTML: random text […]
-
How to update the license key in the Parallels Plesk control panel
Sometimes we face the warning below in the Plesk control panel:- “Warning: You are currently operating within the grace period of your product license. To update your product license, select the Retrieve Keys option on the License Management page.” Here, we need to follow the steps below to retrieve the new license key:- 1. Login […]
-
JavaScript vs HTML (some differences)
JavaScript is a declarative language (it communicates intent). HTML is an imperative language (concerned with the look and how it is all rendered). ]]>
-
Directives in AngularJS
Directives label DOM elements (much like CSS classes, attributes or element names). They allow AngularJS’s HTML compiler ($compile) to associate certain behavior with the element. AngularJS comes with many such directives already (starting with ng-, like ng-controller) and you can even create your own directives. ]]>
-
Dependency Injection in AngularJS
AngularJS applications have no “main” method – dependencies drive the application forward. The view component (the DOM) is the main driver behind the application. The view creates an instance of the controller with the ng-controller tag and the controller needs the model. The model is the easiest component to test because it does not depend […]