Skip to content

Instantly share code, notes, and snippets.

View leovant's full-sized avatar

Leo Tavares leovant

View GitHub Profile
@leovant
leovant / .1-init-node-project.md
Last active March 17, 2020 13:40
NodeJS project creation

Init project

yarn init

Basic packages

yarn add dotenv youch sucrase
@leovant
leovant / resume.json
Last active December 6, 2022 10:46
My resume
{
"meta": {
"theme": "elegant"
},
"basics": {
"name": "Leovan Tavares da Silva",
"image": "",
"label": "Full-stack Web Developer",
"summary": "Full-stack web developer proficient in Node.js, React, HTML, CSS, PHP, Angular, PostgreSQL, MongoDB, Docker, Amazon Web Services and more.",
"email": "[email protected]",
@leovant
leovant / regexCheatsheet.js
Created February 12, 2019 10:53 — forked from sarthology/regexCheatsheet.js
A regex cheatsheet 👩🏻‍💻 (by Catherine)
let regex;
/* matching a specific string */
regex = /hello/; // looks for the string between the forward slashes (case-sensitive)... matches "hello", "hello123", "123hello123", "123hello"; doesn't match for "hell0", "Hello"
regex = /hello/i; // looks for the string between the forward slashes (case-insensitive)... matches "hello", "HelLo", "123HelLO"
regex = /hello/g; // looks for multiple occurrences of string between the forward slashes...
/* wildcards */
regex = /h.llo/; // the "." matches any one character other than a new line character... matches "hello", "hallo" but not "h\nllo"
regex = /h.*llo/; // the "*" matches any character(s) zero or more times... matches "hello", "heeeeeello", "hllo", "hwarwareallo"