Skip to content

Instantly share code, notes, and snippets.

View raisedadead's full-sized avatar
🎧
Wired In.

Mrugesh Mohapatra raisedadead

🎧
Wired In.
View GitHub Profile
@raisedadead
raisedadead / findLongRunningOp.js
Created October 18, 2019 20:44 — 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);
}
)
@raisedadead
raisedadead / add_python_to_WINDOWS_WSL_ubuntu.md
Last active September 29, 2021 05:19 — forked from monkut/add_python_to_WINDOWS_WSL_ubuntu.md
Add python to Windows Subsystem for Linux (WSL) [ubuntu]