<?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: Carlos Junior</title>
    <description>The latest articles on DEV Community by Carlos Junior (@carlosjuniordev).</description>
    <link>https://dev.to/carlosjuniordev</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%2F930471%2F64e4bd5a-7f80-4c85-bf47-4e07d609ca34.jpg</url>
      <title>DEV Community: Carlos Junior</title>
      <link>https://dev.to/carlosjuniordev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/carlosjuniordev"/>
    <language>en</language>
    <item>
      <title>Using Javascript Snippets in Outsystems</title>
      <dc:creator>Carlos Junior</dc:creator>
      <pubDate>Mon, 23 Jan 2023 12:30:48 +0000</pubDate>
      <link>https://dev.to/carlosjuniordev/using-javascript-snippets-in-outsystems-29ch</link>
      <guid>https://dev.to/carlosjuniordev/using-javascript-snippets-in-outsystems-29ch</guid>
      <description>&lt;p&gt;Hi folks, been a while but now with some content about outystems, and this tool is amazing for building websites, actually I wanna show something I have been working with my team, I helped developed most of the Web Design and some features of the websites and has been a challenge but first I wanna show you how you can Integrated javascript with a low-code solution.&lt;/p&gt;

&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%2Fuploads%2Farticles%2Fg22x95mm31t3oo5cs90n.png" 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%2Fuploads%2Farticles%2Fg22x95mm31t3oo5cs90n.png" alt="Image description" width="800" height="527"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let's start.&lt;/p&gt;

&lt;p&gt;First you need to create a Client Action, let's called CheckManagerRole, you will need to get a role too called FamilyManager.&lt;/p&gt;

&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%2Fuploads%2Farticles%2Fz345shz80o9vp1tvb4r0.png" 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%2Fuploads%2Farticles%2Fz345shz80o9vp1tvb4r0.png" alt="Image description" width="272" height="384"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The amazing part of Outsystems is you can build fast applications for good and fast problem solving.&lt;/p&gt;

&lt;p&gt;Now back to the project.&lt;/p&gt;

&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%2Fuploads%2Farticles%2Frhegw0mthjv6nthw4ixn.png" 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%2Fuploads%2Farticles%2Frhegw0mthjv6nthw4ixn.png" alt="Image description" width="375" height="505"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Using Javascript snippet with the current code.&lt;/p&gt;

&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%2Fuploads%2Farticles%2Fhl5kea5fbet4q7w7r17b.png" 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%2Fuploads%2Farticles%2Fhl5kea5fbet4q7w7r17b.png" alt="Image description" width="715" height="545"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You will need to create a Parameters, since you will need a Output variable to check the ManagerRole.&lt;/p&gt;

&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%2Fuploads%2Farticles%2Fqwszjpdcvap2j6zz1iyg.png" 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%2Fuploads%2Farticles%2Fqwszjpdcvap2j6zz1iyg.png" alt="Image description" width="342" height="275"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After that you will need to create an assign.&lt;/p&gt;

&lt;p&gt;And its pretty much done.&lt;/p&gt;

&lt;p&gt;Let me show now how you can apply on your project.&lt;/p&gt;

&lt;p&gt;On the Screen you desire to apply this you will need a OnReady, occurs after the Screen or Block DOM is ready, so before the transition starts.&lt;/p&gt;

&lt;p&gt;This is really important because we want the check the ManagerRole this way.&lt;/p&gt;

&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%2Fuploads%2Farticles%2F718s8yblcd3b3y25mfd8.png" 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%2Fuploads%2Farticles%2F718s8yblcd3b3y25mfd8.png" alt="Image description" width="490" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On the assign is really important to check the Manager Role.&lt;/p&gt;

&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%2Fuploads%2Farticles%2F6ldxgrfb4whyx9ouddnh.png" 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%2Fuploads%2Farticles%2F6ldxgrfb4whyx9ouddnh.png" alt="Image description" width="337" height="242"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And after that you will need a input or something you want to verify the Manager role in this case is going to be the RemoveEvent feature.&lt;/p&gt;

&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%2Fuploads%2Farticles%2Fzm4zfj3urb851ugzrgnx.png" 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%2Fuploads%2Farticles%2Fzm4zfj3urb851ugzrgnx.png" alt="Image description" width="800" height="549"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Done, check your website now.&lt;/p&gt;

&lt;p&gt;Thank you so much for reading and im glad to be back.&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>mentalhealth</category>
    </item>
    <item>
      <title>Outsytems Data Types</title>
      <dc:creator>Carlos Junior</dc:creator>
      <pubDate>Mon, 07 Nov 2022 15:20:01 +0000</pubDate>
      <link>https://dev.to/carlosjuniordev/outsytems-data-types-8i4</link>
      <guid>https://dev.to/carlosjuniordev/outsytems-data-types-8i4</guid>
      <description>&lt;p&gt;Hi folks in this article I will show you the different data types in Outsystems:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Binary Data: Byte array with no elements
Boolean: false or true
Currency: 0.0
Date: #1900-01-01#
Time: #00:00:00#
Date Time: #1900-01-01 00:00:00#
Integer: 0 to 2147483600
Long Integer: 0 to 5645245584135987412
Decimal: 0.0 to -158121.025 4000.0
Email: "empty string"
Phone number: "empty string"
Text: "empty string"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is just post to keep in mind the different data types you can use in the platform.&lt;/p&gt;

</description>
      <category>lowcode</category>
      <category>outsytem</category>
      <category>beginners</category>
    </item>
    <item>
      <title>solving a problem using python (I dont know anything about python)</title>
      <dc:creator>Carlos Junior</dc:creator>
      <pubDate>Sat, 22 Oct 2022 12:05:49 +0000</pubDate>
      <link>https://dev.to/carlosjuniordev/solving-a-problem-using-python-i-dont-know-anything-about-python-319n</link>
      <guid>https://dev.to/carlosjuniordev/solving-a-problem-using-python-i-dont-know-anything-about-python-319n</guid>
      <description>&lt;p&gt;Hi folks, so on this weekend I decided taking a new challenge.&lt;/p&gt;

&lt;p&gt;I saw this Open-source project made by Edgar Muniz Berlinck, and he challenged a few things was up to solve.&lt;/p&gt;

&lt;p&gt;Since I cant hesitate on new challenge I decided to take in.&lt;/p&gt;

&lt;p&gt;So basically what I had to do is.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. When the user opens this game, mp3 sound will start, and you have to run all the songs until the end.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0RlGIUhB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nd6f1ufjcbeuz8grmwh2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0RlGIUhB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nd6f1ufjcbeuz8grmwh2.png" alt="Image description" width="880" height="424"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I took a few steps first, decided to create a button so i can debugg the code whenever I want.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--iW36lXrJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6zqsj4a14anhlqsaltr8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--iW36lXrJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6zqsj4a14anhlqsaltr8.png" alt="Image description" width="127" height="87"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After than i created a &lt;code&gt;&amp;lt;audio&amp;gt; &amp;lt;/audio&amp;gt;&lt;/code&gt; loading up on the website, because this is where the HTML gets the audio.&lt;/p&gt;

&lt;p&gt;Before that i saw that if it was HARDCODE like &lt;code&gt;&amp;lt;audio src="./src..."&amp;gt; &amp;lt;/audio&amp;gt;&lt;/code&gt; I could load the page, with that information i started to get the hang of it.&lt;/p&gt;

&lt;p&gt;Then i created a &lt;code&gt;let playlist = []&lt;/code&gt; this is a array where I will store the src from the songs I want, but if your thinking the same as me the code will be huge.&lt;/p&gt;

&lt;p&gt;but STAY WITH ME FOR A SEC.&lt;/p&gt;

&lt;p&gt;then I created a .py script&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import os

dir_path = r'C:\Users\Carlos Junior\Documents\GitHub\Forked\bar-figth-game\public\assets\songs'

res = []

for path in os.listdir(dir_path):
    if os.path.isfile(os.path.join(dir_path, path)):
        res.append("'playlist[] = './public/assets/songs/'"+path)
print(res)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;this script is writing my javascript code, so I can just copy and paste it on my .js code, what im doing right here is going on the folder where are the songs and list them one by one until the last one and writing the javascript code, so I dont have that much work to do it by hand.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--BAVbwjYw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l2c27dww04hbto3o23sp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--BAVbwjYw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l2c27dww04hbto3o23sp.png" alt="Image description" width="880" height="721"&gt;&lt;/a&gt;&lt;br&gt;
 Yep, i know the code looks huge, but im lazy to type it by hand, and the script its not optimized i had to remove 'and enter my playlist.&lt;/p&gt;

&lt;p&gt;But it was fun and learned a bit of python.&lt;/p&gt;

&lt;p&gt;Okay now lets get to the real code.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;document.getElementById('song').addEventListener("click", myFunction)
function myFunction() {
    document.getElementById('song').innerHTML = "You clicked me";
    const audio = document.querySelector("audio")
    let i = 0;
    audio.addEventListener('ended', function () {
      i = ++i &amp;lt; playlist.length ? i : 0;
      console.log(i)
      audio.src = playlist[i];
      audio.play();
    })
    audio.volume= 0.1;
    audio.loop = false;
    audio.src = playlist[getRandom(i)];
    console.log(getRandom());
    audio.play();
  }

  function getRandom() {
    return Math.floor(Math.random()*playlist.length);
  }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;So on this code i have a function to use when i click the button, and i have .querySelector aiming to 'audio', and after i started my counter = i, and then i add eventlistener so when the track is = 'ended' started a loop from 0 until the array length of the playlist.&lt;/p&gt;

&lt;p&gt;The console.log are just for tracking on this case, and the the &lt;code&gt;audio.src = playlist[i]&lt;/code&gt; this is where the tracks changes.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;audio.src = playlist[getRandom(i)];&lt;/code&gt; this is just for User Experience, its kinda annoying you having the same music whenever i enter the game, so i decided to make a random.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--nR06uk03--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4twr2a4meujc8qa7gykd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--nR06uk03--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4twr2a4meujc8qa7gykd.png" alt="Image description" width="117" height="137"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And that's it thank you&lt;/p&gt;

</description>
    </item>
    <item>
      <title>'vite' is not recognized as an internal or external command</title>
      <dc:creator>Carlos Junior</dc:creator>
      <pubDate>Sat, 22 Oct 2022 01:20:23 +0000</pubDate>
      <link>https://dev.to/carlosjuniordev/vite-is-not-recognized-as-an-internal-or-external-command-41an</link>
      <guid>https://dev.to/carlosjuniordev/vite-is-not-recognized-as-an-internal-or-external-command-41an</guid>
      <description>&lt;p&gt;hello folks, yea i know just wanted to share a quick fix, about this that i just learned that you CANT RUN A PROJECT after you forked, without install dependecy&lt;/p&gt;

&lt;p&gt;So im pretty knew to programming i wanted to share the meaning of Dependency, what it means?&lt;/p&gt;

&lt;p&gt;A dependency is defined as a file, component, or software package that a program needs to work correctly.&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%2Fzc148gl9v4f4dqxdsbca.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%2Fzc148gl9v4f4dqxdsbca.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Like a bookshelf, you cant LEARN if you dont have a place where you put all your books that you actually learn, in this example its not the same thing but i just wanted to share a example with you.&lt;/p&gt;

&lt;p&gt;Ok but what do i need to do?&lt;/p&gt;

&lt;p&gt;its easy&lt;/p&gt;

&lt;p&gt;&lt;code&gt;npm i&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Ok what is that lol? &lt;/p&gt;

&lt;p&gt;You are installing all dependencies or devDependencies from a package. json file.&lt;/p&gt;

&lt;p&gt;Im using this github project as example using Vite instead of CRA&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%2Fmxa9bqksu2xwz7w0pyy8.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%2Fmxa9bqksu2xwz7w0pyy8.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;after that you can do &lt;/p&gt;

&lt;p&gt;&lt;code&gt;npm run dev&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;using VITE to open the project&lt;/p&gt;

&lt;p&gt;And you done !&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How to make interaction with React.js and Smart-Contract</title>
      <dc:creator>Carlos Junior</dc:creator>
      <pubDate>Mon, 17 Oct 2022 16:25:27 +0000</pubDate>
      <link>https://dev.to/carlosjuniordev/how-to-make-interaction-with-reactjs-and-smart-contract-5ff0</link>
      <guid>https://dev.to/carlosjuniordev/how-to-make-interaction-with-reactjs-and-smart-contract-5ff0</guid>
      <description>&lt;p&gt;Hello fellow programmer, so on this tutorial i will teach how function in react works, lets get to work!&lt;/p&gt;

&lt;p&gt;First of all you will need to use useEffect and useState&lt;/p&gt;

&lt;p&gt;&lt;code&gt;import React, { useEffect, useState } from "react";&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;and after &lt;/p&gt;

&lt;p&gt;&lt;code&gt;const [currentAccount, setCurrentAccount] = useState("");&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;this will creating a hook &lt;/p&gt;

&lt;p&gt;On this code block &lt;br&gt;
`const checkIfWalletIsConnected =  async () =&amp;gt; {&lt;br&gt;
    try {&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const { ethereum } = window;

if (!ethereum) {
  console.log("Garanta que possua a Metamask instalada!");
  return;
} else {
  console.log("Temos o objeto ethereum", ethereum);
}
  /*
  * Confirma se estamos autorizados a acessar a carteira do cliente
  */
  const accounts = await ethereum.request({ method: "eth_accounts" });

  if (accounts.length !== 0) {
    const account = accounts[0];
    console.log("Encontrada a conta autorizada:", account);
    setCurrentAccount(account);
  } else {
    console.log("Nenhuma conta autorizada foi encontrada");
  }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;} catch (error) {&lt;br&gt;
      console.log(error);&lt;br&gt;
  }`&lt;/p&gt;

&lt;p&gt;This will check the const ethereum that will be the blockchain we are currently using, and after that, and basically the method: gets the eth_accounts and checks with IF.&lt;/p&gt;

&lt;p&gt;After that you will need to create the button is simples, all you need is &lt;/p&gt;

&lt;p&gt;&lt;code&gt;{!currentAccount &amp;amp;&amp;amp; (&lt;br&gt;
        &amp;lt;button className="waveButton" onClick={connectWallet}&amp;gt;&lt;br&gt;
        Conectar carteira&lt;br&gt;
        &amp;lt;/button&amp;gt;&lt;br&gt;
        )}&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;the function connectWallet will get the wallet and connect to it.&lt;/p&gt;

&lt;p&gt;Good job you did it!&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>First Web3 smart-contract</title>
      <dc:creator>Carlos Junior</dc:creator>
      <pubDate>Mon, 17 Oct 2022 15:45:47 +0000</pubDate>
      <link>https://dev.to/carlosjuniordev/first-web3-smart-contract-5pc</link>
      <guid>https://dev.to/carlosjuniordev/first-web3-smart-contract-5pc</guid>
      <description>&lt;p&gt;Hi, so this week i just started a bootcamp, and i have been learning how to deploy a contract.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--5nvyek7L--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/px5fnu6k8zyfk0y4d9x2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--5nvyek7L--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/px5fnu6k8zyfk0y4d9x2.png" alt="Image description" width="880" height="396"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Currently i have been working on this project called Tickr, space where you can buy Tickets for shows but in Portuguese.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--nE17_xLd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3exijitnq226k8l37ksj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--nE17_xLd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3exijitnq226k8l37ksj.png" alt="Image description" width="646" height="488"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is the backbone of my contract simple, but since i have good grasp of blockchain been easier for me to learn.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--anqf4wBg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0y3sjgxfg108q7twmouk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--anqf4wBg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0y3sjgxfg108q7twmouk.png" alt="Image description" width="732" height="675"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>react</category>
      <category>web3</category>
      <category>blockchain</category>
    </item>
    <item>
      <title>New project - Soneca Sorteio</title>
      <dc:creator>Carlos Junior</dc:creator>
      <pubDate>Tue, 27 Sep 2022 03:03:45 +0000</pubDate>
      <link>https://dev.to/carlosjuniordev/new-project-soneca-sorteio-1e91</link>
      <guid>https://dev.to/carlosjuniordev/new-project-soneca-sorteio-1e91</guid>
      <description>&lt;p&gt;&lt;a href="https://github.com/CarlosJunioor/sorteador-xlsv"&gt;https://github.com/CarlosJunioor/sorteador-xlsv&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here is my first solution to a problem, although the people that i created to use didnt used.&lt;/p&gt;

&lt;p&gt;Anways it was good way to learn, and i need to learn something like CMS and the basics&lt;/p&gt;

&lt;p&gt;Need some feedback.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>High Intensity</title>
      <dc:creator>Carlos Junior</dc:creator>
      <pubDate>Fri, 23 Sep 2022 09:29:26 +0000</pubDate>
      <link>https://dev.to/carlosjuniordev/high-intensity-1c6c</link>
      <guid>https://dev.to/carlosjuniordev/high-intensity-1c6c</guid>
      <description>&lt;p&gt;So recently i found this podcast called broken by concepts that related to league of legends ranked climbing methodology, i they came up with a lot of great concepts and idea.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--NEHwuaxi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ax3o3wj6r2lbogy6nd9n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--NEHwuaxi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ax3o3wj6r2lbogy6nd9n.png" alt="Image description" width="720" height="439"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;the concept of being expert at something can really apply to programming in general, and probably that’s why im in love with programming, is not the end goal for me but the process of learning and get better everyday.&lt;/p&gt;

&lt;p&gt;Like michael jordan and what makes him one of the best player of all time, we need to see what he did everyday to reach the top 0.01%, just a little talk to keep my medium update.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Github Study</title>
      <dc:creator>Carlos Junior</dc:creator>
      <pubDate>Fri, 23 Sep 2022 07:10:53 +0000</pubDate>
      <link>https://dev.to/carlosjuniordev/github-study-3he3</link>
      <guid>https://dev.to/carlosjuniordev/github-study-3he3</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--EThsezLI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0jke0lls3vncirtdu0d2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--EThsezLI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0jke0lls3vncirtdu0d2.png" alt="Image description" width="720" height="489"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;differences beetween oring and upstream&lt;/p&gt;

&lt;p&gt;upstream = my current open-source project&lt;/p&gt;

&lt;p&gt;origin = my forked repo from the open-source project&lt;/p&gt;

&lt;p&gt;just a small tip for me, because it was confusing at the beginning now im starting to get the hang of it!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>react router explained for beginners</title>
      <dc:creator>Carlos Junior</dc:creator>
      <pubDate>Thu, 22 Sep 2022 07:26:27 +0000</pubDate>
      <link>https://dev.to/carlosjuniordev/react-router-explained-for-beginners-213e</link>
      <guid>https://dev.to/carlosjuniordev/react-router-explained-for-beginners-213e</guid>
      <description>&lt;p&gt;react router explained&lt;br&gt;
hi everyone this is a simple guide for react router, first things first you need to create a page.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cQfxTQJC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5k518hxe7il4qnfcmy0o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cQfxTQJC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5k518hxe7il4qnfcmy0o.png" alt="Image description" width="99" height="27"&gt;&lt;/a&gt;&lt;br&gt;
on this example im creating a report page&lt;/p&gt;

&lt;p&gt;after that i need to make the standard react call out, and this code.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cTpQV3lM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/urvuvtvp1sa8p84ln359.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cTpQV3lM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/urvuvtvp1sa8p84ln359.png" alt="Image description" width="363" height="209"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;after that on my APP.tsx i need to route the index element to the Import i wanted to be in.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--c2K9mKSE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/45c428nuzjql5n6bqv6y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--c2K9mKSE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/45c428nuzjql5n6bqv6y.png" alt="Image description" width="671" height="472"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;simple guide and tip for you!&lt;/p&gt;

</description>
      <category>react</category>
      <category>javascript</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Hello world</title>
      <dc:creator>Carlos Junior</dc:creator>
      <pubDate>Thu, 22 Sep 2022 07:23:12 +0000</pubDate>
      <link>https://dev.to/carlosjuniordev/hello-world-1bbj</link>
      <guid>https://dev.to/carlosjuniordev/hello-world-1bbj</guid>
      <description>&lt;p&gt;this is actually my second blog, im using medium right but i might be migrating to Dev.to is fun tho!&lt;/p&gt;

&lt;p&gt;this is carlos so yea, this is kinda wierd but this medium blog is made only for me or maybe a chance of anyone finding this blog interesting or whatever.&lt;/p&gt;

&lt;p&gt;i decided to create this today to only check what i learn on programming right now, i had a couple of ideas a few weeks ago about pointers i tought i could never learn but know seems pretty easy to me.&lt;/p&gt;

&lt;p&gt;and i failed to join 42Lisbon in August of 2022 so i can remember myself i actually really bad at programming and i must learn a lot if i rly wanna get a job, also wanna practice my english writing skills since im brazilian.&lt;/p&gt;

&lt;p&gt;i would say my goal is to be blockchain developer and work full-time with blockchain developing contracts or doing audits still very new but im currently working on there.&lt;/p&gt;

&lt;p&gt;well if anyone finds this medium blog here is my socials i guess.&lt;/p&gt;

&lt;p&gt;Linked-in &lt;a href="https://www.linkedin.com/in/carlosjuniordev/"&gt;https://www.linkedin.com/in/carlosjuniordev/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;github &lt;a href="https://github.com/CarlosJunioor"&gt;https://github.com/CarlosJunioor&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>web3</category>
    </item>
  </channel>
</rss>
