Skip to content

Instantly share code, notes, and snippets.

View samazgor's full-sized avatar
🎯
Focusing

Sam Azgor samazgor

🎯
Focusing
View GitHub Profile
@samazgor
samazgor / crontab
Created December 24, 2018 20:55
default crontab file
# Edit this file to introduce tasks to be run by cron.
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
#
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').#
# Notice that tasks will be started based on the cron's system
@samazgor
samazgor / npm-install-ubuntu.md
Created December 26, 2023 13:25
Install npm via nvm for ubuntu

Switch user sudo su USER

wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.39.0/install.sh | bash
source ~/.profile
nvm ls-remote
nvm install 18.18.2
npm -v
node -v