-
Criando um repositório:
-
git init
-
Clonando um repositório:
-
git clone ssh://git@nlpmobile:33000/travelg.git
-
Configurando nome do usuário:
-
git config --global user.name "Roney Gomes"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace NegativeBinary | |
{ | |
internal class Solution | |
{ | |
public static void Main(string[] args) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Como usar: ./baixar-certidao.sh <seu-cpf-aqui> | |
export LC_ALL=C | |
URL_BASE=http://www.receita.fazenda.gov.br/Aplicacoes/ATSPO/Certidao/CNDConjuntaSegVia | |
CERTIDAO=ResultadoSegVia.asp\?Origem\=1\&Tipo\=2\&NI\=${1} | |
CERTIDAO_N_ENCONTRADA=SegundaViaCNDConjuntaMsg.asp\?Tipo\=2\&NI\=${1} |
I hereby claim:
- I am roneygomes on github.
- I am roneygomes (https://keybase.io/roneygomes) on keybase.
- I have a public key ASCD8I1Amlfi6vLSsZafJOt01YEmLzjgB09AJD78TBOwCgo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn date-str->millis [date-str] | |
(let [milliseconds-in-a-day (* 24 60 60 1000)] | |
(-> (LocalDate/parse date-str DateTimeFormatter/ISO_DATE) | |
(.toEpochDay) | |
(* milliseconds-in-a-day)))) | |
;; Examples: | |
;; (date-str->millis "2014-12-01") | |
;; => 1417392000000 | |
;; (date-str->millis "2020-08-15") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(comment | |
(require '[puget.printer]) | |
(defn tap [thing] | |
(puget.printer/cprint thing) | |
thing) | |
(main/tap (assoc {:price 1} :symbol "AAPL"))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"2020-02-26": { | |
"date": "2020-02-26", | |
"reportDate": "2020-02-26", | |
"epsActual": null, | |
"epsEstimate": null, | |
"epsDifference": null, | |
"surprisePercent": null | |
}, | |
"2019-07-25": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Trend": { | |
"2019-12-31": { | |
"date": "2019-12-31", | |
"period": "+1y", | |
"growth": "0.1030", | |
"earningsEstimateAvg": "0.0000", | |
"earningsEstimateLow": "0.0000", | |
"earningsEstimateHigh": "0.0000", | |
"earningsEstimateYearAgoEps": "0.7800", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"General": { | |
"Code": "ABEV3", | |
"Type": "Common Stock", | |
"Name": "Ambev S.A", | |
"Exchange": "SA", | |
"CurrencyCode": "BRL", | |
"CurrencyName": "Brazilian real", | |
"CurrencySymbol": "R$", | |
"CountryName": "Brazil", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// escrevendo em papel | |
fn write_on_paper(media: &mut Paper, text: &str); | |
// escrevendo num computador | |
fn write_on_computer(media: &mut Computer, text: &str); | |
// escrevendo na areia | |
fn write_on_sand(media: &mut Sand, text: &str); |
OlderNewer