Skip to content

Instantly share code, notes, and snippets.

@ModulesUnraveled
Last active December 13, 2023 15:37
Show Gist options
  • Select an option

  • Save ModulesUnraveled/d0746a0a1c14ed69414ddc4a551b60b4 to your computer and use it in GitHub Desktop.

Select an option

Save ModulesUnraveled/d0746a0a1c14ed69414ddc4a551b60b4 to your computer and use it in GitHub Desktop.

Revisions

  1. ModulesUnraveled revised this gist Jul 29, 2023. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions 01. Setup a new (M1) mac.md
    Original file line number Diff line number Diff line change
    @@ -16,6 +16,7 @@
    ## 3rd Party

    - [AppZapper](https://www.appzapper.com/): Remove all the extra stuff that dragging an app to the trash misses
    - [ArcBrowser](https://arc.net/): Better web browser
    - [BackBlaze](https://secure.backblaze.com/user_overview.htm): Automated, all-the-time backup
    - [Bartender](https://www.macbartender.com/): Manage the menu bar icons
    - [Cyberduck](https://cyberduck.io/): SFTP client
  2. ModulesUnraveled revised this gist Jul 26, 2023. 7 changed files with 130 additions and 311 deletions.
    20 changes: 6 additions & 14 deletions 01. Setup a new (M1) mac.md
    Original file line number Diff line number Diff line change
    @@ -1,45 +1,37 @@
    ## Before anything else:
    - [Dropbox](https://www.dropbox.com/downloading): Store all the things (including my 1Password database needed next)

    - [1Password](https://1password.com/downloads/): The best password manager (Need this early so that I can enter passwords for the rest of the stuff below)

    ## App Store:

    - Mindnode: Mind Mapping
    - Trello: Basic project board
    - Todoist: Todo manager (Integrates with google assistant)
    - Keynote: Presentations
    - Numbers: Spreadsheets
    - Pages: Documents
    - Harvest: Time tracking
    - Hidden Me: Hide desktop icons (for screen sharing and the like)
    - Slack: Work chat app
    - MindNode Pro 1: Mind Mapping
    - Moom: Window manager
    - Alfred: App launcher and so much more (Spotlight replacement)
    - Amphetamine: Keep your computer awake for ever

    ## 3rd Party
    - [AirDroid](https://www.airdroid.com/#go_download_airdroid): Mirror android notifications, send and receive texts, wireless file transfer for Android phone

    - [AppZapper](https://www.appzapper.com/): Remove all the extra stuff that dragging an app to the trash misses
    - [BackBlaze](https://secure.backblaze.com/user_overview.htm): Automated, all-the-time backup
    - [Bartender](https://www.macbartender.com/): Manage the menu bar icons
    - [Cyberduck](https://cyberduck.io/): SFTP client
    - [Docker for Mac](https://store.docker.com/editions/community/docker-ce-desktop-mac): Docker... for Mac
    - [Doxie](http://help.getdoxie.com/doxiego/): Scanner app
    - [Dropbox](https://www.dropbox.com/downloading): Store all the things
    - [Fantastical](https://flexibits.com/fantastical): Better calendar app
    - [Firefox](https://www.mozilla.org/en-US/firefox/new/): Browser
    - [Franz](https://meetfranz.com/#download): Inbox/Slack/etc. app
    - [Google Chrome](https://www.google.com/chrome/): Browser
    - [Google Drive](https://www.google.com/drive/download/): File backup
    - [HandBrake](https://handbrake.fr/downloads.php): Video converter (Also rip DVDs in conjunction with VLC)
    - [Imageoptim](https://imageoptim.com/mac): Make image file sizes smaller
    - [iStat Menus](http://download.bjango.com/istatmenus5/): Info about your compuer in the menu bar
    - [iStat Menus](http://download.bjango.com/istatmenus5/): Info about your computer in the menu bar
    - [iTerm2](https://www.iterm2.com/downloads.html): Terminal replacement
    - [Mamp](https://www.mamp.info/en/): Basic, local web development
    - [Monolingual](https://ingmarstein.github.io/Monolingual/): Delete a bunch of language files you'll never use
    - [Muzzle](https://muzzleapp.com/): Mute notifications when sharing/recording screen
    - [Screenflow](https://www.telestream.net/screenflow/overview.htm): Record your screen (and great editor!)
    - [Skype](https://www.skype.com/en/get-skype/): Video/text chat app
    - [Sourcetree](https://www.sourcetreeapp.com/): Visual Git tool
    - [Visual Studio Code](https://code.visualstudio.com/): Code editor
    - [VLC](https://www.videolan.org/vlc/download-macosx.html): Video player
    - [Zoom](https://zoom.us/download): Video conference app
    - [Zoom](https://zoom.us/download): Video conference app
    12 changes: 10 additions & 2 deletions 02. Terminal Stuff.md
    Original file line number Diff line number Diff line change
    @@ -1,17 +1,23 @@
    ## iTerm Preferences

    General:

    - Closing (uncheck all)

    Appearance:

    - Show tab bar even when there is only one tab

    Profiles:

    - Working Directory: Reuse previous session's directory

    Terminal:

    - Scrollback Lines: Unlimited scrollback

    ## General Terminal Stuff

    - Command Line Tools: Git and stuff
    - `xcode-select --install`
    - If the above doesn't work, download directly from here: [Apple](https://developer.apple.com/download/more/?name=command%20line%20tools)
    @@ -46,11 +52,13 @@ Terminal:
    - `fish_config`
    - Set directoryies to a legible color
    - `set -Ux LSCOLORS gxfxbEaEBxxEhEhBaDaCaD`

    ## Automatically set node version if a .nvmrc file is present

    Checkout the official docs and follow the instructions for your shell: https://github.com/nvm-sh/nvm#automatically-call-nvm-use

    ## Fish aliases

    To create and save aliases, enter the following pattern:

    `alias <shorthand> "<text your would like to be run>"`
    @@ -84,4 +92,4 @@ e.g.
    - alias ys "yarn start"; and funcsave ys
    - alias yi "yarn"; and funcsave yi
    - alias uis "yarn upgrade; and yarn; and yarn start"; and funcsave uis
    - alias yd "yarn develop"; and funcsave yd
    - alias yd "yarn develop"; and funcsave yd
    27 changes: 7 additions & 20 deletions 03. General Development Stuff.md
    Original file line number Diff line number Diff line change
    @@ -1,35 +1,22 @@
    ## Create an SSH Key

    - `ssh-keygen -t rsa -b 4096`

    ## Add the key to your keychain so you don't have to type your password every time

    - `ssh-add --apple-use-keychain ~/.ssh/[your-private-key]`
    - `vi ~/.ssh/config`
    Enter the following in to the config file:
    Enter the following in to the config file:

    ```
    Host *
    UseKeychain yes
    AddKeysToAgent yes
    IdentityFile ~/.ssh/id_rsa
    ```
    Add additional `IdentityFile` lines for additional keys

    ## RVM
    - `brew install gpg`: Prerequisite for installing rvm
    - [RVM](https://rvm.io/integration/fish)
    - Install gpg keys `gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB`
    - If you get this error `gpg: keyserver receive failed: No route to host`, run`curl -sSL https://rvm.io/mpapis.asc | gpg --import -` then try again ([Reference](https://rvm.io/rvm/security))
    - Install rvm with Ruby `curl -sSL https://get.rvm.io | bash -s stable --ruby`
    - Download the fish functions from GitHub `curl -L --create-dirs -o ~/.config/fish/functions/rvm.fish https://raw.github.com/lunks/fish-nuggets/master/functions/rvm.fish`
    - And activate the default Ruby manually in your config.fish file: `echo "rvm default" >> ~/.config/fish/config.fish`
    - Test it with `rvm -v` and `ruby -v`

    ## Composer
    - M1 macs don't come with PHP, so install it `brew install php` (Terminus 2 doesn't work with 8, so you may need to install `[email protected]`)
    - Follow the installation instructions here: https://getcomposer.org/download/
    - Move the composer to a globally accessible location: `sudo mv composer.phar /usr/local/bin/composer`
    - Increase php memory limit
    - `sudo vi /etc/php.ini`
    - Paste in `memory_limit = 5G`
    Add additional `IdentityFile` lines for additional keys

    ## Yarn
    - `brew install yarn`

    - `brew install yarn`
    324 changes: 106 additions & 218 deletions 04. Visual Studio Code.md
    Original file line number Diff line number Diff line change
    @@ -1,183 +1,36 @@
    ## Extensions

    - [Name: Alphabetical Sorter](https://marketplace.visualstudio.com/items?itemName=ue.alphabetical-sorter) (Multi line or single line alphabetical sorter)
    - [Auto Close Tag](https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-close-tag) (Automatically add closing tags)
    - [Auto Rename Tag](https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-rename-tag) (Automatically rename closing - or opening - tags when you edit one of them.)
    - [Better Comments](https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments) (Improve your code commenting by annotating with alert, informational, TODOs, and more!)
    - [Code Spell Checker](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) (... Spell Checker)
    - [Color Highlight](https://marketplace.visualstudio.com/items?itemName=naumovs.color-highlight) (Highlights colors in the editor to give a visual representation of the color. Also works with custom properties!)
    - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) (JavaScript linting)
    - [ES7 React/etc. snippets](https://marketplace.visualstudio.com/items?itemName=dsznajder.es7-react-js-snippets) (React, GraphQL, etc. support.)
    - [Formatting Toggle](https://marketplace.visualstudio.com/items?itemName=tombonnike.vscode-status-bar-format-toggle) (Gives you a button in the bottom bar to disable formatting. Useful when your linting rules should be ignored for a particular file, but you don't want to add ignore code.)
    - [GitLense](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens) (Git info in the editor.)
    - [Gremlins tracker for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=nhoizey.gremlins) (Reveals some characters that can be harmful because they are invisible or looking like legitimate ones.)
    - [Import Cost](https://marketplace.visualstudio.com/items?itemName=wix.vscode-import-cost) (Display import/require package size in the editor)
    - [Live Preview](https://marketplace.visualstudio.com/items?itemName=ms-vscode.live-server) (Live preview, useful for projects that don't have a local server running.)
    - [Live Server](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer) (A Quick Development Live Server with live browser reload.)
    - [Live Share](https://marketplace.visualstudio.com/items?itemName=MS-vsliveshare.vsliveshare) (Collaborative coding made awesome!)
    - [Markdown All in One](https://marketplace.visualstudio.com/items?itemName=yzhang.markdown-all-in-one) (Markdown formatting)
    - [Material Icon Theme](https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme) (Pretty icons. Must enable it after install)
    - [MDX](https://marketplace.visualstudio.com/items?itemName=silvenon.mdx) (Support for MDX files)
    - [One Dark Pro](https://marketplace.visualstudio.com/items?itemName=zhuangtongfa.Material-theme) (Dark theme I like. Must enable it after install)
    - [Path Intellisense](https://marketplace.visualstudio.com/items?itemName=christian-kohler.path-intellisense) (Visual Studio Code plugin that autocompletes filenames)
    - [Prettier - Code formatter](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) (Enable Prettier formatting on save and stuff.)
    - [Stylelint](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint) (css, sass, etc. linting)
    - [Todo Tree](https://marketplace.visualstudio.com/items?itemName=Gruntfuggly.todo-tree)
    - [Toggle Quotes](https://marketplace.visualstudio.com/items?itemName=BriteSnow.vscode-toggle-quotes) (Lets you toggle between double, single, and backticks with just a keystroke)
    - [Twig Language 2](https://marketplace.visualstudio.com/items?itemName=mblode.twig-language-2) (Twig syntax highlighting etc.)
    - [Package ++](https://marketplace.visualstudio.com/items?itemName=juninhosilva.package-plus-plus) (A collection of extensions to "Boost your Visual Studio code, individually chosen extensions, to help the day to day programmer." Includes the following:)
    - [Auto Rename Tag](https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-rename-tag) (Automatically rename closing - or opening - tags when you edit one of them.)
    - [Bookmarks](https://marketplace.visualstudio.com/items?itemName=alefragnani.Bookmarks) (If you have a piece of code that you want to consult in the future, you can use the bookmark, it is very useful to consult a line that you found interesting in the debugger)
    - ~[Bracket Pair colorizer](https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer) (Colors brackets for easier identification.)~ Included in VSCode now.
    - [Conventional Commits](https://marketplace.visualstudio.com/items?itemName=vivaxy.vscode-conventional-commits) (This extension helps you to fill in commit message according to Conventional Commits.)
    - [Dark++ Theme](https://marketplace.visualstudio.com/items?itemName=DryWolf.dark-plus-plus-theme) (Dark++ theme for vscode)
    - [GitLense](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens) (Git info in the editor.)
    - [Key Bindings Visual Studio](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vs-keybindings) (I actually uninstalled this one. It was massing with "alt-left/right" moving the cursor a word at a time)
    - [Live Server](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer) (A Quick Development Live Server with live browser reload.)
    - [Live Share](https://marketplace.visualstudio.com/items?itemName=MS-vsliveshare.vsliveshare) (Collaborative coding made awesome!)
    - [Material Icon Theme](https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme) (Pretty icons. Must enable it after install)
    - [Path Intellisense](https://marketplace.visualstudio.com/items?itemName=christian-kohler.path-intellisense) (Visual Studio Code plugin that autocompletes filenames.)
    - [Quokka](https://marketplace.visualstudio.com/items?itemName=WallabyJs.quokka-vscode) (No more console.log, this tool gives you the result, in real time without executing the code, knowing exactly what that function will return as soon as you call it)
    - [TabNine](https://marketplace.visualstudio.com/items?itemName=TabNine.tabnine-vscode) (This extension is great for auto completing codes, the tool has an intelligence that helps you along the development)
    - [Todo Highlight](https://marketplace.visualstudio.com/items?itemName=wayou.vscode-todo-highlight) (That TO DO or FIX ME in the comment, remember? So this extension makes it very elegant in your comment and with a highlight for you to remember that adjustment in the code)

    ## Install shell extension

    - Open Visual Studio Code and access the Command Palette (⇧⌘P) and start typing "shell command" and select option "Shell Command: Install ‘code’ command in PATH".
    - After that you’re able to start a new terminal window, change into your project directory and use code . to open the current directory in Visual Studio Code.

    ## text snippets
    ### Twig Include
    ```
    {
    "Twig Include": {
    "prefix": "tinclude",
    "body": [
    "{% include \"@${1:atoms/text/headings/_heading.twig}\" ${2:with {",
    " ${3:heading_level}: '${4:3}',",
    " ${5:heading_blockname}: ${6:component}__base_class,$0",
    "\\} }%}"
    ]
    }
    }
    ```

    ### Twig Embed
    ```
    {
    "Twig Embed": {
    "prefix": "tembed",
    "body": [
    "{% embed \"@${1:atoms/text/headings/_heading.twig}\" ${2:with {",
    " ${3:something}: ${4:awesome},$0",
    "\\} }%}",
    " {% block ${5:super} %}",
    " ${6:{{ cool \\}\\}}",
    " {% endblock %}",
    "{% endembed %}"
    ]
    }
    }
    ```

    ### Twig Extends
    ```
    {
    "Twig Extends": {
    "prefix": "textends",
    "body": [
    "{% extends \"@${1:templates/_default.twig}\" %}",
    " {% block ${2:page_content} %}",
    " ${3:{{ content \\}\\}}",
    " {% endblock %}"
    ]
    }
    }
    ```

    ### Twig Set
    ```
    {
    "Twig Set": {
    "prefix": "tset",
    "body": [
    "{% set ${1:something} ${2:= ${3:awesome} }%}",
    "$0",
    ]
    }
    }
    ```

    ### Twig If
    ```
    {
    "Twig If": {
    "prefix": "tif",
    "body": [
    "{% if ${1:something} ${2:== ${3:awesome} }%}",
    " ${4:{{ do stuff \\}\\}}",
    "{% endif %}",
    ]
    }
    }
    ```

    ### Twig For Loop
    ```
    {
    "Twig for loop": {
    "prefix": "tfor",
    "body": [
    "{% for ${1:item} in ${2:items} %}",
    " ${3:{{ item.content \\}\\}}$0",
    "{% endfor %}",
    ]
    }
    }
    ```

    ### Twig Block
    ```
    {
    "Twig Block": {
    "prefix": "tblock",
    "body": [
    "{% block ${1:block} %}",
    " ${2:{{ content \\}\\}}",
    "{% endblock %}"
    ]
    }
    }
    ```

    ### Element with BEM function
    ```
    {
    "Element with BEM class naming": {
    "prefix": "ebem",
    "body": [
    "<${1:div} {{ bem(${3:$2__base_class}${4:, [$5]${6:, $2__base_class}}) }}>",
    " $0",
    "</$1>",
    ]
    }
    }
    ```

    ### Storybook Story Template
    ```
    {
    "Write a New Story": {
    "prefix": "story",
    "body": [
    "import React from 'react';",
    "",
    "// Component Twig",
    "import ${1:pageTitle}Twig from './${2:page-title}.twig';",
    "",
    "// Component Data",
    "import ${1:pageTitle}Data from './${2:page-title}.yml';",
    "",
    "// Menu Location",
    "export default { title: 'Molecules/Page Title' };",
    "",
    "// Component Examples",
    "export const ${1:pageTitle} = () => (",
    " <div dangerouslySetInnerHTML={{ __html: ${1:pageTitle}Twig(${1:pageTitle}Data) }} />",
    ");",
    ]
    }
    }
    ```

    ## Settings

    ```
    {
    //--------------------------//
    @@ -193,7 +46,7 @@
    "editor.rulers": [80, 100],
    // Always show the folding controls
    "editor.showFoldingControls": "always",
    // Hide the Editor, Search, Extenstions, etc. bar.
    // Hide the Editor, Search, Extensions, etc. bar.
    // You can still get to them via hot-keys or the "View" menu
    "workbench.activityBar.visible": false,
    // My preferred theme
    @@ -226,29 +79,14 @@
    // Enable auto-closing of tags in all file types
    "auto-close-tag.activationOnLanguage": ["*"],
    // Set tabs to equal two spaces
    "editor.tabSize": 2,
    "editor.tabSize": 4,
    // Tell emmet to work on .js files (not just when specified as react)
    "emmet.includeLanguages": {
    "javascript": "javascriptreact",
    "twig": "html"
    },
    // Tell emmet to use single quotes
    "emmet.syntaxProfiles": {
    "jsx": {
    "attr_quotes": "single"
    }
    "javascript": "javascriptreact"
    },
    //-----------------------------//
    // Code Linting and Formatting //
    //-----------------------------//
    // Associate extensions with languages
    "files.associations": {
    "*.theme": "php",
    "*.module": "php",
    "*.inc": "php",
    "*.install": "php",
    "*.html": "twig"
    },
    // Style linting //
    // Disable VS Code's validation of css, less, and scss because we're using Stylelint
    // (This just prevents duplicate reports in the log)
    @@ -298,55 +136,105 @@
    "files.trimFinalNewlines": true,
    // Trim any whitespace at the end of lines
    "files.trimTrailingWhitespace": true,
    // Configure Twig plugin to use spaces
    "twig-language-2.indentStyle": "space",
    // "twig-language-2.formatting": false,
    //------------------//
    // User Preferences //
    //------------------//
    // Use iTerm when opening current project in terminal (Cmd + Shift + C)
    "terminal.external.osxExec": "iTerm.app",
    // Stop suggesting to search parsers for unknown extensions
    "extensions.ignoreRecommendations": true,
    // Stop asking if I trust files
    "security.workspace.trust.untrustedFiles": "open",
    // Preferred Terminal
    "terminal.integrated.defaultProfile.osx": "fish",
    // Preferred font and ligatures
    "editor.fontFamily": "Fira Code",
    // What do these mean? See: https://github.com/tonsky/FiraCode/issues/1203
    "editor.fontLigatures": "'ss01', 'ss02', 'ss04', 'ss06', 'ss07', 'ss09', 'zero', 'cv14', 'cv22', 'cv24', 'cv25', 'cv26', 'cv28', 'cv30'",
    "better-comments.tags": [
    {
    "tag": "! ",
    "color": "#FF2D00",
    "strikethrough": false,
    "underline": false,
    "backgroundColor": "transparent",
    "bold": false,
    "italic": false
    },
    {
    "tag": "? ",
    "color": "#61dcef",
    "strikethrough": false,
    "underline": false,
    "backgroundColor": "transparent",
    "bold": false,
    "italic": false
    },
    {
    "tag": "* ",
    "color": "#98C379",
    "strikethrough": false,
    "underline": false,
    "backgroundColor": "transparent",
    "bold": false,
    "italic": false
    },
    {
    "tag": "> ",
    "color": "#fff381",
    "strikethrough": false,
    "underline": false,
    "backgroundColor": "transparent",
    "bold": false,
    "italic": false
    },
    {
    "tag": "TODO ",
    "color": "#cb00e6",
    "strikethrough": false,
    "underline": false,
    "backgroundColor": "transparent",
    "bold": false,
    "italic": false
    },
    {
    // for documentation
    "tag": ": ",
    "color": "#cbdadf",
    "strikethrough": false,
    "underline": false,
    "backgroundColor": "transparent",
    "bold": false,
    "italic": false
    }
    ],
    "todo-tree.highlights.customHighlight": {
    "LINK": {
    "background": "#334bff",
    "foreground": "#fff"
    }
    },
    "todo-tree.regex.regex": "(//|\\*|<!--)\\s+($TAGS)\\s+",
    "todo-tree.general.tags": [
    "BUG",
    "HACK",
    "FIXME",
    "TODO",
    "LINK",
    "?",
    "*",
    ">",
    "!"
    ],
    "todo-tree.filtering.excludedWorkspaces": ["docs_site/*, node_modules/*"],
    "todo-tree.highlights.defaultHighlight": {
    "foreground": "#fff",
    "background": "#cb00e6"
    },
    // Custom dictionary
    "cSpell.userWords": [
    "airbnb",
    "audiobooks",
    "browserslistrc",
    "callout",
    "commitlint",
    "confex",
    "confim",
    "contactless",
    "contenteditable",
    "Contentful",
    "Coronavirus",
    "Covid",
    "drush",
    "endblock",
    "endembed",
    "endfor",
    "gitbook",
    "Infographics",
    "Invision",
    "kint",
    "lando",
    "lightbox",
    "minmax",
    "mixins",
    "roadmap",
    "sqaush",
    "srcset",
    "stylelint",
    "stylelintrc",
    "tabindex",
    "Theming",
    "twatch",
    "updb",
    "visreg",
    "yalesites"
    // This will build up as you add words.
    ],
    "window.zoomLevel": 1
    }
    ```
    ```
    6 changes: 0 additions & 6 deletions 05. Lando.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +0,0 @@
    ## Install Docker For Mac
    - Install the version for the [Apple Silicone](https://docs.docker.com/desktop/mac/apple-silicon/)

    ## Install Lando
    - I installed [v3.4.2](https://github.com/lando/lando/releases) and had success!
    - _NOTE: During the installation, make sure you customize it, and uncheck the Docker install. You don't want the version that comes with Lando._
    50 changes: 0 additions & 50 deletions 06. Drupal Stuff.md
    Original file line number Diff line number Diff line change
    @@ -1,50 +0,0 @@
    ## Terminus
    https://pantheon.io/docs/terminus/install

    ## Install Multiple Versions of Drush

    **Update: The instructions at this link may be all that's needed. If it works, don't do anything else below**
    http://webchick.net/drush-and-drush

    Follow the next steps for each version of Drush you need to install

    - `cd /usr/local/bin`
    - `mkdir drush-9`
    - `cd drush-9`
    - `composer require drush/drush:^9`
    - `cd ..`
    - `ln -s drush-9/vendor/bin/drush drush9`

    If you do this for versions 7-9, you'll be able to run any of the following:
    `drush7 status`
    `drush8 status`
    `drush9 status`

    ## Create Shell Script to Automatically Select Drush Version Based on Git Config
    - cd /usr/local/bin
    - vi drush
    - paste the following

    ```
    #!/bin/sh
    version=$(git config --get drush.version)
    if [ "$version" = '7' ];
    then
    drush7 "$@"
    elif [ "$version" = '8' ];
    then
    drush8 "$@"
    else
    drush9 "$@"
    fi
    ```

    - Save the file
    - Make the script executable `chmod +x drush`

    This makes drush 9 the default when we type a command like "drush --version". In order to use Drush 7 (or 8), we need to set a configuration variable in the git repo of the project that should use it.

    ## Set Drush 7 (or 8) as the Required Version for a Project
    * cd /path/to/project
    * git config drush.version 7
    * drush --version (to see which version is active)
    2 changes: 1 addition & 1 deletion 07. 4k - personalized scripting
    Original file line number Diff line number Diff line change
    @@ -34,4 +34,4 @@ then
    else
    echo "\nRunning \"$command\"\n"
    $command
    fi
    fi
  3. ModulesUnraveled revised this gist Jan 27, 2022. 1 changed file with 8 additions and 2 deletions.
    10 changes: 8 additions & 2 deletions 04. Visual Studio Code.md
    Original file line number Diff line number Diff line change
    @@ -241,7 +241,7 @@
    //-----------------------------//
    // Code Linting and Formatting //
    //-----------------------------//
    // Associate extensions with languates
    // Associate extensions with languages
    "files.associations": {
    "*.theme": "php",
    "*.module": "php",
    @@ -298,6 +298,9 @@
    "files.trimFinalNewlines": true,
    // Trim any whitespace at the end of lines
    "files.trimTrailingWhitespace": true,
    // Configure Twig plugin to use spaces
    "twig-language-2.indentStyle": "space",
    // "twig-language-2.formatting": false,
    //------------------//
    // User Preferences //
    //------------------//
    @@ -330,6 +333,7 @@
    "kint",
    "lando",
    "lightbox",
    "minmax",
    "mixins",
    "roadmap",
    "sqaush",
    @@ -341,6 +345,8 @@
    "twatch",
    "updb",
    "visreg",
    ]
    "yalesites"
    ],
    "window.zoomLevel": 1
    }
    ```
  4. ModulesUnraveled revised this gist Jan 9, 2022. 1 changed file with 163 additions and 167 deletions.
    330 changes: 163 additions & 167 deletions 04. Visual Studio Code.md
    Original file line number Diff line number Diff line change
    @@ -180,171 +180,167 @@
    ## Settings
    ```
    {
    //--------------------------//
    // VS Code Interface Tweaks //
    //--------------------------//
    // Disable breadcrumbs
    "breadcrumbs.enabled": false,
    // Make the cursor solid at all times (disables blinking)
    "editor.cursorBlinking": "solid",
    // Disable the minimap
    "editor.minimap.enabled": false,
    // Show rulers at 80 and 100 character
    "editor.rulers": [80, 100],
    // Always show the folding controls
    "editor.showFoldingControls": "always",
    // Hide the Editor, Search, Extenstions, etc. bar.
    // You can still get to them via hot-keys or the "View" menu
    "workbench.activityBar.visible": false,
    // My preferred theme
    "workbench.colorTheme": "One Dark Pro",
    // Hide the close button on tabs to condense them a bit
    "workbench.editor.tabCloseButton": "off",
    // Condense the tabs at the top just a bit
    "workbench.editor.tabSizing": "shrink",
    // Material theme icons
    "workbench.iconTheme": "material-icon-theme",
    // Enables horizontal scrolling in the sidebar
    "workbench.list.horizontalScrolling": true,
    // Add the path to the file in the window title
    "window.title": "${activeEditorMedium}${separator}${rootName}",
    // Starts up new windows with a new untitled file
    "workbench.startupEditor": "newUntitledFile",
    // Focus on files in the sidebar when selected in the main editor window
    // But don't move the sidebar scroll position to them
    "explorer.autoReveal": "focusNoScroll",
    // Colorize bracket pairs
    "editor.bracketPairColorization.enabled": true,
    "editor.guides.bracketPairs":"active",
    //----------------------//
    // Code Writing Helpers //
    //----------------------//
    // Enable auto-closing of tags in all file types
    "auto-close-tag.activationOnLanguage": ["*"],
    // Set tabs to equal two spaces
    "editor.tabSize": 2,
    // Tell emmet to work on .js files (not just when specified as react)
    "emmet.includeLanguages": {
    "javascript": "javascriptreact",
    "twig": "html"
    },
    // Tell emmet to use single quotes
    "emmet.syntaxProfiles": {
    "jsx": {
    "attr_quotes": "single"
    }
    },
    //-----------------------------//
    // Code Linting and Formatting //
    //-----------------------------//
    // Associate extensions with languates
    "files.associations": {
    "*.theme": "php",
    "*.module": "php",
    "*.inc": "php",
    "*.install": "php",
    "*.html": "twig"
    },
    // Style linting //
    // Disable VS Code's validation of css, less, and scss because we're using Stylelint
    // (This just prevents duplicate reports in the log)
    "css.validate": false,
    "less.validate": false,
    "scss.validate": false,
    // Turn on Auto Fix for all providers (including eslint)
    "editor.codeActionsOnSave": {
    "source.fixAll": true
    },
    // Use prettier to format code
    "[html]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[javascriptreact]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[jsonc]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[markdown]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[scss]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[typescriptreact]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    // Format json with the json formatter
    "[json]": {
    "editor.defaultFormatter": "vscode.json-language-features"
    },
    // General linting/formatting
    // Format on Paste
    "editor.formatOnPaste": false,
    // Format on Save
    "editor.formatOnSave": false,
    // Format on Type
    "editor.formatOnType": false,
    // Insert a final newline
    "files.insertFinalNewline": true,
    // Remove additional newlines after the "final" one
    "files.trimFinalNewlines": true,
    // Trim any whitespace at the end of lines
    "files.trimTrailingWhitespace": true,
    //------------------//
    // User Preferences //
    //------------------//
    // Custom dictionary
    "cSpell.userWords": [
    "airbnb",
    "audiobooks",
    "browserslistrc",
    "callout",
    "commitlint",
    "confex",
    "confim",
    "contactless",
    "contenteditable",
    "Contentful",
    "Coronavirus",
    "Covid",
    "drush",
    "endblock",
    "endembed",
    "endfor",
    "gitbook",
    "Infographics",
    "Invision",
    "kint",
    "lando",
    "lightbox",
    "mixins",
    "roadmap",
    "sqaush",
    "srcset",
    "stylelint",
    "stylelintrc",
    "tabindex",
    "Theming",
    "twatch",
    "updb",
    "visreg"
    ],
    // Don't confirm when deleting files in the explorer
    "explorer.confirmDelete": false,
    // Don't confirm when dragging and dropping files in the explorer
    "explorer.confirmDragAndDrop": false,
    // Use iTerm when opening current project in terminal (Cmd + Shift + C)
    "terminal.external.osxExec": "iTerm.app",
    // Liveshare auth provider
    "liveshare.authenticationProvider": "GitHub",
    // Tabnine
    "tabnine.experimentalAutoImports": true,
    "security.workspace.trust.untrustedFiles": "open",
    "extensions.ignoreRecommendations": true,
    "window.zoomLevel": 1
    }
    //--------------------------//
    // VS Code Interface Tweaks //
    //--------------------------//
    // Disable breadcrumbs
    "breadcrumbs.enabled": false,
    // Make the cursor solid at all times (disables blinking)
    "editor.cursorBlinking": "solid",
    // Disable the minimap
    "editor.minimap.enabled": false,
    // Show rulers at 80 and 100 character
    "editor.rulers": [80, 100],
    // Always show the folding controls
    "editor.showFoldingControls": "always",
    // Hide the Editor, Search, Extenstions, etc. bar.
    // You can still get to them via hot-keys or the "View" menu
    "workbench.activityBar.visible": false,
    // My preferred theme
    "workbench.colorTheme": "One Dark Pro",
    // Hide the close button on tabs to condense them a bit
    "workbench.editor.tabCloseButton": "off",
    // Condense the tabs at the top just a bit
    "workbench.editor.tabSizing": "shrink",
    // Material theme icons
    "workbench.iconTheme": "material-icon-theme",
    // Enables horizontal scrolling in the sidebar
    "workbench.list.horizontalScrolling": true,
    // Add the path to the file in the window title
    "window.title": "${activeEditorMedium}${separator}${rootName}",
    // Starts up new windows with a new untitled file
    "workbench.startupEditor": "newUntitledFile",
    // Focus on files in the sidebar when selected in the main editor window
    // But don't move the sidebar scroll position to them
    "explorer.autoReveal": "focusNoScroll",
    // Don't confirm when deleting files in the explorer
    "explorer.confirmDelete": false,
    // Don't confirm when dragging and dropping files in the explorer
    "explorer.confirmDragAndDrop": false,
    // Colorize bracket pairs
    "editor.bracketPairColorization.enabled": true,
    "editor.guides.bracketPairs": "active",
    //----------------------//
    // Code Writing Helpers //
    //----------------------//
    // Enable auto-closing of tags in all file types
    "auto-close-tag.activationOnLanguage": ["*"],
    // Set tabs to equal two spaces
    "editor.tabSize": 2,
    // Tell emmet to work on .js files (not just when specified as react)
    "emmet.includeLanguages": {
    "javascript": "javascriptreact",
    "twig": "html"
    },
    // Tell emmet to use single quotes
    "emmet.syntaxProfiles": {
    "jsx": {
    "attr_quotes": "single"
    }
    },
    //-----------------------------//
    // Code Linting and Formatting //
    //-----------------------------//
    // Associate extensions with languates
    "files.associations": {
    "*.theme": "php",
    "*.module": "php",
    "*.inc": "php",
    "*.install": "php",
    "*.html": "twig"
    },
    // Style linting //
    // Disable VS Code's validation of css, less, and scss because we're using Stylelint
    // (This just prevents duplicate reports in the log)
    "css.validate": false,
    "less.validate": false,
    "scss.validate": false,
    // Turn on Auto Fix for all providers (including eslint)
    "editor.codeActionsOnSave": {
    "source.fixAll": true
    },
    // Use prettier to format code
    "[html]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[javascriptreact]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[jsonc]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[markdown]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[scss]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[typescriptreact]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    // Format json with the json formatter
    "[json]": {
    "editor.defaultFormatter": "vscode.json-language-features"
    },
    // General linting/formatting
    // Format on Paste
    "editor.formatOnPaste": true,
    // Format on Save
    "editor.formatOnSave": true,
    // Format on Type
    "editor.formatOnType": true,
    // Insert a final newline
    "files.insertFinalNewline": true,
    // Remove additional newlines after the "final" one
    "files.trimFinalNewlines": true,
    // Trim any whitespace at the end of lines
    "files.trimTrailingWhitespace": true,
    //------------------//
    // User Preferences //
    //------------------//
    // Use iTerm when opening current project in terminal (Cmd + Shift + C)
    "terminal.external.osxExec": "iTerm.app",
    // Stop suggesting to search parsers for unknown extensions
    "extensions.ignoreRecommendations": true,
    "security.workspace.trust.untrustedFiles": "open",
    // Custom dictionary
    "cSpell.userWords": [
    "airbnb",
    "audiobooks",
    "browserslistrc",
    "callout",
    "commitlint",
    "confex",
    "confim",
    "contactless",
    "contenteditable",
    "Contentful",
    "Coronavirus",
    "Covid",
    "drush",
    "endblock",
    "endembed",
    "endfor",
    "gitbook",
    "Infographics",
    "Invision",
    "kint",
    "lando",
    "lightbox",
    "mixins",
    "roadmap",
    "sqaush",
    "srcset",
    "stylelint",
    "stylelintrc",
    "tabindex",
    "Theming",
    "twatch",
    "updb",
    "visreg",
    ]
    }
    ```
  5. ModulesUnraveled revised this gist Dec 14, 2021. 1 changed file with 168 additions and 163 deletions.
    331 changes: 168 additions & 163 deletions 04. Visual Studio Code.md
    Original file line number Diff line number Diff line change
    @@ -16,7 +16,7 @@
    - [Package ++](https://marketplace.visualstudio.com/items?itemName=juninhosilva.package-plus-plus) (A collection of extensions to "Boost your Visual Studio code, individually chosen extensions, to help the day to day programmer." Includes the following:)
    - [Auto Rename Tag](https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-rename-tag) (Automatically rename closing - or opening - tags when you edit one of them.)
    - [Bookmarks](https://marketplace.visualstudio.com/items?itemName=alefragnani.Bookmarks) (If you have a piece of code that you want to consult in the future, you can use the bookmark, it is very useful to consult a line that you found interesting in the debugger)
    - [Bracket Pair colorizer](https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer) (Colors brackets for easier identification.)
    - ~[Bracket Pair colorizer](https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer) (Colors brackets for easier identification.)~ Included in VSCode now.
    - [Conventional Commits](https://marketplace.visualstudio.com/items?itemName=vivaxy.vscode-conventional-commits) (This extension helps you to fill in commit message according to Conventional Commits.)
    - [Dark++ Theme](https://marketplace.visualstudio.com/items?itemName=DryWolf.dark-plus-plus-theme) (Dark++ theme for vscode)
    - [GitLense](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens) (Git info in the editor.)
    @@ -180,166 +180,171 @@
    ## Settings
    ```
    {
    //--------------------------//
    // VS Code Interface Tweaks //
    //--------------------------//
    // Disable breadcrumbs
    "breadcrumbs.enabled": false,
    // Make the cursor solid at all times (disables blinking)
    "editor.cursorBlinking": "solid",
    // Disable the minimap
    "editor.minimap.enabled": false,
    // Show rulers at 80 and 100 character
    "editor.rulers": [80, 100],
    // Always show the folding controls
    "editor.showFoldingControls": "always",
    // Hide the Editor, Search, Extenstions, etc. bar.
    // You can still get to them via hot-keys or the "View" menu
    "workbench.activityBar.visible": false,
    // My preferred theme
    "workbench.colorTheme": "One Dark Pro",
    // Hide the close button on tabs to condense them a bit
    "workbench.editor.tabCloseButton": "off",
    // Condense the tabs at the top just a bit
    "workbench.editor.tabSizing": "shrink",
    // Material theme icons
    "workbench.iconTheme": "material-icon-theme",
    // Enables horizontal scrolling in the sidebar
    "workbench.list.horizontalScrolling": true,
    // Add the path to the file in the window title
    "window.title": "${activeEditorMedium}${separator}${rootName}",
    // Starts up new windows with a new untitled file
    "workbench.startupEditor": "newUntitledFile",
    // Focus on files in the sidebar when selected in the main editor window
    // But don't move the sidebar scroll position to them
    "explorer.autoReveal": "focusNoScroll",
    // UI (font) size
    "window.zoomLevel": 0,
    //----------------------//
    // Code Writing Helpers //
    //----------------------//
    // Enable auto-closing of tags in all file types
    "auto-close-tag.activationOnLanguage": ["*"],
    // Set tabs to equal two spaces
    "editor.tabSize": 2,
    // Tell emmet to work on .js files (not just when specified as react)
    "emmet.includeLanguages": {
    "javascript": "javascriptreact",
    "twig": "html"
    },
    // Tell emmet to use single quotes
    "emmet.syntaxProfiles": {
    "jsx": {
    "attr_quotes": "single"
    }
    },
    //-----------------------------//
    // Code Linting and Formatting //
    //-----------------------------//
    // Associate extensions with languates
    "files.associations": {
    "*.theme": "php",
    "*.module": "php",
    "*.inc": "php",
    "*.install": "php",
    "*.html": "twig"
    },
    // Style linting //
    // Disable VS Code's validation of css, less, and scss because we're using Stylelint
    // (This just prevents duplicate reports in the log)
    "css.validate": false,
    "less.validate": false,
    "scss.validate": false,
    // Turn on Auto Fix for all providers (including eslint)
    "editor.codeActionsOnSave": {
    "source.fixAll": true
    },
    // Use prettier to format code
    "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[javascriptreact]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[scss]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[html]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[typescriptreact]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[jsonc]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    // Format json with the json formatter
    "[json]": {
    "editor.defaultFormatter": "vscode.json-language-features"
    },
    // General linting/formatting
    // Format on Paste
    "editor.formatOnPaste": true,
    // Format on Save
    "editor.formatOnSave": true,
    // Format on Type
    "editor.formatOnType": true,
    // Insert a final newline
    "files.insertFinalNewline": true,
    // Remove additional newlines after the "final" one
    "files.trimFinalNewlines": true,
    // Trim any whitespace at the end of lines
    "files.trimTrailingWhitespace": true,
    //------------------//
    // User Preferences //
    //------------------//
    // Custom dictionary
    "cSpell.userWords": [
    "Contentful",
    "Coronavirus",
    "Covid",
    "Gladwell",
    "Infographics",
    "Inveniem",
    "Invision",
    "Kalamuna",
    "Promet",
    "Theming",
    "airbnb",
    "analytes",
    "audiobooks",
    "browserslistrc",
    "commitlint",
    "confex",
    "confim",
    "contactless",
    "contenteditable",
    "drush",
    "endblock",
    "endembed",
    "endfor",
    "kint",
    "lando",
    "lightbox",
    "mixins",
    "roadmap",
    "spbb",
    "sqaush",
    "srcset",
    "stylelint",
    "stylelintrc",
    "swiper",
    "tabindex",
    "twatch",
    "updb"
    ],
    // Don't confirm when deleting files in the explorer
    "explorer.confirmDelete": false,
    // Don't confirm when dragging and dropping files in the explorer
    "explorer.confirmDragAndDrop": false,
    // Use iTerm when opening current project in terminal (Cmd + Shift + C)
    "terminal.external.osxExec": "iTerm.app",
    // Liveshare auth provider
    "liveshare.authenticationProvider": "GitHub"
    }
    //--------------------------//
    // VS Code Interface Tweaks //
    //--------------------------//
    // Disable breadcrumbs
    "breadcrumbs.enabled": false,
    // Make the cursor solid at all times (disables blinking)
    "editor.cursorBlinking": "solid",
    // Disable the minimap
    "editor.minimap.enabled": false,
    // Show rulers at 80 and 100 character
    "editor.rulers": [80, 100],
    // Always show the folding controls
    "editor.showFoldingControls": "always",
    // Hide the Editor, Search, Extenstions, etc. bar.
    // You can still get to them via hot-keys or the "View" menu
    "workbench.activityBar.visible": false,
    // My preferred theme
    "workbench.colorTheme": "One Dark Pro",
    // Hide the close button on tabs to condense them a bit
    "workbench.editor.tabCloseButton": "off",
    // Condense the tabs at the top just a bit
    "workbench.editor.tabSizing": "shrink",
    // Material theme icons
    "workbench.iconTheme": "material-icon-theme",
    // Enables horizontal scrolling in the sidebar
    "workbench.list.horizontalScrolling": true,
    // Add the path to the file in the window title
    "window.title": "${activeEditorMedium}${separator}${rootName}",
    // Starts up new windows with a new untitled file
    "workbench.startupEditor": "newUntitledFile",
    // Focus on files in the sidebar when selected in the main editor window
    // But don't move the sidebar scroll position to them
    "explorer.autoReveal": "focusNoScroll",
    // Colorize bracket pairs
    "editor.bracketPairColorization.enabled": true,
    "editor.guides.bracketPairs":"active",
    //----------------------//
    // Code Writing Helpers //
    //----------------------//
    // Enable auto-closing of tags in all file types
    "auto-close-tag.activationOnLanguage": ["*"],
    // Set tabs to equal two spaces
    "editor.tabSize": 2,
    // Tell emmet to work on .js files (not just when specified as react)
    "emmet.includeLanguages": {
    "javascript": "javascriptreact",
    "twig": "html"
    },
    // Tell emmet to use single quotes
    "emmet.syntaxProfiles": {
    "jsx": {
    "attr_quotes": "single"
    }
    },
    //-----------------------------//
    // Code Linting and Formatting //
    //-----------------------------//
    // Associate extensions with languates
    "files.associations": {
    "*.theme": "php",
    "*.module": "php",
    "*.inc": "php",
    "*.install": "php",
    "*.html": "twig"
    },
    // Style linting //
    // Disable VS Code's validation of css, less, and scss because we're using Stylelint
    // (This just prevents duplicate reports in the log)
    "css.validate": false,
    "less.validate": false,
    "scss.validate": false,
    // Turn on Auto Fix for all providers (including eslint)
    "editor.codeActionsOnSave": {
    "source.fixAll": true
    },
    // Use prettier to format code
    "[html]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[javascriptreact]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[jsonc]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[markdown]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[scss]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[typescriptreact]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    // Format json with the json formatter
    "[json]": {
    "editor.defaultFormatter": "vscode.json-language-features"
    },
    // General linting/formatting
    // Format on Paste
    "editor.formatOnPaste": false,
    // Format on Save
    "editor.formatOnSave": false,
    // Format on Type
    "editor.formatOnType": false,
    // Insert a final newline
    "files.insertFinalNewline": true,
    // Remove additional newlines after the "final" one
    "files.trimFinalNewlines": true,
    // Trim any whitespace at the end of lines
    "files.trimTrailingWhitespace": true,
    //------------------//
    // User Preferences //
    //------------------//
    // Custom dictionary
    "cSpell.userWords": [
    "airbnb",
    "audiobooks",
    "browserslistrc",
    "callout",
    "commitlint",
    "confex",
    "confim",
    "contactless",
    "contenteditable",
    "Contentful",
    "Coronavirus",
    "Covid",
    "drush",
    "endblock",
    "endembed",
    "endfor",
    "gitbook",
    "Infographics",
    "Invision",
    "kint",
    "lando",
    "lightbox",
    "mixins",
    "roadmap",
    "sqaush",
    "srcset",
    "stylelint",
    "stylelintrc",
    "tabindex",
    "Theming",
    "twatch",
    "updb",
    "visreg"
    ],
    // Don't confirm when deleting files in the explorer
    "explorer.confirmDelete": false,
    // Don't confirm when dragging and dropping files in the explorer
    "explorer.confirmDragAndDrop": false,
    // Use iTerm when opening current project in terminal (Cmd + Shift + C)
    "terminal.external.osxExec": "iTerm.app",
    // Liveshare auth provider
    "liveshare.authenticationProvider": "GitHub",
    // Tabnine
    "tabnine.experimentalAutoImports": true,
    "security.workspace.trust.untrustedFiles": "open",
    "extensions.ignoreRecommendations": true,
    "window.zoomLevel": 1
    }
    ```
  6. ModulesUnraveled revised this gist Nov 12, 2021. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions 06. Drupal Stuff.md
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,11 @@
    ## Terminus
    https://pantheon.io/docs/terminus/install

    ## Update: This may be all that's needed. If it works, don't do anything else below
    ## Install Multiple Versions of Drush

    **Update: The instructions at this link may be all that's needed. If it works, don't do anything else below**
    http://webchick.net/drush-and-drush

    ## Install Multiple Versions of Drush
    Follow the next steps for each version of Drush you need to install

    - `cd /usr/local/bin`
  7. ModulesUnraveled revised this gist Nov 12, 2021. 2 changed files with 6 additions and 51 deletions.
    6 changes: 6 additions & 0 deletions 05. Lando.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    ## Install Docker For Mac
    - Install the version for the [Apple Silicone](https://docs.docker.com/desktop/mac/apple-silicon/)

    ## Install Lando
    - I installed [v3.4.2](https://github.com/lando/lando/releases) and had success!
    - _NOTE: During the installation, make sure you customize it, and uncheck the Docker install. You don't want the version that comes with Lando._
    51 changes: 0 additions & 51 deletions 05. Mamp.md
    Original file line number Diff line number Diff line change
    @@ -1,51 +0,0 @@
    ## Fish Aliases
    - `alias mampsql "/Applications/MAMP/Library/bin/mysql --host=localhost -uroot -proot"`
    - `funcsave mampsql`

    ## Increase max_allowed_packets
    - Create the file: `touch /Applications/MAMP/Library/my.cnf`
    - Write the first line: `echo "[mysqld]" >> /Applications/MAMP/Library/my.cnf`
    - Write the second line: `echo "max_allowed_packet=64M" >> /Applications/MAMP/Library/my.cnf`
    - Restart MAMP

    Check the value:
    - `mampsql`
    - `SHOW VARIABLES LIKE 'max_allowed_packet';`

    Divide the value by `1048576` (1024x1024) and verify it's set to the value in the second line above

    ## Enable Virtual Hosts
    - Edit httpd.conf: `vi /Applications/MAMP/conf/apache/httpd.conf`
    - Find the right line: Press `/`, then type/paste `# Virtual hosts`
    - Uncomment the next line `#Include /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf`

    ## Enable MySql
    - `sudo ln -s /Applications/MAMP/Library/bin/mysql /usr/local/bin/mysql`
    - `sudo mkdir /var/mysql`
    - `sudo ln -s /Applications/MAMP/tmp/mysql/mysql.sock /var/mysql/mysql.sock`

    ## Installing a Drupal Site
    ### Create the database
    - Go to: localhost/phpMyAdmin
    - Create the database
    - Import existing database

    ### Clone the code base
    - `git clone <repo>`

    ### Add the site to /etc/hosts
    `sudo vi /etc/hosts`

    ### Add the vhost to /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf
    `vi /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf`
    ```
    <VirtualHost *:80>
    DocumentRoot "/path/to/docroot"
    ServerName loc.domain.tld
    </VirtualHost>
    ```

    Restart MAMP

    ### Configure database settings in settings.php and settings.local.php
    @Todo
  8. ModulesUnraveled revised this gist Nov 12, 2021. 1 changed file with 1 addition and 49 deletions.
    50 changes: 1 addition & 49 deletions 02. Terminal Stuff.md
    Original file line number Diff line number Diff line change
    @@ -48,55 +48,7 @@ Terminal:
    - `set -Ux LSCOLORS gxfxbEaEBxxEhEhBaDaCaD`

    ## Automatically set node version if a .nvmrc file is present
    Official docs: https://github.com/nvm-sh/nvm#automatically-call-nvm-use

    Add the following to `~/.config/fish/config.fish`

    ```
    function find_up
    set path (pwd)
    while test $path != "/"
    and not test -e "$path/$argv[1]"
    set path (dirname $path)
    end
    if test -e "$path/$argv[1]"
    echo $path
    else
    echo ""
    end
    end
    function __check_nvm --on-variable PWD
    if status --is-command-substitution
    return
    end
    set nvm_path (find_up ".nvmrc" | tr -d '[:space:]')
    if test "$nvm_path" != ""
    set nvmrc_node_version (nvm version (cat "$nvm_path/.nvmrc"))
    if test "$nvmrc_node_version" = "N/A"
    # echo "Installing node version "(cat "$nvm_path/.nvmrc")
    nvm install
    set nvm_node_version (nvm version)
    else if test "$nvmrc_node_version" != (nvm version)
    # echo "Changing node version to $nvmrc_node_version"
    nvm use
    set nvm_node_version (nvm version)
    end
    # echo "$nvm_path/.nvmrc"
    else if test (nvm version) = "none"
    nvm use default --silent
    else if test (nvm version) != (nvm version default)
    echo "Reverting node version to default"
    nvm use default
    end
    end
    __check_nvm
    ```
    Checkout the official docs and follow the instructions for your shell: https://github.com/nvm-sh/nvm#automatically-call-nvm-use

    ## Fish aliases
    To create and save aliases, enter the following pattern:
  9. ModulesUnraveled revised this gist Nov 12, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions 04. Visual Studio Code.md
    Original file line number Diff line number Diff line change
    @@ -6,6 +6,7 @@
    - [ES7 React/etc. snippets](https://marketplace.visualstudio.com/items?itemName=dsznajder.es7-react-js-snippets) (React, GraphQL, etc. support.)
    - [Formatting Toggle](https://marketplace.visualstudio.com/items?itemName=tombonnike.vscode-status-bar-format-toggle) (Gives you a button in the bottom bar to disable formatting. Useful when your linting rules should be ignored for a particular file, but you don't want to add ignore code.)
    - [Live Preview](https://marketplace.visualstudio.com/items?itemName=ms-vscode.live-server) (Live preview, useful for projects that don't have a local server running.)
    - [Markdown All in One](https://marketplace.visualstudio.com/items?itemName=yzhang.markdown-all-in-one) (Markdown formatting)
    - [MDX](https://marketplace.visualstudio.com/items?itemName=silvenon.mdx) (Support for MDX files)
    - [One Dark Pro](https://marketplace.visualstudio.com/items?itemName=zhuangtongfa.Material-theme) (Dark theme I like. Must enable it after install)
    - [Prettier - Code formatter](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) (Enable Prettier formatting on save and stuff.)
  10. ModulesUnraveled revised this gist Nov 11, 2021. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion 01. Setup a new (M1) mac.md
    Original file line number Diff line number Diff line change
    @@ -22,7 +22,6 @@
    - [AppZapper](https://www.appzapper.com/): Remove all the extra stuff that dragging an app to the trash misses
    - [BackBlaze](https://secure.backblaze.com/user_overview.htm): Automated, all-the-time backup
    - [Bartender](https://www.macbartender.com/): Manage the menu bar icons
    - [Code](https://code.visualstudio.com/download): Visual Studio Code (Code editor)
    - [Cyberduck](https://cyberduck.io/): SFTP client
    - [Docker for Mac](https://store.docker.com/editions/community/docker-ce-desktop-mac): Docker... for Mac
    - [Doxie](http://help.getdoxie.com/doxiego/): Scanner app
  11. ModulesUnraveled renamed this gist Nov 11, 2021. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  12. ModulesUnraveled renamed this gist Nov 11, 2021. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  13. ModulesUnraveled revised this gist Nov 11, 2021. 3 changed files with 11 additions and 9 deletions.
    10 changes: 7 additions & 3 deletions 02. Terminal Stuff.md
    Original file line number Diff line number Diff line change
    @@ -20,15 +20,19 @@ Terminal:
    - `git config --global user.email "[email protected]"`
    - [Homebrew](https://brew.sh/)
    - `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"`
    - Add the arm (M1 macs) directory to your path for bash
    - `PATH=/opt/homebrew/bin:$PATH`
    - wget
    - `brew install wget`
    - [Fish](https://fishshell.com/): Bash replacement
    - `brew install fish` (Install it)
    - Add `/usr/local/bin/fish` to `/etc/shells`
    - `chsh -s /usr/local/bin/fish` (Set it as default)
    - Add `/opt/homebrew/bin/fish` to `/etc/shells`
    - `chsh -s /opt/homebrew/bin` (Set it as default)
    - `fish` (Use it now)
    - Add the arm (M1 macs) directory to your path for fish
    - `set -U fish_user_paths /opt/homebrew/bin/fish $fish_user_paths`
    - [Oh my Fish](https://github.com/oh-my-fish/oh-my-fish): Addons for Fish
    - `curl -L https://get.oh-my.fish | fish`
    - `curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install | fish`
    - [Eden](https://github.com/oh-my-fish/oh-my-fish/blob/master/docs/Themes.md#eden): Fish Theme:
    - `omf install eden`
    - NVM for Fish
    8 changes: 3 additions & 5 deletions 03. General Development Stuff.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@
    - `ssh-keygen -t rsa -b 4096`

    ## Add the key to your keychain so you don't have to type your password every time
    - `ssh-add -K ~/.ssh/[your-private-key]`
    - `ssh-add --apple-use-keychain ~/.ssh/[your-private-key]`
    - `vi ~/.ssh/config`
    Enter the following in to the config file:
    ```
    @@ -22,13 +22,11 @@ Add additional `IdentityFile` lines for additional keys
    - Download the fish functions from GitHub `curl -L --create-dirs -o ~/.config/fish/functions/rvm.fish https://raw.github.com/lunks/fish-nuggets/master/functions/rvm.fish`
    - And activate the default Ruby manually in your config.fish file: `echo "rvm default" >> ~/.config/fish/config.fish`
    - Test it with `rvm -v` and `ruby -v`

    ## Node
    - [Download and install](https://nodejs.org/en/)

    ## Composer
    - M1 macs don't come with PHP, so install it `brew install php` (Terminus 2 doesn't work with 8, so you may need to install `[email protected]`)
    - Follow the installation instructions here: https://getcomposer.org/download/
    - Move the composer to a globally accessible location: `mv composer.phar /usr/local/bin/composer`
    - Move the composer to a globally accessible location: `sudo mv composer.phar /usr/local/bin/composer`
    - Increase php memory limit
    - `sudo vi /etc/php.ini`
    - Paste in `memory_limit = 5G`
    2 changes: 1 addition & 1 deletion 04. Visual Studio Code.md
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,11 @@
    ## Extensions
    - [Auto Close Tag](https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-close-tag) (Automatically add closing tags)
    - [Browser Preview](https://marketplace.visualstudio.com/items?itemName=auchenberg.vscode-browser-preview) (headless Chromium powered browser in VSCode. Useful for React, etc.)
    - [Code Spell Checker](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) (... Spell Checker)
    - [Color Highlight](https://marketplace.visualstudio.com/items?itemName=naumovs.color-highlight) (Highlights colors in the editor to give a visual representation of the color. Also works with custom properties!)
    - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) (JavaScript linting)
    - [ES7 React/etc. snippets](https://marketplace.visualstudio.com/items?itemName=dsznajder.es7-react-js-snippets) (React, GraphQL, etc. support.)
    - [Formatting Toggle](https://marketplace.visualstudio.com/items?itemName=tombonnike.vscode-status-bar-format-toggle) (Gives you a button in the bottom bar to disable formatting. Useful when your linting rules should be ignored for a particular file, but you don't want to add ignore code.)
    - [Live Preview](https://marketplace.visualstudio.com/items?itemName=ms-vscode.live-server) (Live preview, useful for projects that don't have a local server running.)
    - [MDX](https://marketplace.visualstudio.com/items?itemName=silvenon.mdx) (Support for MDX files)
    - [One Dark Pro](https://marketplace.visualstudio.com/items?itemName=zhuangtongfa.Material-theme) (Dark theme I like. Must enable it after install)
    - [Prettier - Code formatter](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) (Enable Prettier formatting on save and stuff.)
  14. ModulesUnraveled revised this gist Sep 1, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion 07. 4k - personalized scripting
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    #!/bin/sh

    # Installation:
    # - Copy this file to /usr/local/bin/k4
    # - Copy this file to /usr/local/bin/4k
    # - Make it executable `chmod +x /usr/local/bin/4k`
    #
    # Use:
  15. ModulesUnraveled revised this gist Jul 28, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion 04. Visual Studio Code.md
    Original file line number Diff line number Diff line change
    @@ -19,7 +19,7 @@
    - [Conventional Commits](https://marketplace.visualstudio.com/items?itemName=vivaxy.vscode-conventional-commits) (This extension helps you to fill in commit message according to Conventional Commits.)
    - [Dark++ Theme](https://marketplace.visualstudio.com/items?itemName=DryWolf.dark-plus-plus-theme) (Dark++ theme for vscode)
    - [GitLense](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens) (Git info in the editor.)
    - [Key Bindings Visual Studio](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vs-keybindings) (Popular Visual Studio keybindings for VS Code.)
    - [Key Bindings Visual Studio](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vs-keybindings) (I actually uninstalled this one. It was massing with "alt-left/right" moving the cursor a word at a time)
    - [Live Server](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer) (A Quick Development Live Server with live browser reload.)
    - [Live Share](https://marketplace.visualstudio.com/items?itemName=MS-vsliveshare.vsliveshare) (Collaborative coding made awesome!)
    - [Material Icon Theme](https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme) (Pretty icons. Must enable it after install)
  16. ModulesUnraveled revised this gist Jul 28, 2021. 1 changed file with 17 additions and 5 deletions.
    22 changes: 17 additions & 5 deletions 04. Visual Studio Code.md
    Original file line number Diff line number Diff line change
    @@ -1,22 +1,32 @@
    ## Extensions
    - [Auto Close Tag](https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-close-tag) (Automatically add closing tags)
    - [Auto Rename Tag](https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-rename-tag) (Automatically rename closing - or opening - tags when you edit one of them.)
    - [Browser Preview](https://marketplace.visualstudio.com/items?itemName=auchenberg.vscode-browser-preview) (headless Chromium powered browser in VSCode. Useful for React, etc.)
    - [Code Spell Checker](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) (... Spell Checker)
    - [Color Highlight](https://marketplace.visualstudio.com/items?itemName=naumovs.color-highlight) (Highlights colors in the editor to give a visual representation of the color. Also works with custom properties!)
    - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) (JavaScript linting)
    - [ES7 React/etc. snippets](https://marketplace.visualstudio.com/items?itemName=dsznajder.es7-react-js-snippets) (React, GraphQL, etc. support.)
    - [Formatting Toggle](https://marketplace.visualstudio.com/items?itemName=tombonnike.vscode-status-bar-format-toggle) (Gives you a button in the bottom bar to disable formatting. Useful when your linting rules should be ignored for a particular file, but you don't want to add ignore code.)
    - [GitLense](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens) (Git info in the editor.)
    - [Live Share](https://marketplace.visualstudio.com/items?itemName=MS-vsliveshare.vsliveshare) (Collaborative coding made awesome!)
    - [Material Icon Theme](https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme) (Pretty icons. Must enable it after install)
    - [MDX](https://marketplace.visualstudio.com/items?itemName=silvenon.mdx) (Support for MDX files)
    - [One Dark Pro](https://marketplace.visualstudio.com/items?itemName=zhuangtongfa.Material-theme) (Dark theme I like. Must enable it after install)
    - [Prettier - Code formatter](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) (Enable Prettier formatting on save and stuff.)
    - [Rainbow Brackets](https://marketplace.visualstudio.com/items?itemName=2gua.rainbow-brackets) (Colors brackets for easier identification.)
    - [Stylelint](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint) (css, sass, etc. linting)
    - [Toggle Quotes](https://marketplace.visualstudio.com/items?itemName=BriteSnow.vscode-toggle-quotes) (Lets you toggle between double, single, and backticks with just a keystroke)
    - [Twig Language 2](https://marketplace.visualstudio.com/items?itemName=mblode.twig-language-2) (Twig syntax highlighting etc.)
    - [Package ++](https://marketplace.visualstudio.com/items?itemName=juninhosilva.package-plus-plus) (A collection of extensions to "Boost your Visual Studio code, individually chosen extensions, to help the day to day programmer." Includes the following:)
    - [Auto Rename Tag](https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-rename-tag) (Automatically rename closing - or opening - tags when you edit one of them.)
    - [Bookmarks](https://marketplace.visualstudio.com/items?itemName=alefragnani.Bookmarks) (If you have a piece of code that you want to consult in the future, you can use the bookmark, it is very useful to consult a line that you found interesting in the debugger)
    - [Bracket Pair colorizer](https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer) (Colors brackets for easier identification.)
    - [Conventional Commits](https://marketplace.visualstudio.com/items?itemName=vivaxy.vscode-conventional-commits) (This extension helps you to fill in commit message according to Conventional Commits.)
    - [Dark++ Theme](https://marketplace.visualstudio.com/items?itemName=DryWolf.dark-plus-plus-theme) (Dark++ theme for vscode)
    - [GitLense](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens) (Git info in the editor.)
    - [Key Bindings Visual Studio](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vs-keybindings) (Popular Visual Studio keybindings for VS Code.)
    - [Live Server](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer) (A Quick Development Live Server with live browser reload.)
    - [Live Share](https://marketplace.visualstudio.com/items?itemName=MS-vsliveshare.vsliveshare) (Collaborative coding made awesome!)
    - [Material Icon Theme](https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme) (Pretty icons. Must enable it after install)
    - [Path Intellisense](https://marketplace.visualstudio.com/items?itemName=christian-kohler.path-intellisense) (Visual Studio Code plugin that autocompletes filenames.)
    - [Quokka](https://marketplace.visualstudio.com/items?itemName=WallabyJs.quokka-vscode) (No more console.log, this tool gives you the result, in real time without executing the code, knowing exactly what that function will return as soon as you call it)
    - [TabNine](https://marketplace.visualstudio.com/items?itemName=TabNine.tabnine-vscode) (This extension is great for auto completing codes, the tool has an intelligence that helps you along the development)
    - [Todo Highlight](https://marketplace.visualstudio.com/items?itemName=wayou.vscode-todo-highlight) (That TO DO or FIX ME in the comment, remember? So this extension makes it very elegant in your comment and with a highlight for you to remember that adjustment in the code)

    ## Install shell extension
    - Open Visual Studio Code and access the Command Palette (⇧⌘P) and start typing "shell command" and select option "Shell Command: Install ‘code’ command in PATH".
    @@ -37,6 +47,7 @@
    }
    }
    ```

    ### Twig Embed
    ```
    {
    @@ -54,6 +65,7 @@
    }
    }
    ```

    ### Twig Extends
    ```
    {
  17. ModulesUnraveled revised this gist Jun 24, 2021. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions 02. Terminal Stuff.md
    Original file line number Diff line number Diff line change
    @@ -44,6 +44,8 @@ Terminal:
    - `set -Ux LSCOLORS gxfxbEaEBxxEhEhBaDaCaD`

    ## Automatically set node version if a .nvmrc file is present
    Official docs: https://github.com/nvm-sh/nvm#automatically-call-nvm-use

    Add the following to `~/.config/fish/config.fish`

    ```
  18. ModulesUnraveled revised this gist Jun 22, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion 04. Visual Studio Code.md
    Original file line number Diff line number Diff line change
    @@ -15,8 +15,8 @@
    - [Prettier - Code formatter](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) (Enable Prettier formatting on save and stuff.)
    - [Rainbow Brackets](https://marketplace.visualstudio.com/items?itemName=2gua.rainbow-brackets) (Colors brackets for easier identification.)
    - [Stylelint](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint) (css, sass, etc. linting)
    - [Symfony code snippets And Twig Support & Yaml](https://marketplace.visualstudio.com/items?itemName=nadim-vscode.symfony-code-snippets) (Support for Symfony/Twig files.)
    - [Toggle Quotes](https://marketplace.visualstudio.com/items?itemName=BriteSnow.vscode-toggle-quotes) (Lets you toggle between double, single, and backticks with just a keystroke)
    - [Twig Language 2](https://marketplace.visualstudio.com/items?itemName=mblode.twig-language-2) (Twig syntax highlighting etc.)

    ## Install shell extension
    - Open Visual Studio Code and access the Command Palette (⇧⌘P) and start typing "shell command" and select option "Shell Command: Install ‘code’ command in PATH".
  19. ModulesUnraveled revised this gist Apr 9, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions 04. Visual Studio Code.md
    Original file line number Diff line number Diff line change
    @@ -5,6 +5,7 @@
    - [Code Spell Checker](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) (... Spell Checker)
    - [Color Highlight](https://marketplace.visualstudio.com/items?itemName=naumovs.color-highlight) (Highlights colors in the editor to give a visual representation of the color. Also works with custom properties!)
    - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) (JavaScript linting)
    - [ES7 React/etc. snippets](https://marketplace.visualstudio.com/items?itemName=dsznajder.es7-react-js-snippets) (React, GraphQL, etc. support.)
    - [Formatting Toggle](https://marketplace.visualstudio.com/items?itemName=tombonnike.vscode-status-bar-format-toggle) (Gives you a button in the bottom bar to disable formatting. Useful when your linting rules should be ignored for a particular file, but you don't want to add ignore code.)
    - [GitLense](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens) (Git info in the editor.)
    - [Live Share](https://marketplace.visualstudio.com/items?itemName=MS-vsliveshare.vsliveshare) (Collaborative coding made awesome!)
  20. ModulesUnraveled revised this gist Apr 6, 2021. 1 changed file with 163 additions and 150 deletions.
    313 changes: 163 additions & 150 deletions 04. Visual Studio Code.md
    Original file line number Diff line number Diff line change
    @@ -14,8 +14,8 @@
    - [Prettier - Code formatter](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) (Enable Prettier formatting on save and stuff.)
    - [Rainbow Brackets](https://marketplace.visualstudio.com/items?itemName=2gua.rainbow-brackets) (Colors brackets for easier identification.)
    - [Stylelint](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint) (css, sass, etc. linting)
    - [Symfony code snippets And Twig Support & Yaml](https://marketplace.visualstudio.com/items?itemName=nadim-vscode.symfony-code-snippets) (Support for Symfony/Twig files.)
    - [Toggle Quotes](https://marketplace.visualstudio.com/items?itemName=BriteSnow.vscode-toggle-quotes) (Lets you toggle between double, single, and backticks with just a keystroke)
    - [Twig Language 2](https://marketplace.visualstudio.com/items?itemName=mblode.twig-language-2) (Support for Twig files.)

    ## Install shell extension
    - Open Visual Studio Code and access the Command Palette (⇧⌘P) and start typing "shell command" and select option "Shell Command: Install ‘code’ command in PATH".
    @@ -166,153 +166,166 @@
    ## Settings
    ```
    {
    //////////////////////////////
    // VS Code Interface Tweaks //
    //////////////////////////////
    // Disable breadcrumbs
    "breadcrumbs.enabled": false,
    // Make the cursor solid at all times (disables blinking)
    "editor.cursorBlinking": "solid",
    // Disable the minimap
    "editor.minimap.enabled": false,
    // Show rulers at 80 and 100 character
    "editor.rulers": [
    80,
    100
    ],
    // Always show the folding controls
    "editor.showFoldingControls": "always",
    // Hide the Editor, Search, Extenstions, etc. bar.
    // You can still get to them via hot-keys or the "View" menu
    "workbench.activityBar.visible": false,
    // My preferred theme
    "workbench.colorTheme": "One Dark Pro",
    // Hide the close button on tabs to condense them a bit
    "workbench.editor.tabCloseButton": "off",
    // Condense the tabs at the top just a bit
    "workbench.editor.tabSizing": "shrink",
    // Material theme icons
    "workbench.iconTheme": "material-icon-theme",
    // Enables horizontal scrolling in the sidebar
    "workbench.list.horizontalScrolling": true,
    // Add the path to the file in the window title
    "window.title": "${activeEditorMedium}${separator}${rootName}",
    // Starts up new windows with a new untitled file
    "workbench.startupEditor": "newUntitledFile",
    // Focus on files in the sidebar when selected in the main editor window
    // But don't move the sidebar scroll position to them
    "explorer.autoReveal": "focusNoScroll",
    //////////////////////////
    // Code Writing Helpers //
    //////////////////////////
    // Enable auto-closing of tags in all file types
    "auto-close-tag.activationOnLanguage": [
    "*"
    ],
    // Set tabs to equal two spaces
    "editor.tabSize": 2,
    "twig-language-2.indentStyle": "space",
    // Tell emmet to work on .js files (not just when specified as react)
    "emmet.includeLanguages": {
    "javascript": "javascriptreact",
    "twig": "html",
    },
    // Tell emmet to use single quotes
    "emmet.syntaxProfiles": {
    "jsx": {
    "attr_quotes": "single"
    }
    },
    /////////////////////////////////
    // Code Linting and Formatting //
    /////////////////////////////////
    // Style linting //
    // Disable VS Code's validation of css, less, and scss because we're using Stylelint
    // (This just prevents duplicate reports in the log)
    "css.validate": false,
    "less.validate": false,
    "scss.validate": false,
    // Turn on Auto Fix for all providers (including eslint)
    "editor.codeActionsOnSave": {
    "source.fixAll": true
    },
    // Use prettier to format js code
    "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    // General linting/formatting
    // Format on Paste
    "editor.formatOnPaste": true,
    // Format on Save
    "editor.formatOnSave": true,
    // Format on Type
    "editor.formatOnType": true,
    // Insert a final newline
    "files.insertFinalNewline": true,
    // Remove additional newlines after the "final" one
    "files.trimFinalNewlines": true,
    // Trim any whitespace at the end of lines
    "files.trimTrailingWhitespace": true,
    //////////////////////
    // User Preferences //
    //////////////////////
    // Custom dictionary
    "cSpell.userWords": [
    "ARKNG",
    "Arkayo",
    "Contentful",
    "Coronavirus",
    "Covid",
    "Gladwell",
    "Infographics",
    "Inveniem",
    "Invision",
    "Kalamuna",
    "Promet",
    "Theming",
    "airbnb",
    "analytes",
    "audiobooks",
    "browserslistrc",
    "commitlint",
    "confex",
    "confim",
    "contactless",
    "contenteditable",
    "drush",
    "endblock",
    "endembed",
    "endfor",
    "fraiche",
    "kint",
    "kitfinder",
    "lando",
    "mixins",
    "nypl",
    "shortcode",
    "shortcodes",
    "spbb",
    "sqaush",
    "srcset",
    "stylelint",
    "stylelintrc",
    "swiper",
    "tabindex",
    "updb"
    ],
    // Don't confirm when deleting files in the explorer
    "explorer.confirmDelete": false,
    // Don't confirm when dragging and dropping files in the explorer
    "explorer.confirmDragAndDrop": false,
    // Associate extensions with languates
    "files.associations": {
    "*.theme": "php",
    "*.module": "php",
    "*.inc": "php",
    "*.install": "php",
    "*.html": "twig",
    },
    // Use iTerm when opening current project in terminal (Cmd + Shift + C)
    "terminal.external.osxExec": "iTerm.app",
    }
    //--------------------------//
    // VS Code Interface Tweaks //
    //--------------------------//
    // Disable breadcrumbs
    "breadcrumbs.enabled": false,
    // Make the cursor solid at all times (disables blinking)
    "editor.cursorBlinking": "solid",
    // Disable the minimap
    "editor.minimap.enabled": false,
    // Show rulers at 80 and 100 character
    "editor.rulers": [80, 100],
    // Always show the folding controls
    "editor.showFoldingControls": "always",
    // Hide the Editor, Search, Extenstions, etc. bar.
    // You can still get to them via hot-keys or the "View" menu
    "workbench.activityBar.visible": false,
    // My preferred theme
    "workbench.colorTheme": "One Dark Pro",
    // Hide the close button on tabs to condense them a bit
    "workbench.editor.tabCloseButton": "off",
    // Condense the tabs at the top just a bit
    "workbench.editor.tabSizing": "shrink",
    // Material theme icons
    "workbench.iconTheme": "material-icon-theme",
    // Enables horizontal scrolling in the sidebar
    "workbench.list.horizontalScrolling": true,
    // Add the path to the file in the window title
    "window.title": "${activeEditorMedium}${separator}${rootName}",
    // Starts up new windows with a new untitled file
    "workbench.startupEditor": "newUntitledFile",
    // Focus on files in the sidebar when selected in the main editor window
    // But don't move the sidebar scroll position to them
    "explorer.autoReveal": "focusNoScroll",
    // UI (font) size
    "window.zoomLevel": 0,
    //----------------------//
    // Code Writing Helpers //
    //----------------------//
    // Enable auto-closing of tags in all file types
    "auto-close-tag.activationOnLanguage": ["*"],
    // Set tabs to equal two spaces
    "editor.tabSize": 2,
    // Tell emmet to work on .js files (not just when specified as react)
    "emmet.includeLanguages": {
    "javascript": "javascriptreact",
    "twig": "html"
    },
    // Tell emmet to use single quotes
    "emmet.syntaxProfiles": {
    "jsx": {
    "attr_quotes": "single"
    }
    },
    //-----------------------------//
    // Code Linting and Formatting //
    //-----------------------------//
    // Associate extensions with languates
    "files.associations": {
    "*.theme": "php",
    "*.module": "php",
    "*.inc": "php",
    "*.install": "php",
    "*.html": "twig"
    },
    // Style linting //
    // Disable VS Code's validation of css, less, and scss because we're using Stylelint
    // (This just prevents duplicate reports in the log)
    "css.validate": false,
    "less.validate": false,
    "scss.validate": false,
    // Turn on Auto Fix for all providers (including eslint)
    "editor.codeActionsOnSave": {
    "source.fixAll": true
    },
    // Use prettier to format code
    "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[javascriptreact]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[scss]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[html]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[typescriptreact]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[jsonc]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    // Format json with the json formatter
    "[json]": {
    "editor.defaultFormatter": "vscode.json-language-features"
    },
    // General linting/formatting
    // Format on Paste
    "editor.formatOnPaste": true,
    // Format on Save
    "editor.formatOnSave": true,
    // Format on Type
    "editor.formatOnType": true,
    // Insert a final newline
    "files.insertFinalNewline": true,
    // Remove additional newlines after the "final" one
    "files.trimFinalNewlines": true,
    // Trim any whitespace at the end of lines
    "files.trimTrailingWhitespace": true,
    //------------------//
    // User Preferences //
    //------------------//
    // Custom dictionary
    "cSpell.userWords": [
    "Contentful",
    "Coronavirus",
    "Covid",
    "Gladwell",
    "Infographics",
    "Inveniem",
    "Invision",
    "Kalamuna",
    "Promet",
    "Theming",
    "airbnb",
    "analytes",
    "audiobooks",
    "browserslistrc",
    "commitlint",
    "confex",
    "confim",
    "contactless",
    "contenteditable",
    "drush",
    "endblock",
    "endembed",
    "endfor",
    "kint",
    "lando",
    "lightbox",
    "mixins",
    "roadmap",
    "spbb",
    "sqaush",
    "srcset",
    "stylelint",
    "stylelintrc",
    "swiper",
    "tabindex",
    "twatch",
    "updb"
    ],
    // Don't confirm when deleting files in the explorer
    "explorer.confirmDelete": false,
    // Don't confirm when dragging and dropping files in the explorer
    "explorer.confirmDragAndDrop": false,
    // Use iTerm when opening current project in terminal (Cmd + Shift + C)
    "terminal.external.osxExec": "iTerm.app",
    // Liveshare auth provider
    "liveshare.authenticationProvider": "GitHub"
    }
    ```
  21. ModulesUnraveled revised this gist Mar 18, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions 04. Visual Studio Code.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,7 @@
    ## Extensions
    - [Auto Close Tag](https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-close-tag) (Automatically add closing tags)
    - [Auto Rename Tag](https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-rename-tag) (Automatically rename closing - or opening - tags when you edit one of them.)
    - [Browser Preview](https://marketplace.visualstudio.com/items?itemName=auchenberg.vscode-browser-preview) (headless Chromium powered browser in VSCode. Useful for React, etc.)
    - [Code Spell Checker](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) (... Spell Checker)
    - [Color Highlight](https://marketplace.visualstudio.com/items?itemName=naumovs.color-highlight) (Highlights colors in the editor to give a visual representation of the color. Also works with custom properties!)
    - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) (JavaScript linting)
  22. ModulesUnraveled revised this gist Mar 9, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions 04. Visual Studio Code.md
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,7 @@
    - [Auto Close Tag](https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-close-tag) (Automatically add closing tags)
    - [Auto Rename Tag](https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-rename-tag) (Automatically rename closing - or opening - tags when you edit one of them.)
    - [Code Spell Checker](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) (... Spell Checker)
    - [Color Highlight](https://marketplace.visualstudio.com/items?itemName=naumovs.color-highlight) (Highlights colors in the editor to give a visual representation of the color. Also works with custom properties!)
    - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) (JavaScript linting)
    - [Formatting Toggle](https://marketplace.visualstudio.com/items?itemName=tombonnike.vscode-status-bar-format-toggle) (Gives you a button in the bottom bar to disable formatting. Useful when your linting rules should be ignored for a particular file, but you don't want to add ignore code.)
    - [GitLense](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens) (Git info in the editor.)
  23. ModulesUnraveled revised this gist Feb 25, 2021. 1 changed file with 16 additions and 4 deletions.
    20 changes: 16 additions & 4 deletions 04. Visual Studio Code.md
    Original file line number Diff line number Diff line change
    @@ -13,7 +13,7 @@
    - [Rainbow Brackets](https://marketplace.visualstudio.com/items?itemName=2gua.rainbow-brackets) (Colors brackets for easier identification.)
    - [Stylelint](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint) (css, sass, etc. linting)
    - [Toggle Quotes](https://marketplace.visualstudio.com/items?itemName=BriteSnow.vscode-toggle-quotes) (Lets you toggle between double, single, and backticks with just a keystroke)
    - [Twig](https://marketplace.visualstudio.com/items?itemName=whatwedo.twig) (Support for Twig files.)
    - [Twig Language 2](https://marketplace.visualstudio.com/items?itemName=mblode.twig-language-2) (Support for Twig files.)

    ## Install shell extension
    - Open Visual Studio Code and access the Command Palette (⇧⌘P) and start typing "shell command" and select option "Shell Command: Install ‘code’ command in PATH".
    @@ -209,9 +209,11 @@
    ],
    // Set tabs to equal two spaces
    "editor.tabSize": 2,
    "twig-language-2.indentStyle": "space",
    // Tell emmet to work on .js files (not just when specified as react)
    "emmet.includeLanguages": {
    "javascript": "javascriptreact"
    "javascript": "javascriptreact",
    "twig": "html",
    },
    // Tell emmet to use single quotes
    "emmet.syntaxProfiles": {
    @@ -254,14 +256,20 @@
    //////////////////////
    // Custom dictionary
    "cSpell.userWords": [
    "ARKNG",
    "Arkayo",
    "Contentful",
    "Coronavirus",
    "Covid",
    "Gladwell",
    "Infographics",
    "Inveniem",
    "Invision",
    "Kalamuna",
    "Promet",
    "Theming",
    "airbnb",
    "analytes",
    "audiobooks",
    "browserslistrc",
    "commitlint",
    @@ -273,12 +281,16 @@
    "endblock",
    "endembed",
    "endfor",
    "fraiche",
    "kint",
    "kitfinder",
    "lando",
    "mixins",
    "nypl",
    "shortcode",
    "shortcodes",
    "spbb",
    "sqaush",
    "srcset",
    "stylelint",
    "stylelintrc",
    @@ -295,10 +307,10 @@
    "*.theme": "php",
    "*.module": "php",
    "*.inc": "php",
    "*.install": "php",
    "*.html": "twig",
    },
    // Use iTerm when opening current project in terminal (Cmd + Shift + C)
    "terminal.external.osxExec": "iTerm.app",
    // The window zoom level (font size)
    "window.zoomLevel": 0,
    }
    ```
  24. ModulesUnraveled revised this gist Feb 3, 2021. 1 changed file with 137 additions and 111 deletions.
    248 changes: 137 additions & 111 deletions 04. Visual Studio Code.md
    Original file line number Diff line number Diff line change
    @@ -164,115 +164,141 @@
    ## Settings
    ```
    {
    //////////////////////////////
    // VS Code Interface Tweaks //
    //////////////////////////////
    // Disable breadcrumbs
    "breadcrumbs.enabled": false,
    // Make the cursor solid at all times (disables blinking)
    "editor.cursorBlinking": "solid",
    // Disable the minimap
    "editor.minimap.enabled": false,
    // Show rulers at 80 and 100 character
    "editor.rulers": [
    80,
    100
    ],
    // Alsways show the folding controls
    "editor.showFoldingControls": "always",
    // Hides the Editor, Search, Extenstions, etc. bar.
    // You can still get to them via hot-keys or the "View" menu
    "workbench.activityBar.visible": false,
    // My preferred theme
    "workbench.colorTheme": "One Dark Pro",
    // Hide the close button on tabs to condense them a bit
    "workbench.editor.tabCloseButton": "off",
    // Condense the tabs at the top just a bit
    "workbench.editor.tabSizing": "shrink",
    // Material theme icons
    "workbench.iconTheme": "material-icon-theme",
    // Enables horizontal scrolling in the sidebar
    "workbench.list.horizontalScrolling": true,
    // Add the path to the file in the window title
    "window.title": "${activeEditorMedium}${separator}${rootName}",
    // Starts up new windows with a new untitled file
    "workbench.startupEditor": "newUntitledFile",
    //////////////////////////
    // Code Writing Helpers //
    //////////////////////////
    // Enable auto-closing of tags in all file types
    "auto-close-tag.activationOnLanguage": [
    "*"
    ],
    // Set tabs to equal two spaces
    "editor.tabSize": 2,
    // Tell emmet to work on .js files (not just when specified as react)
    "emmet.includeLanguages": {
    "javascript": "javascriptreact"
    },
    // Tell emmet to use single quotes
    "emmet.syntaxProfiles": {
    "jsx": {
    "attr_quotes": "single"
    }
    },
    /////////////////////////////////
    // Code Linting and Formatting //
    /////////////////////////////////
    // Style linting //
    // Disable VS Code's validation of css, less, and scss because we're using Stylelint
    // (This just prevents duplicate reports in the log)
    "css.validate": false,
    "less.validate": false,
    "scss.validate": false,
    // Turn on Auto Fix for all providers (including eslint)
    "editor.codeActionsOnSave": {
    "source.fixAll": true
    },
    // General linting/formatting
    // Format on Paste
    "editor.formatOnPaste": true,
    // Format on Save
    "editor.formatOnSave": true,
    // Format on Type
    "editor.formatOnType": true,
    // Insert a final newline
    "files.insertFinalNewline": true,
    // Remove additional newlines after the "final" one
    "files.trimFinalNewlines": true,
    // Trim any whitespace at the end of lines
    "files.trimTrailingWhitespace": true,
    //////////////////////
    // User Preferences //
    //////////////////////
    // Custom dictionary
    "cSpell.userWords": [
    "browserslistrc",
    "contenteditable",
    "endblock",
    "endembed",
    "endfor",
    "kint",
    "lando",
    "nypl",
    "spbb",
    "sqaush",
    "srcset",
    "stylelint",
    "tabindex"
    ],
    // Don't confirm when deleting files in the explorer
    "explorer.confirmDelete": false,
    // Don't confirm when dragging and dropping files in the explorer
    "explorer.confirmDragAndDrop": false,
    // Associate extensions with languates
    "files.associations": {
    "*.theme": "php",
    "*.module": "php",
    },
    // Use iTerm when opening current project in terminal (Cmd + Shift + C)
    "terminal.external.osxExec": "iTerm.app",
    // The window zoom level
    "window.zoomLevel": 0,
    }
    //////////////////////////////
    // VS Code Interface Tweaks //
    //////////////////////////////
    // Disable breadcrumbs
    "breadcrumbs.enabled": false,
    // Make the cursor solid at all times (disables blinking)
    "editor.cursorBlinking": "solid",
    // Disable the minimap
    "editor.minimap.enabled": false,
    // Show rulers at 80 and 100 character
    "editor.rulers": [
    80,
    100
    ],
    // Always show the folding controls
    "editor.showFoldingControls": "always",
    // Hide the Editor, Search, Extenstions, etc. bar.
    // You can still get to them via hot-keys or the "View" menu
    "workbench.activityBar.visible": false,
    // My preferred theme
    "workbench.colorTheme": "One Dark Pro",
    // Hide the close button on tabs to condense them a bit
    "workbench.editor.tabCloseButton": "off",
    // Condense the tabs at the top just a bit
    "workbench.editor.tabSizing": "shrink",
    // Material theme icons
    "workbench.iconTheme": "material-icon-theme",
    // Enables horizontal scrolling in the sidebar
    "workbench.list.horizontalScrolling": true,
    // Add the path to the file in the window title
    "window.title": "${activeEditorMedium}${separator}${rootName}",
    // Starts up new windows with a new untitled file
    "workbench.startupEditor": "newUntitledFile",
    // Focus on files in the sidebar when selected in the main editor window
    // But don't move the sidebar scroll position to them
    "explorer.autoReveal": "focusNoScroll",
    //////////////////////////
    // Code Writing Helpers //
    //////////////////////////
    // Enable auto-closing of tags in all file types
    "auto-close-tag.activationOnLanguage": [
    "*"
    ],
    // Set tabs to equal two spaces
    "editor.tabSize": 2,
    // Tell emmet to work on .js files (not just when specified as react)
    "emmet.includeLanguages": {
    "javascript": "javascriptreact"
    },
    // Tell emmet to use single quotes
    "emmet.syntaxProfiles": {
    "jsx": {
    "attr_quotes": "single"
    }
    },
    /////////////////////////////////
    // Code Linting and Formatting //
    /////////////////////////////////
    // Style linting //
    // Disable VS Code's validation of css, less, and scss because we're using Stylelint
    // (This just prevents duplicate reports in the log)
    "css.validate": false,
    "less.validate": false,
    "scss.validate": false,
    // Turn on Auto Fix for all providers (including eslint)
    "editor.codeActionsOnSave": {
    "source.fixAll": true
    },
    // Use prettier to format js code
    "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    // General linting/formatting
    // Format on Paste
    "editor.formatOnPaste": true,
    // Format on Save
    "editor.formatOnSave": true,
    // Format on Type
    "editor.formatOnType": true,
    // Insert a final newline
    "files.insertFinalNewline": true,
    // Remove additional newlines after the "final" one
    "files.trimFinalNewlines": true,
    // Trim any whitespace at the end of lines
    "files.trimTrailingWhitespace": true,
    //////////////////////
    // User Preferences //
    //////////////////////
    // Custom dictionary
    "cSpell.userWords": [
    "Contentful",
    "Coronavirus",
    "Covid",
    "Gladwell",
    "Infographics",
    "Invision",
    "Theming",
    "airbnb",
    "audiobooks",
    "browserslistrc",
    "commitlint",
    "confex",
    "confim",
    "contactless",
    "contenteditable",
    "drush",
    "endblock",
    "endembed",
    "endfor",
    "kint",
    "lando",
    "mixins",
    "shortcode",
    "shortcodes",
    "spbb",
    "srcset",
    "stylelint",
    "stylelintrc",
    "swiper",
    "tabindex",
    "updb"
    ],
    // Don't confirm when deleting files in the explorer
    "explorer.confirmDelete": false,
    // Don't confirm when dragging and dropping files in the explorer
    "explorer.confirmDragAndDrop": false,
    // Associate extensions with languates
    "files.associations": {
    "*.theme": "php",
    "*.module": "php",
    "*.inc": "php",
    },
    // Use iTerm when opening current project in terminal (Cmd + Shift + C)
    "terminal.external.osxExec": "iTerm.app",
    // The window zoom level (font size)
    "window.zoomLevel": 0,
    }
    ```
  25. ModulesUnraveled revised this gist Jan 4, 2021. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion 02. Terminal Stuff.md
    Original file line number Diff line number Diff line change
    @@ -34,7 +34,10 @@ Terminal:
    - NVM for Fish
    - `omf install nvm`
    - You have to install nvm itself separately (the [curl method](https://github.com/creationix/nvm/blob/master/README.md#install-script) works fine under Fish too).

    - Install whatever version you want
    - `nvm install 14`
    - Set 14.15.1 (or another version) as default
    - `nvm alias default 14.15.1`
    - Set Fish theme settings
    - `fish_config`
    - Set directoryies to a legible color
  26. ModulesUnraveled revised this gist Nov 30, 2020. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions 02. Terminal Stuff.md
    Original file line number Diff line number Diff line change
    @@ -33,6 +33,8 @@ Terminal:
    - `omf install eden`
    - NVM for Fish
    - `omf install nvm`
    - You have to install nvm itself separately (the [curl method](https://github.com/creationix/nvm/blob/master/README.md#install-script) works fine under Fish too).

    - Set Fish theme settings
    - `fish_config`
    - Set directoryies to a legible color
  27. ModulesUnraveled revised this gist Nov 16, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions 04. Visual Studio Code.md
    Original file line number Diff line number Diff line change
    @@ -4,6 +4,7 @@
    - [Code Spell Checker](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) (... Spell Checker)
    - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) (JavaScript linting)
    - [Formatting Toggle](https://marketplace.visualstudio.com/items?itemName=tombonnike.vscode-status-bar-format-toggle) (Gives you a button in the bottom bar to disable formatting. Useful when your linting rules should be ignored for a particular file, but you don't want to add ignore code.)
    - [GitLense](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens) (Git info in the editor.)
    - [Live Share](https://marketplace.visualstudio.com/items?itemName=MS-vsliveshare.vsliveshare) (Collaborative coding made awesome!)
    - [Material Icon Theme](https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme) (Pretty icons. Must enable it after install)
    - [MDX](https://marketplace.visualstudio.com/items?itemName=silvenon.mdx) (Support for MDX files)
  28. ModulesUnraveled revised this gist Nov 9, 2020. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion 02. Terminal Stuff.md
    Original file line number Diff line number Diff line change
    @@ -120,4 +120,5 @@ e.g.
    - alias dcup "docker-compose up -d --build --remove-orphans"; and funcsave dcup
    - alias ys "yarn start"; and funcsave ys
    - alias yi "yarn"; and funcsave yi
    - alias uis "yarn upgrade; and yarn; and yarn start"; and funcsave uis
    - alias uis "yarn upgrade; and yarn; and yarn start"; and funcsave uis
    - alias yd "yarn develop"; and funcsave yd
  29. ModulesUnraveled revised this gist Oct 29, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion 04. Visual Studio Code.md
    Original file line number Diff line number Diff line change
    @@ -56,7 +56,7 @@
    "Twig Extends": {
    "prefix": "textends",
    "body": [
    "{% extends \"@${1:templates/_default.twig} %}",
    "{% extends \"@${1:templates/_default.twig}\" %}",
    " {% block ${2:page_content} %}",
    " ${3:{{ content \\}\\}}",
    " {% endblock %}"
  30. ModulesUnraveled revised this gist Oct 28, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions 04. Visual Studio Code.md
    Original file line number Diff line number Diff line change
    @@ -4,6 +4,7 @@
    - [Code Spell Checker](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) (... Spell Checker)
    - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) (JavaScript linting)
    - [Formatting Toggle](https://marketplace.visualstudio.com/items?itemName=tombonnike.vscode-status-bar-format-toggle) (Gives you a button in the bottom bar to disable formatting. Useful when your linting rules should be ignored for a particular file, but you don't want to add ignore code.)
    - [Live Share](https://marketplace.visualstudio.com/items?itemName=MS-vsliveshare.vsliveshare) (Collaborative coding made awesome!)
    - [Material Icon Theme](https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme) (Pretty icons. Must enable it after install)
    - [MDX](https://marketplace.visualstudio.com/items?itemName=silvenon.mdx) (Support for MDX files)
    - [One Dark Pro](https://marketplace.visualstudio.com/items?itemName=zhuangtongfa.Material-theme) (Dark theme I like. Must enable it after install)