Skip to content

Instantly share code, notes, and snippets.

View danielnieto's full-sized avatar
🍔
coding

Daniel Nieto danielnieto

🍔
coding
  • Crunchtime
  • Tochpan, Jalisco, Mexico
View GitHub Profile
@santoshpy
santoshpy / .gitignore
Last active February 6, 2024 23:52
gitignore file for django project
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
@GManzato
GManzato / pm2.sh
Created September 3, 2017 09:59
Run PM2 on a Synology , file need to be create in `/usr/local/etc/rc.d`
#!/bin/sh
: ${pm2_user="root"}
command="/usr/local/lib/node_modules/pm2/bin/pm2"
pidfile="/home/${pm2_user}/.pm2/${name}.pid"
super() {