Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
@media screen and (min-width: 38em) { /* default is 48em */ | |
/* Navigation */ | |
.navigation-top { | |
bottom: 0; | |
font-size: 14px; | |
font-size: 0.875rem; | |
left: 0; | |
position: absolute; |
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
INFO global: Vagrant version: 2.2.3 | |
INFO global: Ruby version: 2.4.4 | |
INFO global: RubyGems version: 2.6.14.1 | |
INFO global: VAGRANT_WSL_ENABLE_WINDOWS_ACCESS="1" | |
INFO global: VAGRANT_WSL_WINDOWS_ACCESS_USER_HOME_PATH="[redacted]/trellis" | |
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/2.2.3/gems/vagrant-2.2.3/bin/vagrant" | |
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded" | |
INFO global: VAGRANT_INSTALLER_ENV="1" | |
INFO global: VAGRANT_INSTALLER_VERSION="2" | |
INFO global: VAGRANT_LOG="debug" |
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
<?php | |
// Authorize API for project: | |
// https://console.developers.google.com/apis/api/places_backend?project=_ | |
// Uses GOOGLE_API_KEY environment variable (WordPress Bedrock dotenv) | |
$google_api_key = getenv('GOOGLE_API_KEY'); | |
if($google_api_key !== false and !empty($google_api_key)) { |
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
<?php | |
@while(have_rows('flexible_field', $post->ID)) @php(the_row()) | |
@while(have_rows('nested_field', $post->ID)) @php(the_row()) | |
get_sub_field('some_field') | |
@endwhile | |
@endwhile |
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
Price boxes/columns/tables block | |
Requirements | |
3x columns | |
Fields: | |
Title | |
Description/Body (full, for tables) | |
Price | |
Button |
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
<?php | |
/* | |
Plugin Name: Gutenberg Group Test | |
Plugin URI: https://gist.github.com/strarsis/3c3a96e4c634b35a5cd14de747e1ec82 | |
Description: Adds a test block style for core/group block. | |
Version: 0.0.1 | |
Author: strarsis | |
Author URI: https://gist.github.com/strarsis | |
License: MIT | |
*/ |
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
# /etc/netplan/50-cloud-init.yml | |
# Ensure that other netplan config yml files in /etc/netplan/ don't interfere with this configuration | |
network: | |
version: 2 | |
renderer: networkd | |
ethernets: | |
ens3: # (Primary interface, usually ens3 or ens33 on recent Ubuntus) | |
addresses: | |
- <Hetzner instance IP4>/32 |
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
module.exports = { | |
map: { | |
inline: false, | |
}, | |
plugins: [ | |
require('postcss-css-variables'), | |
], | |
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.