Skip to content

Instantly share code, notes, and snippets.

View igorskyflyer's full-sized avatar
☄️
Busy reinventing myself. 🐛

Igor Dimitrijević (igorskyflyer) igorskyflyer

☄️
Busy reinventing myself. 🐛
View GitHub Profile
@igorskyflyer
igorskyflyer / vscode-npm-bin.md
Last active September 22, 2023 19:28
💣 Quickly fix and power up your Windows Terminal in VS Code with Node binaries! ⚡

When working with the Terminal in VS Code on Windows one the most frequent difficulty that all developers face is that the Terminal doesn't pick up local Node binaries, installed via npm install.


For example when working in an npm project and after successfully installing aria, if one tries to run it from the Terminal will see the following error:

Terminal error in VS Code caused by missing path Terminal error
@igorskyflyer
igorskyflyer / quines.js
Last active September 19, 2023 20:50
JavaScript quines
// 💣 JavaScript quines
//
// What's a quine?
//
// A quine is a program that does not take any input but outputs a copy of its own code.
//
// 1st quine
(function () {
console.log(arguments.callee.toString())