ujisv | jlreqv | glue from !? | glue to !? | |
---|---|---|---|---|
0 | 0 | 1.0 , 0.0, 0.5, ratio=1, kanjiskip_stretch=1 | 0, 0, 0, kanjiskip_shrink=1 | |
1 | (〔[{〈《「『【⦅〘〖«〝‘“ | 0.5 , 0.0, 0.5, ratio=1, kanjiskip_stretch=1 | 0, 0, 0, kanjiskip_shrink=1 | |
2 | )〕]}〉》」』】⦆〙〗»〟’” | 0, 0, 0, kanjiskip_shrink=1 | 0.5 , 0.0, 0.5, ratio=0, kanjiskip_stretch=1 | |
6 | 4 | !?‼⁇⁈⁉ | 0, 0, 0, kanjiskip_shrink=1 | 0, 0, 0, kanjiskip_shrink=1 |
3 | 5 | ・:; | 0.75, 0.0, 0.25, priority=1, ratio=1 | 0.25, 0.0, 0.25, priority=1, ratio=1 |
4 | 6 | 。. | 0, 0, 0, kanjiskip_shrink=1 | 0.5 , 0.0, 0.5, ratio=0, kanjiskip_stretch=1 |
2 | 7 | 、, | 0, 0, 0, kanjiskip_shrink=1 | 0.5 , 0.0, 0.5, ratio=0, kanjiskip_stretch=1 |
5 | 8 | —…‥〳〴〵 | 0, 0, 0, kanjiskip_shrink=1 | 0, 0, 0, kanjiskip_shrink=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -ue | |
if [ "$#" -lt 3 ]; then | |
echo "$0 BINARY_PREFIX STATIC_ROOT_DIR OUTPUT_DIR" >&2 | |
exit 1 | |
fi | |
export GOVER=1.18 | |
export SUGOI_SRC='https://gist.githubusercontent.com/amane-katagiri/7b9e09f27d329515f423c97da35335b1/raw/0d1867886128375e30383f7b9aa470ff337a68a5/sugoi.go' | |
export PREFIX="$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
えきめい | 駅名 | |
---|---|---|
あおばだい | 青葉台 | |
あざみの | あざみ野 | |
いけがみ | 池上 | |
いけじりおおはし | 池尻大橋 | |
いしかわだい | 石川台 | |
いちがお | 市が尾 | |
うのき | 鵜の木 | |
えだ | 江田 | |
えばらなかのぶ | 荏原中延 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BEGIN:VCALENDAR | |
PRODID:-//Proton AG//ProtonCalendar 1.0.0//EN | |
VERSION:2.0 | |
CALSCALE:GREGORIAN | |
METHOD:PUBLISH | |
X-WR-CALNAME:corrupted calendar | |
X-WR-TIMEZONE:Asia/Tokyo | |
REFRESH-INTERVAL;VALUE=DURATION:PT240M | |
X-PUBLISHED-TTL:PT240M | |
BEGIN:VTIMEZONE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://developer.mozilla.org/ja/docs/Web/HTTP/Proxy_servers_and_tunneling/Proxy_Auto-Configuration_PAC_file | |
function FindProxyForURL(url, host) | |
{ | |
if (isPlainHostName(host) || isInNet(host, "127.0.0.1", "255.255.255.255")) { | |
return "DIRECT"; | |
} else { | |
return "SOCKS5 localhost:3128; DIRECT"; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){Array.from(document.querySelectorAll('.maker_name a')).filter(function(x){return x.href.endsWith('RG60289.html')}).map(function(x){x.closest('.n_worklist_item').remove()})})(); |
/* この記事は、ライフ 人間と科学シリーズ(Plume)の閉鎖処理の一環として、投稿した情報の整理を行うために書かれた。 */
busybox crondでは、root所有ではないcronfileを黙ってスキップしてしまうらしい: dockerでBusyBox crondが動かない – numa blog
通常のcrondならエラーが出るっぽい: /etc/cron.dへ置くファイルにはownerとpermissionに制約があるっぽい - モヒカンメモ
$ echo '0 0 * * * root true' > root
$ docker run --rm -v $(pwd)/root:/etc/crontabs/root --init alpine timeout 3 \
sh -c 'mount | grep /etc/crontabs/root; \
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"consumer_key": "", | |
"consumer_secret": "", | |
"token": "", | |
"token_secret": "" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -Cue | |
if [ $# -ge 2 ]; then | |
SRC="$1" | |
DST="$2" | |
else | |
echo "usage: $0 SRC DST" >&2 | |
exit 1 | |
fi | |
if [ -f "${HOME}/.nextcloud_token" ]; then |
I want to USB power ON/OFF on Raspberry Pi 4.
Raspberry Pi 4でUSBパワーをON/OFFしたい。
Raspberry PiのUSBポートに直接LEDライトを接続してオンオフを試しました。
ここでは、https://github.com/mvp/uhubctl というユーティリティを使います。
https://github.com/codazoda/hub-ctrl.c も、だいたい同じことができるようですが、こちらの uhubctl の方が扱いやすそうだったので、こちらを選びました。
個別のUSBポートのパワーのON/OFFはできないようで、全てのUSBポートのパワーを一緒に操作しています。