Hardware details

M1 Mac is ARM64. This is the Apple Silicone chip.

Tree

VSCode (Windsurf)

Prettier (and formatOnSave)

    "[javascript]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "prettier.useTabs": true,//< -- just deleted this to test out
    "editor.formatOnSave": true

My entire Windsurf settings.json

{
  "windsurf.autocompleteSpeed": "default",
  "windsurf.autoExecutionPolicy": "off",
  "windsurf.chatFontSize": "default",
  "windsurf.rememberLastModelSelection": false,
  "windsurf.openRecentConversation": false,
  "windsurf.explainAndFixInCurrentConversation": false,
  "editor.minimap.enabled": false,
  "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[css]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[scss]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[json]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[javascriptreact]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },

  "editor.formatOnSave": true,
  "javascript.updateImportsOnFileMove.enabled": "always",
  "security.workspace.trust.untrustedFiles": "open",
  "git.autofetch": true,
  "windsurf.enableTabToJump": false
}

Shortcuts

re-indent: cmd+K + cmd+F

Rosetta 2

This allows me to run a terminal with a translation layer so that apps with the X86_64 processor can run on this machine.

Terminals with Rosetta 2

When switching between terminals running Rosetta 2 you can uncheck the Rosetta 2

Create symbolic link instead of Finder alias

Here is an example using the _jupyter directory:

Jupyter Notebook

Quick Install (Python 3.11)

Jupyter will now list this environment as a selectable kernel.

JavaScritpt

My Steps to install Javascript to the Jupyter notebook. These are based on my memory after just having installed it.

From here you should be able to open a Jupyter Lab and see an option for JavaScript

Deno (Anohter JavaScript option that sort of works)

https://deno.com/blog/v1.37

Install

OBS Studio

Make video output for YouTube 1920x1080 16:9

Then to adjust the screen go to Sources > [whatever the media source is] > Filters > Crop/Pad adjust size as needed.

Then with your cursor you can move around and adjust the screen as you need.

dimensions for screen record tall/narrow

500 x 680 start on 0:29

MacAir do not start on lift screen

sudo nvram AutoBoot=%00

Ownership of folders

Android Emulator

Installation de Android Emulator dans MacOS

  1. install watchman brew install watchman
  2. install JDK brew install --cask zulu@17
  3. telecharger Android Studiohttps://developer.android.com/studio
  4. créer env variables:
export ANDROID_HOME=/Users/your-username/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools
  1. yarn start

nettoyer le android dossier

  1. dans le racine de le project il y a un android/. Dans ça fait ./gradlew clean
cd android
./gradlew clean
  1. re-install yarn env
rm -rf node_modules
rm -rf .expo
yarn install   # or `npm install` if you use npm

.gitignore

Nick ajouter pour android emulator

android/ .idea/

Android Studio via commandline

CyberDuck

  1. create bookmark
  2. select "SFTP (SSH File Transfer Protocol)"
  3. server: localhost
  4. port: 9000 if we are tunneling in through port 9000
  5. enter credentials to access the server we are tunneling into.

Python

Brew install 3.11

Ollama

less used commands

Windsurf

GitHub

when setting up gitHub on a new machine

git config user.name "Nick Rodriguez"
git config user.email "YOUR_GITHUB_EMAIL@example.com"

Fresco

Dual monitor app free Mac app store app

Shotcut

Krita

Claude Code

GitHub MCP