-
How to fix Access-Control-Allow-Origin
Just add the following to .htaccess: <IfModule mod_headers.c> <FilesMatch “\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$”> Header set Access-Control-Allow-Origin “*” </FilesMatch> </IfModule>
-
Remove Windows bloatware
Link: https://github.com/Sycnex/Windows10Debloater
-
Starting with Git
Configuring Git A couple of very basic configurations should be made before you get started. You should set your name […]
-
First commands in git
https://trello.com/b/Cm3yiK7R/git Clean console:clean Enter a folder and initiate git withgit init Check status of the git projectgit status Before commit […]
-
Newbie resources
Practise to get hired:https://www.hackerrank.com/ Recommended courses/teacher at Udemy:https://www.udemy.com/user/maximilian-schwarzmuller/ Javascript course/group in Argentina:https://argentinaprograma.com/
-
Useful commands
Change ownership and group:chown username file.txtchgrp groupname file.txt Run ls -l file.txt to check the file permission Rename filemv oldfile.txt […]
-
Create a SSH key on cPanel and connect
Enter cPanel and create a public and private key. Save the private key on the computer Authorize the public key […]
-
Add native HTML lazy-loading
https://carlosazaustre.es/lazy-loading-image