Skip to content

Instantly share code, notes, and snippets.

@Wchua
Wchua / Invalid Host Header NGROK
Created June 24, 2024 08:42 — forked from xola139/Invalid Host Header NGROK
When Invalid Host Header when ngrok tries to connect to Angular or React dev server
When Invalid Host Header when ngrok tries to connect to Angular or React dev server use this form for run ngrok.
ngrok http 8080 -host-header="localhost:8080"
ngrok http --host-header=rewrite 8080
@Wchua
Wchua / fork_context_disable.reg
Last active March 7, 2024 14:12
windows-context-menu
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Fork]
[-HKEY_CLASSES_ROOT\Directory\shell\Fork]
const en = {
"PROFILE": "Profile",
};
const pt = {
"PROFILE": "Perfil",
};
let newPt = en;
const keys = Object.keys(pt);
@Wchua
Wchua / git-ssh-error-fix.sh
Created April 20, 2023 16:15 — forked from Tamal/git-ssh-error-fix.sh
Solution for 'ssh: connect to host github.com port 22: Connection timed out' error
$ git clone [email protected]:xxxxx/xxxx.git my-awesome-proj
Cloning into 'my-awesome-proj'...
ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.
$ # This should also timeout
$ ssh -T [email protected]
ssh: connect to host github.com port 22: Connection timed out
$ # but this might work