Skip to content

Instantly share code, notes, and snippets.

View ulises-castro's full-sized avatar
🚀

Ulises Castro ulises-castro

🚀
  • Anywhere.
View GitHub Profile
@ulises-castro
ulises-castro / multiple_ssh_setting.md
Created October 7, 2022 00:39 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"
@ulises-castro
ulises-castro / reload-force.js
Last active July 28, 2021 01:25
Reload forcing to react typescript project - Hot reloading breaks when encountering Typescript error (Create React App)
// This scripts is a simple patch to force our react project to recompile after an typescript error was throwed and app had been frozen.
// More Details about the issue: https://github.com/facebook/create-react-app/issues/8667
// The steps
// Save the script into your project's root folder
// yarn chokidar --dev | npm install chokidar --save-dev
// then run your app and in a another terminal run "node reload-force.js"
// NOTE: It needs be refactor in order to become more flexible, right now IT ONLY WORKS WITH App ()
var fs = require("fs");
var chokidar = require("chokidar");