Skip to content

Instantly share code, notes, and snippets.

@blindcamel
blindcamel / ikigai.md
Created June 13, 2024 03:43 — forked from chankeypathak/ikigai.md
Ikigai, Japanese secret of long and happy life
  • Keywords: #books #mentalhealth #life

  • Age limit: 120 (cell regeneration stops)

  • 5 Blue Zones in the World (the geographic regions where people live longest)

  • There's no word that means "retire" in Japanese

  • Diet, exercise, finding a purpose in life, forming strong social ties

  • 1800-1900 calories per day (eat only 80%)

  • The secrets to slowing down aging process

@blindcamel
blindcamel / .bashrc.sh
Created January 27, 2024 03:31 — forked from munabedan/.bashrc.sh
Making python virtual environments less of an annoyance to use
venv() {
# Check if already activated
if [[ "$VIRTUAL_ENV" != "" ]]; then
echo -e "\n\e[1;33mDeactivating current virtual environment...\e[0m"
deactivate
return
fi
# Check if the venv directory exists
if [ -d "venv" ]; then
@blindcamel
blindcamel / grokking_to_leetcode.md
Created March 21, 2023 17:04 — forked from tykurtz/grokking_to_leetcode.md
Grokking the coding interview equivalent leetcode problems

GROKKING NOTES

I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.

So below I made a list of leetcode problems that are as close to grokking problems as possible.

Pattern: Sliding Window