Skip to content

Instantly share code, notes, and snippets.

View lorenzo132's full-sized avatar
🦍
english is like french but less french

lorenzo132 lorenzo132

🦍
english is like french but less french
View GitHub Profile
@lorenzo132
lorenzo132 / findLongRunningOp.js
Created April 9, 2024 20:10 — forked from kylemclaren/findLongRunningOp.js
Find and (safely) kill long running MongoDB ops
db.currentOp().inprog.forEach(
function(op) {
if(op.secs_running > 5) printjson(op);
}
)
@lorenzo132
lorenzo132 / discord_app_protocols.md
Created February 6, 2022 20:39 — forked from ghostrider-05/discord_app_protocols.md
An unofficial list of discord app protocols

Discord app protocols

Home:

  • /: discord://-/
  • friends: discord://-/channels/@me/
  • nitro: discord://-/store

General:

@lorenzo132
lorenzo132 / autoupdate.md
Created June 10, 2019 17:24 — forked from kyb3r/autoupdate.md
Add auto update functionality to Modmail

Optional steps (Auto-update)

You must fork for this to work. Make sure the name of your fork is exactly modmail

If you want your bot to have auto-update functionality so you can stay up-to-date with new features, do the following steps.

  1. Go into your Heroku app dashboard > deploy > and click connect to GitHub.
  2. Search for modmail and click connect. Note: it should say your GitHub name instead of kyb3r. sample