Get me outta here!

Friday, May 17, 2024

Angular Basics

Intro•    package.json•     (list of dependencies)•    package-lock.json•     (details list of that dependencies)•    angular.json•     (map everything here: assets, scripts etc)•    tsconfig.json•     (typescript configuration file)•    polyfills.ts•     (compatibility file) Components•   ...

Monday, March 4, 2024

Reactive Programming

🔎Definition---JavaScript Promises are objects used to represent the eventual completion (or failure) of an asynchronous operation. They are widely used in modern JavaScript to handle asynchronous tasks in a more readable and manageable way, compared to traditional callback-based approaches. A Promise can be in one of three states:Pending: Initial state, neither fulfilled nor rejected.Fulfilled: The operation completed successfully.Rejected: The...

Saturday, June 10, 2023

Run React Globally

 If you have problems running create-react-app in text editors but the package is installed globally. So here is the SOLUTION-------------Open PowerShell as an administrator. You can do this by right-clicking on the Windows Start button and selecting "Windows PowerShell (Admin)".In the PowerShell window, run the following command to check the current execution policy:powershellCopy codeGet-ExecutionPolicy The output will be one of the following:Restricted:...

Sunday, May 7, 2023

Logical Shifting COA

 SHR stands for "Shift Right" and it is used to shift the bits in a register or memory location to the right. When a number is shifted to the right using SHR, the least significant bit (LSB) is replaced by a zero, and the most significant bit (MSB) is shifted out and lost. The other bits are shifted to the right by the specified number of positions....