Skip to content

Instantly share code, notes, and snippets.

View Icaruk's full-sized avatar
Magic

Icaruk Icaruk

Magic
View GitHub Profile
@Icaruk
Icaruk / question.js
Last active August 3, 2021 10:33
Node console question
const readline = require("readline");
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout
});
async function doQuestion(question) {
const response = await new Promise( resolve => {
rl.question(question, (data) => {
@Icaruk
Icaruk / multipleGitProfiles.md
Last active May 2, 2025 03:11
How to have multiple profiles on git

Last update: 30-01-2024
Last view: 01-05-2025

Step 1

Go to your work folder, mine is located at: F:/Work/EnterpriseName/

And then create a .gitconfig-work with the following data: