This file contains hidden or 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
# My Git config inspired by Rodrigo Manguinho and Otavio Lemos | |
[user] | |
email = adejair.junioroulook@gmail.com | |
name = Adejair Jr | |
[alias] | |
s = !git status -s | |
c = !git add --all && git commit -m | |
l = !git log --pretty=format:'%C(blue)%h%C(red)%d %C(yellow)%s - %C(cyan)%cn, %C(green)%cr' |
This file contains hidden or 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
async function getShop(){ | |
const response = await fortniteAPI.getDailyShop(); | |
return response.json(); | |
} | |
var server = http.createServer(async (req, res) => { | |
var loja = await getShop(); | |
This file contains hidden or 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
(() => { | |
const moment = require("moment-business-days"); | |
moment.locale("pt-br"); | |
// Começar com espaço em branco. | |
let utilDays = []; | |
for (var i = 1; i <= 12; ++i) { | |
const arrayDaysUtils = moment( |
This file contains hidden or 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
// Ajustar de acordo com o retorno do seu banco de dados... | |
const documents = [ | |
{ | |
documentName: "Arquivo_Do_Adestoso.jpg", | |
path: "RG" | |
}, | |
{ | |
documentName: "Arquivo_do_Gildo.pdf", |
This file contains hidden or 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
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
/** | |
* | |
* @author UniRV_2 |
This file contains hidden or 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
class Triangulo { | |
double ladoA; | |
double ladoB; | |
double ladoC; | |
Triangulo(double ladoA, double ladoB, double ladoC) { | |
this.ladoA = ladoA; | |
this.ladoB = ladoB; | |
this.ladoC = ladoC; |
This file contains hidden or 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
\documentclass[article,12pt,oneside,a4paper,brazil,sumario=tradicional]{abntex2} | |
% Pacotes usados | |
\usepackage{times}%Usa a fonte Latin Modern | |
\usepackage[T1]{fontenc}%Selecao de codigos de fonte. | |
\usepackage[utf8]{inputenc}%Codificacao do documento | |
\usepackage{indentfirst}%Indenta o primeiro parágrafo de cada seção. | |
\usepackage{microtype}%Para melhorias de justificação | |
\usepackage{lipsum}%Para geração de dummy text | |
\usepackage{mathptmx} | |
\usepackage[bottom=2cm,top=3cm,left=3cm,right=2cm]{geometry} |
This file contains hidden or 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
const SimpleHashTable = require('simple-hashtable') | |
, hashtable = new SimpleHashTable() | |
, hashtableData = new SimpleHashTable(); | |
let tick = 0; | |
hashtableData.put('timer_c201a', { | |
ofertaId: 'timer_c201a', | |
time: 1, |
This file contains hidden or 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
\documentclass[xcolor=table]{beamer} | |
\usepackage{multirow} | |
\usepackage[table]{xcolor} | |
\begin{document} | |
\begin{table}[] | |
\begin{tabular}{|l|l|l|} | |
\hline | |
~ ~ ~ ~ ~ ~ & ~ ~ ~ ~ ~ ~ & ~ ~ ~ ~ ~ ~ {\color[HTML]{333333} } \\ \hline |
This file contains hidden or 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
_convertStringDateToDate(stringDate: string) { | |
const DATE = 1; | |
const MONTH = 2; | |
const YEAR = 3; | |
let regex = /^([0-9]{0,1}[0-9]).* (\w[a-z]{3,15}).*([0-9]{4,})/.exec(stringDate); | |
let convertMonthToNumber = moment().locale('pt-br').month(regex[MONTH]).format("M"); | |
return new Date(`${regex[YEAR]}-${convertMonthToNumber}-${regex[DATE]}`); | |
} |
NewerOlder