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

Measuring website responsiveness : Interaction to Next Paint (INP), next year

Web Development SEO

There is web vitals which indicates the website health and performance. It is like health vitals in medicine which indicates the human health stats and performance metrics such as blood pressure. Core Web Vitals has many metrics such as First Contentful Paint (FCP), Largest Contentful Paint (LCP), Total Blocking Time (TBT) and Cumulative Layout Shift (CLS). Currently, we use First Input Delay (FID) to measure website responsiveness. But next year, we will use Interaction to Next Paint (INP) instead.

[OS] Windows 7, 8, 8.1, 10, 11

Software Windows

Microsoft Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for servers, and Windows IoT for embedded systems. Microsoft Windows for consumers has popular releases which are Windows XP, Windows 7, Windows 8.1, Windows 10 and the latest one, Windows 11. Microsoft developed Windows OS after DOS by Bill Gates.

[OS] GNU Linux : A Whole Category of Operating Systems

Linux Software

GNU Linux is a category of all operating systems with a Linux kernel inside. The Linux kernel first released on September 17, 1991, by Linus Torvalds. GNU Linux operating systems are — for example — Ubuntu, Debian, Linux Mint, Arch Linux, Pop!_OS, Elementary OS, Fedora Linux, Zorin OS, Manjaro, RedHat Entreprise Linux (RHEL), Deepin, Solus. If you like any of them, you can try it out from a live bootable USB drive without installation.

[update][tutorial] reduce memory usage in Google Chrome Browser

Tips & Tricks Tutorials

Google Chrome informed me that the great suspender extension contains malware. Here is a screenshot of the malware alert. I installed this extension to save memory by suspending inactive tabs. But Google Chrome browser, now, has a similar functionality, so, I don’t need this extension anymore. I uninstalled the Chrome extension. Then checked Memory Saver option in Chrome Settings (as you can see in the below image). Memory Saver option is to free up memory from inactive tabs.

[tutorial] How to rate limit http requests in Laravel ?

Web Development Laravel PHP Tutorials

Rate Limiting is the process of limiting the number of requests per minute sent to a web application is often necessary to protect against attacks trying to saturate your server or to brute force authentication forms. So Laravel framework has a rate limiting mechanism, which we will use now to rate limit http requests per minute for all routes or some of them. You can rate limit for all users or per user.

convert old('d') to $model->d in Laravel using regular expressions (RegEx)

RegEx Notes Tips & Tricks Tutorials

While developing a website in PHP Laravel, I reused create.blade.php as edit.blade.php. So I need to edit some things, especially the input values. In create.blade.php we use old('something') to retain the current <input> value by the user. But in edit.blade.php we use $model->something to get the <input> value from the project backend. So, I need to convert every old() to $model. But I am too lazy to rewrite all of them manually.

How to upgrade npm in Laravel Sail ?

Web Development Laravel CLI Error fixing Guide Nodejs npm Tips & Tricks Tutorials

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.

Git Delete Remote Branch – How to Remove a Remote Branch in Git

CLI Tips & Tricks git

To show branches, use git branch. If you want to show all branches even the remote ones, use git branch -a. To delete a branch, use git branch -d <branch-name>. If the branch name is refactor-feature-x, so the command will be git branch -d refactor-feature-x. But this command deletes the local branch only. The branch on your local machine. What about deleting the remote branch? The branch on the remote machine/repo.

[fixed] Error: lulu: uninstall script /Applications/LuLu.app/Contents/Resources/LuLu Uni nstaller.app/Contents/MacOS/LuLu Uninstaller does not exist.

Mac OS X CLI Error fixing Tips & Tricks

When I tried to upgrade LuLu the firewall with command brew upgrade lulu, I faced this error. Error: lulu: uninstall script /Applications/LuLu.app/Contents/Resources/LuLu Uni nstaller.app/Contents/MacOS/LuLu Uninstaller does not exist. Then thought of trying to remove/uninstall lulu, then re-install it. So, I ran brew remove --cask lulu using homebrew package manager. But the same error occurred. I thought maybe it did not upgrade as I did not use --cask in the first command.

Strict Secure Cookie policy does not allow setting a secure cookie for apps targeting >= R

Android Java Kotlin Flutter Dart Error fixing Tips & Tricks

After updating my app to compile with API level 30 (Android R, 11), I can’t see AdMob test ads, and I’m receiving this error in the log: Strict Secure Cookie policy does not allow setting a secure cookie for http://googleads.g.doubleclick.net/ for apps targeting >= R. Please either use the ‘https:’ scheme for this URL or omit the ‘Secure’ directive in the cookie value. I’m using the lastest AdMob version, and I don’t have “org.