A quick and clean guide to set up your Raspberry Pi Zero 2 W headlessly with Wi-Fi, SSH, and a static IP – perfect for IoT and embedded projects.
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 Router from 'next/router' | |
| import React from 'react' | |
| const DONE_DURATION = 250 | |
| export const RouteIndicator = () => { | |
| const [loading, setLoading] = React.useState(null) | |
| const [timeoutId, setTimeoutId] = React.useState(null) | |
| const onLoad = () => setLoading(true) |
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
| <?php | |
| /** | |
| * Adds Schema pieces to our output. | |
| * | |
| * @param array $pieces Graph pieces to output. | |
| * @param \WPSEO_Schema_Context $context Object with context variables. | |
| * | |
| * @return array $pieces Graph pieces to output. | |
| */ |
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
| // Center anything horizontally, vertically or both (assuming that the parents position is set to relative) | |
| // Codepen Example Usage: https://codepen.io/anon/pen/yPbgYW | |
| @mixin center($center: 'all') { | |
| position: absolute; | |
| @if $center == 'all' { | |
| top: 50%; | |
| left: 50%; | |
| transform: translate(-50%, -50%); |
The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Original post