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

No title available
"I'm Dorothy Gale from Kansas"
sheepfilms
he wasn't even looking at me and he found me
taylor price

titsay

shark vs the universe
cherry valley forever
art blog(derogatory)
trying on a metaphor
wallacepolsom

No title available

Discoholic 🪩
I'd rather be in outer space 🛸
Lint Roller? I Barely Know Her
Jules of Nature

oozey mess

❣ Chile in a Photography ❣
RMH

Kaledo Art

seen from Austria

seen from Malaysia

seen from United States
seen from Germany
seen from United States
seen from Italy
seen from Türkiye

seen from Türkiye

seen from Germany
seen from Latvia

seen from United States

seen from T1

seen from Malaysia

seen from Spain
seen from United States
seen from United States

seen from United States
seen from Malaysia
seen from United States
seen from United States
@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