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
| # FORGE CONFIG (DO NOT REMOVE!) | |
| include forge-conf/www.example.com/before/*; | |
| geo $realip_remote_addr $cloudflare_ip { | |
| default 0; | |
| 103.21.244.0/22 1; | |
| 103.22.200.0/22 1; | |
| 103.31.4.0/22 1; | |
| 104.16.0.0/13 1; | |
| 104.24.0.0/14 1; |
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
| server { | |
| # Block traffic with no user agent - see comments | |
| # if ($http_user_agent = "") { | |
| # return 403; | |
| # } | |
| # Block traffic with - user agent | |
| if ($http_user_agent = "-") { | |
| return 403; | |
| } |
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
| # FORGE CONFIG (DO NOT REMOVE!) | |
| include forge-conf/www.example.com/before/*; | |
| server { | |
| location /admin { | |
| allow 123.456.789.001; # your ip here | |
| deny all; | |
| try_files $uri $uri/ /index.php?$query_string; |
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
| SELECT | |
| table_schema as `Database`, | |
| table_name AS `Table`, | |
| round(((data_length + index_length) / 1024 / 1024), 2) `Size in MB` | |
| FROM information_schema.TABLES | |
| ORDER BY (data_length + index_length) DESC |
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
| # ~/.shh/config | |
| # Defaults for all hosts | |
| Host * | |
| UseKeychain yes | |
| AddKeysToAgent yes | |
| Host github.com | |
| IdentityFile ~/.ssh/id_github |
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
| # FORGE CONFIG (DO NOT REMOVE!) | |
| include forge-conf/oldsite.com/before/*; | |
| server { | |
| http2 on; | |
| listen 443 ssl; | |
| listen [::]:443 ssl; | |
| server_name oldsite.com; | |
| server_tokens off; | |
| root /home/forge/oldsite.com/public; |
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
| sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder |
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
| @layer base { | |
| :root { | |
| --tw-prose-body: var(--color-gray-900); | |
| --tw-prose-headings: var(--color-brand-blue); | |
| --tw-prose-lead: var(--color-gray-900); | |
| --tw-prose-links: var(--color-brand-cyan-a11y-any); | |
| --tw-prose-bold: var(--tw-prose-body); | |
| --tw-prose-counters: var(--tw-prose-body); | |
| --tw-prose-bullets: var(--color-brand-gold); | |
| --tw-prose-hr: var(--color-gray-400); |
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
| { | |
| "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", | |
| "vcs": { | |
| "enabled": false, | |
| "clientKind": "git", | |
| "useIgnoreFile": false | |
| }, | |
| "files": { | |
| "ignoreUnknown": false, | |
| "ignore": [] |
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
| {# Non-blocking Web Fonts - check to ensure display:swap is also used #} | |
| {% if getenv('ADOBE_FONTS_URL') %} | |
| <link rel="preconnect" href="https://use.typekit.net" crossorigin> | |
| <link rel="preconnect" href="https://p.typekit.net" crossorigin> | |
| <link rel="preload" href="{{ getenv('ADOBE_FONTS_URL') }}" as="style"> | |
| <link rel="stylesheet" href="{{ getenv('ADOBE_FONTS_URL') }}" media="print" onload="this.media = 'all'" /> | |
| <noscript> | |
| <link rel="stylesheet" href="{{ getenv('ADOBE_FONTS_URL') }}"> | |
| </noscript> | |
| {% endif %} |
NewerOlder