Skip to content

Instantly share code, notes, and snippets.

View xkeshav's full-sized avatar
🟪

Keshav Mohta xkeshav

🟪
View GitHub Profile
@xkeshav
xkeshav / .gitconfig
Created July 15, 2024 04:45 — forked from Kovrinic/.gitconfig
git global url insteadOf setup
# one or the other, NOT both
[url "https://github"]
insteadOf = git://github
# or
[url "[email protected]:"]
insteadOf = git://github
@xkeshav
xkeshav / Ubuntu to mac OS.md
Last active April 22, 2022 06:12 — forked from zymr-keshav/Ubuntu to macOS.md
useful tweaks and tip while switching from ubuntu to macOS x

Ubuntu to Mac OS.

following are my finding while switching from ubuntu to macOS, first I describe the issue and what is the alternative in the mac OS before moving forward, let's know the version name by their number denoated as OS X

version number version name
10.10 "Yosemite"
10.11 "EI Captian"
10.12 "Sierra"
10.13 "High Sierra"
@xkeshav
xkeshav / gist:3367635
Created August 16, 2012 07:15 — forked from remy/gist:360113
setInterval run once, then keep running
setInterval((function () {
console.log(new Date()); // run some arbitrary code
return arguments.callee; // here be the magic
})(), 1000);
// ^---- and that runs the function, and the return val is assign to the interval