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
| :root { | |
| --min-item-width: 28ch; | |
| --max-item-width: .5fr; | |
| --grid-spacing: .25rem; | |
| --item-padding: .25rem; | |
| } | |
| /* Let items expand on small screens */ | |
| @media (max-width: 600px) { | |
| :root { |
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 | |
| // https://wordpress.org/news/feed/ | |
| $client = new \GuzzleHttp\Client(array( | |
| 'base_uri' => 'https://wordpress.org/news/', // homepage for the wordpress site | |
| 'timeout' => 2.0, | |
| )); | |
| $response = $client->get('feed/'); // get the feed page with the RSS on it | |
| $data = $response->getBody()->getContents(); | |
| $feed = simplexml_load_string($feed); |
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 | |
| # NextCloud Installation Script for Ubuntu 16.04 | |
| # with SSL certificate provided by Let's Encrypt (letsencrypt.org) | |
| # Author: Autoize (autoize.com) | |
| nextcloud_url='https://example.com' # Full URL of NextCloud instance | |
| letsencrypt_domains='-d example.com -d www.example.com' # Hostname(s) to obtain SSL certificate for, following -d flag | |
| letsencrypt_email='admin@example.com' # Admin contact email for Let's Encrypt | |
| nextcloud_version='12.0.3' # Desired NextCloud version |