Skip to content

Instantly share code, notes, and snippets.

View smikheiev's full-sized avatar
🇺🇦

Serhii Mikheiev smikheiev

🇺🇦
  • Helsinki
View GitHub Profile

git update-index --assume-unchanged <file>

To undo: git update-index --no-assume-unchanged

Script to up MongoDB in docker container and init it with some schema and test data

Script to automatically update installed brew and brew cask packages

iTerm2

brew cask install iterm2

Oh My Zsh

sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Script to exclude node_modules in projects folder from Time Machine backup

Script to show installed brew packages dependencies

@smikheiev
smikheiev / gitconfig
Last active November 8, 2018 15:10
git config reminders
# Set email for single repo
git config user.email "email@example.com"
git config user.email
# Set email globally
git config --global user.email "email@example.com"
git config --global user.email
# Set username for single repo
git config --global user.name "Mona Lisa"
{"lastUpload":"2020-01-30T13:23:33.194Z","extensionVersion":"v3.4.3"}
@smikheiev
smikheiev / machine.js
Last active August 22, 2020 13:54
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@smikheiev
smikheiev / machine.js
Last active August 26, 2020 10:01
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
// - XState (all XState exports)