I hereby claim:
- I am yukimochi on github.
- I am yukimochi (https://keybase.io/yukimochi) on keybase.
- I have a public key ASBbenCKA45qBIfWbHktXag5fJOgQdnuQs4AfVZLIC-NWQo
To claim this, I am signing this object:
const WebSocket = require("ws"); | |
const MISSKEYIO_APIKEY = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"; | |
const MASTODON_APIKEY = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"; | |
const MASTODON_DOMAIN = "https://mastodon.example.com"; | |
async function push(postUrl) { | |
const params = { | |
q: postUrl, | |
type: "statuses", |
package main | |
import ( | |
"fmt" | |
"os" | |
"strings" | |
"github.com/go-redis/redis" | |
) |
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"os" | |
"strings" | |
"time" | |
"github.com/go-redis/redis" |
I hereby claim:
To claim this, I am signing this object:
https://yourdomain.example.com/ { | |
log / /var/log/caddy/mastodon.log "{combined}" { | |
rotate_age 90 | |
} | |
root /home/mastodon/live/public | |
gzip | |
header / { | |
Strict-Transport-Security "max-age=31536000" | |
} |