A Google App Script to detele emails from the spam folder. Why? – Because that's what bored programmers do. This is a fork of https://github.com/spamzero/spamzero, with minor updates to suite my needs. In case you use this please check and update the rules. Goodluck.
View resume.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
"basics": { | |
"name": "Mrugesh Mohapatra", | |
"image": "", | |
"url": "https://mrugesh.dev", | |
}, | |
"meta": { | |
"version": "v1.0.0", | |
"canonical": "https://github.com/jsonresume/resume-schema/blob/v1.0.0/schema.json", |
View add_python_to_WINDOWS_WSL_ubuntu.md
Install Windows Subsystem for Linux (WSL) [ubuntu]
Follow this guide to install WSL:
https://docs.microsoft.com/en-us/windows/wsl/install-win10
Prepare WSL (ubuntu)
- Get your build tools and python required libraries installed:
View fzf-ssh.zsh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function fzf-ssh () { | |
local selected_host=$(grep "Host " ~/.ssh/ssh_config | grep -v '*' | cut -b 6- | fzf --query "$LBUFFER" --prompt="SSH Remote > ") | |
if [ -n "$selected_host" ]; then | |
BUFFER="ssh ${selected_host}" | |
zle accept-line | |
fi | |
zle reset-prompt | |
} |
View macOS-Catalina-Wifi-Fix.md
Apple Discussion: https://discussions.apple.com/thread/250720965?answerId=251575762022#251575762022 Most Active answer on StackOverflow: https://apple.stackexchange.com/questions/372025/missing-wifi-interface-after-upgrade-to-catalina?newreg=1904677ef3d840f0a87b73a2cd7bd342
- Download the modified files (thanks Alex!) and unzip > you get a folder named WiFi_kexts
- Boot into Recovery Mode: restart your computer while pressing and holding cmd-R
- Open > Utilities > Terminal via Menu Bar (detailed instructions here)
- Type
csrutil disable
and hit return - Type
reboot
and hit return > computer reboots normally - Open > Utilities > Terminal and enter cd and hit the space bar (don't hit return)
- Drag the folder WiFi_kexts onto the Terminal window and hit return
View findLongRunningOp.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.currentOp().inprog.forEach( | |
function(op) { | |
if(op.secs_running > 5) printjson(op); | |
} | |
) |
View 0-Introduction.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A workflow of working with pull-requests. | |
Following this you should be able to: | |
- review, QA, test PRs locally | |
- update PRs on freeCodeCamp's repository. |
View LoopBack-Migration-Checklist.md
Reference: https://loopback.io/doc/en/lb3/Migrating-to-3.0.html
PR: freeCodeCamp/freeCodeCamp#15892
Checklist for Upgrade:
- Update LoopBack version
- Edit package.json
- Update dependencies with npm
- Update use of REST error handler
-
Replace LoopBack middleware “getter” propertiesNOT Required or Already in Compliance - Update models
View cmder.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function lambda_prompt_filter() | |
clink.prompt.value = string.gsub(clink.prompt.value, "{lamb}", "λ") | |
end | |
--- | |
-- Resolves closest directory location for specified directory. | |
-- Navigates subsequently up one level and tries to find specified directory | |
-- @param {string} path Path to directory will be checked. If not provided | |
-- current directory will be used | |
-- @param {string} dirname Directory name to search for |
View keybase.md
Keybase proof
I hereby claim:
- I am raisedadead on github.
- I am mrugesh (https://keybase.io/mrugesh) on keybase.
- I have a public key whose fingerprint is CDD0 D7EC 6F56 253A B5E0 6784 67F4 C520 0D5D A9B5
To claim this, I am signing this object:
NewerOlder