<?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: Brian DeVries</title>
    <description>The latest articles on DEV Community by Brian DeVries (@brianjdevries).</description>
    <link>https://dev.to/brianjdevries</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%2F211149%2F352988d1-0393-49a5-9b29-4dc9fdd72249.png</url>
      <title>DEV Community: Brian DeVries</title>
      <link>https://dev.to/brianjdevries</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/brianjdevries"/>
    <language>en</language>
    <item>
      <title>Cold Showers and Habit Building</title>
      <dc:creator>Brian DeVries</dc:creator>
      <pubDate>Tue, 29 Sep 2020 13:19:24 +0000</pubDate>
      <link>https://dev.to/brianjdevries/cold-showers-and-habit-building-5bbc</link>
      <guid>https://dev.to/brianjdevries/cold-showers-and-habit-building-5bbc</guid>
      <description>&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%2Fi%2Fkb8v7960j0j0lxtz5lfl.jpg" 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%2Fi%2Fkb8v7960j0j0lxtz5lfl.jpg" alt="Child splashing in water" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For over 2 months now, I've been turning the water to its coldest setting for 1 minute at the end of my shower. What started as a desire to build resilience has taught me valuable lessons about building habits and consistency.&lt;/p&gt;

&lt;h2&gt;
  
  
  Start Small
&lt;/h2&gt;

&lt;p&gt;When I first started my cold shower endeavor, I felt ready to go to the max. I thought, "Why not prove that I'm super tough already and can do 1 minute of cold right away?"&lt;/p&gt;

&lt;p&gt;But I had tried to do cold showers before. And, you guessed it, I didn't stick with it for more than a week. I wanted this time around to be different.&lt;/p&gt;

&lt;p&gt;I found &lt;a href="https://www.wimhofmethod.com/wim-hof-method-mobile-app" rel="noopener noreferrer"&gt;an app&lt;/a&gt; by a guy named &lt;a href="https://www.wimhofmethod.com/iceman-wim-hof" rel="noopener noreferrer"&gt;Wim Hof&lt;/a&gt; who is known for pushing his body to the extremes. His recommended approach went something like this:&lt;/p&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;Cold Water Time&lt;/th&gt;
&lt;th&gt;Sessions&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Week 1&lt;/td&gt;
&lt;td&gt;15 seconds&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Week 2&lt;/td&gt;
&lt;td&gt;30 seconds&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Week 3&lt;/td&gt;
&lt;td&gt;45 seconds&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Week 4+&lt;/td&gt;
&lt;td&gt;60 seconds&lt;/td&gt;
&lt;td&gt;5+&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The idea is to gradually adjust to the cold. At first, my body wanted to gasp for air because of the cold. The key was to take deep, slow breaths to calm the nervous system and embrace the discomfort.&lt;/p&gt;

&lt;p&gt;After a few weeks, 60 seconds of cold was fully integrated into my routine.&lt;/p&gt;

&lt;h2&gt;
  
  
  Set Your Default
&lt;/h2&gt;

&lt;p&gt;I've been turning the shower dial to its coldest setting for a couple months. It is what I expect at the end of every shower. But it didn't start that way. I had to reset my default end-of-shower action.&lt;/p&gt;

&lt;p&gt;I used to lose track of time standing in the hot water. My mind would wander and I had no trigger to turn the water off. Finishing with cold water gave me a definitive end to the shower.&lt;/p&gt;

&lt;h3&gt;
  
  
  If-Then Planning
&lt;/h3&gt;

&lt;p&gt;To set a default action, I did some &lt;a href="https://patrikedblad.com/habits/if-then-planning/" rel="noopener noreferrer"&gt;If-Then planning&lt;/a&gt;. It follows the template &lt;code&gt;If [situation], then I will [action]&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;For my cold showers, it looked something like this:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"If I am at the end of my shower, then I will turn the water to its coldest setting for 60 seconds."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Creating an If-Then plan is a powerful tool for habit building. It helps to attach an action to a specific event, ideally one that is somewhat inevitable and recurring.&lt;/p&gt;

&lt;p&gt;The recurring nature of the trigger event will also help develop consistency. I believe consistency is one of the most powerful driving forces of long-term success.&lt;/p&gt;

&lt;h2&gt;
  
  
  Focus on the Journey
&lt;/h2&gt;

&lt;p&gt;Consistent cold showers was the only way to train my body for the 60 seconds of cold that I was aiming for. The steps it takes to get to the goal aren't what most people think about when they hear of achievements.&lt;/p&gt;

&lt;p&gt;Small, consistent actions are what build success. Therefore, success isn't a destination; It's a journey.&lt;/p&gt;

&lt;p&gt;Great walls are not built with one giant brick. They are built &lt;em&gt;one small brick&lt;/em&gt; at a time.&lt;/p&gt;

&lt;p&gt;Make small, consistent actions the goal.&lt;/p&gt;

&lt;h2&gt;
  
  
  Get Comfortable with Discomfort
&lt;/h2&gt;

&lt;p&gt;Consistently taking cold showers isn't relaxing. Your body instinctively wants to get warm again. But it's a great way to get used to being uncomfortable regularly.&lt;/p&gt;

&lt;p&gt;Building new habits isn't usually fun. Most people fail to stick to New Year's Resolutions every year &lt;strong&gt;because it's hard&lt;/strong&gt;. Embracing the discomfort will mean you don't back down when things get difficult.&lt;/p&gt;

&lt;h2&gt;
  
  
  Wrap Up
&lt;/h2&gt;

&lt;p&gt;Cold showers might not be for you, but I have learned many lessons by pursuing them.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Starting small lowers the motivation needed to make it happen
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;"I can easily stand in cold water for 15 seconds!"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  2. Setting a default action reduces decision making in the moment
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;"If I'm at the end of my shower, then I will turn the water to its coldest setting."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  3. Focusing on the journey means you'll invest in consistency
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;"I have to start small at 15 seconds of cold to work on consistent, small actions."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  4. Embracing discomfort is the name of the game
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;"I want to take cold showers to have a win under my belt every day."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Building new habits isn't easy, but most things worth doing are hard.&lt;/p&gt;

&lt;p&gt;What's a habit that you want to make consistent? &lt;a href="mailto:brian@brianjdevries.com"&gt;Send me an email&lt;/a&gt; with your answer and how you plan to stick with it!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Custom bookmark icons in VSCode</title>
      <dc:creator>Brian DeVries</dc:creator>
      <pubDate>Thu, 19 Sep 2019 16:14:37 +0000</pubDate>
      <link>https://dev.to/brianjdevries/custom-bookmark-icons-in-vscode-3bh6</link>
      <guid>https://dev.to/brianjdevries/custom-bookmark-icons-in-vscode-3bh6</guid>
      <description>&lt;h1&gt;
  
  
  Background
&lt;/h1&gt;

&lt;p&gt;I recently started learning web development on &lt;a href="https://www.freecodecamp.org/" rel="noopener noreferrer"&gt;FreeCodeCamp&lt;/a&gt;. I found out about &lt;a href="https://code.visualstudio.com/" rel="noopener noreferrer"&gt;VScode&lt;/a&gt; and don't know how I survived without it! Anyone who is familiar with VScode knows how to add an extension, but sometimes the customization options aren't as well known.&lt;/p&gt;

&lt;p&gt;I particularly like the bookmark feature in Visual Studio and wanted to have that functionality in VScode so I installed the Bookmarks extension. However, I didn't like the look of the default skinny blue bookmark on my dark background. I found out that there is a setting available so you can use a custom 16x16 pixel icon as your bookmark image!&lt;/p&gt;

&lt;p&gt;This post is about how to add the bookmark extension and customize it, but I also created a &lt;a href="https://github.com/techCarpenter/custom_bookmarks" rel="noopener noreferrer"&gt;github repo&lt;/a&gt;* of different colored bookmarks so you don't have to create your own if you don't want to.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;Note:&lt;/em&gt; The bookmark icons in the repo are modeled after the bookmark icon in Visual Studio 2017. &lt;/p&gt;

&lt;h1&gt;
  
  
  Customize the bookmark icon in VScode
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;You'll need to install the &lt;a href="https://marketplace.visualstudio.com/items?itemName=alefragnani.Bookmarks" rel="noopener noreferrer"&gt;bookmarks extension&lt;/a&gt; for VScode.&lt;/li&gt;
&lt;li&gt;Find a 16x16 pixel icon you want to use as a bookmark in VScode (or go ahead and clone/download the &lt;a href="https://github.com/techCarpenter/custom_bookmarks" rel="noopener noreferrer"&gt;premade icons&lt;/a&gt; on my github) and put that image file in a local folder.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Add this setting to the settings.json file in VScode:&lt;br&gt;
&lt;/p&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="nl"&gt;"bookmark.gutterIconPath"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"c:&lt;/span&gt;&lt;span class="se"&gt;\\&lt;/span&gt;&lt;span class="s2"&gt;path_to_icon&lt;/span&gt;&lt;span class="se"&gt;\\&lt;/span&gt;&lt;span class="s2"&gt;icon.png"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;(Optional)&lt;/strong&gt; Update the keybinding for &lt;em&gt;'Bookmark Toggle'&lt;/em&gt; to &lt;em&gt;'Ctrl+K Ctrl+K'&lt;/em&gt; (to mimic the Visual Studio IDE shortcut)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Enjoy your customized bookmarks!&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I hope you have as much fun customizing VScode to fit your style as I do! If you have any questions for me or just want to connect, comment below or message me on twitter! I enjoy talking with new people 😃&lt;/p&gt;

&lt;p&gt;Until next time, happy coding!&lt;/p&gt;

</description>
      <category>vscode</category>
      <category>extensions</category>
    </item>
  </channel>
</rss>
