!!
: Repeats the last command.!$
: Last word of the previous command.!^
: First argument of the previous command.!n
: Repeats the nth command in your history.!-n
: Repeats the command n places back in the history list.!string
: Executes the most recent command starting with 'string'.
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
// Start chrome with remote debugging port on the terminal like this: | |
// '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome' --remote-debugging-port=9222 | |
// Next, run the script with the following command: | |
// npx taiko main.js --observe | |
// Code | |
const { | |
openBrowser, | |
link, |
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.
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", |
Follow this guide to install WSL:
https://docs.microsoft.com/en-us/windows/wsl/install-win10
- Get your build tools and python required libraries installed:
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
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); | |
} | |
) |
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. |
- 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
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 |
NewerOlder