Skip to content

Instantly share code, notes, and snippets.

@fletcherist
Last active August 6, 2018 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fletcherist/b2faa38a69d987be6f062add68865b97 to your computer and use it in GitHub Desktop.
Save fletcherist/b2faa38a69d987be6f062add68865b97 to your computer and use it in GitHub Desktop.

Working with ssh

ssh-keygen

ssh-copy-id id@server

Deploy all files, except node_modules

rsync -rav -e ssh --include '*/' --exclude='node_modules' \ server:./directory/ \ .

Show hidden files mac

defaults write com.apple.finder AppleShowAllFiles YES

Ableton, verifying

sudo spctl --master-disable

Sublime-theme: Package Control → Boxy

browser-sync start --server --files "index.html css/*.css"

Sublime Plugins:

  1. AceJump: Jump between characters, like in vim

  2. Boxy Theme

  3. SublimeLinter: On-the-fly code linter

  4. SublimeLinter-contrib-eslint: Preset for ES5/ES6

  5. SublimeLinter-flow: Preset for supporting flow static types

Docker

  • login docker login -u {username} -p {access_token}
  • get latest pushed digest docker inspect -f '{{ .Id }}' $IMAGE_TAG_ID

[https, nodejs, enable https] - https://stackoverflow.com/a/42298344

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment