Skip to content

Instantly share code, notes, and snippets.

View lwtz's full-sized avatar
🎯
Focusing

~ William ~ lwtz

🎯
Focusing
  • BR
  • 19:00 (UTC -03:00)
View GitHub Profile
@lwtz
lwtz / Node Version Manager.md
Last active December 7, 2022 17:39
Comandos para usar | NVM - Node Version Manager

Install

nvm install <node_version>      // Install a specific Node version
nvm install node                // Install latest Node release (Current)
nvm install --lts               // Install latest LTS release of NodeJS
nvm install-latest-npm          // Install latest NPM release only

List Available Node Releases

@lwtz
lwtz / cpf_cnpj_validator
Last active August 11, 2021 02:48
Regex para validar CPF e CNPJ
CPF - JS:
/^[0-9]{3}.?[0-9]{3}.?[0-9]{3}-?[0-9]{2}/
Para CPF:
/^\d{3}\.\d{3}\.\d{3}\-\d{2}$/
Para CNPJ:
/^\d{2}\.\d{3}\.\d{3}\/\d{4}\-\d{2}$/
@lwtz
lwtz / GIT.md
Created July 29, 2021 02:44
List of useful GIT commands

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda

home how_it_works contact bought
1 1 0 0
1 1 0 0
1 1 0 0
1 1 0 0
1 1 0 0
1 0 1 1
1 1 0 0
1 0 1 1
1 1 0 0
0 3 0 0 0 0 0 0 0
0 0 0 0 0 0 0 1 8
1 0 6 0 0 0 7 0 0
0 7 0 0 0 4 9 0 0
0 2 0 6 0 0 0 0 5
0 0 1 2 8 0 0 0 0
9 0 0 0 0 0 0 0 0
0 0 7 0 1 8 6 4 0
0 0 0 0 9 5 0 0 0
@lwtz
lwtz / skip.ascr
Last active October 24, 2020 03:02
<?xml version="1.0" encoding="UTF-8"?>
<scriptfile>
<settings program="actiona" version="3.10.0" scriptVersion="1.1.0" os="Windows"/>
<actions>
<action name="ActionPause" version="1.0.0"/>
<action name="ActionLoop" version="1.0.0"/>
<action name="ActionClick" version="1.0.0"/>
<action name="ActionWriteText" version="1.0.0"/>
<action name="ActionKey" version="1.0.0"/>
</actions>
@lwtz
lwtz / charles.proxy
Last active September 8, 2020 01:35
Key from Charles Proxy | September - 2020
Charles Proxy 4.5.6:
Name: Cracked
Key: 05aeeaadc069f0ab2c
@lwtz
lwtz / curl.md
Last active September 4, 2020 03:53

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@lwtz
lwtz / Emojis.md
Created July 10, 2020 01:53
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>