<?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: Jorge Ruvalcaba</title>
    <description>The latest articles on DEV Community by Jorge Ruvalcaba (@jorgearuv).</description>
    <link>https://dev.to/jorgearuv</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%2F6752%2F26d065c2-b905-41e4-90b1-7b7015819c38.png</url>
      <title>DEV Community: Jorge Ruvalcaba</title>
      <link>https://dev.to/jorgearuv</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jorgearuv"/>
    <language>en</language>
    <item>
      <title>Setting up Namecheap domain in Vercel</title>
      <dc:creator>Jorge Ruvalcaba</dc:creator>
      <pubDate>Sun, 21 Mar 2021 00:00:00 +0000</pubDate>
      <link>https://dev.to/jorgearuv/setting-up-namecheap-domain-in-vercel-4bjo</link>
      <guid>https://dev.to/jorgearuv/setting-up-namecheap-domain-in-vercel-4bjo</guid>
      <description>&lt;p&gt;Last week I was working on setting up this blog, and I decided to migrate the app from Netlify to Vercel. Vercel provides a nice-looking UI to manage everything related to our web apps and makes really easy to set a custom domain rather than the default app-random.vercel.app that is automatically assigned to each project.&lt;/p&gt;

&lt;p&gt;Adding a domain is something I've done several times in the past, yet every time I seem to have to look around on how to do it. So I decided to document the process of adding a Namecheap domain to Vercel in the hopes that it helps others that are trying to do the same.&lt;/p&gt;

&lt;h2&gt;
  
  
  Vercel setup
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Selecting Your Project&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;On the dashboard, select the project to which you would like to assign your domain.&lt;/p&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%2Fwww.notion.so%2Fimage%2Fhttps%253A%252F%252Fs3-us-west-2.amazonaws.com%252Fsecure.notion-static.com%252Ff93b5ef8-7cfc-488d-b06e-878a5000ce2f%252FScreen_Shot_2021-03-20_at_6.59.30_p.m..png%3Ftable%3Dblock%26id%3D6c84067c-497c-44c1-a41d-05ac38222cd8%26cache%3Dv2" 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%2Fwww.notion.so%2Fimage%2Fhttps%253A%252F%252Fs3-us-west-2.amazonaws.com%252Fsecure.notion-static.com%252Ff93b5ef8-7cfc-488d-b06e-878a5000ce2f%252FScreen_Shot_2021-03-20_at_6.59.30_p.m..png%3Ftable%3Dblock%26id%3D6c84067c-497c-44c1-a41d-05ac38222cd8%26cache%3Dv2" alt="dashboard step 1"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Go to Settings and select Domains menu item.&lt;/p&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%2Fwww.notion.so%2Fimage%2Fhttps%253A%252F%252Fs3-us-west-2.amazonaws.com%252Fsecure.notion-static.com%252F62530931-8c1f-4cdc-ba26-20f49a0952e8%252FDomains_-_personal-site-v2__Vercel.png%3Ftable%3Dblock%26id%3Daa78bbd7-287f-4a6d-8629-19df151fe0d6%26cache%3Dv2" 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%2Fwww.notion.so%2Fimage%2Fhttps%253A%252F%252Fs3-us-west-2.amazonaws.com%252Fsecure.notion-static.com%252F62530931-8c1f-4cdc-ba26-20f49a0952e8%252FDomains_-_personal-site-v2__Vercel.png%3Ftable%3Dblock%26id%3Daa78bbd7-287f-4a6d-8629-19df151fe0d6%26cache%3Dv2" alt="dashboard step 1-2"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Entering Your Domain
&lt;/h2&gt;

&lt;p&gt;From the Domains page, enter the domain you want to add.&lt;/p&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%2Fwww.notion.so%2Fimage%2Fhttps%253A%252F%252Fs3-us-west-2.amazonaws.com%252Fsecure.notion-static.com%252Fded189ac-5435-4577-9462-22793de3b22e%252FDomains_-_personal-site-v2__Vercel.png%3Ftable%3Dblock%26id%3Df35fed5a-f794-4050-8ce1-323876825bc4%26cache%3Dv2" 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%2Fwww.notion.so%2Fimage%2Fhttps%253A%252F%252Fs3-us-west-2.amazonaws.com%252Fsecure.notion-static.com%252Fded189ac-5435-4577-9462-22793de3b22e%252FDomains_-_personal-site-v2__Vercel.png%3Ftable%3Dblock%26id%3Df35fed5a-f794-4050-8ce1-323876825bc4%26cache%3Dv2" alt="Domain step"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once you added a valid domain, you will see (most of the times) the domain added below with an ugly &lt;code&gt;Invalid Configuration&lt;/code&gt; error. This is due to we still need to set up Namecheap to point Vercel's Nameservers.&lt;/p&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%2Fwww.notion.so%2Fimage%2Fhttps%253A%252F%252Fs3-us-west-2.amazonaws.com%252Fsecure.notion-static.com%252F6f9accf9-696d-4457-8398-1261dda60dbb%252FDomains_-_personal-site-v2__Vercel.png%3Ftable%3Dblock%26id%3Ddf113f5a-201b-4087-9b59-959cb5facc75%26cache%3Dv2" 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%2Fwww.notion.so%2Fimage%2Fhttps%253A%252F%252Fs3-us-west-2.amazonaws.com%252Fsecure.notion-static.com%252F6f9accf9-696d-4457-8398-1261dda60dbb%252FDomains_-_personal-site-v2__Vercel.png%3Ftable%3Dblock%26id%3Ddf113f5a-201b-4087-9b59-959cb5facc75%26cache%3Dv2" alt="Domain step 2"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You will also see a tab named Nameservers. Click on it and you'll see the nameservers we will need to add to our domain in Namecheap.&lt;/p&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%2Fwww.notion.so%2Fimage%2Fhttps%253A%252F%252Fs3-us-west-2.amazonaws.com%252Fsecure.notion-static.com%252F14eab785-68b6-4517-8372-8dc8e0b60b9e%252FDomains_-_personal-site-v2__Vercel.png%3Ftable%3Dblock%26id%3D717229b2-3a16-4b6a-b822-90e419eb4cb9%26cache%3Dv2" 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%2Fwww.notion.so%2Fimage%2Fhttps%253A%252F%252Fs3-us-west-2.amazonaws.com%252Fsecure.notion-static.com%252F14eab785-68b6-4517-8372-8dc8e0b60b9e%252FDomains_-_personal-site-v2__Vercel.png%3Ftable%3Dblock%26id%3D717229b2-3a16-4b6a-b822-90e419eb4cb9%26cache%3Dv2" alt="Domain step 3"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Namecheap Setup
&lt;/h2&gt;

&lt;p&gt;Once that our domain is added in Vercel, we just need to add the nameservers in Namecheap in order to finish the setup.&lt;/p&gt;

&lt;p&gt;Once you are logged into your Namecheap account, go to Domain List on the sidebar, select the domain you want to configure, and click on Manage.&lt;/p&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%2Fuploads%2Farticles%2Fjhx06t3n4kw198mckj84.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%2Fuploads%2Farticles%2Fjhx06t3n4kw198mckj84.png" alt="Namecheap step"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now find the &lt;code&gt;NAMESERVERS&lt;/code&gt; section, click on the dropdown and select Custom DNS. This will reveal an input where you can input the Vercel's Nameserver addresses. Once you added the nameservers, click on the green checkmark at the right and you are done! 😄&lt;/p&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%2Fwww.notion.so%2Fimage%2Fhttps%253A%252F%252Fs3-us-west-2.amazonaws.com%252Fsecure.notion-static.com%252F9b680812-ce3b-48e8-af63-2b0f14de62cc%252Fnamecheapconfig.png%3Ftable%3Dblock%26id%3Dbca8b008-0bb2-4c54-8ad2-df15fe8e7139%26cache%3Dv2" 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%2Fwww.notion.so%2Fimage%2Fhttps%253A%252F%252Fs3-us-west-2.amazonaws.com%252Fsecure.notion-static.com%252F9b680812-ce3b-48e8-af63-2b0f14de62cc%252Fnamecheapconfig.png%3Ftable%3Dblock%26id%3Dbca8b008-0bb2-4c54-8ad2-df15fe8e7139%26cache%3Dv2" alt="Namecheap step 2"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hope this guide was useful for you! Let me know in the comments if you have any questions.&lt;/p&gt;

&lt;p&gt;If this post helped you, please consider following my journey on &lt;a href="https://twitter.com/jorgearuv" rel="noopener noreferrer"&gt;Twitter&lt;/a&gt;&lt;/p&gt;

</description>
      <category>nextjs</category>
      <category>react</category>
      <category>namecheap</category>
    </item>
    <item>
      <title>Add tab to search in your Gatsby blog</title>
      <dc:creator>Jorge Ruvalcaba</dc:creator>
      <pubDate>Sun, 16 Aug 2020 00:00:00 +0000</pubDate>
      <link>https://dev.to/jorgearuv/add-tab-to-search-in-your-gatsby-blog-1484</link>
      <guid>https://dev.to/jorgearuv/add-tab-to-search-in-your-gatsby-blog-1484</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--uiDGECAR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/nq27ztqy6ceycndh4rss.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--uiDGECAR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/nq27ztqy6ceycndh4rss.gif" alt="Tab to search demo gif"&gt;&lt;/a&gt;&lt;br&gt;You can go to the &lt;a href="https://jorgeruvalcaba.dev/blog/"&gt;blog&lt;/a&gt; main page of my blog to see the demo
  &lt;/p&gt;

&lt;p&gt;This is a cool trick that I just learned about today that can help the UX of your blog.&lt;/p&gt;

&lt;p&gt;There’s a cool Chromium browser feature called &lt;a href="https://www.chromium.org/tab-to-search"&gt;Tab to Search&lt;/a&gt;, which lets you quickly search a site via a Chromium address bar (aka the Omnibox).&lt;/p&gt;

&lt;p&gt;Here are the three quick steps to add it to your search-enabled Gatsby blog:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create a file named &lt;code&gt;opensearch.xml&lt;/code&gt; in your &lt;code&gt;static&lt;/code&gt; directory (&lt;code&gt;src/static/opensearch.xml&lt;/code&gt;) and add the following:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"&amp;gt;
  &amp;lt;ShortName&amp;gt;[Your Blog's Name]&amp;lt;/ShortName&amp;gt;
  &amp;lt;Description&amp;gt;[Your Blog's Description]&amp;lt;/Description&amp;gt;
  &amp;lt;Url type="text/html" method="get" template="https://[your-url]/blog/?search={searchTerms}"/&amp;gt;
&amp;lt;/OpenSearchDescription&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Make sure to add your preferred &lt;code&gt;&amp;lt;ShortName&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;Description&amp;gt;&lt;/code&gt; text content. The &lt;code&gt;&amp;lt;Url&amp;gt;&lt;/code&gt; template is the URL where the search is taking place. In our case, it’s &lt;code&gt;/blog/?search={searchTerms}&lt;/code&gt;, with &lt;code&gt;{searchTerms}&lt;/code&gt; being the string the user types into the Omnibox. These tags are required for Chromium to add your site to the list of searchable sites and automatically enable this feature.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Copy the default &lt;code&gt;html.js&lt;/code&gt; file to your Gatsby site so we can &lt;a href="https://www.gatsbyjs.org/docs/custom-html/"&gt;modify the default HTML Gatsby file&lt;/a&gt;.
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cp .cache/default-html.js src/html.js
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;In your newly created &lt;code&gt;src/html.js&lt;/code&gt; file, add the following &lt;code&gt;&amp;lt;link&amp;gt;&lt;/code&gt; tag:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;link
  type="application/opensearchdescription+xml"
  rel="search"
  href="opensearch.xml"
/&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And that's it! With this change in place, you’ll have this neat feature up and running in your blog 😎!&lt;/p&gt;

</description>
      <category>gatsby</category>
      <category>react</category>
      <category>blog</category>
      <category>search</category>
    </item>
    <item>
      <title>Nuevo blog</title>
      <dc:creator>Jorge Ruvalcaba</dc:creator>
      <pubDate>Sat, 15 Aug 2020 16:28:37 +0000</pubDate>
      <link>https://dev.to/jorgearuv/nuevo-blog-b1</link>
      <guid>https://dev.to/jorgearuv/nuevo-blog-b1</guid>
      <description>&lt;p&gt;&lt;a href="https://i.giphy.com/media/l4pTp2vaboieBihKo/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/l4pTp2vaboieBihKo/giphy.gif" alt="Hello Gif"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hola a todos! Bienvenidos a esta: su casa. Su guarida donde podrán esconderse de la ignorancia del web. Esta sociedad secreta de los chicos cool que les gustan los java y los scripts.&lt;/p&gt;

&lt;p&gt;Mi nombre es Jorge y actualmente soy software engineer en una startup muy cool llamada Scalable Press.&lt;/p&gt;

&lt;p&gt;Planeo hablar en este humilde espacio de (si, lo adivinaron) JavaScript, pero además de cosas que me han interesado y que creo que a ustedes también podrán interesarles. Una de las primeras preguntas que me hice en el momento de organizar todo este blog o página personal fue si debería hacer el contenido en inglés o en español. Cuando estaba empezando en esta bonita aventura llamada desarrollo web, me sorprendió la gran cantidad de contenido tan bueno y tan diverso de tecnología que existe.&lt;/p&gt;

&lt;p&gt;Lamentablemente existe una brecha increíble que hace que ese contenido sea accesible para toda LATAM (latinoamérica, si es que eres de esta brecha que menciono) solo para las personas que saben inglés o por lo menos lo entienden. Por lo tanto, algo de este contenido será en español, mientras no se me ocurra otra cosa (como aprender ingles).&lt;/p&gt;

&lt;p&gt;Acompañenme entonces, querido público lector, en este viaje por el maravilloso mundo de JavaScript. Si tienen alguna pregunta que me quieran hacer pueden mandarme un tweet, saludos cordiales.&lt;/p&gt;

</description>
      <category>bloggin</category>
      <category>personal</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
