aoirint's note

メモ帳

2020-03-19から1日間の記事一覧

Remote editing with Atom (rmate, sshfs)

rmate AtomでSSH越しのファイルを編集する - Qiita Install rmate in remote. Install remote-atom as Atom package in local. Configure "remote forwarding" of rmate port in local (local:port -> remote:port). Open Atom in local. Execute rmate file…

PortAudio, pyaudio

PortAudio: PortAudio API Overview Host API ALSA (Ubuntu) Core Audio (Mac) Device Speaker Mic Stream sample rate (num of samples per second) sample format (num of bytes of a sample, integer or float) PyAudio Documentation — PyAudio 0.2.11 d…

systemd service

テンプレート(一般ユーザ権限、bashrc使用) [Unit] Description=My Service [Service] Type=simple User=user Group=user Restart=always WorkingDirectory=WORKING_DIR ExecStart=/bin/bash -c "COMMAND" [Install] WantedBy=multi-user.target sudo ln -…