Value In Brief – by Abanoub Hanna
All You Need To Know Explained In Brief

Posts Tagged with guide

How to upgrade npm in Laravel Sail ?

When I stop the vite live server sail npm run dev of Laravel 10 by ctrl + c, the CLI tells me to upgrade npm with this message. npm notice npm notice New patch version of npm available! 9.6.4 -> 9.6.5 npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.6.5 npm notice Run npm install -g npm@9.6.5 to update! npm notice Here is a screenshot of the npm upgrade notice. Upgrade npm inside Laravel Sail Docker environment You can not just run npm install -g npm@9.

ssh Handshake Failed Unable to Authenticate | Github Actions

I have set up the github action to deploy laravel website using appleboy ssh-action but all actions failed with this weird error message. 2022/09/03 23:46:24 ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain The fix is simple. just change the permission of authorized-keys by this command. chmod 700 ~/.ssh/authorized_keys If it works, share it with a friend or colleage.

10 Things You Must Do After Buying a New Mac

Set Up Your Apple ID When you set up your Mac, you’re required to sign in to your Apple account. If you skipped it earlier, now is the time to do it via the Apple menu > System Preferences > Sign In. You can’t use the App Store, download updates, or use iCloud without logging into an Apple ID, so you definitely should. Activate Service and Support Coverage A key thing to do is activate your Mac’s Service and Support Coverage.

All Javascript Optimization Tips & Techniques

Parsing Objects in Javascript if you are using object like this. const data = {foo: 42, bar: 1337, ... }; use the JSON.parse() instead const data = JSON.parse('{"foo":42,"bar":1337, ... }'); It seems slower, but in the real world IT IS WAY WAY FASTER. Why is it faster? because JSON.parse() has one token (Javascript object literal), but the string literal has too many tokens. want to know more ? watch this video from Google chrome developers YouTube channel.