2022年の振り返り
今年消化したやりたいことリストの項目
- HSK2級受けたい
- 無線LAN完全自壊マニュアルvol.3だしたい
- C100以降にサークル参加したい
- HSK1級受けたい
#!/usr/bin/env python3 | |
import openai | |
import pit | |
import sys | |
openai.api_key = pit.Pit.get("openai")['api_key'] | |
roles = ["assistant", "user"] |
#!/usr/bin/env ruby | |
require "optparse" | |
OPTS={ | |
:bpm => 60.0, | |
:output => "output.gif", | |
} | |
opt = OptionParser.new | |
opt.on("-b BPM", "--bpm=BPM") {|v| |
U6-Lite-BZ.6.0.14# dmesg | |
[ 0.081647] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) | |
[ 4.268203] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. | |
[ 4.268213] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes | |
[ 4.268224] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. | |
[ 4.268372] CPU1 revision is: 0001992f (MIPS 1004Kc) | |
[ 0.177597] Synchronize counters for CPU 1: done. | |
[ 4.034649] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. | |
[ 4.034656] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes | |
[ 4.034663] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. |
#!/bin/sh | |
set -ex | |
echo "in chromium directory" | |
mkdir chromium && cd chromium | |
echo "fetch chromium" | |
fetch --nohooks chromium | |
echo "in src directory" | |
cd src | |
echo "build deps" | |
./build/install-build-deps.sh |
ssid glenda9-hs20-ah | |
ssid glenda9-hs20-ah security-object glenda9-hs20 | |
security-object glenda9-hs20 | |
security-object glenda9-hs20 security aaa radius-server primary 172.20.0.254 | |
security-object glenda9-hs20 security protocol-suite wpa2-aes-8021x | |
interface wifi1 ssid glenda9-hs20-ah | |
interface wifi0 ssid glenda9-hs20-ah |
の項目たち
# run gpsd | |
/usr/local/sbin/gpsd -N -F /usr/local/var/gpsd.sock /dev/$1 & | |
# run cgps | |
cgps |
#!/bin/sh | |
ntpdate -d -vv -q $1 |