Skip to content

Instantly share code, notes, and snippets.

View NotMoni's full-sized avatar

Moni NotMoni

  • inside the bid ask spread
View GitHub Profile
@NotMoni
NotMoni / GithubNameChecker.sh
Created October 9, 2019 16:18
Check for untaken or 404 GitHub Usernames
#!/usr/bin/env bash
# Exit on error
set -e
# On MacOS, make sure shuf command is available
@NotMoni
NotMoni / help.txt
Created February 13, 2020 20:49
Mac Sound not Playing
Open Activity Monitor and force quit "coreaudiod"
JavaScript 4 hrs 32 mins ██████████████████▉░░ 89.9%
Markdown 10 mins ▋░░░░░░░░░░░░░░░░░░░░ 3.5%
CSS 7 mins ▌░░░░░░░░░░░░░░░░░░░░ 2.6%
Other 6 mins ▍░░░░░░░░░░░░░░░░░░░░ 2.1%
JSON 3 mins ▎░░░░░░░░░░░░░░░░░░░░ 1.2%

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

🌞Morning 13 commits ▍░░░░░░░░░░░░░░░░░░░░ 2.2%
🌆Daytime 167 commits █████▊░░░░░░░░░░░░░░░ 27.9%
🌃Evening 273 commits █████████▌░░░░░░░░░░░ 45.6%
🌙Night 146 commits █████░░░░░░░░░░░░░░░░ 24.4%
🏆 9,581 Karma Points
✅ Completed 1,635 tasks so far
⌛ Longest streak is 0 days
🏆 757 Contributions in year 2020
📦 Used 312 MB in GitHub's Storage
📜 9 Public Gists
🔑 2 Public Keys
🚫 Not opted to Hire
#!/bin/bash
for branch in `git branch -a | grep remotes | grep -v HEAD | grep -v master`; do
git branch --track ${branch##*/} $branch
done
git fetch --all
git pull --all
@NotMoni
NotMoni / 1.md
Last active April 14, 2022 16:09

tip 1

@NotMoni
NotMoni / 2.md
Last active April 14, 2022 16:07

tip 2