$ git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch PATH-TO-YOUR-FILE-WITH-SENSITIVE-DATA' --prune-empty --tag-name-filter cat -- --all
$ git push origin --force --all
# Setting color of prompt variable | |
export PS1='\[\033[0;91m\]\h\[\033[0m\] \[\033[0;97m\]\u:\W\[\033[0m\] \[\033[0;94m\]$\[\033[0m\] ' |
$ git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch PATH-TO-YOUR-FILE-WITH-SENSITIVE-DATA' --prune-empty --tag-name-filter cat -- --all
$ git push origin --force --all
$ cd /Applications/Couchbase Server.app/Contents/Resources/couchbase-core/bin/
$ ./cbreset_password [host]:[port]
Go to Preferences and do next: | |
Appearance & Behaviour > System Settings > Updates: disable auto update | |
Appearance & Behaviour > System Settings > Using Statistics: Uncheck allowing sending data | |
Editor > Live Templates: disable all, leave only what you are really use | |
Editor > Emmet: disable all emmets | |
Editor > Intentions: I leave only: CSS, Declaration, JavaScript and Language Injection | |
Plugins: leave only next (* - can be also disabled in case you don't need them): | |
CoffeeScript * | |
CSS Suport | |
CVS Integration |
// Outputs: "Truthy!" | |
logTruthiness(true); | |
// Outputs: "Truthy!" | |
logTruthiness({}); | |
// Outputs: "Truthy!" | |
logTruthiness([]); | |
// Outputs: "Truthy!" |
export PS1='\[\033[0;91m\][\u]\[\033[0m\]@\[\033[0;97m\]\s:\W\[\033[0m\]\[\033[0;94m\]⚡︎⚡︎⚡︎\[\033[0m\] '
npm rm -g module_name
ps -ef | grep node
[submodule "vendor"]
path = vendor
url = git://github.com/some-user/some-repo.git
git add .gitmodules
Start
brew services start mongodb
Stop
brew services stop mongodb