Skip to content

Instantly share code, notes, and snippets.

@louh
Last active February 6, 2018 23:38
Show Gist options
  • Save louh/da3ec772506d25a11ee675891c600b1b to your computer and use it in GitHub Desktop.
Save louh/da3ec772506d25a11ee675891c600b1b to your computer and use it in GitHub Desktop.
Streaming notes

VSCode

  • Hide menu bar
  • Theme: Abyss
  • Turn on bash pane
  • Adjust user settingsa
    • 2 space tabs
    • Show whitespace
    • Font size should be: ?
  • Extensions
    • ESLint plugin

User settings

{
    "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
    "editor.fontSize": 16,
    "editor.fontFamily": "'Source Code Pro', Consolas, 'Courier New', monospace",
    "editor.tabSize": 2,
    "editor.renderWhitespace": "boundary",
    "window.zoomLevel": 0,
    "window.menuBarVisibility": "toggle",
    "workbench.colorTheme": "Abyss",
    "zenMode.hideStatusBar": false,
    "terminal.integrated.fontSize": 16
}

I think this works

  • set up the id_rsa with GitHub instructions 1, 2
  • run sh-agent automatically in ./bash_profile 3

windows

setup

  • make sure python and mongo are on path
  • set up .env for Twitter (why doesn't that work though?)

each start

  1. start mongod: C:\Program Files\MongoDB\Server\3.6\bin\mongod.exe
  2. run npm install to make sure latest npm modules are there
  3. manually start server: now you can do npm run app:start to skip the prestart command.
  • better to do it in other terminals and not in VSCode since it seems to run slowly in VSCode
  • to add variables to PATH, click on Start Menu, type "environment," select "Edit the system environment variables" and add C:\Program Files\MongoDB\Server\3.6\bin via that interface. Restart the shell if you need to
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment