<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>CLI on Carlos Souza</title><link>https://csouza.me/tags/cli/</link><description>Recent content in CLI on Carlos Souza</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sat, 16 Jul 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://csouza.me/tags/cli/index.xml" rel="self" type="application/rss+xml"/><item><title>The most simple way to interact with the Cardano blockchain using the command line</title><link>https://csouza.me/posts/interact-with-cardano-blockchain-using-the-command-line/</link><pubDate>Sat, 16 Jul 2022 00:00:00 +0000</pubDate><guid>https://csouza.me/posts/interact-with-cardano-blockchain-using-the-command-line/</guid><description>&lt;p&gt;In this post we&amp;rsquo;ll learn one the most simple approaches to interacting with the Cardano blockchain using the command line. The command line is the lowest level for interacting with Cardano before using one of its &lt;a href="https://github.com/input-output-hk/cardano-node/tree/master/cardano-cli"&gt;programming language libraries&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;With the cardano command line, we can send commands directly to a cardano &lt;strong&gt;node&lt;/strong&gt; using the &lt;strong&gt;cardano-cli&lt;/strong&gt; on Linux, Mac or Windows.&lt;/p&gt;
&lt;h2 id="the-cardano-node"&gt;The Cardano node&lt;/h2&gt;
&lt;p&gt;The Cardano &lt;strong&gt;node&lt;/strong&gt; is the most important and fundamental element of the network.&lt;/p&gt;</description></item><item><title>A interação mais simples com a blockchain da Cardano via linha de comando</title><link>https://csouza.me/posts/interacao-mais-simples-com-blockchain-cardano/</link><pubDate>Mon, 07 Feb 2022 00:00:00 +0000</pubDate><guid>https://csouza.me/posts/interacao-mais-simples-com-blockchain-cardano/</guid><description>&lt;p&gt;Neste post aprenderemos uma das formas mais simples de interação com a blockchain da Cardano através da &lt;code&gt;cardano-cli&lt;/code&gt; no Mac OS.&lt;/p&gt;
&lt;p&gt;A comunicação com a blockchain da Cardano pela linha de comando é feita através de interações com um nó, ou &amp;ldquo;node&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;Um nó é o elemento fundamental e mais importante da rede.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A blockchain é uma rede de nós&lt;/strong&gt; que &lt;a href="https://en.wikipedia.org/wiki/Peer-to-peer"&gt;comunicam-se entre si&lt;/a&gt; e executam diferentes papéis, como:&lt;/p&gt;
&lt;p&gt;1- Execução do &lt;a href="https://cardano.org/ouroboros/"&gt;protocolo&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Recuperando Arquivos deletados no AWS S3 através da CLI</title><link>https://csouza.me/posts/recuperando-arquivos-deletados-aws-s3/</link><pubDate>Sat, 18 Dec 2021 00:00:00 +0000</pubDate><guid>https://csouza.me/posts/recuperando-arquivos-deletados-aws-s3/</guid><description>&lt;p&gt;Neste post iremos aprender como utilizar a &lt;a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html"&gt;AWS CLI&lt;/a&gt; para recuperar objetos deletados em um bucket S3.&lt;/p&gt;
&lt;h2 id="ativação-de-versionamento-de-objetos"&gt;Ativação de Versionamento de Objetos&lt;/h2&gt;
&lt;p&gt;A recuperação de objetos deletados é possível 🚨 &lt;strong&gt;apenas em buckets com versionamento habilitado&lt;/strong&gt; 🚨. Por padrão, ao criarmos novos buckets, a funcionalidade de versionamento não é habilitada automaticamente.&lt;/p&gt;
&lt;p&gt;Para verificar se um bucket S3 possui versionamento, podemos executar o comando a seguir:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;aws s3api get-bucket-versioning --bucket guitar-store
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Neste exemplo, o comando irá retornar o status de versionamento do bucket &lt;em&gt;guitar-store&lt;/em&gt;. Um retorno vazio significa que o versionamento &lt;strong&gt;não está habilitado.&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>