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
@font-face { | |
font-family: 'LetteraMonoLLWeb'; | |
font-weight: 300; | |
src: url('https://dragonfired.co.nz/fonts/LetteraMonoLLWeb-Light.woff2') format('woff2') | |
} | |
@font-face { | |
font-family: 'LetteraMonoLLWeb'; | |
font-weight: 300; | |
src: url('https://dragonfired.co.nz/fonts/LetteraMonoLLWeb-Light.woff') format('woff') |
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 | |
/** | |
* Alter dns-prefetch links in <head> | |
*/ | |
add_filter('wp_resource_hints', function (array $urls, string $relation): array { | |
// If the relation is different than dns-prefetch, leave the URLs intact | |
if ($relation !== 'dns-prefetch') { | |
return $urls; | |
} |
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 | |
## | |
# There are two requirements for this script to work: | |
# 1. You must have AWS CLI installed andd configured with ./aws/credentials and ./aws/config files | |
# 2. You must have .my.cnf file configured for MySQL with credentials for user that has at least SELECT privileges for database to backup | |
# | |
# Usage: | |
# 1. Make sure that AWS CLI and S3 bucket is working properly | |
# 2. Make sure that you have user for creating backups in MySQL and .my.cnf file configured properly |
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
[Unit] | |
Description=The Apache HTTP Server | |
After=network.target | |
[Service] | |
Type=forking | |
ExecStart=/usr/local/apache2/bin/apachectl -k start | |
ExecReload=/usr/local/apache2/bin/apachectl -k graceful | |
ExecStop=/usr/local/apache2/bin/apachectl -k graceful-stop | |
PIDFile=/usr/local/apache2/logs/httpd.pid |