Skip to content

Instantly share code, notes, and snippets.

View ThinaticSystem's full-sized avatar
🈂️
以外の感情がない

しなちくシステム ThinaticSystem

🈂️
以外の感情がない
View GitHub Profile
@ThinaticSystem
ThinaticSystem / wishlist.md
Last active March 9, 2023 13:40
ご購入予定

ご購入予定

  • CPUクーラーのファンの替え
    はやく買わないとぺっちん溶けるので大至急かも
    NF-A12x25かも
  • NVMeのSSD(1TBくらい)
    ぺっちん延命計画
  • 電脳コイルのOST
    あなたが私にくれたもの~🎶
  • sE8ペア\
@ThinaticSystem
ThinaticSystem / misskey.log
Last active June 12, 2022 06:09
Misskey12.111.0でのスロークエリログ
-- Logs begin at Mon 2022-05-23 19:36:51 JST, end at Sun 2022-06-12 14:55:37 JST. --
query is slow: SELECT DISTINCT "distinctAlias"."notification_id" AS "ids_notification_id", "distinctAlias"."notification_id" FROM (SELECT "notification"."id" AS "notification_id", "notification"."createdAt" AS "notification_createdAt", "notification"."notifieeId" AS "notification_notifieeId", "notification"."notifierId" AS "notification_notifierId", "notification"."type" AS "notification_type", "notification"."isRead" AS "notification_isRead", "notification"."noteId" AS "notification_noteId", "notification"."followRequestId" AS "notification_followRequestId", "notification"."userGroupInvitationId" AS "notification_userGroupInvitationId", "notification"."reaction" AS "notification_reaction", "notification"."choice" AS "notification_choice", "notification"."customBody" AS "notification_customBody", "notification"."customHeader" AS "notification_customHeader", "notification"."customIcon" AS "notification_customIcon", "notificati
@ThinaticSystem
ThinaticSystem / chord_name_parser.pegjs
Created May 29, 2022 13:16
コードネームパーサー(wip)
// TODO degreeの9, 11, 13, 7(dimMaj7のやつ)を配列に(全部配列にしちゃう?)
Chord
= r:Root q3:Quality3 q4:Quality4 o:Option s:Suspended t:Tensions {
const deg = new Array(1+7);
deg.fill(); // undefinedで埋めないとmap()で空の要素のときの処理がスキップされちゃう
deg[1] = 'P';
let c = deg.map( (value, index) => {
value = (q3.constitute[index] !== undefined) ? q3.constitute[index] : value;
@ThinaticSystem
ThinaticSystem / mogu_yummy.md
Last active May 29, 2022 07:51
もぐもぐYUMMY!(霜月用)

もぐもぐYUMMY!/ 猫又おかゆ

concert

A

(2分)
Gb→Db/F→Db/Ab→Bbm→
Gb→Db/F→Db/Ab→Bbm→

@ThinaticSystem
ThinaticSystem / show_misskey_version.sh
Created April 20, 2022 08:46
Misskeyのバージョンを表示するやつ
grep -oP '(?<="version":\s")\d+\.\d+\.\d+(?="\s*,)' /path/to/misskey/package.json
@ThinaticSystem
ThinaticSystem / keybase.md
Created April 16, 2022 07:16
Keybaseのやつ

Keybase proof

I hereby claim:

  • I am ThinaticSystem on github.
  • I am thinaticsystem (https://keybase.io/thinaticsystem) on keybase.
  • I have a public key whose fingerprint is 537A 4AB7 0981 4604 08C5 F956 15DB EA44 EED2 0D32

To claim this, I am signing this object:

@ThinaticSystem
ThinaticSystem / misskey_drive.sxcu
Last active April 1, 2022 21:44
ShareXでMisskeyのドライブへアップロードするやつ
{
"Version": "13.7.0",
"Name": "Misskey Drive",
"DestinationType": "ImageUploader, TextUploader, FileUploader",
"RequestMethod": "POST",
"RequestURL": "https://misskey.io/api/drive/files/create",
"Body": "MultipartFormData",
"Arguments": {
"i": "YOUR_ACCESS_KEY",
"folderId": "ShareX"
@ThinaticSystem
ThinaticSystem / collocation.hyogen.info.css
Created March 8, 2022 11:26
日本語コロケーション辞典ダークテーマ(カスタムCSS)
body, #head, #head2, input, #foot {
background: #221;
}
* :not(a) {
color: #BBB;
}
a:link {
color: #48F;
@ThinaticSystem
ThinaticSystem / renso-ruigo.com.css
Last active March 16, 2022 12:05
連想類語辞典ダークテーマ(カスタムCSS)
/* 変数 */
:root {
--bg: #221;
}
body,
#head,
#header-kensaku-box,
#header-kensaku-box-left,
#header-kensaku-box-right,
@ThinaticSystem
ThinaticSystem / queryremover.aiscript
Last active June 10, 2022 13:16
クエリリムーバ(Misskeyプラグイン)
### {
name: "クエリリムーバ"
author: "@[email protected]"
version: 6
description: "投稿フォームに入力された文字列からURLクエリパラメータを除去して投稿します。クエリパラメータを削除したいURLの直後にconfigで指定した末端識別文字列を入れてください。"
permissions: []
config: {
endStr: {
type: "string"
label: "末端識別文字列"