<?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: Sudev Suresh Sreedevi</title>
    <description>The latest articles on DEV Community by Sudev Suresh Sreedevi (@gamegods3).</description>
    <link>https://dev.to/gamegods3</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%2F457472%2Fe5f22b21-ec23-4592-92c9-063d44695891.jpeg</url>
      <title>DEV Community: Sudev Suresh Sreedevi</title>
      <link>https://dev.to/gamegods3</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gamegods3"/>
    <language>en</language>
    <item>
      <title>Customize ANY color in Windows PowerShell</title>
      <dc:creator>Sudev Suresh Sreedevi</dc:creator>
      <pubDate>Mon, 01 Feb 2021 06:22:41 +0000</pubDate>
      <link>https://dev.to/gamegods3/customize-any-color-in-windows-powershell-8p9</link>
      <guid>https://dev.to/gamegods3/customize-any-color-in-windows-powershell-8p9</guid>
      <description>&lt;p&gt;&lt;strong&gt;Windows PowerShell&lt;/strong&gt; is one of the most powerful terminals in the Windows Operating System, and yet we are stuck to customizing its colors to those 16 fixed values in the properties menu. Today, we are gonna change that.&lt;/p&gt;

&lt;h2&gt;
  
  
  Table of Contents
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Intro&lt;/li&gt;
&lt;li&gt;PowerShell Hex Color (The Solution)&lt;/li&gt;
&lt;li&gt;Installation and Usage&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Intro
&lt;/h2&gt;

&lt;p&gt;You might have noticed those RGB controls in the properties menu of PowerShell, where you’d have to individually enter the value of Red, Green and Blue to set a custom color. This process, is rather tedious since you would have to find a color of your liking, find its RGB value, and individually enter those values one-by-one 😖.&lt;/p&gt;

&lt;p&gt;The obviously easier method would be to enter the hex value &lt;em&gt;(looks something like #123ABC)&lt;/em&gt; of the color and set the color in one go. Unfortunately, such a feature doesn’t exist in PowerShell despite the terminal having the 256-bit color support.&lt;/p&gt;

&lt;p&gt;This is where I would like to introduce you to the Project  &lt;a href="https://github.com/GameGodS3/PowerShell-Hex-Color"&gt;&lt;strong&gt;PowerShell HexColor&lt;/strong&gt;&lt;/a&gt;. With this, you can &lt;strong&gt;set any color to your PowerShell terminal&lt;/strong&gt; without having to go through the painful process of entering the RGB values one by one, nor editing the registry. Simply provide a hex value and voila, you can use that color in PowerShell 🌈.&lt;/p&gt;

&lt;h2&gt;
  
  
  PowerShell Hex Color
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--CsdoDUop--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://raw.githubusercontent.com/GameGodS3/Powershell-Hex-Color/main/img/codetheme.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--CsdoDUop--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://raw.githubusercontent.com/GameGodS3/Powershell-Hex-Color/main/img/codetheme.png" alt="Custom Terminal Colors using PowerShell Hex Color (Yes, this is PowerShell)"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h6&gt;
  
  
  Custom Terminal Colors using PowerShell Hex Color (Yes, this is PowerShell!)
&lt;/h6&gt;

&lt;p&gt;&lt;strong&gt;Project Link: &lt;a href="https://github.com/GameGodS3/Powershell-Hex-Color"&gt;https://github.com/GameGodS3/Powershell-Hex-Color&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;PowerShell HexColor, tweaks the Windows Registry to register the color values you are providing, so that PowerShell loads them as the default value of those specific colors in the color table.&lt;/p&gt;

&lt;p&gt;The only limitation is the fact that PowerShell can still have only a selection of 16 colors at the same time in its color table. But hey, YOU can decide which should be those 16 colors! 🎨&lt;/p&gt;

&lt;h2&gt;
  
  
  Installation &amp;amp; Usage
&lt;/h2&gt;

&lt;p&gt;To download the script, simply execute the following in PowerShell and then, run the script 😁.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;iwr&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-useb&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;https://raw.githubusercontent.com/GameGodS3/Powershell-Hex-Color/main/hexadjust.ps1&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="err"&gt;`&lt;/span&gt;&lt;span class="w"&gt;
     &lt;/span&gt;&lt;span class="n"&gt;ni&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="bp"&gt;$HOME&lt;/span&gt;&lt;span class="nx"&gt;/Documents/WindowsPowerShell/hexadjust.ps1&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-Force&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you do like the project, consider sharing to your friends, and &lt;strong&gt;giving the project a star&lt;/strong&gt;. It would mean a lot to me.&lt;/p&gt;

&lt;p&gt;Cheers &amp;amp; Happy Coding!&lt;/p&gt;

&lt;p&gt;Sudev Suresh Sreedevi&lt;/p&gt;

</description>
      <category>windowspowershell</category>
      <category>windows10</category>
      <category>powershell</category>
      <category>customization</category>
    </item>
    <item>
      <title>How to install gcc in Windows 10? (the easier way)</title>
      <dc:creator>Sudev Suresh Sreedevi</dc:creator>
      <pubDate>Mon, 24 Aug 2020 09:32:34 +0000</pubDate>
      <link>https://dev.to/gamegods3/how-to-install-gcc-in-windows-10-the-easier-way-422j</link>
      <guid>https://dev.to/gamegods3/how-to-install-gcc-in-windows-10-the-easier-way-422j</guid>
      <description>&lt;p&gt;GCC, abbreviation for 'GNU Compiler Collection' (thanks &lt;a class="mentioned-user" href="https://dev.to/saphirakai"&gt;@saphirakai&lt;/a&gt;) (and not Gulf Cooperation Council, like I'd assumed) is a necessity if you (or your pesky college) is into C Programming.&lt;/p&gt;

&lt;p&gt;Almost all Linux distros come pre-installed with it so they are out of the trouble. But for those of you who were constant users of Windows and Command Prompt, and never felt the necessity for a C compiler, GCC seems to come out of the blue and a tough nut to install. 1000 rage-quits later, I present you this article.&lt;/p&gt;

&lt;p&gt;This article is written so that the installation process is made easier than most of the trashy articles I had to go through.&lt;/p&gt;

&lt;h2&gt;
  
  
  Installation
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;del&gt;Go to &lt;a href="http://www.mingw.org/" rel="noopener noreferrer"&gt;MinGW official website&lt;/a&gt; and click on 'Downloads' on the left panel. You'll be redirected to the site which hosts the files.&lt;/del&gt;
&lt;strong&gt;&lt;em&gt;Important Edit: MinGW official website is now down (as of 24th March 2021). Hence, instead of their official website, download from &lt;a href="https://sourceforge.net/projects/mingw/files/Installer/mingw-get-setup.exe/download" rel="noopener noreferrer"&gt;MinGW SourceForge page&lt;/a&gt;&lt;/em&gt;&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Look for &lt;strong&gt;mingw-get-setup.exe&lt;/strong&gt; for downloading. Download it and launch the installer. Accept the terms and move on. &lt;/li&gt;
&lt;li&gt;You'll now see that the installer is connecting to the Internet and downloading a lot of tiny and small files. Wait till it ends.&lt;/li&gt;
&lt;li&gt;Right when it ends (which won't take long), you'll be presented a window with title &lt;strong&gt;MinGW Installation Manager&lt;/strong&gt;. You should be in the 'Basic Setup' tab by default when it launches. If not, click on &lt;strong&gt;Basic Setup&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Out of the numerous check boxes presented to you on the right side, tick "&lt;strong&gt;mingw32-gcc-g++-bin&lt;/strong&gt;". If you are prompted with a menu, click on Mark for Install.&lt;/li&gt;
&lt;li&gt;Then on the top left corner click on &lt;strong&gt;Installation &amp;gt; Apply Changes&lt;/strong&gt;. And wait while it downloads a billion files and installs them.&lt;/li&gt;
&lt;/ol&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%2Fbuyja9obbjs1x7p8h6cd.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%2Fbuyja9obbjs1x7p8h6cd.png" alt="MinGW Installation Manager" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Now you gotta edit your "Environment Variables" as well, so that gcc works in cmd no matter the file location.&lt;/li&gt;
&lt;li&gt;For that go to &lt;strong&gt;Windows Explorer &amp;gt; Right click on This PC &amp;gt; Properties &amp;gt; Advanced system settings &amp;gt; Environment Variables&lt;/strong&gt; or you could just search for "Environment Variables" in Windows Search...&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;At the bottom "System Variables" panel, look for a Variable named "Path" and double click on it. Some systems show a good UI for adding a New Path easily (by clicking New), else you just need to add ; at the end and add the following path&lt;/p&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

C:\MinGW\bin
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    ###### (This is assuming you didn't manually change any installation paths and went with just clicking 'Next' during installation)

10. Click on OK, and OK and close the other windows. Open a Command Prompt Terminal and try typing `gcc --version` and press Enter.

    If you get something like
    ```


    gcc (MinGW.org GCC Build-2) 9.2.0
    Copyright (C) 2019 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. 
    There is NO warranty; not even for MERCHANTABILITY or FITNESS
    FOR A PARTICULAR PURPOSE.


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

&lt;/div&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;gcc has been successfully installed in your PC. Enjoy!
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Cheers and happy coding!&lt;/p&gt;

</description>
      <category>c</category>
      <category>gcc</category>
      <category>windows10</category>
      <category>windows</category>
    </item>
  </channel>
</rss>
