-
Update Mozilla Firefox via Terminal Commands in Linux Ubuntu
Assuming you’ve Mozilla Firefox already installed on your PC let’s first check the version of Firefox installed on your system via terminal. Open the terminal (hit Ctrl+Alt+T to open) and type this : Next enter the following command and hit enter: Don’t open the Firefox browser while typing in the commands otherwise it does not…
-
Easy way to push your coding project to GitHub
Firstly, create a simple GitHub repository and give it a suitable name. Say, the name of your repository is Project_One. Now, copy the SSH or HTTPS code of your repository. In the next step, use the terminal to cd into the location of your choice where you want to copy the repository in your local…
-
How to create and run your very first simple HTTP server in NodeJS?
The first thing to do is to create a JS file inside your code editor. Next we write the following codes : In the above code we’ve imported the HTTP Module which is required for creating the server. In the following steps, let’s write some more codes : In the above code block we’ve used…
-
How to Read and Write files using NodeJS?
First import the build-in file system module like so : Synchronous Way Now, in order to use the fs (file-system) module to read a file, use the following code syntax : Now if you log the file above to the console, it will read and display the suitable file. Let’s now say you want to…
-
Getting started with NodeJS REPL
First go to the NodeJS website and download a suitable version of NodeJS on your system. I would recommend you use an LTS version in order to keep getting long term support and updates. Next, test whether you’ve NodeJS installed on your system by running the following terminal commands : To type and run node…
-
What is NodeJS and why should you use it as a JavaScript developer?
NodeJS is a JavaScript runtime environment which is built on the Google’s open-source V8 JavaScript engine. Now, what does that actually mean? Let’s explain… Any browser would understand HTML, CSS and JavaScript on the front-end. Whatever you write, whether it’s pure JavaScript or any of it’s libraries or frameworks like bootstrap, React or Angular, it’s…
-
What is nodemon? How to use nodemon with NodeJS?
Nodemon is a very useful tool available on the NPM registry which helps us write node applications by automatically restarting the apps when any of the NodeJS file’s source code is changed i.e., whenever we edit or rewrite the source code as a developer. How it’s done, you ask? Just by replacing the node terminal…
-
How to enter and exit NodeJS inside the terminal?
To enter NodeJS inside the terminal, simply type node. You’ll see a welcome message. You can now type in a valid NodeJS code and execute it. To exit NodeJS, just type .exit or press Ctrl+C twice. You can also use Ctrl+D to exit node.
-
How to get started with NextJS for the first time?
The first thing you wanna do is to open up your command line terminal and cd into the directory of your choice. Next, see whether NodeJS is properly installed on your system. If not, download and install it. In the next step, inside the terminal type in the following command and hit enter : In…
-
How to create moving text animation from right to left using CSS animation
Here’s how you can create a moving text animation using HTML and CSS using @keyframes keyword :