Iframes with loading="lazy"
attribute will still send network requests when they have not entered the browser's viewport.
Setting the src
attribute only after they reach the viewport ensures the page loads quickly (Noticeable when embedding Youtube or Google Maps iframes).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
git clone --depth 1 https://github.com/Rod911/ci_init.git . | |
sleep 1 | |
rm -rf .git | |
sleep 1 | |
git init | |
echo "Creating Commit, please wait" | |
git add --all | |
git commit -m "Initial Commit" |
A Pen by Malcolm Rodrigues on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
CURRENT=`pwd` | |
BASENAME=`basename "$CURRENT"` | |
ZIPPATH="D:/xampp74/htdocs/modified-files" | |
mkdir -p $ZIPPATH/$BASENAME | |
if [ -e $ZIPPATH/$BASENAME.zip ] | |
then |