Skip to content

Instantly share code, notes, and snippets.

View jonasmarco's full-sized avatar
💻
Working from home

Jonas Tolentino jonasmarco

💻
Working from home
View GitHub Profile
@jonasmarco
jonasmarco / oh-my-zsh-git-cheat-sheet.txt
Last active September 18, 2024 02:07
Oh-My-Zsh Git Cheat Sheet
# Git Aliases
### Adding Changes
- `g`: `git`
- `ga`: `git add`
- `gaa`: `git add --all`
- `gapa`: `git add --patch`
- `gau`: `git add --update`
- `gav`: `git add --verbose`
@jonasmarco
jonasmarco / TelefoneBrasileiroInput.tsx
Last active May 23, 2022 02:20
Máscara simples para input de número de telefone brasileiro com 8 ou 9 dígitos e DDD - Versão TypeScript
import React from 'react'
import PropTypes from 'prop-types'
const TYPES = {
OITO: '9999-9999',
NOVE: '99999-9999',
SNOVE: '9 9999-9999',
DDDOITO: '(99)9999-9999',
@jonasmarco
jonasmarco / plopfile.js
Created June 8, 2021 23:42
A plop file example
module.exports = (plop) => {
plop.setGenerator('component', {
description: 'Create a component',
prompts: [
{
type: 'input',
name: 'name',
message: 'What is your component name?'
}
],