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:
pub trait Write { | |
// escreve um buffer nesse escritor retornando | |
// quantos bytes foram escritos em caso de sucesso | |
fn write(&mut self, buf: &[u8]) -> Result<usize>; | |
// limpa o escritor, garantindo que qualquer conteúdo | |
// armazenado em buffers intermediários seja persistido | |
// no armazenamento final | |
fn flush(&mut self) -> Result<()>; |
fn write(media: &mut ???, text: &str); | |
// ... |
{ | |
"General": { | |
"Code": "ABEV3", | |
"Type": "Common Stock", | |
"Name": "Ambev S.A", | |
"Exchange": "SA", | |
"CurrencyCode": "BRL", | |
"CurrencyName": "Brazilian real", | |
"CurrencySymbol": "R$", | |
"CountryName": "Brazil", |
{ | |
"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", |
{ | |
"2020-02-26": { | |
"date": "2020-02-26", | |
"reportDate": "2020-02-26", | |
"epsActual": null, | |
"epsEstimate": null, | |
"epsDifference": null, | |
"surprisePercent": null | |
}, | |
"2019-07-25": { |
(comment | |
(require '[puget.printer]) | |
(defn tap [thing] | |
(puget.printer/cprint thing) | |
thing) | |
(main/tap (assoc {:price 1} :symbol "AAPL"))) |
(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") |
I hereby claim:
To claim this, I am signing this object:
#!/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} |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace NegativeBinary | |
{ | |
internal class Solution | |
{ | |
public static void Main(string[] args) |