Skip to content

Instantly share code, notes, and snippets.

View patogordo's full-sized avatar
:shipit:
Learning Something New

Icaro (Pato) patogordo

:shipit:
Learning Something New
View GitHub Profile
@patogordo
patogordo / answerfile
Created March 28, 2024 13:29 — forked from oofnikj/answerfile
Install Docker on Termux
KEYMAPOPTS="us us"
HOSTNAMEOPTS="-n alpine"
INTERFACESOPTS="auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
hostname alpine
"
TIMEZONEOPTS="-z UTC"

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@patogordo
patogordo / README.md
Created January 19, 2023 17:54 — forked from falcon11/README.md
A react native year month picker.

react-native-year-month-picker

A year month picker component for react native.

Usage

import yearMonthPicker.js file to your project.
detail usage you can check for the example.js file.
or open this snap in expo

@patogordo
patogordo / material-colors.json
Created January 28, 2022 00:09 — forked from kawanet/material-colors.json
Material Design Style Color Palette as JSON
{
"red": {
"50": "#ffebee",
"100": "#ffcdd2",
"200": "#ef9a9a",
"300": "#e57373",
"400": "#ef5350",
"500": "#f44336",
"600": "#e53935",
"700": "#d32f2f",
@patogordo
patogordo / index.js
Last active September 27, 2023 13:26
Store
const store = new Store({
state: {
count: 0
}
})
store.mutation.increment = (state) => {
state.count = state.count + 1
}
@patogordo
patogordo / generatePass.js
Last active October 21, 2021 19:02
A simples strong password generator
function generatePass({
length,
allowNumbers = true,
allowLowerCase = true,
allowUpperCase = true,
allowSymbols = true,
allowRepeat = true
}) {
const lowerCase = "abcdefghijklmnopqrstuvwxyz"
const upperCase = "ABCDEFGMIJKLMNOPQRSTUVWXYZ"
@patogordo
patogordo / trocadilhos.json
Created September 3, 2021 14:56 — forked from henrycunh/trocadilhos.json
Dataset com trocadilhos/charadas, extraídos do site https://osvigaristas.com.br
[
{
"pergunta" : "Quais heróis se preocupam mais com as poses para fotos do que com salvar o seu planeta?",
"resposta" : "Os TumblrCats"
},{
"pergunta" : "Qual é a profissão do Homem Aranha?",
"resposta" : "Desenvolvedor Web"
},{
"pergunta" : "Qual é o estado dos EUA que te eletrifica?",
"resposta" : "Ohio."