僕のGmailとProton Mailにたぶんインドネシア語でGoogleアカウントのバックアップコードが送られてきており悲しい気持ちになってる。自分のメールアドレスには自分のメールアドレスを設定しような…
僕のGmailとProton Mailにたぶんインドネシア語でGoogleアカウントのバックアップコードが送られてきており悲しい気持ちになってる。自分のメールアドレスには自分のメールアドレスを設定しような…
今日もきょうとて二度寝するね
785e650ab4 (upstream/main) Fix uncaught TypeError in POST `/api/v1/featured_tags` (#25072)
45d98959ac Fix uncaught NoMethodError in POST `/api/v1/featured_tags` (#25063)
2a61f14753 Fix account confirmation flow not returning to app after captcha validation (#25057)
8d6aea3326 Upgrade to React 18 (#24916)
4a22e72b9b Improve test coverage for `/api/v1/admin/canonical_email_blocks` (#24985)
325d5f0183 Regenerate rubocop-todo (#24846)
e13d2edd47 Fix “Authorized applications” inefficiently and incorrectly getting last use date (#25060)
ce8b5899ae Fix POST `/api/v1/admin/domain_allows` returning 200 when no domain is specified (#24958)
e328ab7e5a Implement pending specs for StatusesController (#23969)
(続く)
e328ab7e5a Implement pending specs for StatusesController (#23969)
f3feb4c891 Improve test coverage for `/api/v1/admin/email_domain_blocks` (#25017)
c0b9664a31 Autofix Rubocop spacing in config (#25022)
19f9098551 Allow reports with long comments from remote instances, but truncate (#25028)
d51464283c Improve test coverage for `/api/v1/admin/ip_blocks_controller` (#25031)
23a4ecf444 Remove duplicate JPG type (#25054)
7d805cfa90 Remove requestAnimationFrame test polyfill (#25056)
7bb8030cc1 Change OpenGraph-based embeds to allow fullscreen (#25058)
36a77748b4 Order sessions by most-recent to least-recently updated (#25005)
\Master?/ \ますたー/
Merged mastodon/mastodon at 785e650ab44e9ffd28f4284f68ae82007f5609bb.
ほー
$ curl -s https:// mastodon.zunda.ninja/api/v1/instance | jq -r .configuration.media_attachments.supported_mime_types
[
"image/jpeg",
"image/png",
"image/gif",
"image/heic",
"image/heif",
"image/webp",
"image/avif",
"video/webm",
"video/mp4",
"video/quicktime",
"video/ogg",
"audio/wave",
"audio/wav",
"audio/x-wav",
"audio/x-pn-wave",
"audio/vnd.wave",
"audio/ogg",
"audio/vorbis",
"audio/mpeg",
"audio/mp3",
"audio/webm",
"audio/flac",
"audio/aac",
"audio/m4a",
"audio/x-m4a",
"audio/mp4",
"audio/3gpp",
"video/x-ms-asf"
]
This account is not set to public on notestock.
配送エラーのjsonのポストの内容部分に
\u003cp\u003e
てな感じの文字列があって何かと思ったらpタグわね
This account is not set to public on notestock.
This account is not set to public on notestock.
端末幅に制限されるのを回避するのにパイプをつかうのなんか違う気のする…
$ systemctl list-timers backup-local.timer | cat
NEXT LEFT LAST PASSED UNIT ACTIVATES
Wed 2023-05-24 00:00:00 UTC 23h left Tue 2023-05-23 00:00:21 UTC 14min ago backup-local.timer backup-local.service
1 timers listed.
Pass --all to see loaded but inactive timers, too.
詰まるなあw
$ systemctl --no-pager list-timers backup-local.timer
NEXT LEFT LAST PASSED UNIT ACTIVATES
Wed 2023-05-2… 23h left Tue 2023-05-2… 21min ago backup-local.t… backup-local.s…
1 timers listed.
Pass --all to see loaded but inactive timers, too.
ページやなあw
$ systemctl --full list-timers backup-local.timer
NEXT LEFT LAST PASSED UNIT>
Wed 2023-05-24 00:00:00 UTC 23h left Tue 2023-05-23 00:00:21 UTC 21min ago back>
1 timers listed.
Pass --all to see loaded but inactive timers, too.
lines 1-5/5 (END)
別解発見w
$ TERM=vt100 systemctl list-timers backup-local.timer | cat
NEXT LEFT LAST PASSED UNIT ACTIVATES
Wed 2023-05-24 00:00:00 UTC 23h left Tue 2023-05-23 00:00:21 UTC 22min ago backup-local.timer backup-local.service
1 timers listed.
Pass --all to see loaded but inactive timers, too.
や、パイプ付けっぱなしやん
$ TERM=vt100 systemctl list-timers backup-local.timer
NEXT LEFT LAST PASSED UNIT>
Wed 2023-05-24 00:00:00 UTC 23h left Tue 2023-05-23 00:00:21 UTC 24min ago back>
1 timers listed.
Pass --all to see loaded but inactive timers, too.
lines 1-5/5 (END)
VT100にも桁数あったかー
:tada:
$ systemctl --no-pager --full list-timers backup-local.timer NEXT LEFT LAST PASSED UNIT ACTIVATES
Wed 2023-05-24 00:00:00 UTC 23h left Tue 2023-05-23 00:00:21 UTC 25min ago backup-local.timer backup-local.service
1 timers listed.
Pass --all to see loaded but inactive timers, too.
orz
$ TERM=dumb systemctl list-timers backup-local.timer
NEXT LEFT LAST PASSED UNIT ACTIVATES
Wed 2023-05-2… 23h left Tue 2023-05-2… 26min ago backup-local.t… backup-local.s…
1 timers listed.
Pass --all to see loaded but inactive timers, too.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
Ubuntu 20.04.6 LTS更新しとこ
$ sudo sh -c 'apt update && apt dist-upgrade -y'
:
The following NEW packages will be installed:
linux-image-5.4.0-149-generic linux-modules-5.4.0-149-generic
linux-modules-extra-5.4.0-149-generic
The following packages will be upgraded:
linux-image-generic linux-libc-dev
:
$ cat /var/run/reboot-required*
*** System restart required ***
linux-image-5.4.0-149-generic
linux-base
$ sync; sync; sync; sudo reboot
(-人-)
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
SafariでMastodonの投稿のURLをコピーしてペーストしたらリンクテキストが「15分前」なっちゃうんだけどどうしたらwww
DockerはLinuxアプリのコンテナ化だと思ってたらネットワークもぐっちゃんぐっちゃんに絡んできて僕にはなんもわからんかったよねorz
油の付いた手で触ってたM1 MacBook Airちゃんのキーボードをログアウト後わしゃしゃ拭いてたら画面が真っ暗になって焦ったけど電源落としちゃっただけだったね。じゃーんって帰ってきてくれた(びっくりしたw
This account is not set to public on notestock.
This account is not set to public on notestock.
systemd.exec(5)には
> $SYSTEMD_EXEC_PID
> The PID of the unit process (e.g. process invoked by ExecStart=).
とあるから復文にするならシェルを起動する感じかしらね
ExecStart=date | mail -s "`hostname` started" root
のserviceをsystemctl startしたら
May 23 06:28:53 sarashian date[6396]: date: extra operand ‘mail’
May 23 06:28:53 sarashian date[6396]: Try 'date --help' for more information.
だって。パイプはどうしたんだw
@popn_ja かもしれないですね…。sudo systemctl daemon-reloadせずに.serviceを編集してうまくいかないなってめんどうになってシェルスクリプトに分けました。systemdむずかしーw
macOSちゃんでクリップボードの内容を端末内のvimで編集してクリップボードに返すちゃんです。書式とかどうなるんじゃろw
#!/bin/sh
ts=`date +%Y%m%d-%H%M%S`
path=`mktemp /tmp/${ts}.XXXX` || exit 1
pbpaste > $path
/usr/bin/vim -c 'set enc=utf8 fenc=utf8 filetype=markdown' $path
cat $path | pbcopy
echo $path
This account is not set to public on notestock.
そういえば明日はいよいよsshトンネル掘ってみるよ。ここらあたりはもうipコマンドになってるのでそれほど難しくないはずなんだけどLAN1つじゃ動作確認の方法がよくわからないw