Skip to content

Instantly share code, notes, and snippets.

View neruson27's full-sized avatar

Neruson neruson27

  • Venezuela
View GitHub Profile
@neruson27
neruson27 / launch.json
Created November 21, 2022 02:27
executing ts-node in a specify file
{
"version": "0.2.0",
"configurations": [
{
"name": "executing ts-node in a specify file",
"type": "node",
"request": "launch",
"args": ["${relativeFile}"],
"runtimeArgs": ["-r", "ts-node/register"],
"cwd": "${workspaceRoot}",

Keybase proof

I hereby claim: * I am neruson27 on github. * I am neruson (https://keybase.io/neruson) on keybase. * I have a public key ASCKbxDLY940Kk2yXaZ-zYYRff-UKkt77Li6dSPSDbAS8Ao To claim this, I am signing this object:

{   "body": {     "key": {       "eldest_kid": "01208a6f10cb63de342a4db25da67ecd86117dff942a4b7becb8ba7523d20db012f00a",       "host": "keybase.io",       "kid": "01208a6f10cb63de342a4db25da67ecd86117dff942a4b7becb8ba7523d20db012f00a",       "uid": "fe06cc90173813f9ce8729288f37ac19",       "username": "neruson"     },     "merkle_root": {       "ctime": 1573910453,       "hash": "e75330601f5640ecd32356b843a7df5f15e524466d6590e2d7687eae627db81d0d9bb8bec3ac7444f9dbd7306f5272c7c30f2ecc6cff01fb03f38a08898b29d2",       "hash_meta": "34fc5598eb7a108e2718b28417569d401fe363504f6178f484ee9cfa5ae84e60",       "seqno": 9813073     },     "service": {       "entropy": "jhdehXVeAobXGvFn5JxQD7lG",       "name": "github",       "username": "neruson27"     },     "type": "web_servic
@neruson27
neruson27 / node-and-npm-in-30-seconds.sh
Created April 8, 2019 16:11 — forked from isaacs/node-and-npm-in-30-seconds.sh
Use one of these techniques to install node and npm without having to sudo. Discussed in more detail at http://joyeur.com/2010/12/10/installing-node-and-npm/ Note: npm >=0.3 is *safer* when using sudo.
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl https://www.npmjs.org/install.sh | sh