Skip to content

Instantly share code, notes, and snippets.

View mamsoudi's full-sized avatar

Masoud Mirzaei mamsoudi

View GitHub Profile
@mamsoudi
mamsoudi / keybase.md
Created April 11, 2021 11:05
Mamsoudi keybase Proof

Keybase proof

I hereby claim:

  • I am mamsoudi on github.
  • I am mamsoudi (https://keybase.io/mamsoudi) on keybase.
  • I have a public key ASAlefy17rcAj6oxLNStFtz5jAHUatQGdMsQTNJHOHjMPQo

To claim this, I am signing this object:

@mamsoudi
mamsoudi / ecosystem.config.js
Last active August 19, 2020 09:04
Here's the configuration I came up with for my PM2 API instances on my own server, hopefully it'll be useful.
module.exports = {
apps : [{
name: 'Sample API',
exec_mode: 'cluster',
instances: 4,
watch: true,
// I had my database under `./cinema` so make sure anything changing inside the project's root is ignored
// if you have watch turned on above
ignore_watch: ['node_modules', 'cinema'],
script: './dist/index.js',
@mamsoudi
mamsoudi / keybase.md
Created June 18, 2018 12:23
A gist just for my keybase.io

Keybase proof

I hereby claim:

  • I am mamsoudi on github.
  • I am mamsoudi (https://keybase.io/mamsoudi) on keybase.
  • I have a public key ASCqmEE84G3B8oKjve4cHZzuiQr7Q8hegotOTZCBq2_zWgo

To claim this, I am signing this object: