Skip to content

Instantly share code, notes, and snippets.

@cheahjs
cheahjs / README.md
Last active January 16, 2025 00:15
Converting PalWorld saves to JSON and back
@wararyo
wararyo / ..VRChat Discord Mute Syncer.md
Last active April 18, 2024 09:36
VRChat Discord Mute Syncer

VRChat Discord Mute Syncer

How to run

  1. Get client ID and client secret in Discord Developer Portal and edit .env
  2. Launch VRChat and Discord (not in browser but standalone application)
  3. Enable OSC in VRChat
  4. Run the followings
@jj1bdx
jj1bdx / get-dslite-aftr-in-asahinet.md
Created March 14, 2022 05:01 — forked from stkchp/get-dslite-aftr-in-asahinet.md
ASAHIネットのDS-Liteの終端(AFTR)を取得するメモ

ASAHIネットのDS-Liteの終端(AFTR)を取得する

ASAHIネットがDS-Lite対応したので、 自宅の適当なLinuxルーターにて設定しようとして詰まったAFTR取得に関するメモ。

Linuxルーターを使ってる人向けのニッチなものだけど、情報として残しておく。

終端の情報公開について

@tsukumijima
tsukumijima / TwitterRevertColoring.user.css
Last active May 7, 2024 12:08
Twitter の UI の配色を元に戻すユーザースタイル
/* ==UserStyle==
@name TwitterRevertColoring
@description Twitter の UI の配色を元に戻すユーザースタイル
@namespace https://gist.github.com/tsukumijima
@updateURL https://gist.github.com/tsukumijima/931905c4ed3f181ce926730463a29d80/raw/TwitterRevertColoring.user.css
@author tsukumi
@version 1.3.9
@license MIT
==/UserStyle== */
@nolanlum
nolanlum / chatdump.py
Last active September 30, 2023 06:08
草まみれ
from typing import Callable, Iterable, List, NamedTuple, Optional
import json
from bs4 import BeautifulSoup
import requests
session = requests.Session()
@riocampos
riocampos / らじるらじるm3u8をffmpegで録音する(8放送局)201709以降対応.txt
Last active June 7, 2025 07:23
らじるらじる m3u8 を ffmpeg で録音する(8放送局)2021/4 以降対応
## NHKのネット配信サービスであるらじる★らじる。
# 従来は https://gist.github.com/riocampos/5656450 のように rtmpdump を使う必要がありましたが、
# 2017年9月から m3u8 による配信へ変更になったようです。m3u8 なので10秒単位での録音になります。
# また 2021年4月に更新され、以前の M3U8URL は2022年2月末で廃止されました。
## 録音コマンド(m4a)
ffmpeg -i M3U8URL -c copy outputfilename.m4a
# ファイルサイズ的に m4a が最も小さくなる
# m4a ファイルのときだけ "-c copy" オプションが使える。
@Tosainu
Tosainu / cute_AA.txt
Last active October 26, 2025 15:00
顔文字詰め合わせ
あせ (・_・;) 顔文字
あせ (・∀・;) 顔文字
あせ (^ω^;;) 顔文字
あせ (゚∀゚ ;) 顔文字
あせ (゚∀゚ ;)タラー 顔文字
あたふた ヽ(´・ω・`ヽ) 顔文字
あつい (。>﹏<) 顔文字
あつい (。>﹏<)あㄘ”ゅい 顔文字
あつい (>﹏<。Ξ。>﹏<) 顔文字
あつい ι(´Д`υ) 顔文字
# 2017年9月以降は Flash ではなく m3u8 での配信になりましたので、この内容は古くなりました。
# 新しい録音方法に関しては
# https://gist.github.com/riocampos/93739197ab7c765d16004cd4164dca73
# をご覧ください。
##############################################################################
# RTMPEのtype9 handshakeに対応している必要があるのでRTMPDump v2.4必須
# ラジオ第2は全放送局とも同じ
# swfVfyオプションのURLは http://www3.nhk.or.jp/netradio/files/swf/rtmpe.swf でもOK
# 各チャンネルに2種類ずつ記載していますがどちらも同じなので好みの物を使ってください
@yanofsky
yanofsky / LICENSE
Last active August 30, 2025 02:53
A script to download all of a user's tweets into a csv
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit