Skip to content

Instantly share code, notes, and snippets.

@abcang
abcang / twitter-pwa-narrow-width.user.js
Last active February 11, 2023 10:10
Twitter PWA Narrow Width
// ==UserScript==
// @name Twitter PWA Narrow Width
// @namespace https://gist.github.com/abcang/8088f536bc5473491e41eb2b786d24a5/raw/twitter-pwa-narrow-width.user.js
// @version 0.1
// @description TwitterのPWAの画面幅を狭くする
// @author abcang
// @match https://twitter.com/*
// @grant none
// @downloadURL https://gist.github.com/abcang/8088f536bc5473491e41eb2b786d24a5/raw/twitter-pwa-narrow-width.user.js
// @updateURL https://gist.github.com/abcang/8088f536bc5473491e41eb2b786d24a5/raw/twitter-pwa-narrow-width.user.js
@abcang
abcang / twitter-pwa-single-column.user.js
Last active October 25, 2023 15:38
Twitter PWA Single Column
// ==UserScript==
// @name Twitter PWA Single Column
// @namespace https://gist.github.com/abcang/b7dea73a9a6f64990f695e9909ca9027/raw/twitter-pwa-single-column.user.js
// @version 0.3
// @description TwitterのPWAを1カラムで使いやすくする
// @author abcang
// @match https://twitter.com/*
// @grant none
// @downloadURL https://gist.github.com/abcang/b7dea73a9a6f64990f695e9909ca9027/raw/twitter-pwa-single-column.user.js
// @updateURL https://gist.github.com/abcang/b7dea73a9a6f64990f695e9909ca9027/raw/twitter-pwa-single-column.user.js
@abcang
abcang / checklist.md
Last active October 3, 2018 17:32
VTuberファン 実績チェックテンプレート

YouTube編

  • 動画を見たことがある
  • チャンネル登録をしている
  • 高評価ボタンを押したことある
  • 動画もしくはライブでコメントしたことがある
  • スパチャを送ったことがある

Twitter編

  • フォローしている
  • いいねしたことがある
@abcang
abcang / wikiwiki_external_link.user.js
Last active July 24, 2018 15:19
wikiwiki external link
@abcang
abcang / mirrativ_keyboard_shortcut.user.js
Last active June 27, 2018 16:26
Mirrativにキーボードショートカットを追加するUserScript
// ==UserScript==
// @name Mirrativ keyboard shortcut
// @description Mirrativにキーボードショートカットを追加するUserScript
// @namespace https://gist.github.com/abcang/ceb4c4be3ee7ec49d6d782b88e803e50/raw/mirrativ_keyboard_shortcut.user.js
// @version 0.1
// @author abcang
// @match https://www.mirrativ.com/*
// @grant none
// @downloadURL https://gist.github.com/abcang/ceb4c4be3ee7ec49d6d782b88e803e50/raw/mirrativ_keyboard_shortcut.user.js
// @updateURL https://gist.github.com/abcang/ceb4c4be3ee7ec49d6d782b88e803e50/raw/mirrativ_keyboard_shortcut.user.js
@abcang
abcang / hoge.md
Created April 20, 2018 14:33
TabやEnterの挙動

入力内容

英数 → # → かな → → Tab → Enter

Mac + Chrome + Google IME


{"type":"keyup","keyCode":13,"which":13,"key":"Enter","code":"Enter","isComposing":false}
{"type":"compositionend","which":0}
@abcang
abcang / youtube_time_comment_filter.user.js
Created March 18, 2018 09:11
YouTubeのコメントから時間リンク付きのものだけを表示するボタンを付けるやつ
// ==UserScript==
// @name YouTube time comment filter
// @namespace https://abcang.net/
// @version 0.1
// @description YouTubeのコメントから時間リンク付きのものだけを表示するボタンを付けるやつ
// @author abcang
// @match https://www.youtube.com/watch?v=*
// @grant none
// ==/UserScript==
@abcang
abcang / azpainter.diff
Last active December 28, 2020 12:22
azpainter.diff
diff --git desktop/icons/hicolor/scalable/apps/azpainter.svg desktop/icons/hicolor/scalable/apps/azpainter.svg
index 023e08a..d2dc659 100755
--- desktop/icons/hicolor/scalable/apps/azpainter.svg
+++ desktop/icons/hicolor/scalable/apps/azpainter.svg
@@ -167,7 +167,7 @@
x="20.971798"
y="560.68152"
sodipodi:insensitive="true"
- ry="44.807964"
+ ry="0"
REQUEST GET /web/accounts/689 20
SQL (0001.12ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = $1 LIMIT $2 [1, 1]
SQL (0000.30ms) SELECT "session_activations".* FROM "session_activations" WHERE "session_activations"."session_id" = $1 LIMIT $2 ["せっしょんあいでぃー", 1]
SQL (0000.42ms) SELECT "web_push_subscriptions".* FROM "web_push_subscriptions" WHERE "web_push_subscriptions"."id" = $1 LIMIT $2 [3, 1]
SQL (0000.48ms) SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = $1 LIMIT $2 [21, 1]
SQL (0000.57ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."uri" = $1 LIMIT $2 ["https://edge.mstdn.jp/users/nullkal", 1]
SQL (0000.22ms) SELECT "session_activations".* FROM "session_activations" WHERE "session_activations"."session_id" = $1 LIMIT $2 ["せっしょんあいでぃー", 1]
SQL (0000.25ms) SELECT "web_push_subscriptions".* FROM "web_push_subscriptions" WHERE "web_push_subscriptions"."id" = $1 LIMIT $2 [3, 1]
SQL (0000.24ms) SELECT "oauth_access_tokens".* FROM "oauth_access_t
@abcang
abcang / gist:217d5e082b4188cdf78098d21429c448
Last active September 28, 2017 01:57
DeliveryWorkerの時間を測ってみた
Sep 28 10:56:04 testingmstdn bundle[29551]: music.pawoo.net 0.04089464992284775
Sep 28 10:56:04 testingmstdn bundle[29551]: https://mstdn.maud.io/inbox 0.03909538802690804
Sep 28 10:56:04 testingmstdn bundle[29551]: qiitadon.com 0.055527453077957034
Sep 28 10:56:04 testingmstdn bundle[29551]: https://mdx.ggtea.org/inbox 0.05250926804728806
Sep 28 10:56:04 testingmstdn bundle[29551]: https://pawoo.net/inbox 0.0849727860186249
Sep 28 10:56:04 testingmstdn bundle[29551]: https://mstdn.jp/inbox 0.06941196299158037
Sep 28 10:56:04 testingmstdn bundle[29551]: https://edge.mstdn.jp/inbox 0.12433904805220664
Sep 28 10:56:04 testingmstdn bundle[29551]: https://friends.nico/inbox 0.13494027708657086
Sep 28 10:56:04 testingmstdn bundle[29551]: https://mastodon.matcha-soft.com/inbox 0.07789720501750708
Sep 28 10:56:04 testingmstdn bundle[29551]: https://taruntarun.net/inbox 0.051792427082546055