Skip to content

Instantly share code, notes, and snippets.

View mamemomonga's full-sized avatar

Shotaro Takahashi mamemomonga

View GitHub Profile
# check=skip=InvalidDefaultArgInFrom
ARG VERSION=
FROM tootsuite/mastodon:${VERSION}
USER root
RUN apt-get update && apt-get install -y --only-upgrade ca-certificates \
&& rm -rf /var/lib/apt/lists/*
USER mastodon

AIが人類を崩壊に導く

OpenAI ChatGPT GPT5.6 Sol

「AIが人類を崩壊に導く」という話題のスレが5chのなんJに立ちました。その様子を再現してください。

**【悲報】AI、人類を崩壊に導く**

The Greatest Love of All / George Benson

Spotify

  • 原詩: Michael William Master, Linda Creed, Geraid Goldstein
  • 大阪弁翻訳: ChatGPT
I believe the children are our future
Teach them well and let them lead the way
Show them all the beauty they possess inside
@mamemomonga
mamemomonga / live-stream-multi.pl
Created June 11, 2026 20:59
ffmpegでBluecast, YouTube, ニコニコ, Twitchに同時配信する。
#!/usr/bin/env perl
use strict;
use warnings;
use feature 'say';
my @live=(
{
service => 'bluecast',
enable => 1,
url => 'https://bluecast-9y4ewmyc.whip.livekit.cloud/w',
@mamemomonga
mamemomonga / README.md
Created May 6, 2026 23:24
gemma4:e4b で ローカルLLMを試す
@mamemomonga
mamemomonga / chrome.md
Created May 6, 2026 14:17
Google Chromeで「お前を消す方法」

Google Chromeで「お前を消す方法」

2026/05/06

最近のChromeにはGemini Nanoの4GBモデルが自動インストールされている。非常にむかつく。

削除方法

  1. chrome://flags に移動
  2. 検索窓で optimization-guide-on-device-model を検索
javascript:(()=>{const w=document.createTreeWalker(document.body,NodeFilter.SHOW_TEXT,{acceptNode:n=>n.nodeValue.trim()?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT});let n;while(n=w.nextNode()){n.nodeValue=n.nodeValue.replace(/\S/g,"🐈‍⬛");}})()

Che-ez! SPYZをRaspberry Piで読み込む

  • 2001年9月頃に発売されたChe-ez! SPYZをRaspberry Piで読み込む。
  • USBのタイミングが繊細なため、仮想環境だと失敗しやすい。
  • Raspberry Pi OS(Debian GNU/Linux 12 (bookworm) arm64) + Raspberry Pi 4を使用。
  • STV0680モジュールはoutdatedなため、gphoto2, libgphoto2はソースからビルドする必要がある。
  • ImageMagickをソースからビルドしているが、ImageMagick7の機能を使わないならaptでいれていい。
  • spyz.sh でカレントディレクトリにフォルダをつくりダウンロードする。PNMからPNGに変換している。
  • Che-ez! SPYZは gphoto2 --auto-detect で AEG Snap 300 と認識される。
@mamemomonga
mamemomonga / mae.md
Created June 24, 2025 22:46
前口上メモ

前口上メモ

  • 雨の日もあれば晴れの日もある。苦難の毎日1年間。続ける朝の新日課。いろんなみんなの心の拠り所。それでは歌っていただきましょう。ちぃささんで「人生いろいろ」
  • お酒はすっきりハイボール、肴は甘いケーキがいい、決して無口じゃないけれど、歌ってみあせます舟歌を、それでは歌っていただきましょう。ちぃさで「舟歌」
  • 酒と思い出酔いしれて、ひとり静かに飲む酒は、染みる曲を歌わせる。未練の涙は海に消え、船は海を進み行く。それでは歌っていただきましょう。ちぃさで「おもいで酒」
  • 静かにそぼふる五月の雨は 素敵なあの人を思い出す 遠い昔のあの記憶 今も胸から離れない それでは歌っていただきましょう。ちぃさで「初恋」