<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Purvesh Shende</title>
    <description>The latest articles on Forem by Purvesh Shende (@purveshshende2).</description>
    <link>https://forem.com/purveshshende2</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F484590%2F19cc28fd-b541-4049-84d1-35ccfa0fad33.jpeg</url>
      <title>Forem: Purvesh Shende</title>
      <link>https://forem.com/purveshshende2</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/purveshshende2"/>
    <language>en</language>
    <item>
      <title>Setting Up a Multi-Tier Web Application Locally: A DevOps Guide</title>
      <dc:creator>Purvesh Shende</dc:creator>
      <pubDate>Wed, 25 Sep 2024 00:01:52 +0000</pubDate>
      <link>https://forem.com/purveshshende2/setting-up-a-multi-tier-web-application-locally-a-devops-guide-78o</link>
      <guid>https://forem.com/purveshshende2/setting-up-a-multi-tier-web-application-locally-a-devops-guide-78o</guid>
      <description>&lt;p&gt;For any developer or DevOps engineer, setting up and managing a multi-tier web application can be a daunting task, especially when working locally. But with the right tools, the process can be automated and simplified—saving you time and headaches. Let’s dive into how I automated the setup of a multi-tier web app using &lt;strong&gt;Vagrant&lt;/strong&gt;, &lt;strong&gt;Oracle VM VirtualBox&lt;/strong&gt;, and &lt;strong&gt;Git Bash&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why Local Setup?
&lt;/h3&gt;

&lt;p&gt;When you're in the middle of a project, making changes directly on live servers can be nerve-wracking. What if something breaks? What if it's not easily reversible? The ability to experiment and configure the entire application stack locally can make a world of difference, allowing you to research, experiment, and troubleshoot without any risk to production environments.&lt;/p&gt;

&lt;p&gt;But manual setup? It’s often:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Complex&lt;/strong&gt; — so many services, dependencies, and configurations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Time-consuming&lt;/strong&gt; — doing it from scratch every time is tedious.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Not repeatable&lt;/strong&gt; — making it hard to maintain consistency across multiple environments.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The Solution? Automate it Locally
&lt;/h3&gt;

&lt;p&gt;I used three core tools to automate the setup:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Oracle VM VirtualBox&lt;/strong&gt; for the hypervisor.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vagrant&lt;/strong&gt; to automate the provisioning of virtual machines (VMs).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Git Bash&lt;/strong&gt; as the command-line interface (CLI).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This setup allows you to automate the process of provisioning and configuring your VMs while integrating multiple services required to run a full web application. Let’s break it down.&lt;/p&gt;

&lt;h3&gt;
  
  
  Project Architecture: What Are We Building?
&lt;/h3&gt;

&lt;p&gt;Imagine you’re setting up a social networking site written in Java. You need to configure several services across different virtual machines, and these services need to communicate seamlessly. Here’s the stack we’ll be working with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;NGINX&lt;/strong&gt; — Web server and reverse proxy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tomcat&lt;/strong&gt; — Application server.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;RabbitMQ&lt;/strong&gt; — Message broker.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Memcached&lt;/strong&gt; — In-memory data caching.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MySQL&lt;/strong&gt; — Relational database.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Step-by-Step Setup
&lt;/h3&gt;

&lt;h4&gt;
  
  
  1. &lt;strong&gt;Provisioning the VMs with Vagrant&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Start by writing your &lt;strong&gt;Vagrantfile&lt;/strong&gt;. This file contains all the configuration needed to spin up VMs with VirtualBox. Use &lt;code&gt;$ vagrant up&lt;/code&gt; to boot your VMs and &lt;code&gt;$ vagrant ssh&lt;/code&gt; to access them. Each service will run on its own VM.&lt;/p&gt;

&lt;p&gt;Commands like &lt;code&gt;$ vagrant global-status&lt;/code&gt; help you check the status of your machines. You can bring them up or down as needed with &lt;code&gt;$ vagrant reload&lt;/code&gt;.&lt;/p&gt;

&lt;h4&gt;
  
  
  2. &lt;strong&gt;Setting Up MySQL&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Once your MySQL VM is up and running, SSH into it (&lt;code&gt;$ vagrant ssh db01&lt;/code&gt;). Start by installing &lt;strong&gt;MariaDB&lt;/strong&gt;. Don’t forget to run the &lt;code&gt;mysql_secure_installation&lt;/code&gt; script to secure your database.&lt;/p&gt;

&lt;p&gt;From there, you can create databases, configure users, and load your SQL backups.&lt;/p&gt;

&lt;h4&gt;
  
  
  3. &lt;strong&gt;Configuring Memcached&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Memcached is great for caching. Once SSH'd into your Memcached VM (&lt;code&gt;$ vagrant ssh memcached&lt;/code&gt;), install it and open the appropriate ports for communication. With Memcached, you can speed up your app by reducing the load on MySQL.&lt;/p&gt;

&lt;h4&gt;
  
  
  4. &lt;strong&gt;Setting Up RabbitMQ&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;RabbitMQ is used to handle messaging and queuing in distributed systems. After SSH'ing into your RabbitMQ VM (&lt;code&gt;$ vagrant ssh rmq01&lt;/code&gt;), install &lt;strong&gt;RabbitMQ&lt;/strong&gt; and configure it to start on boot. Don’t forget to enable the necessary ports and configure user roles for messaging.&lt;/p&gt;

&lt;h4&gt;
  
  
  5. &lt;strong&gt;Deploying Tomcat&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;The &lt;strong&gt;Tomcat&lt;/strong&gt; VM hosts your web application. After installing Tomcat, configure it to auto-start and deploy your web app using Maven. You can also create a script for automatic deployment and link it to a systemd service for even smoother operation.&lt;/p&gt;

&lt;h4&gt;
  
  
  6. &lt;strong&gt;NGINX Configuration&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;As the entry point to the application, &lt;strong&gt;NGINX&lt;/strong&gt; handles HTTP requests and balances the load. The NGINX VM is configured to route requests to the Tomcat VM, ensuring efficient distribution of traffic.&lt;/p&gt;

&lt;h4&gt;
  
  
  7. &lt;strong&gt;Connecting It All Together&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Once the services are up and running, the magic happens. Requests sent to NGINX get forwarded to Tomcat, where the application is processed. Database queries go through Memcached first for faster lookups, while MySQL holds all the actual data. RabbitMQ handles message queuing, and each component communicates seamlessly through properly configured networking and hostnames.&lt;/p&gt;

&lt;h3&gt;
  
  
  Wrapping Up
&lt;/h3&gt;

&lt;p&gt;At the end of the day, this local setup allows you to create a &lt;strong&gt;repeatable&lt;/strong&gt; and &lt;strong&gt;automated&lt;/strong&gt; environment for experimenting with a multi-tier web application. You’re free to break things, fix things, and tweak the setup as much as you need without worrying about impacting live servers.&lt;/p&gt;

&lt;p&gt;And when you’re done? &lt;code&gt;$ vagrant destroy --force&lt;/code&gt; will tear it all down, clean as a whistle.&lt;/p&gt;

</description>
      <category>devops</category>
      <category>automation</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>HTML Crash Course </title>
      <dc:creator>Purvesh Shende</dc:creator>
      <pubDate>Tue, 23 Feb 2021 18:46:35 +0000</pubDate>
      <link>https://forem.com/purveshshende2/html-crash-course-1lae</link>
      <guid>https://forem.com/purveshshende2/html-crash-course-1lae</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--VRkpZBmA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/89kzpyc5kf3nmk16wsnf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--VRkpZBmA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/89kzpyc5kf3nmk16wsnf.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
Hey folks🔥 I am here with another blog this time we are going to learn the basics of HTML. This is for the people who are starting with web and want to learn HTML in an easy and structured way.&lt;br&gt;
Whether you’re interested in becoming a professional web developer or you simply want to learn more about how websites work, the first thing you need to study is HTML.&lt;br&gt;
Without wasting more time let's get started.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is HTML?
&lt;/h3&gt;

&lt;p&gt;HTML is the standard mark-up language for creating Web pages.&lt;br&gt;
HTML stands for Hyper Text Mark-up Language, HTML describe the structure of the page. Consist of series of elements&lt;br&gt;
Html element tell the browser how to display the content.&lt;br&gt;
It allows the user to create and structure sections, paragraphs, heading links and blockquotes for web pages and applications.&lt;br&gt;
Html is not a programming language, meaning it doesn’t have the ability to create dynamic functionality. Instead, it makes it possible to organize and format documents.&lt;/p&gt;

&lt;h3&gt;
  
  
  Versions of HTML –
&lt;/h3&gt;

&lt;p&gt;The first version of HTML was developed by physicist Tim Berners-Lee in 1990, and the first publicly available version was released in 1991. Since then, HTML has been updated numerous times to address advances in technology.&lt;br&gt;
The current standardized version is HTML5, which has been in use since 2014.&lt;/p&gt;

&lt;h3&gt;
  
  
  A simple HTML Document structure -
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;Page Title&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
  &amp;lt;h1&amp;gt;My First Heading&amp;lt;/h1&amp;gt;
  &amp;lt;p&amp;gt;My first paragraph.&amp;lt;/p&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;The &lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/code&gt; declaration defines that this document is an HTML5 document.
&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;&amp;lt;html&amp;gt;&amp;lt;/html&amp;gt;&lt;/code&gt; element is the highest level element that encloses every HTML page.&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;&amp;lt;head&amp;gt;&amp;lt;/head&amp;gt;&lt;/code&gt; element holds meta information such as the page’s title and charset.&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&lt;/code&gt; element specifies a title for the HTML page.&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;&amp;lt;body&amp;gt;&amp;lt;/body&amp;gt;&lt;/code&gt; tag encloses all the content that appears on the page.&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt; element defines a large heading&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;&amp;lt;p&amp;gt;&lt;/code&gt; element defines a paragraph&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  HTML Editors –
&lt;/h3&gt;

&lt;p&gt;1 – &lt;a href="https://www.sublimetext.com/"&gt;Sublime Text&lt;/a&gt; &lt;br&gt;
2 – &lt;a href="https://atom.io/"&gt;Atom&lt;/a&gt; &lt;br&gt;
3 – &lt;a href="https://code.visualstudio.com/"&gt;Visual Studio code&lt;/a&gt;&lt;br&gt;
4 – &lt;a href="https://notepad-plus-plus.org/downloads/"&gt;Notepad ++&lt;/a&gt;&lt;br&gt;
5 – &lt;a href="http://brackets.io/"&gt;Brackets&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  What is an HTML element?
&lt;/h3&gt;

&lt;p&gt;An HTML element is defined by a start tag, some content, and an end tag. &lt;br&gt;
The HTML element is everything from the start tag to the end tag.&lt;br&gt;
Tags are used to mark up the start of an HTML element and they are usually enclosed in angle brackets.&lt;br&gt;
EX : &lt;code&gt;&amp;lt;h1&amp;gt; Hello World !&amp;lt;/h1&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Golden Rules for using HTML tags –
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;You must always use angle brackets for tags.&lt;/li&gt;
&lt;li&gt;you must always close a tag after opening it.&lt;/li&gt;
&lt;li&gt;When using multiple tags, the tags must be closed in the order in which they were opened.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Ex : &lt;br&gt;
    &lt;code&gt;&amp;lt;strong&amp;gt;&amp;lt;em&amp;gt; Hello &amp;lt;/em&amp;gt;&amp;lt;/strong&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  What are the HTML attributes?
&lt;/h3&gt;

&lt;p&gt;HTML attributes provide additional information about HTML elements.&lt;br&gt;
Attributes are always specified in the start tag.&lt;br&gt;
Example – &lt;br&gt;
The &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; tag defines a hyperlink , the href attributes specifies the URL of the page.&lt;br&gt;
&lt;code&gt;&amp;lt;a href=https://www.google.com&amp;gt; Visit Google &amp;lt;/a&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Adding stuff to HTML file –
&lt;/h3&gt;

&lt;p&gt;The &lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt; tag is used to add an image in an HTML page. Image link goes into a src attribute of img tag.&lt;br&gt;
Headings have 6 levels in HTML. They range from &lt;code&gt;&amp;lt;h1&amp;gt;&amp;lt;/h1&amp;gt;&lt;/code&gt; to &lt;code&gt;&amp;lt;h6&amp;gt;&amp;lt;/h6&amp;gt;&lt;/code&gt;, where h1 is the highest level heading and h6 is the lowest one.&lt;br&gt;
The &lt;code&gt;&amp;lt;b&amp;gt;&amp;lt;/b&amp;gt;&lt;/code&gt; tag specifies bold text without any extra importance.&lt;br&gt;
The &lt;code&gt;&amp;lt;strong&amp;gt;&amp;lt;/strong&amp;gt;&lt;/code&gt; tag is used to define text with strong importance. The content inside is typically in bold.&lt;/p&gt;

&lt;p&gt;Now that you’ve gotten started with HTML, you can improve your skills. It’s exciting to see everything to see you can do with web pages check out world’s best tutorial &lt;a href="https://www.w3schools.com/"&gt;W3-schools&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hope you like it.&lt;/p&gt;

&lt;p&gt;Thank you❤️ for reading my blog. Feel free to connect on &lt;a href="https://www.linkedin.com/in/purvesh-shende-a08293170/"&gt;LinkedIn&lt;/a&gt; or &lt;a href="https://twitter.com/purveshshende2"&gt;Twitter&lt;/a&gt; :)&lt;/p&gt;

&lt;p&gt;&lt;span&gt;Photo by &lt;a href="https://unsplash.com/@goran_ivos?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;Goran Ivos&lt;/a&gt; on &lt;a href="https://unsplash.com/s/photos/html?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;Unsplash&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

</description>
      <category>html</category>
      <category>programming</category>
      <category>javascript</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Best Programming Languages in 2021👩‍💻</title>
      <dc:creator>Purvesh Shende</dc:creator>
      <pubDate>Sat, 23 Jan 2021 18:15:34 +0000</pubDate>
      <link>https://forem.com/purveshshende2/best-programming-languages-in-2021-3hki</link>
      <guid>https://forem.com/purveshshende2/best-programming-languages-in-2021-3hki</guid>
      <description>&lt;p&gt;It’s a new year, a time when many technologists are considering which new skills and programming languages to learn. So here I’m with this blog.&lt;/p&gt;

&lt;p&gt;Follow me!⬇️&lt;/p&gt;

&lt;h2&gt;
  
  
  #1 Python –
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fkuuw2kxptcafcbbvt8co.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fkuuw2kxptcafcbbvt8co.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Currently the most popular  programming language on this planet 🌎 is Python .It was designed for readability, and has some similarities to the English language. Python is an interpreted, high-level ,general-purpose  and object-oriented programming language. It is free , open source and python has a huge community support. Python is the most  easy language in implementation in AI, Machine learning and data science.&lt;/p&gt;

&lt;h5&gt;
  
  
  Common uses of python –
&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;Machine Learning and Artificial Intelligence&lt;/li&gt;
&lt;li&gt;Internet of things&lt;/li&gt;
&lt;li&gt;Data Science and Data Visualization.&lt;/li&gt;
&lt;li&gt;Desktop GUI&lt;/li&gt;
&lt;li&gt;Web Development&lt;/li&gt;
&lt;li&gt;Game Development&lt;/li&gt;
&lt;li&gt;Business Applications 
&amp;amp; many more..&lt;/li&gt;
&lt;/ul&gt;

&lt;h5&gt;
  
  
  Companies that love ❤️ Python –
&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;Google &lt;/li&gt;
&lt;li&gt;Facebook &lt;/li&gt;
&lt;li&gt;Instagram&lt;/li&gt;
&lt;li&gt;Spotify&lt;/li&gt;
&lt;li&gt;Netflix 
&amp;amp; many more ..&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  #2 JavaScript –
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fms4gn7iyunaccfxzr81t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fms4gn7iyunaccfxzr81t.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
One of the top and most popular  programming  language is JavaScript. Java and JavaScript are exactly opposite just  like a cat has nothing to do with catfish,JavaScript has nothing to do with java. It doesn’t require compilation and is interpreted with object-oriented capabilities. Also, it works with various other programming languages. And this is the reason for its vast use all around the world.&lt;br&gt;
JavaScript use in developing great backend and frontend webapps as well as Native apps using frameworks like React Native, JavaScript allows users to interact with web pages.&lt;/p&gt;

&lt;h5&gt;
  
  
  Common uses of JavaScript–
&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;Adding interactive behavior to web pages&lt;/li&gt;
&lt;li&gt;Creating web and mobile apps&lt;/li&gt;
&lt;li&gt;Building web servers and developing server applications&lt;/li&gt;
&lt;li&gt;Game development&lt;/li&gt;
&lt;li&gt;Flying Robots &amp;amp; many more..&lt;/li&gt;
&lt;/ul&gt;

&lt;h5&gt;
  
  
  Companies that love ❤️ JavaScript–
&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;Microsoft &lt;/li&gt;
&lt;li&gt;Netflix &lt;/li&gt;
&lt;li&gt;PayPal&lt;/li&gt;
&lt;li&gt;Google&lt;/li&gt;
&lt;li&gt;Uber 
&amp;amp; Many more&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  #3 Java –
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fbjcu4hm5cz8gvvm3nvuy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fbjcu4hm5cz8gvvm3nvuy.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;One of the most popular programming language is Java. It is a class-based, object-oriented programming language and is designed to have as few implementation dependencies as possible. A general-purpose programming language made for developers to write once run anywhere that is compiled Java code can run on all platforms that support Java and that’s the region more than 3 billion devices run Java. Java works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc.) It has a huge community support.&lt;/p&gt;

&lt;h5&gt;
  
  
  Common uses of Java–
&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;Android Apps&lt;/li&gt;
&lt;li&gt;Server Apps at the Financial Services Industry&lt;/li&gt;
&lt;li&gt;Java Web applications&lt;/li&gt;
&lt;li&gt;Software Tools&lt;/li&gt;
&lt;li&gt;Embedded Space&lt;/li&gt;
&lt;li&gt;Big Data technologies
&amp;amp; Many more ..&lt;/li&gt;
&lt;/ul&gt;

&lt;h5&gt;
  
  
  Companies that love ❤️ Java–
&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;Google &lt;/li&gt;
&lt;li&gt;Intel&lt;/li&gt;
&lt;li&gt;Netflix&lt;/li&gt;
&lt;li&gt;LinkedIn&lt;/li&gt;
&lt;li&gt;Amazon&lt;/li&gt;
&lt;li&gt;Phillips
&amp;amp; many more..&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  #4 Kotlin –
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fjkp7rlovi9p3d0fzmoz6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fjkp7rlovi9p3d0fzmoz6.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;whenever there is a talk of android app development – the name of ‘Kotlin’ undoubtedly comes first! Though, a huge inclination of developers towards Kotlin is noticed after Google declared it as its preferred language for Android application development. Kotlin is a statically typed general-purpose programming language that supports object-oriented as well as functional programming feature.&lt;/p&gt;

&lt;h5&gt;
  
  
  Common uses of Kotlin–
&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;App development&lt;/li&gt;
&lt;li&gt;Server side &amp;amp; Client side web development &lt;/li&gt;
&lt;li&gt;support for other platforms such as embedded systems, macOS and iOS is coming.&lt;/li&gt;
&lt;/ul&gt;

&lt;h5&gt;
  
  
  Companies that love ❤️ Kotlin–
&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;Google&lt;/li&gt;
&lt;li&gt;Amazon&lt;/li&gt;
&lt;li&gt;Netflix&lt;/li&gt;
&lt;li&gt;Pinterest&lt;/li&gt;
&lt;li&gt;Uber&lt;/li&gt;
&lt;li&gt;Foursquare&lt;/li&gt;
&lt;li&gt;Trello&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  #5 c++ –
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fcgcec4lh18xcng0ajcw4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fcgcec4lh18xcng0ajcw4.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
C ++ one of the most popular programming language in the competitive world as well as development world . C++ is a cross-platform language that can be used to create high-performance applications. C++ was developed by Bjarne Stroustrup, as an extension to the C language. C++ gives programmers a high level of control over system resources and memory.&lt;/p&gt;

&lt;h5&gt;
  
  
  Common uses of C++ –
&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;Games&lt;/li&gt;
&lt;li&gt;GUI Based Applications&lt;/li&gt;
&lt;li&gt;Database Software&lt;/li&gt;
&lt;li&gt;Operating Systems&lt;/li&gt;
&lt;li&gt;Browsers&lt;/li&gt;
&lt;li&gt;Banking Applications&lt;/li&gt;
&lt;li&gt;Cloud/Distributed System&lt;/li&gt;
&lt;li&gt;Embedded Systems
&amp;amp; many more..&lt;/li&gt;
&lt;/ul&gt;

&lt;h5&gt;
  
  
  Companies that love ❤️ C++ –
&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;Apple &lt;/li&gt;
&lt;li&gt;Google &lt;/li&gt;
&lt;li&gt;Maya&lt;/li&gt;
&lt;li&gt;Infosys&lt;/li&gt;
&lt;li&gt;Mozilla Firefox 
&amp;amp; many more ..&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  #6 Go –
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fi89jgqjsxlbrmmmwhq3l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fi89jgqjsxlbrmmmwhq3l.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Go also known as Golang is an open source, compiled and statically typed programming language developed by Google Go is a general-purpose programming language with a simple syntax and is backed by a robust standard library. One of the key areas where Go shines is the creation of highly available and scalable web apps ,command-line applications, desktop apps and even mobile applications.&lt;/p&gt;

&lt;h5&gt;
  
  
  Common uses of Go –
&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;Command line applications&lt;/li&gt;
&lt;li&gt;Desktop apps&lt;/li&gt;
&lt;li&gt;Mobile apps&lt;/li&gt;
&lt;/ul&gt;

&lt;h5&gt;
  
  
  Companies that love ❤️ Go –
&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;Google &lt;/li&gt;
&lt;li&gt;Uber &lt;/li&gt;
&lt;li&gt;Twitch&lt;/li&gt;
&lt;li&gt;Dailymotion
&amp;amp; Many more ..&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  #7 Ruby -
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fgt21y4vmqx7kd56iloug.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fgt21y4vmqx7kd56iloug.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
A dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write. Ruby is a pure Object-Oriented language developed by Yukihiro Matsumoto in the mid 1990’s in Japan. Ruby has similar syntax to that of many programming languages like C and Java, so it is easy for Java and C programmers to learn. It supports mostly all the platforms like Windows, Mac, Linux. frameworks like Ruby on Rails helps developers to build websites and applications, providing structure for all the code they write.&lt;/p&gt;

&lt;h5&gt;
  
  
  Common uses of Ruby–
&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;Web development &lt;/li&gt;
&lt;li&gt;Text processing &lt;/li&gt;
&lt;li&gt;Network programming&lt;/li&gt;
&lt;li&gt;General programming &lt;/li&gt;
&lt;li&gt;GUI applications&lt;/li&gt;
&lt;li&gt;Data analysis
&amp;amp; many more..&lt;/li&gt;
&lt;/ul&gt;

&lt;h5&gt;
  
  
  Companies that love ❤️ Ruby–
&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;GitHub&lt;/li&gt;
&lt;li&gt;Apple &lt;/li&gt;
&lt;li&gt;Twitter&lt;/li&gt;
&lt;li&gt;Airbnb
&amp;amp; many more..&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  #8 C# -
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Ft6zfo1f6fp73n9rperc3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Ft6zfo1f6fp73n9rperc3.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
For the last many years, C# is holding a good position in the list of top programming languages of almost every index. It is an object-oriented programming language created by Microsoft that runs on the .NET Framework. C# is close to other popular languages like C++ and Java. It is easy to learn and simple to use. C# has huge community support.&lt;/p&gt;

&lt;h5&gt;
  
  
  Common uses of C#–
&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;Mobile applications&lt;/li&gt;
&lt;li&gt;Desktop applications&lt;/li&gt;
&lt;li&gt;Web services&lt;/li&gt;
&lt;li&gt;VR&lt;/li&gt;
&lt;li&gt;Games
&amp;amp; many more..&lt;/li&gt;
&lt;/ul&gt;

&lt;h5&gt;
  
  
  Companies that love ❤️ C#–
&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;Microsoft &lt;/li&gt;
&lt;li&gt;Accenture&lt;/li&gt;
&lt;li&gt;Alibaba Travels&lt;/li&gt;
&lt;li&gt;Stack Overflow 
&amp;amp; many more..&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thank you❤️ for reading my blog. Feel free to connect on &lt;a href="https://www.linkedin.com/in/purvesh-shende-a08293170/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt; or &lt;a href="https://twitter.com/purveshshende2" rel="noopener noreferrer"&gt;Twitter&lt;/a&gt; :)&lt;/p&gt;

&lt;p&gt;Images By &lt;a href="https://icons8.com/" rel="noopener noreferrer"&gt;Icons8&lt;/a&gt;&lt;/p&gt;

</description>
      <category>programming</category>
      <category>python</category>
      <category>javascript</category>
      <category>java</category>
    </item>
    <item>
      <title>Git for beginners</title>
      <dc:creator>Purvesh Shende</dc:creator>
      <pubDate>Wed, 13 Jan 2021 19:35:00 +0000</pubDate>
      <link>https://forem.com/purveshshende2/git-for-beginners-3il6</link>
      <guid>https://forem.com/purveshshende2/git-for-beginners-3il6</guid>
      <description>&lt;p&gt;Welcome to Git for beginners blog, Hope you are doing well and staying home and staying safe, Here  is git cli blog&lt;br&gt;
So ,&lt;br&gt;
&lt;strong&gt;what is git -&lt;/strong&gt;&lt;br&gt;
Git is distributed version control system for tracking changes in source code during Software development . It is designed for coordinating work among programmers ,but it can be used to track changes in any set of file. Its goals include speed, data integrity ,and support for distributed non linear workflows.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How to install Git&lt;/strong&gt;&lt;br&gt;
Go to the Git &lt;a href="https://git-scm.com/"&gt;Website&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Getting started -&lt;/strong&gt;&lt;/p&gt;
&lt;h5&gt;
  
  
  What is a git repository
&lt;/h5&gt;

&lt;p&gt;This is a folder inside your project where git tracks all the changes made in the files and build a history reference over time. In your project the git repository folder you will see a .git folder.&lt;/p&gt;
&lt;h5&gt;
  
  
  Basic Commands –
&lt;/h5&gt;

&lt;p&gt;To create a folder : mkdir Hello&lt;br&gt;
To create a file: touch index.html style.css &lt;br&gt;
To delete a file : rm index.html&lt;br&gt;
To see inside a folder : ls (Ls)/ dir&lt;br&gt;
To move up a folder : cd ..&lt;br&gt;
To delete a folder : rmdir Hello&lt;br&gt;
To go in any folder : cd &lt;/p&gt;

&lt;p&gt;To get started with Git, go to your terminal and run the following command in your project directory.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Git config-&lt;/strong&gt;&lt;br&gt;
    To set your user name and email in the main configuration file.&lt;/p&gt;
&lt;h6&gt;
  
  
  Command –
&lt;/h6&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git config –global user.name “robin”
git config –global user.email “robin@example.com”
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;Git init –&lt;/strong&gt;&lt;br&gt;
To initialise a git repository for a new or existing project.&lt;br&gt;
Get into root directory and type following command.&lt;/p&gt;
&lt;h6&gt;
  
  
  Command –
&lt;/h6&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    git init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;Git Clone-&lt;/strong&gt;&lt;br&gt;
Git clone is a git command line utility which used to target an existing repository and create a clone , or copy of that target repository , also sets the remote to original source so that you can pull again.&lt;/p&gt;
&lt;h6&gt;
  
  
  Command-
&lt;/h6&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git clone &amp;lt;git url to clone&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;Git status-&lt;/strong&gt;&lt;br&gt;
To check the status of files you’ve changed in your working directory &lt;/p&gt;
&lt;h6&gt;
  
  
  Command:
&lt;/h6&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git status
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;Git add-&lt;/strong&gt;&lt;br&gt;
To add changes to your working directory so that git can index those files.&lt;/p&gt;
&lt;h6&gt;
  
  
  Command –
&lt;/h6&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git add . 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;To add all changed files to git or&lt;br&gt;
Just type “git add filename”&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Git Commit-&lt;/strong&gt;&lt;br&gt;
This command is use for to commit changes you have made and sets it to new commit object for your remote&lt;/p&gt;
&lt;h6&gt;
  
  
  Command –
&lt;/h6&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git commit -m”your message”
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;Git Pull / Push-&lt;/strong&gt;&lt;br&gt;
This command is use for push or pull your changes to remote . If you have added and committed your changes and you want to push them and if your remote has updated and you want those latest changes.&lt;/p&gt;
&lt;h6&gt;
  
  
  Command –
&lt;/h6&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git pull&amp;lt;remote&amp;gt;&amp;lt;branch&amp;gt; and 
git push&amp;lt;remote&amp;gt;&amp;lt;branch&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;Git Branch –&lt;/strong&gt;&lt;br&gt;
It will list out all of the branches&lt;/p&gt;
&lt;h6&gt;
  
  
  Command –
&lt;/h6&gt;



&lt;p&gt;&lt;code&gt;git branch&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
 or&lt;br&gt;
&lt;br&gt;
 &lt;code&gt;git branch -a&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
 to list remote branches as well.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Git checkout –&lt;/strong&gt;&lt;br&gt;
To switch between different branches.&lt;/p&gt;
&lt;h6&gt;
  
  
  Command –
&lt;/h6&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git checkout &amp;lt;branch name&amp;gt; or
git checkout -b&amp;lt;branch name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;Git Stash –&lt;/strong&gt;&lt;br&gt;
To save changes that you don’t want to commit immediately.&lt;/p&gt;
&lt;h6&gt;
  
  
  Command –
&lt;/h6&gt;



&lt;p&gt;&lt;code&gt;git stash&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
 or&lt;br&gt;
&lt;br&gt;
 &lt;code&gt;git stash apply&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
 in your working directory.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Git merge–&lt;/strong&gt;&lt;br&gt;
To merge two branches you are working &lt;/p&gt;
&lt;h6&gt;
  
  
  Command –
&lt;/h6&gt;

&lt;p&gt;First checkout the branch into which you want to merge other branch and then type&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git merge &amp;lt;name_other_branch&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Git logs–&lt;/strong&gt;&lt;br&gt;
This will list all of the commits you have made into working directory this shows the history of commits with their ids and information.&lt;/p&gt;

&lt;h6&gt;
  
  
  Command –
&lt;/h6&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git logs
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Git Revert–&lt;/strong&gt; &lt;br&gt;
To revert the changes to last commit.&lt;/p&gt;

&lt;h6&gt;
  
  
  Command –
&lt;/h6&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git revert&amp;lt;commit-id&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Git Remote–&lt;/strong&gt;&lt;br&gt;
To check what remote/ source you have or you want to add a new remote&lt;/p&gt;

&lt;h6&gt;
  
  
  Command –
&lt;/h6&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git remote and git remote add &amp;lt;remote_url&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Thank you for reading my blog. Feel free to connect on &lt;a href="https://www.linkedin.com/in/purvesh-shende-a08293170/"&gt;LinkedIn&lt;/a&gt; or &lt;a href="https://twitter.com/purveshshende2"&gt;Twitter&lt;/a&gt; :)&lt;/p&gt;

</description>
      <category>git</category>
      <category>beginners</category>
      <category>programming</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
