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
[user] | |
name = <user> | |
email = <mail> | |
[alias] | |
co=checkout | |
st=status | |
up = !git fetch origin && git pull --rebase origin main | |
upto = !git fetch origin && git pull --rebase origin | |
sup = !git branch --set-upstream-to=origin/`git symbolic-ref --short HEAD` | |
ammend = !git add -A; git commit --ammend --no-edit |
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
function fxabc (...params) { return params } | |
let fxabcArrow = (...params) => { throw new Error(JSON.stringify(params)) } | |
let runnerOperations = { | |
logger: (id) => | |
(message) => | |
console.log(`${id} - ${message}`), | |
run (fx, ...params) { | |
let logger = this.logger(Date.now()); |
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
'use strict'; | |
const http = require('http'); | |
const url = 'http://dabsistemas.saude.gov.br/sistemas/sadab/js/buscar_cpf_dbpessoa.json.php?cpf='; | |
function request(url){ | |
return new Promise((resolve, reject)=>{ | |
http.get(url+cpf, (res)=>{ | |
let statusCode = res.statusCode; | |
let error = undefined; | |
let body = ''; |
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
import javax.imageio.*; | |
import java.awt.image.*; | |
import java.io.*; | |
import javax.swing.*; | |
import java.util.*; | |
import java.awt.*; | |
public class TrabalhoProcessamento { | |
public static void main (String[] args) { | |
/* Cria a janela e define a a��o ao clicar no bot�o de fechar e seu |