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).
::
@ttimasdf
ttimasdf / 00-Systemd_service_for_autossh.md
Last active October 11, 2025 22:00 — forked from thomasfr/autossh.service
Systemd service for autossh

Usage

curl -sSL https://gist.githubusercontent.com/ttimasdf/ef739670ac5d627981c5695adf4c8f98/raw/autossh@host1 | \
  sudo tee /etc/default/autossh@example
curl -sSL https://gist.githubusercontent.com/ttimasdf/ef739670ac5d627981c5695adf4c8f98/raw/[email protected] | \
  sudo tee /etc/systemd/system/[email protected]

sudo useradd -g nogroup -s /bin/false -m tunnel
sudo -u tunnel mkdir -p ~tunnel/.ssh # and copy your private key here
@yasuken1990
yasuken1990 / neko-mining.php
Last active April 9, 2018 02:23
ここ掘れニャーニャー
<?php
// for @onokatio_
// https://twitter.com/onokatio_/status/981875531359518725
$twitterId = '@mona';
$searchWord = 'f';
$findLimit = 13;
$twitterIdLength = 16; // @を含むTwitterID最大文字長
$i = 0;
@mamemomonga
mamemomonga / Bluetooth-HID-Proxy.md
Last active June 30, 2025 19:27
HHKB-BTをHIDとして認識させる(失敗)
@oboenikui
oboenikui / UnivFeliCa.md
Last active June 12, 2024 00:34
大学生協FeliCaの仕様

WHAT IS THIS

大学生協のFeliCa,及び諸大学の学生証一体型FeliCaの仕様
レスポンスについては,特に表記のない限り東北大学のもの (学生証一体型ではない)
断りのない限りコードはビッグエンディアンで通信する (下記のドキュメントに合わせた)
記号と区別するため,アルファベットの大文字表記は記号,小文字表記は16進表記とする

FeliCa自体の仕様については,Sony公式のドキュメントを参考に

System Code

@voluntas
voluntas / webrtc.rst
Last active October 10, 2025 07:46
WebRTC コトハジメ
@cucmberium
cucmberium / gist:e687e88565b6a9ca7039
Last active October 28, 2025 14:47
Twitterの検索API & Twitterでの検索術

twitterの検索術 (search/tweetssearch/universal)

search/tweets では一週間以上前のツイートは検索できないので注意

search/universal は公式のConsumerKey/ConsumerSecretでないと使用できない

当方では一切の責任を負いません

@jiangzhuo
jiangzhuo / e.md
Last active December 17, 2019 10:55
簡歷

Personal Information

Name: Jiang Zhuo
Gender: Male
Job Objective: Senior Backend Engineer/ DevOps

Hobbies: ACG, Cooking
English Skills: CET-6 TOEFL(98)
Japanese Skill: J.Test (...ing)

E-Mail: [email protected]

@XVilka
XVilka / TrueColour.md
Last active October 9, 2025 17:55
True Colour (16 million colours) support in various terminal applications and terminals

THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.

PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!

@myaumyau
myaumyau / user.js
Last active August 29, 2022 10:12
Firefox user.js
// テキストが見つかったときに Find Toolbar をフラッシュするか。
// 0: Find Toolbar は前から前からフラッシュしており、見つかったときにフラッシュしない
// 1: 見つかったときに Find Toolbarフラッシュする。
user_pref("accessibility.typeaheadfind.flashBar", 0);
// 自動更新
user_pref("app.update.auto", false);
// タブプレビュー機能
user_pref("browser.ctrlTab.previews", true);