Skip to content

Instantly share code, notes, and snippets.

Naoki Kosaka yukimochi

Block or report user

Report or block yukimochi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@yukimochi
yukimochi / .gitignore
Last active Jul 24, 2019
Automated Patreon patrons listing tool.
View .gitignore
# Created by https://www.gitignore.io/api/node,visualstudiocode
# Edit at https://www.gitignore.io/?templates=node,visualstudiocode
### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
@yukimochi
yukimochi / migrate.go
Created Dec 22, 2018
Sidekiq relay to YUKIMOCHI Relay
View migrate.go
package main
import (
"fmt"
"os"
"strings"
"github.com/go-redis/redis"
)
@yukimochi
yukimochi / main.go
Last active Dec 2, 2018
Check All subscriber in Activity-Relay
View main.go
package main
import (
"encoding/json"
"fmt"
"os"
"strings"
"time"
"github.com/go-redis/redis"
@yukimochi
yukimochi / readme.md
Last active Jun 20, 2019
YouTube Live -> VRChat-OSC-Bridge SuperChat Notifier.
View readme.md

YouTube Live -> VRChat-OSC-Bridge SuperChat Notifier.

VRChat にスパチャが過去1秒間に発生したかをOSCメッセージで毎秒送信するブックマークレット (VRChat OSC Bridge 専用ツール)

説明

VRChat OSC Bridge が起動している状態で、 YouTube Live のコメント欄をポップアウトし、そのウィンドウに対して spc_to_osc.min.jsjavascript: 以降のコードを入力します。

実行すると、 所定のOSCメッセージが毎秒 /VRC_OSC/SPC に送信されます。

メッセージ内容

View keybase.md

Keybase proof

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:

@yukimochi
yukimochi / Caddyfile
Last active Jul 10, 2019
For Mastodon Caddy Setting file. (Based on official Nginx configuration example)
View Caddyfile
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;"
}
You can’t perform that action at this time.