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
| #!/usr/bin/env -S gawk -f | |
| BEGIN { | |
| init_theme() | |
| print_usage() | |
| # split targets and options | |
| FS = "(:.*##|?=)" | |
| } | |
| # options:: <var> ?= <default> |
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
| import ( | |
| "bufio" | |
| "bytes" | |
| "fmt" | |
| "io" | |
| "log" | |
| "mime/multipart" | |
| "net/http" | |
| "net/http/httptest" | |
| "net/textproto" |
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
| export function computeNote( | |
| // how far from the base note to go in either direction | |
| distance = 0, | |
| scale = { | |
| // use this frequency as basis | |
| // standard A4 is 440hz | |
| base: 440.0, | |
| // claim that its in the 4 repetition of made up sequence, | |
| // on a normal piano it is saying this is A4 | |
| position: 4, |
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
| from datetime import datetime | |
| from hashlib import sha256 | |
| import hmac | |
| import requests | |
| from os import environ as env | |
| # templates for creating the auth header | |
| Canonical_Request = '{HTTPMethod}\n{CanonicalURI}\n{CanonicalQueryString}\n{CanonicalHeaders}\n\n{SignedHeaders}\n{HashedPayload}' | |
| Scope = '{DATE}/{REGION}/{SERVICE_NAME}/{KIND}' |
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 { | |
| overflow: hidden; | |
| --slide-transition: all 2s ease 0s; | |
| --image-height: 300px; | |
| --image-padding: 0.2vw; | |
| --image-opacity: 0.5; | |
| --image-left: 0%; | |
| --wrap-width: 100%; | |
| --wrap-right: 00%; |