Skip to content

Instantly share code, notes, and snippets.

View matoken's full-sized avatar

KenichiroMATOHARA matoken

View GitHub Profile
2022-04-04:
* Default “pi” user has been removed; the first-boot wizard enforces the creation of a new user account
* rename-user script added to allow existing users to be renamed by temporarily rebooting to cut-down first-boot wizard
* Overscan now managed by xrandr under KMS, can be set independently for both monitors, and takes effect on the fly rather than requiring reboot
* GTK3 switch control now used in place of paired radio buttons throughout
* piwiz - first-boot wizard now runs in a separate session as a different user with different graphics
* piwiz - first-boot wizard now has automatic pairing for discoverable Bluetooth mice and keyboards
* lxinput - keyboard delay and repeat settings now persist across reboots under mutter
* raspi-config / rc_gui - removed pixel doubling option when KMS driver in use
* raspi-config - removed composition manager option when legacy driver in use
<!DOCTYPE html> <html lang=en class=title style><!--
Page saved with SingleFile
url: file:///home/matoken/Nextcloud_matoken@files.matoken.org/Linux/KoedoLUG/2022/03/slide/slide.html?print-pdf#/
saved date: Sat Mar 19 2022 11:26:40 GMT+0900 (Japan Standard Time)
--><meta charset=utf-8><meta name=viewport content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui"><title>画像つきHTMLファイルを1ファイルで共有</title><meta name=author content="Kenichiro Matohara(matoken) <maroken@kagolug.org>"><style>html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,main,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}
[チュートリアル]AS運用への第一歩 https://www.janog.gr.jp/meeting/janog49/tutorial/ https://eqb899hbxn.eq.webcdn.stream.ne.jp/www50/eqb899hbxn/jmc_pub/jmc_pd/00015/ce3ad8781dc243cf8f0884a1fde2f298/ce3ad8781dc243cf8f0884a1fde2f298_1671.m3u8
ミドル・マイラーズ! 「Cloud Native時代のネットワークシステムのあり方を考える 」続編 https://www.janog.gr.jp/meeting/janog49/middle/ https://eqb899hbxn.eq.webcdn.stream.ne.jp/www50/eqb899hbxn/jmc_pub/jmc_pd/00015/1591974fd9a3498788ec77b6e90ccc0a/1591974fd9a3498788ec77b6e90ccc0a_1671.m3u8
SONiCの開発状況アップデート https://www.janog.gr.jp/meeting/janog49/sonic/ https://eqb899hbxn.eq.webcdn.stream.ne.jp/www50/eqb899hbxn/jmc_pub/jmc_pd/00015/6529fea00bfb4a4ab507cf542bd4bed3/6529fea00bfb4a4ab507cf542bd4bed3_1670.m3u8
NETCON最速問題解説 https://www.janog.gr.jp/meeting/janog49/weeeeeknc/ https://eqb899hbxn.eq.webcdn.stream.ne.jp/www50/eqb899hbxn/jmc_pub/jmc_pd/00015/a1f0a2cc00984ea6ba12d98d88e5d3a7/a1f0a2cc00984ea6ba12d98d88e5d3a7_1671.m3u8
開会宣言 https://www.janog.gr.jp/meeting/janog49/open/ https://eqb899hbxn.eq.webcdn.stream.ne.jp/www50/eqb899
<div id="alll">
<div id="preamble">
<div class="sectionbody">
<div class="paragraph">
<p>Raspberry Pi OS bullseye がリリースされていたので手元のRaspberry Pi 3 model B のOS をbuster からbullseye にアップグレードしてみました.</p>
</div>
<div class="ulist">
<ul>
<li>
<p><a href="https://www.raspberrypi.com/news/raspberry-pi-os-debian-bullseye/">Bullseye - the new version of Raspberry Pi OS - Raspberry Pi</a></p>
@matoken
matoken / gist:a2bc71cdcf520d4ca3fae0266c59e25e
Created November 11, 2021 21:36
Raspberry Pi OS release note buster
2021-10-30:
* Based on Debian version 11 (bullseye)
* Desktop components (lxpanel and all plugins, libfm, pcmanfm) now built against GTK+3
* Applications (piwiz, pipanel, rc_gui, lxinput) now built against GTK+3
* PiXflat GTK+3 theme updated with numerous changes to support the above
* GTK+3 : toolbar icon size setting added
* GTK+3 : ability to request client-side decoration on windows added
* GTK+3 : setting for indent for frame labels in custom style added
* mutter window manager used instead of openbox on devices with 2GB or more of RAM
* mutter : title bar icon behaviour and appearance modified to match openbox
diff --git a/build-debian-installer.sh b/build-debian-installer.sh
index 6f773f6..04b7ea8 100644
--- a/build-debian-installer.sh
+++ b/build-debian-installer.sh
@@ -5,14 +5,14 @@
# You should be running the same flavor as the installer you are producing.
# Example, an installer for Debian Stretch can only produced on a Strech machine.
-sudo apt-get update
-sudo apt-get install -y simple-cdd git xorriso
@matoken
matoken / auto-screen-rotate.sh
Last active June 14, 2021 14:34
LENOVO Yoga260 auto screen rotate.
#!/bin/sh
MONITOR=$1
if [ -z $MONITOR ]; then
MONITOR="eDP-1"
fi
monitor-sensor \
| grep --line-buffered "Accelerometer orientation changed" \
| grep --line-buffered -o ": .*" \
#!/bin/sh
# khalコマンドで今日の予定を入手してDiscordにpostする
# https://matoken.org/blog/2021/03/31/post-your-calendar-to-discord-with-webhooks/
# DiscordのWebhook URL
# 以下のURLを参考に入手して設定する
# https://support.discord.com/hc/ja/articles/228383668-%E3%82%BF%E3%82%A4%E3%83%88%E3%83%AB-Webhooks%E3%81%B8%E3%81%AE%E5%BA%8F%E7%AB%A0
DISCORD_WEBHOOK='https://ptb.discord.com/api/webhooks/…………'
# khal
#!/bin/bash
#-- ALSA Volume controle script
# http://hpv.cc/~maty/pukiwiki1/index.php?Linux%2FWindowManager%2Fawesome%2F3.5#ba87c638
MUTE=`amixer -c 0 get Master|tail -1|cut -d '[' -f 4|sed s/\]//`
if [ $MUTE = "on" ] ; then
ICON="/usr/share/icons/ContrastHigh/scalable/status/audio-volume-medium.svg"
else
4g_{YtK0Bt^AAA[*@ys!H6W!RQ;m!lk)G$+oD$Lmn66Jp2Ib/W$ANE*Wy)fCGtQ@yJp2gbgh2!C9
m//xiLL?QuwW_!C96=z^cLi"{iFSNlLI2WP;+uVm*llTkrNE2W$A]*Kka:WQRtc8wDX<C./<n`7F
RtlBbLX<uE/<CC7F.SoA7FRtlBbLi"{iFSNl5eGHs!u10mv,_WZcOuPJh/+uMOHX1Eo+[Rm(ZPaA
vDAAv(G$+oe#cQr}(4$NBtwAAA{ioZX<Ddx=pN3$TzIXuJT}=EaT5HT$Lm*Ykmi"3vcLi"lBbLi"
lBbLo<PuBT@S<13tlB*Nliza+fM:`HN!h[4EG<v;bjkC7FJ3lBbLi"lBbLi"Q@vPZc[*KkW:$yYt
lBbL["lBbLyq<C2WU)fCDm*l7R}?=C2W$A;C2W$A;C2W$A;Cb|y4*xV.q6>NGlra+fM:{0x#W6@P
Glrayby4*xB)ymDglDQuPJh/+uMOHX1E!kjXP1W~,61RY4AAAAs!N4z4xo6=KPxJAA|BAAtJuX^*
a0!MsR>SSiDgk%C=G$U:;xV.66kLi"lBbLyq3eGHs!CJ2#mBbLi"Q@cLL?QuBT@Sx23tlBbLyqJI
2WU)fCDm*lgSSB;C2WDB7FRtlBkgZc[*Kka:#FRtGCbLKi@D2WU)fCDm*lgSSBf+5W$A^K2W&C8y
5nIXuJp2Ib/Wn`~0G3lBbLEU{Z`&P;+uLmj66J$%VcGHy4aCfS$4wDZcOuPJs4.j:sc;;CGOAAC"