The following are a list of resources I find myself referring to:
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
package exportstats | |
import ( | |
"expvar" | |
"fmt" | |
"runtime" | |
) | |
var stats *expvar.Map |
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
# Example routing with 3 apps | |
# We have three moving parts: | |
# Region specific API server (prefix papi.us.getfeewise.com) | |
# Region specific Dashboard App ( dashboard.getfeewise.com/us/* ) - tricky | |
# Region specific Customer App ( us.getfeewise.com ) | |
# This makes s3proxy work | |
{ | |
order s3proxy last |
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
package main | |
import ( | |
"net/http" | |
"regexp" | |
"strings" | |
) | |
var ( | |
xForwardedScheme = http.CanonicalHeaderKey("X-Forwarded-Scheme") |
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
// Copyright (c) David Crawshaw | |
// SPDX-License-Identifier: BSD-3-Clause | |
// Package jsonfile persists a Go value to a JSON file. | |
package jsonfile | |
import ( | |
"bytes" | |
"encoding/json" | |
"fmt" |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Can You Lend Me?</title> | |
<script src="https://cdn.tailwindcss.com"></script> | |
<script> | |
// formatNumber(n) | |
// formats a number 1234567 to 1,234,567 |
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
<html> | |
<head> | |
<script src="https://unpkg.com/htmx.org@1.8.0"></script> | |
<script src="https://cdn.tailwindcss.com"></script> | |
<title>Template Fragment Example</title> | |
</head> | |
<body> | |
<div hx-get="/notifications" hx-trigger="load" hx-swap="outerHTML"><!-- I GET REPLACED --></div> |
Hey guys!
There's a TON of content out there on SEO - guides, articles, courses, videos, scams, people yelling about it on online forums, etc etc..
Most of it, however, is super impractical. If you want to start doing SEO TODAY and start getting results ASAP, you'll need to do a TON of digging to figure out what's important and what's not.
So we wanted to make everyone's lives super easy and distill our EXACT process of working w/ clients into a stupid-simple, step-by-step practical guide. And so we did. Here we are.
A bit of backstory:
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
package main | |
import ( | |
"fmt" | |
"log" | |
"net/http" | |
"strings" | |
) | |
func main() { |
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
package main | |
import ( | |
"cmp" | |
"log" | |
"math/rand" | |
"os" | |
"strconv" | |
"golang.org/x/exp/slices" |
NewerOlder