<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Blog on Everyone Has a Story</title><link>https://bhaveshsgupta.com/tags/blog/</link><description>Recent content in Blog on Everyone Has a Story</description><generator>Hugo</generator><language>en-us</language><managingEditor>BhaveshSGupta@disroot.org (Bhavesh S. Gupta)</managingEditor><webMaster>BhaveshSGupta@disroot.org (Bhavesh S. Gupta)</webMaster><lastBuildDate>Sun, 06 Sep 2026 09:08:41 +0530</lastBuildDate><atom:link href="https://bhaveshsgupta.com/tags/blog/index.xml" rel="self" type="application/rss+xml"/><item><title>More information about git log command</title><link>https://bhaveshsgupta.com/blog/more-information-about-git-log-command/</link><pubDate>Mon, 22 Jul 2019 21:59:52 +0530</pubDate><author>BhaveshSGupta@disroot.org (Bhavesh S. Gupta)</author><guid>https://bhaveshsgupta.com/blog/more-information-about-git-log-command/</guid><description>&lt;p&gt;As part of home task part 2, we were asked to read about git log command. So this blog post is dedicated to that. To get more info about git log command I had gone through Git pro book available at &#10;&lt;a href="https://git-scm.com/book/en/v2/" target="_blank" rel="noopener noreferrer"&gt;https://git-scm.com/book/en/v2/&lt;/a&gt;&#10;. From this book I had followed chapter &#10;&lt;a href="https://git-scm.com/book/en/v2/Git-Basics-Viewing-the-Commit-History" target="_blank" rel="noopener noreferrer"&gt;https://git-scm.com/book/en/v2/Git-Basics-Viewing-the-Commit-History&lt;/a&gt;&#10; to study more about git log command.&lt;/p&gt;&#10;&lt;p&gt;When &lt;code&gt;git log&lt;/code&gt; is used without any argument, it displays all previous commits in reverse chronological order.&lt;/p&gt;</description></item><item><title>Introduction to Git and seven rules of great Git Commit Message</title><link>https://bhaveshsgupta.com/blog/introduction-to-git-and-seven-rules-of-a-great-git-commit-message/</link><pubDate>Mon, 22 Jul 2019 12:12:00 +0530</pubDate><author>BhaveshSGupta@disroot.org (Bhavesh S. Gupta)</author><guid>https://bhaveshsgupta.com/blog/introduction-to-git-and-seven-rules-of-a-great-git-commit-message/</guid><description>&lt;p&gt;As part of summer training at #dgplug, Sayan took our basics to Git session. We were introduced to basics of VCS(Version Control System), need to use a VCS and introduction to Git.&lt;/p&gt;&#10;&lt;p&gt;These were some of commands we learn during the session conducted over the course of two days,&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;git init is used initialize Git repository&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;$ git init&#10;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#10;&lt;li&gt;git config to used to configure various Git configuration using below command one can configure their Name and Email globally for Git.&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;$ git config --global user.name &amp;#34;&amp;lt;Name&amp;gt;&amp;#34;&#10;$ git config --global user.email &amp;#34;&amp;lt;email&amp;gt;&amp;#34;&#10;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#10;&lt;li&gt;git add is used to add files to stage area in Git.&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;$ git add helloworld.txt&#10;$ git add .&#10;$ git add -u&#10;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#10;&lt;li&gt;git status to see status of you Git repository. Whether there are changes that are still not added to stage or there are changes which are added to stage but not committed.&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;$ git status&#10;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#10;&lt;li&gt;git commit is used to commit your files from stage.&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;$ git commit -m &amp;#34;Snapshot 2&amp;#34;&#10;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#10;&lt;li&gt;git diff is used to difference between current state and previous state.&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;$ git diff&#10;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#10;&lt;li&gt;git log is used to get commit logs.&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;$ git log&#10;$ git log -2&#10;$ git log -p -2&#10;$ git log --stat&#10;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;As part of home task we were asked to read &#10;&lt;a href="https://chris.beams.io/posts/git-commit/" target="_blank" rel="noopener noreferrer"&gt;https://chris.beams.io/posts/git-commit/&lt;/a&gt;&#10;, which explains How to write a Git commit message.&lt;/p&gt;</description></item><item><title>Birthday Week 2019</title><link>https://bhaveshsgupta.com/blog/birthday-week-2019/</link><pubDate>Thu, 23 May 2019 19:30:00 +0000</pubDate><author>BhaveshSGupta@disroot.org (Bhavesh S. Gupta)</author><guid>https://bhaveshsgupta.com/blog/birthday-week-2019/</guid><description>&lt;p&gt;So another Birthday gone as-usual. Although I am not a big celebrator expect last where we had a trip to Rishikesh on my birthday PS: I am yet to write that post.&lt;/p&gt;&#10;&lt;p&gt;My celebration to birthday most part has only dinner with family. We go to a fancy hotel have some food and come back. Its almost like this has become a tradition to celebrate birthday this way.&lt;/p&gt;&#10;&lt;p&gt;This post was to be published on 19th May, instead I am writing now because of my laziness I don&amp;rsquo;t often write due to fear of writing or fear of making mistakes while write. Although I plan to write and read more. :)&lt;/p&gt;</description></item><item><title>Reading Habit</title><link>https://bhaveshsgupta.com/blog/reading-habit/</link><pubDate>Sat, 04 Aug 2018 03:58:11 +0530</pubDate><author>BhaveshSGupta@disroot.org (Bhavesh S. Gupta)</author><guid>https://bhaveshsgupta.com/blog/reading-habit/</guid><description>&lt;p&gt;I am trying to develop the habit of reading. Recently while going through #dgplug summer training, there have been discussion about having a habit to read. You write 1/10th part of what you read. Reading and writing both is considered to be one of the most important part of engineer.&lt;/p&gt;&#10;&lt;p&gt;So trying to follow above I started reading books still non-technical but as a first step I did start. I do a lot of technical reading, but I never write about it so one of the task is to start writing about technical readings be it github projects I am going to try to write about it. May be my writing speed gets better with time.&lt;/p&gt;</description></item><item><title>The Man Who Stole My Laptop's Ferrari</title><link>https://bhaveshsgupta.com/blog/the-man-who-stole-my-laptops-ferrari/</link><pubDate>Sun, 29 Jul 2018 01:24:50 +0530</pubDate><author>BhaveshSGupta@disroot.org (Bhavesh S. Gupta)</author><guid>https://bhaveshsgupta.com/blog/the-man-who-stole-my-laptops-ferrari/</guid><description>&lt;p&gt;So, the story goes back to 2014-2015 maybe I don&amp;rsquo;t remember exactly when my laptop stopped working on later finding it was discovered the issue was with my onboard graphics card. A brief history I had a Sony Vaio laptop with AND Radeon graphics card on it. So, it was found that it was my graphics card which is creating issue. So, I took it to many people to check what can be done this that. Everyone was like your laptop won’t work or you need to do this and that. So, a friend of mine had a friend who was into laptop/computer&amp;rsquo;s business or something of that sort. So, he said let’s talk with him after inspecting he said it would cost around 6k, and it would be done. I was happy, I was not knowing much about hardware back then (although it says same even today but I know bit more). So, I gave him my laptop to get repaired.&lt;/p&gt;</description></item><item><title>Javascript uses utf16 and Html utf8, then how things work together?</title><link>https://bhaveshsgupta.com/blog/javascript-utf16-and-html-utf8-how-things-work-together/</link><pubDate>Tue, 17 Jul 2018 05:45:40 +0530</pubDate><author>BhaveshSGupta@disroot.org (Bhavesh S. Gupta)</author><guid>https://bhaveshsgupta.com/blog/javascript-utf16-and-html-utf8-how-things-work-together/</guid><description>&lt;p&gt;This was part of one the discussion of dgplug discussion, that javascript uses utf-16 and html we usually use utf-8 as character encoding then how things work out.&lt;/p&gt;&#10;&lt;p&gt;This was quite interesting on how things work around because of this. So I was reading around to find answers for the above question and I landed upon &#10;&lt;a href="https://stackoverflow.com/questions/12114477/how-do-i-correctly-insert-unicode-in-an-html-title-using-javascript/12114520#12114520" target="_blank" rel="noopener noreferrer"&gt;this&lt;/a&gt;&#10;. And this text from the answer in the link helps understand how things work. &amp;ldquo;JavaScript string constants are parsed by the JavaScript parser. Text inside HTML tags is parsed by the HTML parser. The two languages (and, by extension, their parsers) are different, and in particular they have different ways of representing characters by character code.&amp;rdquo; Basically they won&amp;rsquo;t have issue with different character encoding as they would render same character. More over javascript parser would parse the character into the html when you use innerHTML method.&lt;/p&gt;</description></item><item><title>Update 17 Jul 18</title><link>https://bhaveshsgupta.com/blog/update-17-jul-18/</link><pubDate>Tue, 17 Jul 2018 05:03:32 +0530</pubDate><author>BhaveshSGupta@disroot.org (Bhavesh S. Gupta)</author><guid>https://bhaveshsgupta.com/blog/update-17-jul-18/</guid><description>&lt;p&gt;This update post was actually created on 10th july, But as usual due to some x reason it is not yet complete. There are several things which are running into my life right now out of them on is to update this blog on regular bases to get align with things.&lt;/p&gt;&#10;&lt;h2 id="pending-posts"&gt;Pending Posts&lt;/h2&gt;&#10;&lt;p&gt;This blog came to life again due to dgplug summer training where we were taught to write blog post about things you are doing or learning(PS: I am yet to read logs to that class :p).&lt;/p&gt;</description></item><item><title>dgplug Start 2</title><link>https://bhaveshsgupta.com/blog/dgplug-start-2/</link><pubDate>Mon, 16 Jul 2018 22:30:28 +0000</pubDate><author>BhaveshSGupta@disroot.org (Bhavesh S. Gupta)</author><guid>https://bhaveshsgupta.com/blog/dgplug-start-2/</guid><description>&lt;p&gt;So Last year in some Facebook group or somewhere I read about summer training offered by dgplug on IRC chat. I had heard about IRC chat before and had tried to use it once or twice but never tried to use it or understand it.&lt;/p&gt;&#10;&lt;p&gt;Technically summer trainings are usually for college students but during my college time I was too busy being in and around Microsoft Student Partner that I didn&amp;rsquo;t knew about many things around. More about dgplug – Linux User’s Group of Durgapur. An inside how awesome is internet, if you want to travel to Durgapur from Gandhidham(my place) it is 2160 km. This is year training started on 17 Jun and today its already 17 July, I am always late :-D.&lt;/p&gt;</description></item><item><title>Static file blog using web based CMS</title><link>https://bhaveshsgupta.com/blog/static-file-blog-with-web-based-cms/</link><pubDate>Tue, 10 Jul 2018 12:44:32 +0530</pubDate><author>BhaveshSGupta@disroot.org (Bhavesh S. Gupta)</author><guid>https://bhaveshsgupta.com/blog/static-file-blog-with-web-based-cms/</guid><description>&lt;p&gt;So a few days back I was working on a solution so that I could keep that blog updated. As this is a not-self deployable blog I actually need to deploy changes. Somebody would say instead of taking so much efforts to deploy a single post you could have set up a WordPress blog which has an awesome app to add post, n number of themes, plugins, etc. But I feel I like it this way. The geeky way of maintaining a blog :D. I was working on to find something which could help me update my blog from cell phone. For that I was able to install git on my cellphone (SU access). First how this blog actually works so there are two repository using which this blog works. One is the content management part where the content stays, theme stays and other things. And there is another repo on which there whole hugo generated HTML stays which is present on github.&lt;/p&gt;</description></item><item><title>Finally HTTPS</title><link>https://bhaveshsgupta.com/blog/finally-https/</link><pubDate>Fri, 04 May 2018 02:22:55 +0530</pubDate><author>BhaveshSGupta@disroot.org (Bhavesh S. Gupta)</author><guid>https://bhaveshsgupta.com/blog/finally-https/</guid><description>&lt;p&gt;Well, GitHub started providing HTTPS even for custom domain, So I had to enable that plus there were some internal changes which were required. Which I had done. Its been almost two years since I have bought this domain But I have been away from blogging. I had setup this a good time ago using Hugo and a cactus theme still have been struck the same place not able to write what I want or I should say not able to give to write what I want.&lt;/p&gt;</description></item><item><title>First Post</title><link>https://bhaveshsgupta.com/blog/first-post/</link><pubDate>Sun, 25 Jun 2017 12:00:00 +0530</pubDate><author>BhaveshSGupta@disroot.org (Bhavesh S. Gupta)</author><guid>https://bhaveshsgupta.com/blog/first-post/</guid><description>&lt;p&gt;So finally blog is up again I have thinking to making this up long time and finally I have yay. Well I did purchase the domain in last august, I am using hugo static site generator and currently I am using customized version of cocoa-eh theme. What I like about this theme is its very simple, plain, I don&amp;rsquo;t like more fancy stuff and I could customize it as per requirement. Although I need to work a lot on this to make it more awesome and release cooca-eh-eh :-D (You never know).&lt;/p&gt;</description></item></channel></rss>