Skip to content

Instantly share code, notes, and snippets.

@mitsugu
mitsugu / prefecture.js
Created September 8, 2010 04:06
都道府県コード表
// 都道府県コード
const pref={
'01':'北海道',
'02':'青森県',
'03':'岩手県',
'04':'宮城県',
'05':'秋田県',
'06':'山形県',
'07':'福島県',
'08':'茨城県',
@mitsugu
mitsugu / city.js
Created September 8, 2010 04:07
市区町村コード表
// 市区町村コード表
const city={
'10006':'北海道',
'11002':'北海道札幌市',
'12025':'北海道函館市',
'12033':'北海道小樽市',
'12041':'北海道旭川市',
'12050':'北海道室蘭市',
'12068':'北海道釧路市',
'12076':'北海道帯広市',
@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
#! /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

担当医師へ

心肺停止状態の場合
蘇生措置は不要
トリアージ不処置群に相当する場合
即時に治療を打ち切っていただきたい
トリアージ最優先治療群に相当するがリソース不足等の問題により治療継続が困難な場合
治療を打ち切り、もし可能なら緩和ケアに移行して欲しい
脳死状態になった場合
機械装置による延命措置は不要
//
// What's this? : 大阪府 COVID-19 感染状況公式データ を取得・集計し、csv 形式で標準出力へ出力する。
// License : MIT License
// Environment : deno
// Language : JavaScript
//
// Usage : deno run --allow-net getosaka.js
//
/////////////////////////////////////////////////////////////////////////////////////////////
  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

災害用備蓄品

 原則的に食料や消耗品は日常的にローリングストックすることが望ましい。

 以下をローリングストックするのが望ましい

  • すぐ食べられるもの (ex 乾パン、栄養補助食品、缶詰等
  • カップ麺・カップ飯等
  • フリーズドドライ
  • レトルト食品

画の種類

  • Landscape photography
  • Street photography
  • Bust-up Portrait
  • realistic photography
  • digital illustration
  • Detailing oil painting
  • Action painting
  • anime key visual
  • profile view
<?xml version="1.0" encoding="utf-8"?>
<opml version="1.0">
<head>
<title>Liferea Feed List Export</title>
</head>
<body>
<outline title="Art" text="Art" description="Art" type="folder">
<outline title="Photo" text="Photo" description="Photo" type="folder">
<outline title="デジカメ Watch" text="デジカメ Watch" description="デジカメ Watch" type="rss" xmlUrl="https://dc.watch.impress.co.jp/data/rss/1.0/dcw/feed.rdf" htmlUrl="https://dc.watch.impress.co.jp"/>
<outline title="Pentax Rumors" text="Pentax Rumors" description="Pentax Rumors" type="rss" xmlUrl="https://pentaxrumors.com/feed/" htmlUrl="https://pentaxrumors.com/"/>