Posts

Showing posts from 2021

How to create Alias command in Linux or Ubuntu

Image
Create Alias Command in Linux or Ubuntu As a Linux user, you may come in a situation where you need to use the same command again and again. So typing the same command again and again will make it boring and sometimes it may happen that you will get distracted because of it. So you can create an alias for the command  to overcome this problem. Alias is like creating a custom or your own command, when you type your alias it will replace the actual command, Let's take example of Alias in Linux: As I am working on the MEAN application, mostly I need to run the frontend, backend, DB Services which is located in a different location so every time I need to type some commands to run the applications. To Run the frontend application I need to type the following command.  $  cd Documents/Work/myapp/frontend/  $ npm start   To Run the frontend application I need to type the following command. Syntax to create an alias in Linux:  $  alias aliasName="your command...

Flutter Hello world application

Image
Hello Developers, I have posted my previous post about flutter installation and basic difference, so today we will start the implementation of flutter. Flutter Hello World App To start with flutter web development, first of all, we will set up or VS Code IDE to make compatible with flutter development this isn't mandatory but this will help you for rapid development. Adding flutter extension to VS Code IDE Open VS Code Go to Extension by clicking below icon Now search for flutter you will get following list then click on install Now your extension is ready to use  Create a hello world app with CLI Run following command to create app with CLI $flutter create hello_world This will create a basic app for you. App structure will be as follows:   So over there will be a lib folder where we will invest time more to develop our application. If you see the main.dart file this will be our entry point for our application. You can remove the auto-generated file and write down the f...