A Pen by Warwick Grigg on CodePen.
A Pen by Warwick Grigg on CodePen.
Using grid and flexbox, we can create styles that respond to container and content widths and overcome some of the pain points that container queries are proposed to resolve.
Learn about these techniques: https://moderncss.dev/container-query-solutions-with-css-grid-and-flexbox/
A Pen by Warwick Grigg on CodePen.
A Pen by Warwick Grigg on CodePen.
A Pen by Warwick Grigg on CodePen.
This file contains hidden or 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 | |
#This work for a Raspberry pi zero W 2018-04-18-raspbian-stretch-lite. | |
#Execute this in the boot directory once you've flashed raspbian | |
#Used in this project https://github.com/ClubCedille/RocketCam | |
echo "dtoverlay=dwc2" >> config.txt | |
sed -i 's/rootwait/rootwait modules-load=dwc2,g_ether/' cmdline.txt | |
touch ssh |
This file contains hidden or 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
import AWS from 'aws-sdk/global'; | |
import S3 from 'aws-sdk/clients/s3'; | |
import { | |
AuthenticationDetails, | |
CognitoUser, | |
CognitoUserPool, | |
} from 'amazon-cognito-identity-js'; | |
const REGION = 'some-string-value'; | |
const USER_POOL_ID = 'some-string-value'; |
This file contains hidden or 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
mkdir public src | |
cat >>public/index.html <<EOF | |
<!doctype html> | |
<html> | |
<head> | |
<title>My awesome app!</title> | |
</head> | |
<body></body> | |
</html> |