NullInjectorError: No provider for Renderer

 https://gitmemory.com/issue/muhammadarsal/ng-select2/22/502356201


When setting Ivy enabled in the tsconfig.app.ts

"angularCompilerOptions": { "enableIvy": false },

.htaccess for angular

 <IfModule mod_rewrite.c>

    RewriteEngine on

    RewriteCond %{REQUEST_FILENAME} -s [OR]

    RewriteCond %{REQUEST_FILENAME} -l [OR]

    RewriteCond %{REQUEST_FILENAME} -d

    RewriteRule ^.*$ - [NC,L]

    RewriteRule ^(.*) index.html [NC,L]

</IfModule>


<IfModule mod_headers.c>

    SetEnvIf Origin "^http(s)?://(.+\.)?(v-timviec\.vn|v-timviec\.com)$" origin_is=$0

    Header always set Access-Control-Allow-Origin %{origin_is}e env=origin_is

</IfModule>

How to delete large folders in Windows super fast

 https://www.ghacks.net/2017/07/18/how-to-delete-large-folders-in-windows-super-fast



  1. Tap on the Windows-key, type cmd.exe and select the result to load the command prompt.
  2. Navigate to the folder that you want to delete (with all its files and subfolders). Use cd path, e.g. cd o:\backups\test\ to do so.
  3. The command DEL /F/Q/S *.* > NUL deletes all files in that folder structure, and omits the output which improves the process further.
  4. Use cd.. to navigate to the parent folder afterwards.
  5. Run the command RMDIR /Q/S foldername to delete the folder and all of its subfolders.

StaticImage

  import React , { useEffect , useRef } from "react" import { StaticImage } from "gatsby-plugin-image" impor...