Skip to content

Instantly share code, notes, and snippets.

  1. build libaom aom - Git at Google
  2. build libdav1d VideoLAN / dav1d · GitLab
  3. build libyuv libyuv/libyuv - Git at Google
  4. build libavif include avifenc and avifdec AOMediaCodec/libavif: libavif - Library for encoding and decoding .avif files
    4.1. set option(AVIF_CODEC_AOM "Use the AOM codec for encoding/decoding (see AVIF_CODEC_AOM_DECODE/AVIF_CODEC_AOM_ENCODE)" ON)
    4.2. set option(AVIF_CODEC_DAV1D "Use the dav1d codec for decoding" ON)
    4.3. set option(AVIF_BUILD_APPS "Build avif apps." ON)
    4.4. cmake and make, sudo make install
//
// What's this? : 大阪府 COVID-19 感染状況公式データ を取得・集計し、csv 形式で標準出力へ出力する。
// License : MIT License
// Environment : deno
// Language : JavaScript
//
// Usage : deno run --allow-net getosaka.js
//
/////////////////////////////////////////////////////////////////////////////////////////////

担当医師へ

心肺停止状態の場合
蘇生措置は不要
トリアージ不処置群に相当する場合
即時に治療を打ち切っていただきたい
トリアージ最優先治療群に相当するがリソース不足等の問題により治療継続が困難な場合
治療を打ち切り、もし可能なら緩和ケアに移行して欲しい
脳死状態になった場合
機械装置による延命措置は不要
#! /bin/sh
cmd="$1*.txt"
files=`ls $cmd`
for tfile in $files
do
tmp=`echo $tfile | awk '$0 = substr($0, 0, length($0)-3)'`
ofile=$tmp$2
base64 -d $tfile > $ofile
done
@mitsugu
mitsugu / mkmutt
Created November 11, 2020 00:49
mutt 2.0のビルドスクリプト
#! /bin/sh
git pull
./prepare --enable-autocrypt --enable-gpgme --enable-sidebar --enable-compressed --enable-pop --enable-imap --enable-smtp --enable-flock --enable-exact-address --enable-hcache --with-ssl --with-sasl --with-included-gettext --with-bundled-regex --with-exec-shell=/bin/sh --disable-fcntl --with-sqlite3
make
sudo make install
make clean
git gc
@mitsugu
mitsugu / city.js
Created September 8, 2010 04:07
市区町村コード表
// 市区町村コード表
const city={
'10006':'北海道',
'11002':'北海道札幌市',
'12025':'北海道函館市',
'12033':'北海道小樽市',
'12041':'北海道旭川市',
'12050':'北海道室蘭市',
'12068':'北海道釧路市',
'12076':'北海道帯広市',
@mitsugu
mitsugu / prefecture.js
Created September 8, 2010 04:06
都道府県コード表
// 都道府県コード
const pref={
'01':'北海道',
'02':'青森県',
'03':'岩手県',
'04':'宮城県',
'05':'秋田県',
'06':'山形県',
'07':'福島県',
'08':'茨城県',