Skip to content

Instantly share code, notes, and snippets.


KenichiroMATOHARA matoken

View GitHub Profile
View 1135f710-020e-4cdb-a375-430dbe85e7fe.html
<!DOCTYPE html> <html lang=en class=title><!--
Page saved with SingleFile
url: file:///home/matoken/Yandex.Disk/
saved date: Sat May 28 2022 16:24:31 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>OSCの動画を聞く</title><meta name=author content="Kenichiro Matohara(matoken) <>"><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}ar
View gist:3c8d89f592722f24c44148a4fa76d542
--- /usr/share/pipewire/pipewire.conf 2022-04-14 17:11:53.000000000 +0900
+++ /home/matoken/.config/pipewire/pipewire.conf 2022-04-19 00:22:12.182495791 +0900
@@ -166,6 +166,18 @@
# #x11.xauthority = null
# }
+ { name = libpipewire-module-echo-cancel
+ args = {
+ # = aec/libspa-aec-webrtc
+ # node.latency = 1024/48000
View voicevox2wav.bash
COMMANDS=(nkf curl)
for COMMAND in "${COMMANDS[@]}"
type "${COMMAND}" > /dev/null 2>&1 || {
echo "${COMMAND} are required." 1>&2
exit 1
View 音でデータを届けたい (2022_4_9 14_16_36).html
<!DOCTYPE html> <html lang=en><!--
Page saved with SingleFile
url: file:///home/matoken/Yandex.Disk/
saved date: Sat Apr 09 2022 14:16:36 GMT+0900 (日本標準時)
--><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>音でデータを届けたい</title><meta name=author content="Kenichiro Matohara(matoken) <>"><style>table{border-collapse:collapse;border-spacing:0}table{margin-bottom:1.25em;border:solid 1px #dedede}table tr td{padding:.5625em .625em;font-size:inherit}table tbody tr td{display:table-cell;line-height:1.6}.fa{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@k
View rpios-amd64-2022-04-04.txt
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.15.32-v8+ (dom@buildbot) (aarch64-linux-gnu-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022
[ 0.000000] Machine model: Raspberry Pi 3 Model B
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000038000000, size 64 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x000000003bffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
View gist:e14693640afe41917660df45544dc6e4
* 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
View slide.single.html
<!DOCTYPE html> <html lang=en class=title style><!--
Page saved with SingleFile
url: file:///home/matoken/
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) <>"><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}
View janog49.csv
ミドル・マイラーズ! 「Cloud Native時代のネットワークシステムのあり方を考える 」続編
View gist:37579551ef0e95361869b57d83c20018
<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 class="ulist">
<p><a href="">Bullseye - the new version of Raspberry Pi OS - Raspberry Pi</a></p>
matoken / gist:a2bc71cdcf520d4ca3fae0266c59e25e
Created Nov 11, 2021
Raspberry Pi OS release note buster
View gist:a2bc71cdcf520d4ca3fae0266c59e25e
* 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