<?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: Siddeshwar Navaneetharan</title>
    <description>The latest articles on DEV Community by Siddeshwar Navaneetharan (@infinityintellect).</description>
    <link>https://dev.to/infinityintellect</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%2F283268%2F4587804f-c921-4b88-bae4-50b1b13bc87b.jpeg</url>
      <title>DEV Community: Siddeshwar Navaneetharan</title>
      <link>https://dev.to/infinityintellect</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/infinityintellect"/>
    <language>en</language>
    <item>
      <title>More Willpower to Developers</title>
      <dc:creator>Siddeshwar Navaneetharan</dc:creator>
      <pubDate>Wed, 24 Nov 2021 17:18:35 +0000</pubDate>
      <link>https://dev.to/infinityintellect/more-willpower-to-developers-5f6o</link>
      <guid>https://dev.to/infinityintellect/more-willpower-to-developers-5f6o</guid>
      <description>&lt;h3&gt;
  
  
  My Workflow
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Scenario&lt;/strong&gt;: You're a developer, scouring the open source ocean of github, making contributions, raising issues, reading comments in the issue, contributing back, raising PRs and sometimes, the end result is just too far away for the journey to be satisfying enough to keep going. Wouldn't a pick-me-up go a long way ?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Enter&lt;/strong&gt; &lt;code&gt;uplifiting-quote-action&lt;/code&gt;. Any comment you make on a PR or issue and you are met with an uplifting quote. The right words at the right time can do wonders to help recharge your willpower and help you get back on track with renewed vigor and energy.&lt;/p&gt;

&lt;p&gt;Behind this action is but one purpose, to kindle the developer's mind to action whenever he/she experiences a sense of declining enthusiasm.&lt;/p&gt;

&lt;h3&gt;
  
  
  Submission Category:
&lt;/h3&gt;

&lt;p&gt;Wacky Wildcards 😝&lt;/p&gt;

&lt;h3&gt;
  
  
  Yaml File or Link to Code
&lt;/h3&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&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%2Fassets%2Fgithub-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/Infinity-Intellect" rel="noopener noreferrer"&gt;
        Infinity-Intellect
      &lt;/a&gt; / &lt;a href="https://github.com/Infinity-Intellect/uplifiting-quote-action" rel="noopener noreferrer"&gt;
        uplifiting-quote-action
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Comments an uplifting quote every time you comment on a PR or an issue.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;uplifiting-quote-action&lt;/h1&gt;

&lt;/div&gt;
&lt;p&gt;Comments an uplifting quote every time you comment on a PR or an issue.
&lt;a rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/49329642/143082662-e8fc29ef-54a2-4edf-a7b2-19f53632b4b0.png"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fuser-images.githubusercontent.com%2F49329642%2F143082662-e8fc29ef-54a2-4edf-a7b2-19f53632b4b0.png" alt="GithubQuoteComment"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Inputs&lt;/h2&gt;

&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;&lt;code&gt;github_token&lt;/code&gt;&lt;/h3&gt;

&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Required&lt;/strong&gt; A github token&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;&lt;code&gt;comment_starter&lt;/code&gt;&lt;/h3&gt;

&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Optional&lt;/strong&gt; A custom beginning statement for a comment&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Outputs&lt;/h2&gt;

&lt;/div&gt;
&lt;p&gt;None&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Example Usage&lt;/h2&gt;

&lt;/div&gt;
&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;&lt;pre class="notranslate"&gt;&lt;code&gt;name: quote_comment
on: issue_comment
jobs:
  pr_commented:
    name: PR Comment
    if: ${{ github.event.issue.pull_request }}
    runs-on: ubuntu-latest
    steps:
      - uses: infinity-intellect/uplifiting-quote-action@v1.0.0
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          comment_starter: 'Thanks for commenting on this PR.'
  issue_commented:
    name: Issue Comment
    if: ${{ !github.event.issue.pull_request }}
    runs-on: ubuntu-latest
    steps:
      - uses: infinity-intellect/uplifiting-quote-action@v1.0.0
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          comment_starter: 'We appreciate you taking your time to comment on this issue.'
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;



&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Infinity-Intellect/uplifiting-quote-action" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


&lt;h3&gt;
  
  
  Additional Resources / Info
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action" rel="noopener noreferrer"&gt;Javscript Github Actions Documentation&lt;/a&gt; (Very beginner-friendly!)&lt;/p&gt;

&lt;p&gt;As a Github actions newbie, I only regret not getting into this sooner. I can't wait to create more actions that will aid in the developer workflow.&lt;/p&gt;

</description>
      <category>actionshackathon21</category>
      <category>javascript</category>
      <category>github</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Custom colour for angular material components</title>
      <dc:creator>Siddeshwar Navaneetharan</dc:creator>
      <pubDate>Wed, 24 Nov 2021 10:31:31 +0000</pubDate>
      <link>https://dev.to/infinityintellect/custom-colour-for-angular-material-components-4o3d</link>
      <guid>https://dev.to/infinityintellect/custom-colour-for-angular-material-components-4o3d</guid>
      <description>&lt;h2&gt;
  
  
  Problem
&lt;/h2&gt;

&lt;p&gt;So, you have an angular material component, say a chip or a button like so:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;button mat-flat-button&amp;gt; Done button&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The designs provided to you show that the background colour of the button should be green and the text should be white.&lt;br&gt;
You frantically search the web for a solution. Look no further !&lt;/p&gt;
&lt;h2&gt;
  
  
  Solution
&lt;/h2&gt;

&lt;p&gt;In your corresponding styling file (&lt;code&gt;.css&lt;/code&gt; or &lt;code&gt;.scss&lt;/code&gt;), include the following style selector:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.mat-green {
 background-color: green;
 color: white;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And then, in your &lt;code&gt;.html&lt;/code&gt; file, simply set the &lt;code&gt;color&lt;/code&gt; input attribute to &lt;code&gt;green&lt;/code&gt; as below:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;button mat-flat-button color="green"&amp;gt; Done button&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And voilà ! There you have it.&lt;/p&gt;

&lt;p&gt;Note: You can provide any name to the css selector and prefix it with &lt;code&gt;mat-&lt;/code&gt; and set the name to the &lt;code&gt;color&lt;/code&gt; attribute.&lt;/p&gt;

</description>
      <category>angular</category>
      <category>webdev</category>
      <category>css</category>
      <category>angularmaterial</category>
    </item>
    <item>
      <title>VSCode Productivity Hack #1</title>
      <dc:creator>Siddeshwar Navaneetharan</dc:creator>
      <pubDate>Mon, 22 Nov 2021 18:21:01 +0000</pubDate>
      <link>https://dev.to/infinityintellect/vscode-productivity-hack-1-1lph</link>
      <guid>https://dev.to/infinityintellect/vscode-productivity-hack-1-1lph</guid>
      <description>&lt;h2&gt;
  
  
  Coveted Comparisons
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--GAlidmFO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/96ox9p3ysqjrzce71e9p.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--GAlidmFO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/96ox9p3ysqjrzce71e9p.jpg" alt="Intro Image" width="640" height="427"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let me paint you a picture; you're working on a project that has several identical configuration files. The difference between these files is that each is used in different environments i.e. one file for the development environment, one file for the staging environment and another for the production environment.&lt;/p&gt;

&lt;p&gt;Now wouldn't it be easier if you could open the side by side and make a comparison to see what's present in one and missing in the other ? Well, look no further, for &lt;code&gt;VSCode&lt;/code&gt; has the all-powerful &lt;code&gt;Select to compare&lt;/code&gt; and &lt;code&gt;Compare Selected&lt;/code&gt; feature.&lt;/p&gt;

&lt;h2&gt;
  
  
  Steps
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Right click the first file you want to compare against and click &lt;code&gt;Select For Compare&lt;/code&gt;
&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Tw2-mYk2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pa6bp0uwpylm5l8mgbqk.png" alt="Select for compare image" width="543" height="817"&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Right the second file, which you want to compare with the first and click &lt;code&gt;Compare with Selected&lt;/code&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--WgWQ9-g6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/feqd8aw3f393t65maqpq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--WgWQ9-g6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/feqd8aw3f393t65maqpq.png" alt="Compare with selected image" width="553" height="790"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Voila ! There you have it, two files one beside the other with the diffs.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ZiCbPCXH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bnjalw06j8kjpvar8xrw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ZiCbPCXH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bnjalw06j8kjpvar8xrw.png" alt="Result image" width="880" height="477"&gt;&lt;/a&gt;&lt;br&gt;
That's all for today folks !&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>vscode</category>
      <category>productivity</category>
      <category>tutorial</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
