Skip to content

Instantly share code, notes, and snippets.

View onokatio's full-sized avatar
♨️
温泉行きたい

onokatio (tmaruyama) onokatio

♨️
温泉行きたい
  • Japan
  • 17:19 (UTC +09:00)
View GitHub Profile
@fortinmike
fortinmike / reclaim-disk-space.bat
Last active October 24, 2025 14:12
Aggressively reclaim disk space in a Windows partition
::
:: Reclaims Windows disk space in a "destructive" manner (can't uninstall service packs and updates afterwards, etc.).
:: Use at your own risk. Useful for Windows installations in space-constrained environments, such as a small Boot Camp
:: partition on a Mac.
::
:: [IMPORTANT] It is strongly suggested to make a full-disk backup of your Windows partition before running this script,
:: as you can't roll back service packs and updates afterwards.
::
:: [IMPORTANT] Run this script as admin (required to run `Dism.exe` among other things).
::
@akihikodaki
akihikodaki / README.en.md
Last active November 6, 2025 02:08
Linux Desktop on Apple Silicon in Practice

Linux Desktop on Apple Silicon in Practice

I bought M1 MacBook Air. It is the fastest computer I have, and I have been a GNOME/GNU/Linux user for long time. It is obvious conclusion that I need practical Linux desktop environment on Apple Silicon.

Fortunately, Linux already works on Apple Silicon/M1. But how practical is it?

  • Two native ports exist.
@mkizka
mkizka / youtube-scroll-mini-player.user.js
Last active November 24, 2024 14:49
YouTubeでスクロールしたら小さいプレーヤーを表示するUserScript
// ==UserScript==
// @name YouTube Scroll Mini Player
// @version 1.0.5
// @author mkizka
// @description YouTubeでスクロールしたら小さいプレーヤーを表示するUserScript
// @homepage https://gist.github.com/mkizka/e5771459a160dc39f3fc632269ab6c57
// @match https://www.youtube.com/*
// ==/UserScript==
(function () {
@flanger001
flanger001 / containers.js
Last active August 7, 2023 16:40
If you use Firefox Multi-Account Containers with Firefox sync, sometimes you will get a number of extra containers, even thousands of them. Run this in the devtools console in the Firefox containers section `about:preferences#containers`. Add your own container tags on line 48.
let removeContainers = (...containers) => {
let items, isValid, removeButtons;
items = document.querySelectorAll("#browserContainersGroupPane richlistitem");
isValid = (el) => typeof (el) != "undefined" || el != null;
removeButtons = [];
items.forEach((el, idx) =>
{
const hbox_1 = el.getElementsByTagName("hbox").item(0);
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@RubenKelevra
RubenKelevra / fast_firefox.md
Last active November 11, 2025 17:02
Make Firefox fast again
@NT-marlowe
NT-marlowe / stm.md
Last active May 29, 2025 16:15 — forked from kyokuheki/stm.md
STM/CTMに参加するときのあると良いもの

Shownet での持ち物とか

Note

この記事はShowNet 2024に参加した経験に基づいて書かれています.2025年以降も通用するとは限りません.

持ち物にはテプラや養生テープなどで名前をつけることをおすすめします.よく紛失します.

【必須なもの】

  • ノートPC
  • IPv6 対応
@reindex-ot
reindex-ot / STKMenu.md
Last active September 12, 2025 14:55
eSTK.me SIM Tool Kit Menu 日本語訳、そんなに深く使う部分はそんなにないけど作成。

Profiles (プロファイル)

  • EXIT MENU / メニューを終了 (閉じる)
  • 追加したプロファイル名を選択で有効化 (*で項目を選択)

Download (ダウンロード)

! Attention ! / ! 注意 !

この機能を使用する前に「Settings 内の RLPA2 Cloud Enhance」から関連する利用規約に同意する必要があります。

  • Activation Code (127 Bytes max) / アクティベーションコード (最大 127 バイト)
@Crow314
Crow314 / stm.md
Last active July 2, 2025 03:33 — forked from NT-marlowe/stm.md
STMに参加するときのあると良いもの

Shownet での持ち物とか

Note

この記事はShowNet 2024に参加した経験に基づいて書かれています.2025年以降も通用するとは限りません.

持ち物にはテプラや養生テープなどで名前をつけることをおすすめします.よく紛失します.

【必須なもの】

  • ノートPC
  • IPv6 対応

Beast Mode

Beast Mode is a custom chat mode for VS Code agent that adds an opinionated workflow to the agent, including use of a todo list, extensive internet research capabilities, planning, tool usage instructions and more. Designed to be used with 4.1, although it will work with any model.

Below you will find the Beast Mode prompt in various versions - starting with the most recent - 3.1

Installation Instructions

  • Go to the "agent" dropdown in VS Code chat sidebar and select "Configure Modes".
  • Select "Create new custom chat mode file"