Last active
December 13, 2023 15:37
-
-
Save ModulesUnraveled/d0746a0a1c14ed69414ddc4a551b60b4 to your computer and use it in GitHub Desktop.
Revisions
-
ModulesUnraveled revised this gist
Jul 29, 2023 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 -
ModulesUnraveled revised this gist
Jul 26, 2023 . 7 changed files with 130 additions and 311 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,45 +1,37 @@ ## Before anything else: - [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 - Keynote: Presentations - Numbers: Spreadsheets - Pages: Documents - Hidden Me: Hide desktop icons (for screen sharing and the like) - Slack: Work chat app - Moom: Window manager - Alfred: App launcher and so much more (Spotlight replacement) ## 3rd Party - [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 - [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 - [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 computer in the menu bar - [iTerm2](https://www.iterm2.com/downloads.html): Terminal replacement - [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!) - [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 This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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: ``` Host * UseKeychain yes AddKeysToAgent yes IdentityFile ~/.ssh/id_rsa ``` Add additional `IdentityFile` lines for additional keys ## Yarn - `brew install yarn` This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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) - [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) ## 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. ## Settings ``` { //--------------------------// @@ -193,7 +46,7 @@ "editor.rulers": [80, 100], // Always show the folding controls "editor.showFoldingControls": "always", // 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": 4, // Tell emmet to work on .js files (not just when specified as react) "emmet.includeLanguages": { "javascript": "javascriptreact" }, //-----------------------------// // 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) @@ -298,55 +136,105 @@ "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, // 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": [ // This will build up as you add words. ], "window.zoomLevel": 1 } ``` This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +0,0 @@ This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,50 +0,0 @@ This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -34,4 +34,4 @@ then else echo "\nRunning \"$command\"\n" $command fi -
ModulesUnraveled revised this gist
Jan 27, 2022 . 1 changed file with 8 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -241,7 +241,7 @@ //-----------------------------// // Code Linting and Formatting // //-----------------------------// // 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 } ``` -
ModulesUnraveled revised this gist
Jan 9, 2022 . 1 changed file with 163 additions and 167 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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", // 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", ] } ``` -
ModulesUnraveled revised this gist
Dec 14, 2021 . 1 changed file with 168 additions and 163 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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.)~ 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", // 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 } ``` -
ModulesUnraveled revised this gist
Nov 12, 2021 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,11 @@ ## 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` -
ModulesUnraveled revised this gist
Nov 12, 2021 . 2 changed files with 6 additions and 51 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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._ This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,51 +0,0 @@ -
ModulesUnraveled revised this gist
Nov 12, 2021 . 1 changed file with 1 addition and 49 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 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: -
ModulesUnraveled revised this gist
Nov 12, 2021 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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.) -
ModulesUnraveled revised this gist
Nov 11, 2021 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 - [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 -
ModulesUnraveled renamed this gist
Nov 11, 2021 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
ModulesUnraveled renamed this gist
Nov 11, 2021 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
ModulesUnraveled revised this gist
Nov 11, 2021 . 3 changed files with 11 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 `/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 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 This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 --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` ## 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` This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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) - [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.) -
ModulesUnraveled revised this gist
Sep 1, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ #!/bin/sh # Installation: # - Copy this file to /usr/local/bin/4k # - Make it executable `chmod +x /usr/local/bin/4k` # # Use: -
ModulesUnraveled revised this gist
Jul 28, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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) (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) -
ModulesUnraveled revised this gist
Jul 28, 2021 . 1 changed file with 17 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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) - [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.) - [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.) - [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 ``` { -
ModulesUnraveled revised this gist
Jun 24, 2021 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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` ``` -
ModulesUnraveled revised this gist
Jun 22, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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) - [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". -
ModulesUnraveled revised this gist
Apr 9, 2021 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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!) -
ModulesUnraveled revised this gist
Apr 6, 2021 . 1 changed file with 163 additions and 150 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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) ## 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", // 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" } ``` -
ModulesUnraveled revised this gist
Mar 18, 2021 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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) -
ModulesUnraveled revised this gist
Mar 9, 2021 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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.) -
ModulesUnraveled revised this gist
Feb 25, 2021 . 1 changed file with 16 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 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", "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", } ``` -
ModulesUnraveled revised this gist
Feb 3, 2021 . 1 changed file with 137 additions and 111 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 ], // 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, } ``` -
ModulesUnraveled revised this gist
Jan 4, 2021 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 -
ModulesUnraveled revised this gist
Nov 30, 2020 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 -
ModulesUnraveled revised this gist
Nov 16, 2020 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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) -
ModulesUnraveled revised this gist
Nov 9, 2020 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 yd "yarn develop"; and funcsave yd -
ModulesUnraveled revised this gist
Oct 29, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -56,7 +56,7 @@ "Twig Extends": { "prefix": "textends", "body": [ "{% extends \"@${1:templates/_default.twig}\" %}", " {% block ${2:page_content} %}", " ${3:{{ content \\}\\}}", " {% endblock %}" -
ModulesUnraveled revised this gist
Oct 28, 2020 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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)
NewerOlder