<?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: sridhar02</title>
    <description>The latest articles on DEV Community by sridhar02 (@sridhar02).</description>
    <link>https://dev.to/sridhar02</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%2F169321%2F7b1dc14d-6be9-4a50-8cd5-7a9040fedee7.jpg</url>
      <title>DEV Community: sridhar02</title>
      <link>https://dev.to/sridhar02</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sridhar02"/>
    <language>en</language>
    <item>
      <title>My 2023: A Year of Challenges and Triumphs</title>
      <dc:creator>sridhar02</dc:creator>
      <pubDate>Tue, 02 Jan 2024 19:24:16 +0000</pubDate>
      <link>https://dev.to/sridhar02/my-2023-a-year-of-challenges-and-triumphs-2id5</link>
      <guid>https://dev.to/sridhar02/my-2023-a-year-of-challenges-and-triumphs-2id5</guid>
      <description>&lt;p&gt;2023 has been a rollercoaster ride for me. I faced a layoff early in the year from my last company, Hootboard, but bounced back and joined Amazon. Even though it is a contract role, it was the best decision I made. I traveled to the React Nexus conference with Zubair in July and after the conference trekked to Skandagiri Hills. Completing the trek was challenging, but with persistence and the help of others, I succeeded. I also visited Anthargiri Hills in September with Nomadic Gurukul, which was a fantastic experience.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0Rtl49w4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4b1qrr0864y76cwb5cgw.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0Rtl49w4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4b1qrr0864y76cwb5cgw.jpg" alt="Photo collage" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Work:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Experienced a layoff in February from Hootboard.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Joined Amazon MiniTV in April.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Worked on a large codebase at Amazon, improving SEO performance by correcting headers, meta descriptions, and adding footer links.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Also learned HTTP status redirections 301 &amp;amp; 302.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Also learned how server-driven UI will make your app load faster &amp;amp; configure every section from the backend.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Key learnings at Amazon:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The importance of thorough code documentation.&lt;/li&gt;
&lt;li&gt;The a need for well-structured documentation when proposing ideas to the team, including a comparative analysis of libraries, along with their advantages, drawbacks, and recommended approaches.&lt;/li&gt;
&lt;li&gt;The significance of writing effective Product Requirement Documents (PRDs).&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Outside Work:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Initially felt discouraged after the layoff, grappling with doubt fullness. However, in hindsight, it was the best thing that happened to me this year, considering the accomplishments I achieved thereafter.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Attended the React Nexus conference in July with Zubair &amp;amp; met great people at the conference.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Successfully trekked Skandagiri Hills. Although challenging due to my fitness level, I was supported by trek friends to the top. This was my second trek, following a previous one to Kudurumuka with another friend Nava in 2022.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Met many incredible people at React Nexus, including Vivek from ARC Browser &amp;amp; Tejas.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Purchased an M1 MacBook and an iPhone for personal use.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Learned swimming during the summer.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Also did an aerial yoga workshop along with my brother, hopefully, next year want to try scuba driving in Andaman or some other place.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Attended numerous meetups in Hyderabad. Notable ones include Web, Cloud &amp;amp; Go Multi-Track DevDays at IIIT Hyderabad, AI &amp;amp; ML Multi-Track event at ServiceNow, and a Temporal meetup at Microsoft.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I also wanted to write my experiences of meetups &amp;amp; conferences, I will try to do it after this blog. &lt;em&gt;If you have read till the end, consider writing your own retrospective and sharing it&lt;/em&gt;  &lt;/p&gt;

&lt;p&gt;Some more year in reviews you may like to read &amp;amp; which inspired me to write my own&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://una.im/2023-in-review/"&gt;https://una.im/2023-in-review/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://una.im/2023-in-review/"&gt;https://addyo.substack.com/p/23-lessons-in-2023&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://una.im/2023-in-review/"&gt;https://blog.cassidoo.co/post/bye-bye-2023/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://blog.vramana.com/posts/2023_retrospective/"&gt;https://blog.vramana.com/posts/2023_retrospective/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://una.im/2023-in-review/"&gt;https://duttakapil.com/posts/year-in-review-2023&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>yearinreview</category>
      <category>career</category>
      <category>learning</category>
    </item>
    <item>
      <title>Cracking the Code: My Senior Software Engineer Interview Experience at Codecademy</title>
      <dc:creator>sridhar02</dc:creator>
      <pubDate>Mon, 16 Oct 2023 19:18:18 +0000</pubDate>
      <link>https://dev.to/sridhar02/cracking-the-code-my-senior-software-engineer-interview-experience-at-codecademy-38f0</link>
      <guid>https://dev.to/sridhar02/cracking-the-code-my-senior-software-engineer-interview-experience-at-codecademy-38f0</guid>
      <description>&lt;p&gt;This is my interview experience at Codecademy, I want this to be a guide for others that could help others ace their interviews at product companies.&lt;/p&gt;

&lt;h2&gt;
  
  
  Company Info
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Website:&lt;/strong&gt; &lt;a href="https://www.codecademy.com/"&gt;https://www.codecademy.com/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Location:&lt;/strong&gt; Remote&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Process for Role:&lt;/strong&gt; Senior Software Engineer - Labs&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Job Role Link:&lt;/strong&gt; &lt;a href="https://www.codecademy.com/about/job/4278254005"&gt;https://www.codecademy.com/about/job/4278254005&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Status:&lt;/strong&gt; Not Selected&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Interview Process Summary
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Rounds&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Scripted Questions?&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Typical DS and Algo Questions?&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Live Coding?&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Asked Current CTC?&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Rounds Description
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Codecademy Recruiter Screen:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In this round, you will converse with the Hiring Recruiter. You will be asked about yourself, your current place of employment, your reasons for seeking a new opportunity, your current CTC, and your expected CTC. The recruiter will then provide further details about the role for which you have applied.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2.Hiring manager Screen:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In this round, you will speak with the technical hiring manager about the role. You will need to discuss your past work experiences, highlight specific projects, and describe what you are seeking in your next position.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3.Frontend Take Home Assignment:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In this round, you will receive a CodeSandbox link containing a &lt;a href="http://readme.md"&gt;&lt;code&gt;readme.md&lt;/code&gt;&lt;/a&gt; file with instructions for the front-end coding exercise, which will be closely related to a business use case. You will have 5 to 6 days to submit your solution. If you require additional time, you may request an extension.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4.Backend Coding Exercise:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In this round, you will be tested on your backend knowledge, specifically concerning HTTP request/response dynamics and other core backend-related topics. This round will primarily focus on real use cases that arise in Codecademy. Concentrate more on backend basics concepts don't think too complex. Please try to complete the coding before the time limit.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5.Take Home Assignment Review:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In this round, you will provide an outline of the code you wrote for the take-home assignment. Following that, you will be asked about potential improvements in your solution, possible UI enhancements, and data flow optimizations. Additionally, you will face some questions based on the specifics of the project.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6.Frontend Design &amp;amp; Architecture:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In this round, you will be asked to use Excalidraw to examine various UI screens from Codecademy. Dive deep into each screen to identify common components, local states, API call request/response structures, and server-side states. Endeavor to explore in detail. In excalidraw mark common components &amp;amp; write the json responses as much as possible. Ask as many questions as necessary to thoroughly understand the requirements for the UI.&lt;/p&gt;

&lt;p&gt;Failed in this Round.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;7.Hiring Manager Interview:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In this round, you will be asked about the company's core values, which include teamwork, feedback, transparency, and evolution. Please focus primarily on the &lt;a href="https://codecademy.github.io/engineering-competencies/"&gt;Engineering Values matrix&lt;/a&gt;. Additionally, reflect on your past work, especially instances where you took the initiative to improve the codebase or user experiences. Discuss how you managed deadlines and how you overcame challenges faced while implementing new features.&lt;/p&gt;

&lt;h2&gt;
  
  
  Overall Experience
&lt;/h2&gt;

&lt;p&gt;I had a very good Interview experience at Codecademy, recruiter was very kind and assisted in answering all the questions I had before the interview. They also clarified what was expected of me in each round. The coding questions asked ranged from easy to moderate, and each interview focused on business use cases. If you have a strong foundation in the fundamentals of JavaScript and React, you should be able to tackle them with ease.&lt;/p&gt;

&lt;h2&gt;
  
  
  Resources/Tips
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=BjXyGgrYNQA"&gt;A similar interview process by Codecademy recruiter&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Make sure you try to give your best in each &amp;amp; every round possible.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I would like to tell people to start sharing their interview experiences to order using these platforms so that it would help others to ace their interviews. If you want some kind of template to document this then use this &lt;a href="https://github.com/kamleshchandnani/awesome-interview-processes/blob/master/src/template.mdx"&gt;template&lt;/a&gt; &amp;amp; refer to this &lt;a href="https://github.com/kamleshchandnani/awesome-interview-processes"&gt;awesome-interview-experinces-repo&lt;/a&gt;. For blog cover credits go to &lt;a href="https://coverview.vercel.app"&gt;Coverview&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;If you need more info regarding this article or anything related to tech or software engineering in general, drop a comment here or you can message me here &lt;a href="https://twitter.com/ksridhar02"&gt;ksridhar02&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>interview</category>
      <category>development</category>
      <category>developer</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>What is clamp function in CSS?</title>
      <dc:creator>sridhar02</dc:creator>
      <pubDate>Thu, 15 Oct 2020 07:29:03 +0000</pubDate>
      <link>https://dev.to/sridhar02/what-is-clamp-function-in-css-7bg</link>
      <guid>https://dev.to/sridhar02/what-is-clamp-function-in-css-7bg</guid>
      <description>&lt;p&gt;Hi everyone, today I going to explain the importance of an inbuilt CSS function called &lt;code&gt;clamp()&lt;/code&gt; which can be used most of the time in building responsive web pages without the need of media queries.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is a clamp function?
&lt;/h3&gt;

&lt;p&gt;The &lt;code&gt;clamp()&lt;/code&gt; CSS function clamps a value between an upper and lower bound. clamp() enables selecting a middle value within a range of values between a defined minimum and maximum. &lt;/p&gt;

&lt;p&gt;While it’s a related idea to min() and max() it is different in specific ways:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Order matters&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It only takes 3 parameters&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Those 3 parameters are&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;1.The minimum&lt;/p&gt;

&lt;p&gt;2.The target value (ideally a relative unit)&lt;/p&gt;

&lt;p&gt;3.The maximum&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;General syntax for clamp &lt;code&gt;clamp(MIN,VAL,MAX)&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;clamp()&lt;/code&gt; can be used for any of the following data types:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/CSS/length"&gt;&lt;code&gt;&amp;lt;length&amp;gt;&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/CSS/frequency"&gt;&lt;code&gt;&amp;lt;frequency&amp;gt;&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/CSS/angle"&gt;&lt;code&gt;&amp;lt;angel&amp;gt;&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/CSS/time"&gt;&lt;code&gt;&amp;lt;time&amp;gt;&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/CSS/percentage"&gt;&lt;code&gt;&amp;lt;percentage&amp;gt;&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/CSS/number"&gt;&lt;code&gt;&amp;lt;number&amp;gt;&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/CSS/integer"&gt;&lt;code&gt;&amp;lt;integer&amp;gt;&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Clamp function in action:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Font size control using a &lt;code&gt;clamp()&lt;/code&gt; with using a single media query&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/sridhar-katta/embed/NWrxvXo?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;Clamp()&lt;/code&gt; for controlling Image width&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/sridhar-katta/embed/gOMPxro?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Resources:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/CSS/clamp"&gt;Mozilla Docs&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;If you have any doubts related to this article or anything related to tech or software-engineering in general, drop a comment here or you can message me on twitter &lt;a href="https://twitter.com/ksridhar02"&gt;@ksridhar02&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>css</category>
      <category>html</category>
      <category>webdev</category>
    </item>
    <item>
      <title>What is Mixed content block and how can we create a proxy server?</title>
      <dc:creator>sridhar02</dc:creator>
      <pubDate>Fri, 18 Sep 2020 19:53:27 +0000</pubDate>
      <link>https://dev.to/sridhar02/what-is-mixed-content-block-and-how-can-we-create-a-proxy-server-4805</link>
      <guid>https://dev.to/sridhar02/what-is-mixed-content-block-and-how-can-we-create-a-proxy-server-4805</guid>
      <description>&lt;p&gt;Hi everyone, recently I have encountered a problem when working on a react project. I created the project with a basic login and a dashboard page. I have deployed it to Heroku, now started to test in my browser visiting the URL and entering the login credentials there got an error alert on my login screen then went to developer tools and checked what is the error in the network tab.&lt;/p&gt;

&lt;p&gt;I got these two errors in dev tools saying mixed content block restricted.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Network tab errors&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--knsvnhSp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1600445970241/JRGT7Rbky.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--knsvnhSp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1600445970241/JRGT7Rbky.png" alt="image.png" width="662" height="234"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Browser console errors&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xR2PZOGt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1600445836036/IBxZz56HR.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xR2PZOGt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1600445836036/IBxZz56HR.png" alt="image.png" width="696" height="234"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Now I began to wonder what is a mixed content block, I have never encountered it till now, so began to search what is it in &lt;a href="https://developer.mozilla.org/en-US/"&gt;MDN&lt;/a&gt; as it is the best where can find answers about any issue related to web applications. I will explain the gist of it now.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;What is Mixed content block?&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;When a user visits a page served over HTTPS, their connection with the webserver is encrypted with TLS and is therefore safeguarded from most sniffers and man-in-the-middle attacks. An HTTPS page that includes content fetched using cleartext HTTP is called a mixed content page. Pages like this are only partially encrypted, leaving the unencrypted content accessible to sniffers and man-in-the-middle attackers. That leaves the pages unsafe.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;There are two types of mixed content blocks here :&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;1.&lt;strong&gt;Mixed passive/display content:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Mixed passive/display content is content served over HTTP that is included in an HTTPS webpage, but that cannot alter other portions of the webpage.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Passive content list&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This section lists all types of HTTP requests which are considered passive content:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt;(src attribute)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;&amp;lt;audio&amp;gt;&lt;/code&gt;(src attribute)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;&amp;lt;video&amp;gt;&lt;/code&gt;(src attribute)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;&amp;lt;object&amp;gt;&lt;/code&gt;subresources (when an  performs HTTP requests) &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;2.&lt;strong&gt;Mixed active content:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Mixed active content is content that has access to all or parts of the Document Object Model of the HTTPS page. This type of mixed content can alter the behavior of the HTTPS page and potentially steal sensitive data from the user. Hence, in addition to the risks described for mixed display content above, mixed active content is vulnerable to a few other attack vectors.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Active content examples&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This section lists some types of HTTP requests which are considered active content:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;&amp;lt;script&amp;gt;&lt;/code&gt;(src attribute)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;&amp;lt;link&amp;gt;&lt;/code&gt;(href attribute) (this includes CSS stylesheets)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;&amp;lt;iframe&amp;gt;&lt;/code&gt;(src attribute)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;XMLHttpRequest&lt;/code&gt; requests&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;fetch()&lt;/code&gt; requests&lt;/li&gt;
&lt;li&gt;All cases in CSS where a &lt;code&gt;&amp;lt;url&amp;gt;&lt;/code&gt; value is used (&lt;code&gt;@font-face&lt;/code&gt;,&lt;code&gt;cursor&lt;/code&gt;, &lt;code&gt;background-image&lt;/code&gt;, and so forth).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;&amp;lt;object&amp;gt;&lt;/code&gt;(data attribute)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;Navigator.sendBeacon&lt;/code&gt; (url attribute)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here I got problem mainly due to my backend server having HTTP IP Adress and the browser is blocking the HTTP calls due to MIxed content.&lt;/p&gt;

&lt;p&gt;For this type of errors, we can create a proxy for our IP address. Now what happens is we make a request from the browser it calls our HTTPS proxy address that in turn calls an HTTP address. This works perfectly because the browser will only know that we are calling HTTPS to HTTPS it won't know the other HTTP call we are making from the proxy server.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Now we can create a simple proxy server using these &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;create a &lt;code&gt;package.json&lt;/code&gt; using &lt;code&gt;npm init&lt;/code&gt; command &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Now install an npm package called &lt;a href="https://www.npmjs.com/package/http-proxy"&gt;http-proxy npm package&lt;/a&gt;. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;create a &lt;code&gt;server.js&lt;/code&gt; file write the following code&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const http = require("http");
const httpProxy = require("http-proxy");

const PORT = process.env.PORT || 8080;
httpProxy.createProxyServer({ target: "http://139.XX.0.96:XXX" }).listen(PORT);

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

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Now run the server using &lt;code&gt;node server.js&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Now our proxy server is ready. we can request any type of request from our local to sever to the HTTP server.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;we can deploy either in AWS or Heroku or any other platform. we can use that server IP to call our HTTP address.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  References
&lt;/h3&gt;

&lt;p&gt;MDN Docs links: &lt;/p&gt;

&lt;p&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content/How_to_fix_website_with_mixed_content"&gt;https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content/How_to_fix_website_with_mixed_content&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content"&gt;https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;NPM package link : &lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.npmjs.com/package/http-proxy"&gt;https://www.npmjs.com/package/http-proxy&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;If you have any doubts related to this article or anything related to tech or software-engineering in general, drop a comment here or you can message me on twitter &lt;a href="https://twitter.com/ksridhar02"&gt;@ksridhar02&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
    </item>
    <item>
      <title>How to setup the Integration of LinkedIn API with OAuth?</title>
      <dc:creator>sridhar02</dc:creator>
      <pubDate>Tue, 08 Sep 2020 02:01:01 +0000</pubDate>
      <link>https://dev.to/sridhar02/how-to-setup-the-integration-of-linkedin-api-with-oauth-hid</link>
      <guid>https://dev.to/sridhar02/how-to-setup-the-integration-of-linkedin-api-with-oauth-hid</guid>
      <description>&lt;p&gt;Hi everyone, I have recently worked on a project where we need to sync the user data using linkedIn, so to set up a sign in via LinkedIn I visited the LinkedIn developer documentation but there are no clear instructions, so I want the explain how can you set up easy login or sync user data through LinkedIn API.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Many of us may have encountered on different websites, where you can log in with Facebook, Github, Google, and LinkedIn. These are operations are called the OAuth authorization setup. They are very similar to each other and everyone follows the same way. so now I going to explain setting up OAuth with linkedIn. This is the OAuth flow for the application &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--I6xTTLO3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1599444635045/nvLNSwwHP.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--I6xTTLO3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1599444635045/nvLNSwwHP.png" alt="image.png" width="800" height="161"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Steps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; Visit the LinkedIn &lt;a href="https://www.linkedin.com/developers/"&gt;developers website&lt;/a&gt; from your profile and now you will be able to see a create app button on the main page click on it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--t5aSLIlw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1598762877198/gtAZSX_mS.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--t5aSLIlw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1598762877198/gtAZSX_mS.png" alt="image.png" width="800" height="416"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; After clicking on the page you will be able to see this page where you need to specify the app name, you have to enter the LinkedIn page name of the company which you will be associating the with the application you are building, enter any Privacy policy URL for your associated application, upload the company logo and create the application. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--gzfkiErr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1598763028307/mZoczMEag.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--gzfkiErr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1598763028307/mZoczMEag.png" alt="image.png" width="800" height="631"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; After that, you will be given a client id and client secret which we will be using later in your application in the Auth tab of the next page, here you also need to specify the redirect URL, which will be used to redirect to your application after login. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xUs6mANq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1598763673930/Jjx65u_Wi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xUs6mANq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1598763673930/Jjx65u_Wi.png" alt="image.png" width="792" height="858"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Now  the main step is to get the data required for your application, for this, you need to have access to the user profile scopes such as r_basicprofile,r_fullprofile, and r_emailaddress, these are field which you will be able to access from the LinkedIn API which will be added based on the products you add in your application &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--46v99-Ve--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1598770936187/Hu_Bl1Mse.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--46v99-Ve--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1598770936187/Hu_Bl1Mse.png" alt="image.png" width="800" height="282"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Now you need to configure the products for your application, the image below you need to select sign in with LinkedIn product so that u will get the basic profile and email address from the logged-in user. If you need to get all the user-related education, any other you need to set up other products or you need to apply for the different &lt;a href="https://developer.linkedin.com/partner-programs/apply"&gt;partnership programs&lt;/a&gt; with LinkedIn to get the user full details.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Q2kAT8_g--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1598770801452/m-pOzi_e-.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Q2kAT8_g--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1598770801452/m-pOzi_e-.png" alt="image.png" width="800" height="505"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;I have added the sign in with the LinkedIn product for my application which will get me r_liteprofile and r_emailaddress in your scopes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--YhmexGuF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1599407717691/iI6o0pujv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--YhmexGuF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1599407717691/iI6o0pujv.png" alt="image.png" width="800" height="317"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  I have created a react application with Nextjs and serverless functions for this use case. This is the sample &lt;a href="https://linkedin-oauth-example.vercel.app/"&gt;website&lt;/a&gt;. I have created which will get you your profile name and profile picture.
&lt;/h4&gt;

&lt;h4&gt;
  
  
  References:
&lt;/h4&gt;

&lt;p&gt;LinkedIn developers URL: &lt;a href="https://www.linkedin.com/developers/"&gt;https://www.linkedin.com/developers/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Repo Link: &lt;a href="https://github.com/sridhar02/LinkedIn-OAuth-example"&gt;https://github.com/sridhar02/LinkedIn-OAuth-example&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;sample website link: &lt;a href="https://linkedin-oauth-example.vercel.app/"&gt;https://linkedin-oauth-example.vercel.app/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;LinkedIn Documentation : &lt;a href="https://docs.microsoft.com/en-us/linkedin/shared/authentication/authorization-code-flow?context=linkedin/compliance/context"&gt;https://docs.microsoft.com/en-us/linkedin/shared/authentication/authorization-code-flow?context=linkedin/compliance/context&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;If you have any doubts related to this article or anything related to tech or software-engineering in general, drop a comment here or you can message me on twitter &lt;a href="https://twitter.com/ksridhar02"&gt;@ksridhar02&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>react</category>
      <category>serverless</category>
      <category>au</category>
    </item>
    <item>
      <title>From Petroleum Engineering to Software Eng?</title>
      <dc:creator>sridhar02</dc:creator>
      <pubDate>Mon, 10 Aug 2020 14:31:44 +0000</pubDate>
      <link>https://dev.to/sridhar02/from-petroleum-engineering-to-software-eng-4ol5</link>
      <guid>https://dev.to/sridhar02/from-petroleum-engineering-to-software-eng-4ol5</guid>
      <description>&lt;h3&gt;
  
  
  Hi everyone, I hope everyone is fine in these uncertain times, today in this post I am going to explain how I changed my career path after my of graduation of B.Tech from Petroleum engineering.
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;I am just a regular guy who thought of engineering is a great option after my intermediate education, but after 4 years realized that it is just a degree. So right after my graduation, I realized my interest in software, so I have started to learn the software with the help of my brother who is already a remote software developer.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;My journey in software started with learning a simple language called &lt;a href="https://golang.org/"&gt;Golang&lt;/a&gt;, which is very to pick up and understand easily it is similar to C language.After understanding the basics of the &lt;a href="https://golang.org/"&gt;Golang&lt;/a&gt;,then I am came across this best resource called &lt;a href="https://www.freecodecamp.org/"&gt;FreeCodeCamp&lt;/a&gt; with a curriculum , so i followed the curriculum with learning the HTML,CSS,JavaScript,ReactJS with practice and reading the documentation in &lt;a href="https://developer.mozilla.org/en-US/"&gt;MDN&lt;/a&gt; and official &lt;a href="https://reactjs.org/"&gt;React documentation&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Learning the languages alone wouldn't help anyone so I started to build personal projects with Reactjs and Golang. My first project was to clone Github functionality as much as possible. I have used Nextjs for the frontend development, Golang for the backend API's and Postgres as a database, which is called &lt;a href="https://github.com/sridhar02/issue-tracker"&gt;issue-tracker&lt;/a&gt; and similarly I built my second project which is Flipkart clone with the same stack with some basic functionality which is called &lt;a href="https://github.com/sridhar02/ecommerce"&gt;ecommerce&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The whole process took me a minimum of 6 months of time, a serious amount to concentration and hard work, so I started applying to companies which my knowledge after a long search for a job. Finally, a first success came to me in terms of a Job in Cambridge Technologies, Hyderabad as JavaScript developer in January.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;First Job experience, I was very excited to work in the software industry as of now I am a self-learned software developer. I worked on a web application for the construction domain for a US-based Client with a great team. As everything was going good then a sudden disappointing surprise came to me as COVID hit the world and the construction domain was greatly effected, so the client was in huge losses, I was in my probation period and I have been laid off at the end of April. It was a great journey from Jan to April and 4 months of a great experience. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I was bit little disappointed but everyone is affected by corona, so I have to keep moving for my self, later in May and June, I have applied to a couple of jobs, I was able to clear the interviews in some companies, but they are not great and not the companies I was eager to work so rejected some offers, in the meantime, I explored technologies like Graphql, React Native and did some personal projects using them. At the end of June, I realized that I was wasting a lot of time applying to jobs and doing the test but not learning anything from them so thought of taking a break from applying to jobs and to work on any open-source which would help me to gain some experience. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In July I started to work on an open-source project called &lt;a href="https://mattermost.com/"&gt;mattermost&lt;/a&gt;. It is an alternative to slack. I started to look into the project and picked a few issues. At first, I was unable to solve the simple issue, It was harder because the codebase was huge, I was unable to understand, after many up and downs with help of matter most team and community I was able to submit my first PR and got it merged. At the end of July, I was working on 4 to 5 issues which are a bit difficult but I kept pushing my limits and some of the issues got merged. I have gained a good amount of experience working on a huge codebase. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;My goal was to settle in a Product based company as a remote developer and to work on a modern stack. I hope to find a good job in the coming future in a month or two. In the meantime, I am going to work a lot more harder on my self and work on opens Sorce projects to gain experience.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Things to remember:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Keep Working Hard until you find your success and keep pushing yourself.&lt;/li&gt;
&lt;li&gt;Software is not Hard, anyone can learn and get a job in software but you have to work hard and practice a lot not watching &lt;strong&gt;videos tutorials&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Learn with passion and interest, anything is possible.&lt;/li&gt;
&lt;li&gt;Everyone will struggle and fumble while learning but don't ever give up, keep pushing yourself. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I think this a big article but it would be an inspiration to someone who just started to code or is struggling to learn the software. Anyone wanted to connect with me feel free to ping me by any method and feel free to comment on your views to this post.&lt;/p&gt;

</description>
      <category>career</category>
    </item>
    <item>
      <title>Setting up SSH for Github in Linux</title>
      <dc:creator>sridhar02</dc:creator>
      <pubDate>Fri, 07 Aug 2020 03:04:10 +0000</pubDate>
      <link>https://dev.to/sridhar02/setting-up-ssh-for-github-in-linux-40p7</link>
      <guid>https://dev.to/sridhar02/setting-up-ssh-for-github-in-linux-40p7</guid>
      <description>&lt;p&gt;The developer's most used tool was Github, so every time you push your changes you will be asked to enter your Github details which is a tiresome work so setting an ssh key to your Github will make your life a lot easier.  &lt;/p&gt;

&lt;h2&gt;
  
  
  Through the following commands you can easily setup ssh for GitHub in Linux
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Open Your terminal and set the following
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git config &lt;span class="nt"&gt;--global&lt;/span&gt; user. name &lt;span class="s1"&gt;'Your GitHub username'&lt;/span&gt;
git config &lt;span class="nt"&gt;--global&lt;/span&gt; user.email &lt;span class="s1"&gt;'your GitHub associated email'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;After this step check if you have any SSH keys present locally by this commad.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;ls&lt;/span&gt; ~/.ssh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Now you have to generate ssh key in your terminal with the following command and click as enter for all the options as default values willl be enough for creating a ssh key
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ssh &lt;span class="nt"&gt;-keygen&lt;/span&gt; &lt;span class="nt"&gt;-t&lt;/span&gt; rsa &lt;span class="nt"&gt;-b&lt;/span&gt; 4096 &lt;span class="nt"&gt;-c&lt;/span&gt; &lt;span class="s1"&gt;'your Github associated email address'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Now you have to copy the ssh and paste it in your github ssh settings, we can copy the ssh key easily using xclip.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;First install XCLIP through the following command&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;apt-get &lt;span class="nb"&gt;install &lt;/span&gt;xclip
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Now copy your ssh key using xclip by this command
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;xclip &lt;span class="nt"&gt;-sel&lt;/span&gt; clip &amp;lt; ~/.ssh/id_rsa.pub
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Now open your GitHub account in the browser go to settings and select SSH and GPG Keys from the left sidebar.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--efUsyHzA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1596766675006/zuH9s3hjb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--efUsyHzA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1596766675006/zuH9s3hjb.png" alt="Screenshot from 2020-08-07 07-47-32.png" width="454" height="673"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Now Click New SSH Key button.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--jH9E3NZ5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1596768728320/ttHDQE0U1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--jH9E3NZ5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1596768728320/ttHDQE0U1.png" alt="Screenshot from 2020-08-07 07-49-15.png" width="800" height="98"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Now enter Your title and enter the copied ssh key from earlier. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--NyNzqHgw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1596766804138/cu6uDDZyr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--NyNzqHgw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1596766804138/cu6uDDZyr.png" alt="Screenshot from 2020-08-07 07-49-47.png" width="800" height="472"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Now open your terminal and Check the ssh key using this command.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ssh &lt;span class="nt"&gt;-T&lt;/span&gt; git@github.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;After this, you will be prompted with this text
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Hi Username! You've successfully authenticated, but Github does not support shell access. 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Refernce
&lt;/h3&gt;

&lt;p&gt;If you are struck anywhere, please refer to this video tutorial &lt;a href="https://www.youtube.com/watch?v=HfTXHrWMGVY"&gt;https://www.youtube.com/watch?v=HfTXHrWMGVY&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;Please try to use SSH for GitHub as it makes a life a lot easier and secure. If you are struck anywhere feel free to comment below I can help you to set up or some can help with your problem.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>github</category>
    </item>
    <item>
      <title>Best React Tutorial</title>
      <dc:creator>sridhar02</dc:creator>
      <pubDate>Thu, 04 Jun 2020 06:59:57 +0000</pubDate>
      <link>https://dev.to/sridhar02/best-react-tutorial-2mm2</link>
      <guid>https://dev.to/sridhar02/best-react-tutorial-2mm2</guid>
      <description>&lt;p&gt;Hi, everyone hopes everyone is doing fine. I am a junior react developer, recently I wanted to polish my skills in react so I took a course from egghead.io that is &lt;strong&gt;The Beginner's Guide to React by kentcdodds&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;In this blog post, I wanted to explain some of the things, that I have learned from the course. I think everyone has to try this course it is completely free. Don't think this course for beginners only everyone can learn a lot from this course.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://egghead.io/courses/the-beginner-s-guide-to-react"&gt;The Beginner's Guide to React course link&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Using React Error Boundaries to handle errors in React Components&lt;/li&gt;
&lt;li&gt;Lifting and colocating React State&lt;/li&gt;
&lt;li&gt;React Hooks&lt;/li&gt;
&lt;li&gt;Install and use React DevTools&lt;/li&gt;
&lt;li&gt;Build and deploy a React Application with Codesandbox, GitHub, and 
Netlify&lt;/li&gt;
&lt;li&gt;Handle HTTP Errors with React&lt;/li&gt;
&lt;li&gt;Use a lazy initializer with useState&lt;/li&gt;
&lt;li&gt;Manipulate the DOM with React refs&lt;/li&gt;
&lt;li&gt;Create reusable custom hooks&lt;/li&gt;
&lt;li&gt;Manage side-effects in a React Component with the useEffect hook&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://github.com/kentcdodds/beginners-guide-to-react"&gt;GitHub repo of the course&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you find any topic interesting go and learn it from the course. In my next blog, I will explain a topic with decent code examples.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>react</category>
    </item>
    <item>
      <title>My personal portfolio site. Some feeback / tips?</title>
      <dc:creator>sridhar02</dc:creator>
      <pubDate>Sun, 03 May 2020 09:02:23 +0000</pubDate>
      <link>https://dev.to/sridhar02/my-personal-portfolio-site-some-feeback-tips-h5n</link>
      <guid>https://dev.to/sridhar02/my-personal-portfolio-site-some-feeback-tips-h5n</guid>
      <description>&lt;p&gt;I have recently created by web portfolio, it is not responsive suitable for desktops ,can any one review it and help me to prefect it,so that I can use it for my job interviews.&lt;br&gt;
&lt;a href="https://sridhar02.netlify.app"&gt;Web portfolio link&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks in advance&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>career</category>
    </item>
  </channel>
</rss>
