Skip to content

Instantly share code, notes, and snippets.

@swayducky
swayducky / Huberman dopamine transcript
Last active April 2, 2023 22:11
Huberman dopamine transcript
Title: Controlling Your Dopamine For Motivation, Focus & Satisfaction | Huberman Lab Podcast #39
URL: https://www.youtube.com/watch?v=QmOF0crdyRU
Welcome to the Huberman Lab Podcast, where we discuss science and science-based tools for everyday life. [energetic music] I'm Andrew Huberman, and I'm a professor of neurobiology and ophthalmology at Stanford School of Medicine. Today, we are going to talk all about dopamine and what drives you to do the things that you do. We're going to talk about motivation and desire and craving, but also how dopamine relates to satisfaction and our feelings of wellbeing. And of course, any discussion about dopamine has to include a discussion about the potential for dopamine induced addiction. Indeed, dopamine lies at the heart of addiction to all things. But today we are mainly going to focus on, how what we do and how we do it, and how we conceptualize those things leads to changes in this amazing molecule in our brain and bodies that we call dopamine. I'm going to teach yo
@swayducky
swayducky / cursor
Last active July 25, 2024 15:58
This fixes using "cursor" command in WSL
#!/usr/bin/env sh
# LATEST VERSION OF THIS SCRIPT: https://gist.github.com/swayducky/8ba8f2db156c7f445d562cdc12c0ddb4
# FORKED FROM: https://gist.github.com/ddwang/0046da801bcb29d241869d37ad719394
# 1) No longer has a hard-coded COMMIT
# 2) Auto-symlinks a "code" script to avoid wslCode.sh breaking
# HOW TO INSTALL:
# 1) Remove "c:\Users\<USER_NAME>\AppData\Local\Programs\cursor\resources\app\bin" from Windows Environment Settings
# 2) Modify this script with your Windows <USER_NAME> (NOT your WSL username) in the VSCODE_PATH variable