- Mirakurunは各チャンネルを定期的に巡回しEIT[schedule]を収集している
- MirakurunがチャンネルAを開いている(≒ユーザの指令でチャンネルAに選局されている)ときは、常にそのチャンネルのTSに含まれるEIT[schedule]とEIT[p/f]を収集している。EIT[p/f]を発見したときクライアントに通知を送ることもできる
- 逆に、それ以外のときはEITを捉えられない
- Mirakurun の Program Stream APIは少し高度な機能を持っていて、 「引数に与えられた番組が始まるまでは何もデータを返さず、始まったらデータを返し、終わったらコネクションを終了」するという挙動をする。区間を見定めるとき、EIT[p/f]も読んでいる。 ただ、イベントリレーみたいな高等処理まではしてくれない
- つまりPrograms Stream APIを使えば(番組がその時ちゃんと始まっていさえすれば)勝手に番組の終端まで録画してくれます。 ※ただし、放送前に時間が変更していて、かつその事実をMirakurunが捉えられていなかった場合、しばらくデータを待ったあとコネクションがタイムアウトしてしまう!
#!/usr/bin/env bash | |
# Small shell script to more easily automatically download and transcribe live stream VODs. | |
# This uses YT-DLP, ffmpeg and the CPP version of Whisper: https://github.com/ggerganov/whisper.cpp | |
# Use `./transcribe-vod help` to print help info. | |
# MIT License | |
# Copyright (c) 2022 Daniils Petrovs |
#!/bin/sh | |
# mirakc channel scan (using mirakc docker container image) | |
# by uru (https://twitter.com/uru_2) | |
# | |
# require: | |
# docker | |
# jq | |
set -eu | |
export LANG=C.UTF-8 |
# Generate custom MeCab dictionary to be used with unidic-lite | |
import sys | |
from fugashi.fugashi import build_dictionary | |
import unidic_lite | |
args = ( | |
sys.argv[0] |
Out of the box, my SMB performance on macOS 12.3.1 would top out at around 20MB/s in short ~5 second bursts, which was absolutely horrendous, slow to navigate in Finder and slugish to interact with.
Since making these changes, I now get sustained ~80-100MB/s+ and instant Finder navigation which is superb and how things should be out-of-the-box (OOTB)!
May 2023 update: As of Ventura, the SMB issues were just horribly inconsistent and hard to maintain. Something in the combination of Unraid, macOS and SMB just doesn't play nice. I ended up binning NFS/SMB all together and heading to a locally hosted Nextcloud instance for file syncing, then using SFTP/Ansible Git flow for editing files within appdata
.
https://developers.cloudflare.com/r2/platform/pricing/
up to 10,000,000 read operations + $0.36 per 1,000,000 operations
$3.60 free
up to 1,000,000 write operations + $4.50 per 1,000,000 operations
graph TD
A(気分が良くなるよ) --> B(一度だけなら...)
B --> C(薬の効力が切れると......)
C --> |イライライライラ| D(薬が切れた<br />薬がもうない)
D --> E(早く薬を<br />苦しい)
E --> |体に耐性ができて次第に使用量が増えていきます|F(もっともっと)
F --> G(一時的に欲求は満たされます)
G --> H(薬のことしか考えられなくなります)
/***************************************************************************** | |
* ARIB STD-B24 caption decoder/renderer using libaribcaption. | |
***************************************************************************** | |
* Copyright (C) 2022 magicxqq | |
* | |
* Authors: magicxqq <[email protected]> | |
* | |
* This program is free software; you can redistribute it and/or modify it | |
* under the terms of the GNU Lesser General Public License as published by | |
* the Free Software Foundation; either version 2.1 of the License, or |
オレは高校生シェル芸人 sudo
新一。幼馴染で同級生の more
利蘭と遊園地に遊びに行って、黒ずくめの男の怪しげな rm -rf /
現場を目撃した。端末をみるのに夢中になっていた俺は、背後から近づいてきたもう1人の --no-preserve-root
オプションに気づかなかった。
俺はその男に毒薬を飲まされ、目が覚めたら・・・ OS のプリインストールから除かれてしまっていた!
『 sudo
がまだ $PATH
に残っていると奴らにバレたら、また命を狙われ、他のコマンドにも危害が及ぶ』
上田博士の助言で正体を隠すことにした俺は、 which
に名前を聞かれて、とっさに『gnuplot
』と名乗り、奴らの情報をつかむために、父親がシェル芸人をやっている蘭の $HOME
に転がり込んだ。ところが、このおっちゃん・・・とんだヘボシェル芸人で、見かねた俺はおっちゃんになりかわり、持ち前の権限昇格能力で、次々と難タスクを解決してきた。おかげで、おっちゃんは今や世間に名を知られた名エンジニア、俺はといえばシェル芸 bot のおもちゃに逆戻り。クラスメートの convert
や ojichat
や textimg
にお絵かきコマンドと誤解され少年ワンライナーお絵かき団を結成させられる始末。
ではここで、博士が作ってくれたメカを紹介しよう。最初は時計型麻酔 kill
。ふたについた照準器にあわせてエンターを押せば、麻酔シグナルが飛び出し、プロセスを瞬時に sleep
させることができる。
次に、蝶ネクタイ型 banner
。裏についているダイヤルを調整すれば、ありとあらゆる大きさのメッセージを標準出力できる。必殺のアイテムなら fork
力増強シューズ。電気と磁力で足を刺激し、 :(){ :|:& };:
でプロセステーブ
Since monterey update does not allow us to use Xcode previous than 13, let's show how to "install previous SDKs"
Swift toolchains, from https://swift.org/download/
Previous Xcode.xip, from the https://developer.apple.com