Completely uninstall Python 3 on Mac

Removing the app does not completely uninstall that version of Python. You will need to remove the framework directories and their symbolic links. Deleting the frameworks sudo rm -rf /Library/Frameworks/Python.framework/Versions/[version number] replacing [version number] with 3.10 in your case. Removing symbolic links To list the broken symbolic links. ls -l /usr/local/bin | grep ‘../Library/Frameworks/Python.framework/Versions/[version number]’ … Read more

Authentication to GitHub using personal access token on macOS?

Step 1: Unset existing credentials Copy this into your terminal: git config –global –unset credential.helper git credential-osxkeychain erase host=github.com protocol=https and hit ‘Enter’ twice to delete existing GitHub credentials (username and password) from your computer. Recommended: if you were previously authenticating using a GitHub Personal Access Token (PAT) and want to update to a new … Read more

Sublime Text 2 / Sublime Text 3 bring back unsaved files on osx

Sublime Text 2 stores the files in ~/Library/Application Support/Sublime Text 2/Settings, in the .sublime_session files that are located there. The contents of those files are a large JSON blob that contains the individual tab contents. Search in the file for the file name / tab name / a key word in the document and you … Read more

How to prevent Figma Agent to be added to Login Items

removing FigmaAgent.app rm -fr ~/Library/Application\ Support/Figma/FigmaAgent.app creating a dummy file touch ~/Library/Application\ Support/Figma/FigmaAgent.app make the file undeletable sudo chflags -R schg ~/Library/Application\ Support/Figma/FigmaAgent.app Now Figma will not be able to override that file when it wants to update it and you don’t have to fiddle with the .app everytime Figma updates itself. Also the login … Read more

Conda and Visual Studio Code debugging

I found a better solution, based on the previous ones: Go to Workplace Settings. Override the parameter python.venvPath with the Path to folder with a list of Virtual Environments. For the case of anaconda: This setting enables VS Code to recognize the available conda environments. Thus, we can click on the current python interpreter and … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)