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
{
"basics": {
"name": "Mrugesh Mohapatra",
"label": "Principal Cloud Architect & DevOps Leader",
"website": "https://mrugesh.dev",
"summary": "Principal Cloud Architect & DevOps Leader with 13+ years experience and 7+ years scaling freeCodeCamp.org infrastructure to 14M+ users with 99.99% uptime, specializing in multi-cloud architecture, IaC, and open-source project governance.",
"location": {
"city": "Bengaluru",
"countryCode": "IN",
"region": "Karnataka"
{
"basics": {
"name": "Thomas Edison",
"label": "Inventor and Businessman",
"picture": "https://example.com/photo.jpg",
"email": "thomas.edison@example.com",
"phone": "(123) 456-7890",
"website": "https://thomasedison.com",
"summary": "Prolific inventor and businessman known for developing many devices that greatly influenced life around the world, including the phonograph, the motion picture camera, and the electric light bulb.",
"location": {

Shell Command Shortcuts and Tricks Cheat Sheet

History Expansion

  • !!: 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'.
@raisedadead
raisedadead / macOS-Catalina-Wifi-Fix.md
Last active July 16, 2021 06:24
Wifi interface completely gone after catalina update on 2015 MBP

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

  1. Download the modified files (thanks Alex!) and unzip > you get a folder named WiFi_kexts
  2. Boot into Recovery Mode: restart your computer while pressing and holding cmd-R
  3. Open > Utilities > Terminal via Menu Bar (detailed instructions here)
  4. Type csrutil disable and hit return
  5. Type reboot and hit return > computer reboots normally
  6. Open > Utilities > Terminal and enter cd and hit the space bar (don't hit return)
  7. Drag the folder WiFi_kexts onto the Terminal window and hit return
@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 / 0-Introduction.txt
Last active February 23, 2024 15:58
Checkout, QA and Update PRs locally.
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.
@raisedadead
raisedadead / cmder.lua
Last active April 11, 2020 07:14
Cmder Customization
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
@raisedadead
raisedadead / keybase.md
Last active April 13, 2021 19:26
Yeah that's my keybase.io proof!

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:

@raisedadead
raisedadead / Restore_Windows_Photo_Viewer.reg
Created March 13, 2016 06:50
Windows Photo Viewer (Legacy Windows 7)
Windows Registry Editor Version 5.00
; Created by: Shawn Brink
; http://www.tenforums.com
; Tutorial: http://www.tenforums.com/tutorials/14312-windows-photo-viewer-restore-windows-10-a.html
[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open]
"MuiVerb"="@photoviewer.dll,-3043"
@raisedadead
raisedadead / uninstall_windows10_apps.txt
Last active November 21, 2015 18:10
Removing unwanted Windows 10 Apps
Fire up a PowerShell Window with admin priviledges and Execute:
Get-AppxPackage *3dbuilder* | Remove-AppxPackage
Get-AppxPackage *windowsalarms* | Remove-AppxPackage
Get-AppxPackage *windowscalculator* | Remove-AppxPackage
Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage
Get-AppxPackage *windowscamera* | Remove-AppxPackage
Get-AppxPackage *officehub* | Remove-AppxPackage
Get-AppxPackage *skypeapp* | Remove-AppxPackage
Get-AppxPackage *getstarted* | Remove-AppxPackage