Update node
Check version
node -v
Clear npm cache
npm cache clean -f
Install n globally:
npm install -g n
Install stable version of node
sudo n stable
Alternatively latest
sudo n latest
trying on a metaphor
Show & Tell
🪼

No title available
noise dept.
Fai_Ryy
Sade Olutola

ellievsbear

bliss lane

gracie abrams
Cosimo Galluzzi

PR's Tumblrdome

No title available
Cosmic Funnies
Monterey Bay Aquarium
h
"I'm Dorothy Gale from Kansas"

roma★
cherry valley forever
RMH
seen from United States
seen from United States
seen from United States

seen from Colombia
seen from Bangladesh
seen from Colombia
seen from Netherlands

seen from United Kingdom

seen from Australia
seen from Germany

seen from Germany

seen from United Kingdom

seen from Singapore

seen from Singapore

seen from T1
seen from United States
seen from United Kingdom
seen from South Africa
seen from India
seen from United Kingdom
@justaoneliner
Update node
Check version
node -v
Clear npm cache
npm cache clean -f
Install n globally:
npm install -g n
Install stable version of node
sudo n stable
Alternatively latest
sudo n latest
git rebase –onto
Usecase:
I am working with my co-workers on a branch. But I created my own one. So we have
Main branch: develop
Co-Work branch: feature/foo
My own branch: feature/foo/1
Co-Work branch got squashed and merged into develop. But now I need to rebase it, but how?
git checkout feature/foo/1 git rebase --onto <newparent><oldparent> git rebase --onto develop feature/foo
Original article: https://womanonrails.com/git-rebase-onto
Create ssh key
ssh-keygen -t rsa
npm standard registry login
If you dont want to use another (or your own) registry and want to use the default npm registry instead use this:
npm config set registry https://registry.npmjs.org/
“Enter passphrase for key” - when git asks to login all the time
When you setup a new computer, will get into the situation, that you will proably clone a repo.
But if you want to interact with that repo like git pull origin develop it asks you for your passphrase all the time.
So how to approach this and prevent this? (on MacOS)
Add ssh key to keychain
ssh-add -K ~/.ssh/your-private-key-file
Create config
touch .ssh/config
Add following config file to .ssh/config
Host * UseKeychain yes AddKeysToAgent yes IdentityFile ~/.ssh/id_rsa
Todays read: QA is a mindset
https://techbeacon.com/app-dev-testing/how-i-created-culture-quality
Login as another user
su YourAccount
crontab: “/usr/bin/vi” exited with status 1
When your crontab fails you to save something you might get following message:
"crontab: "/usr/bin/vi" exited with status 1
and crontab -l returns nothing :(
How to make it work?
EDITOR=/usr/bin/vim crontab -e
Put in your cron and save it - you are good to go :)
Double check with
crontab -l
What to install on a new mac
Note to self:
There is this new mac - where do I start?
Install brew first
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Then install all other tools :)
brew cask install iterm2 brew cask install intellij-idea brew cask install visual-studio-code brew cask install docker brew cask install spotify brew install yarn brew install bash-git-prompt