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
5 4 3 3 2 3 4 3 2 1 | |
1 3 5 6 4 3 2 6 5 | |
1 3 5 6 4 3 2 7 5 5 1° 7 7 6 7 1° 7 6 5 | |
5 4 3 3 2 3 4 3 2 1 | |
1 3 5 6 4 3 2 6 5 | |
1 3 5 6 4 3 2 7 5 1 | |
2 3 4 2 4 3 2 1 2 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
version: '3.1' | |
volumes: | |
# Cria um volume nomeado chamado "mongo-data" onde vamos guardar os dados do mongo, documentação completa de como funciona: https://docs.docker.com/compose/compose-file/#volume-configuration-reference | |
mongo-data: | |
driver: local | |
services: | |
mongo: | |
image: mongo |
I hereby claim:
- I am flyingluscas on github.
- I am flyingluscas (https://keybase.io/flyingluscas) on keybase.
- I have a public key ASDPaK9AX5CRkoEFJaKx6Oppoja_RK1j37Tg2HSV5-ujdQo
To claim this, I am signing this object:
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 unsortedArray = [123, 49, 7, 333] | |
const radix = (arr) => { | |
const max = Math.max(...arr).toString().length | |
const buckets = new Array(10) | |
let arrayWithLeftPaddedZeros = [] | |
for (let i = 0; i < arr.length; i++) { | |
arrayWithLeftPaddedZeros[i] = arr[i].toString().padStart(max, '0') | |
} |
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 fetch = require('node-fetch') | |
const moment = require('moment') | |
const { delay } = require('bluebird') | |
const { find, pipe, prop, propEq } = require('ramda') | |
const estimateUberPrices = async () => { | |
const addresses = [ | |
{ | |
start_latitude: -23.631316, | |
start_longitude: -46.668384, |
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
setInterval(() => { | |
if (document.querySelector('.css-1jwka9i').innerText === 'FAILED' || document.querySelector('.css-1jwka9i').innerText === 'CANCELED') { | |
document.querySelector('.css-1kqc31n').click() | |
document.querySelector('#menu-1 button:first-child').click() | |
console.log('Job reloaded!') | |
} | |
}, 60000) |
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
setInterval(() => document.querySelectorAll('.jobs-list li.failed .action-button--restart').forEach(button => button.click()), 60000) |
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
# | |
# Spaceship ZSH Theme | |
# | |
# Author: Denys Dovhan, denysdovhan.com | |
# License: MIT | |
# https://github.com/denysdovhan/spaceship-zsh-theme | |
# ------------------------------------------------------------------------------ | |
# CONFIGURATION | |
# The default configuration that can be overridden in .zshrc |
NewerOlder