Skip to content

Instantly share code, notes, and snippets.

View AndreasGrip's full-sized avatar

AndreasGrip

View GitHub Profile
@simov
simov / README.md
Last active April 4, 2025 21:39
Run `node` scripts using `nvm` and `crontab` without hardcoding the node version

Run node scripts using nvm and crontab without hardcoding the node version

cronjob.env.sh

#!/bin/bash

# NVM needs the ability to modify your current shell session's env vars,
# which is why it's a sourced function
@developius
developius / README.md
Last active March 14, 2025 17:38
Setup SSH keys for use with GitHub/GitLab/BitBucket etc