<?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>DEV Community: Hema J S 24MCR033</title>
    <description>The latest articles on DEV Community by Hema J S 24MCR033 (@hema_js24mcr033).</description>
    <link>https://dev.to/hema_js24mcr033</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3080581%2Ffb2a90c3-e478-435d-a06b-84b208692b56.png</url>
      <title>DEV Community: Hema J S 24MCR033</title>
      <link>https://dev.to/hema_js24mcr033</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hema_js24mcr033"/>
    <language>en</language>
    <item>
      <title>Docker</title>
      <dc:creator>Hema J S 24MCR033</dc:creator>
      <pubDate>Fri, 25 Apr 2025 17:12:51 +0000</pubDate>
      <link>https://dev.to/hema_js24mcr033/docker-1hn8</link>
      <guid>https://dev.to/hema_js24mcr033/docker-1hn8</guid>
      <description>&lt;h2&gt;
  
  
  🐳 Docker Image Creation and Pushing to Docker Hub
&lt;/h2&gt;

&lt;p&gt;This document explains how to create a Docker image from your project and push it to Docker Hub.&lt;/p&gt;




&lt;h3&gt;
  
  
  🛠 Step 1: Create a Dockerfile
&lt;/h3&gt;

&lt;p&gt;Place a &lt;code&gt;Dockerfile&lt;/code&gt; in the root of your project directory.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight docker"&gt;&lt;code&gt;&lt;span class="k"&gt;FROM&lt;/span&gt;&lt;span class="s"&gt; python:3.11-slim&lt;/span&gt;
&lt;span class="k"&gt;RUN &lt;/span&gt;pip &lt;span class="nb"&gt;install &lt;/span&gt;pandas scikit-learn matplotlib
&lt;span class="k"&gt;COPY&lt;/span&gt;&lt;span class="s"&gt; . .&lt;/span&gt;
&lt;span class="k"&gt;CMD&lt;/span&gt;&lt;span class="s"&gt; ["python","hello_world_ml.py"]&lt;/span&gt;

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

&lt;/div&gt;



&lt;h3&gt;
  
  
  🏗️ Step 2: Build the Docker Image
&lt;/h3&gt;

&lt;p&gt;Use the command below to build the image from the Dockerfile.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker build &lt;span class="nt"&gt;-t&lt;/span&gt; your-dockerhub-username/image-name:tag &lt;span class="nb"&gt;.&lt;/span&gt;

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

&lt;/div&gt;



&lt;h3&gt;
  
  
  🚀 Step 3: Push Image to Docker Hub
&lt;/h3&gt;

&lt;p&gt;After building the image, push it to Docker Hub using:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker push your-dockerhub-username/image-name:tag

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

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk33229h6lxjplrh9h3yl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk33229h6lxjplrh9h3yl.png" alt="Dockerfile Example for Spring Boot" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpp2uukxwbr99pa9dvlis.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpp2uukxwbr99pa9dvlis.png" alt="Login to Docker Hub" width="800" height="409"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1qt6fjvmdbe3h6h83402.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1qt6fjvmdbe3h6h83402.png" alt="Pushing Image to Docker Hub" width="800" height="407"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Git Advance Commands</title>
      <dc:creator>Hema J S 24MCR033</dc:creator>
      <pubDate>Fri, 25 Apr 2025 17:04:52 +0000</pubDate>
      <link>https://dev.to/hema_js24mcr033/git-advance-commands-3ao1</link>
      <guid>https://dev.to/hema_js24mcr033/git-advance-commands-3ao1</guid>
      <description>&lt;p&gt;Git is a version control system that helps track code changes, manage versions, and enable collaboration among developers. GitHub is an online platform that hosts Git repositories, allowing you to store code in the cloud and collaborate with others.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Command&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;git diff&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Shows the difference between modified files and the last committed version.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;git log&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Displays a list of all commits made in the repository’s history.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;git clone&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Creates a local copy of a remote Git repository.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;git pull&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Fetches and merges changes from a remote repository into your current branch.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;git push&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Uploads your local commits to a remote repository.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;git blame&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Shows who made each line change in a file and when.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;git merge conflict&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Occurs when Git can't automatically merge changes; requires manual fix.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;git branch&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Lists, creates, or deletes branches in the repository.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbqwqv8qyp26qawc9ce9l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbqwqv8qyp26qawc9ce9l.png" alt="Screenshot showing git log output in the terminal with commit hashes and messages" width="800" height="418"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frn4ydl2yvtu8uqgjd0uu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frn4ydl2yvtu8uqgjd0uu.png" alt="Git clone command used in terminal to copy a remote repository" width="800" height="409"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0co8jre2yu2o7n0d64fo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0co8jre2yu2o7n0d64fo.png" alt="Example of git blame output showing author and line-by-line commit info" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>git/github Commands</title>
      <dc:creator>Hema J S 24MCR033</dc:creator>
      <pubDate>Wed, 23 Apr 2025 18:00:41 +0000</pubDate>
      <link>https://dev.to/hema_js24mcr033/gitgithub-commands-5195</link>
      <guid>https://dev.to/hema_js24mcr033/gitgithub-commands-5195</guid>
      <description>&lt;p&gt;Git is a version control system that helps track code changes, manage versions, and enable collaboration among developers. GitHub is an online platform that hosts Git repositories, allowing you to store code in the cloud and collaborate with others.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;code&gt;git init&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Initializes a new Git repository in your current project directory.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;code&gt;git add&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Stages changes (files) to be committed to the repository.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;code&gt;git commit&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Commits the staged changes with a message to the local repository.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;code&gt;git push&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Pushes local commits to a remote repository (e.g., GitHub).&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;code&gt;git status&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Displays the state of the working directory and staging area.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;code&gt;git log&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Shows the commit history of the repository.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;code&gt;git branch&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Lists all branches or creates a new branch.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;code&gt;git branch -M&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Renames a branch, forcing the rename if necessary.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;code&gt;git config username&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Sets the Git username for commit authorship.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;code&gt;git config email&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Sets the Git email address for commit authorship.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;code&gt;git remote add origin&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Links your local repository to a remote repository.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fziktpqwkjnw7p56kho5i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fziktpqwkjnw7p56kho5i.png" alt="Screenshot of the cloud deployment architecture showing multiple regions and zones" width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwto78n75vmg1q6cr9bc4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwto78n75vmg1q6cr9bc4.png" alt="Diagram illustrating the virtual machine lifecycle in a cloud environment" width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbc8op33t68z85p7ujqpq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbc8op33t68z85p7ujqpq.png" alt="Flowchart showing the process of scaling cloud resources based on traffic demand" width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3ejyjxgz03t8kh4dilt1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3ejyjxgz03t8kh4dilt1.png" alt="Chart comparing cloud service providers on cost, scalability, and performance" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
