# 202205 ## [IaSQL](https://iasql.com/) ## [GitHub - tonsky/FiraCode: Free monospaced font with programming ligatures](https://github.com/tonsky/FiraCode) ## [Obsidian](https://obsidian.md/) ## [GitHub - microsoft/cascadia-code: This is a fun, new monospaced font that includes programming ligatures and is designed to enhance the modern look and feel of the Windows Terminal.](https://github.com/microsoft/cascadia-code) ## [MenuetOS](https://menuetos.net/) ## [ティム・アーバン : 先延ばし魔の頭の中はどうなっているか | TED Talk](https://www.ted.com/talks/tim_urban_inside_the_mind_of_a_master_procrastinator?language=ja) ## [全国民に配るべき!総務省が示した「データ入力の統一ルール」|Excel医ブログ](https://excel-design-dr.com/date-entry-rule/) ## [政府統計の総合窓口](https://www.e-stat.go.jp/) - [総務省|報道資料|統計表における機械判読可能なデータの表記方法の統一ルールの策定](https://www.soumu.go.jp/menu_news/s-news/01toukatsu01_02000186.html) ## [RFC 9116: A File Format to Aid in Security Vulnerability Disclosure](https://www.rfc-editor.org/rfc/rfc9116.html) ## [Free Open Source Tailwind CSS Components | HyperUI](https://www.hyperui.dev/) ## [GitHub - alan2207/bulletproof-react: 🛡️ ⚛️ A simple, scalable, and powerful architecture for building production ready React applications.](https://github.com/alan2207/bulletproof-react) ## [電子情報学特論:Chromiumのアーキテクチャを解き明かす - Google スライド](https://docs.google.com/presentation/d/12wd3hLkXVny0b5LnzizmH_3xe8zJ2WY5_9JprfIkp-o/mobilepresent?slide=id.g82989a6582_1_134) ## [GitHub - janestreet/magic-trace: magic-trace collects and displays high-resolution traces of what a process is doing](https://github.com/janestreet/magic-trace) ## [The Illustrated TLS 1.3 Connection: Every Byte Explained](https://tls13.ulfheim.net/) ## [GitHub - bloomberg/memray: Memray is a memory profiler for Python](https://github.com/bloomberg/memray) ## [GitHub - google/lyra: A Very Low-Bitrate Codec for Speech Compression](https://github.com/google/lyra) ## [The Architecture of Open Source Applications](http://aosabook.org/en/index.html) ## [OctoPrint.org](https://octoprint.org/) ## [3D Printer management: Remote Control WIFI, browser cloud slicer, Cura support | AstroPrint®](https://www.astroprint.com/) ## [Linux perf Examples](https://brendangregg.com/perf.html) - [Brendan Gregg's Homepage](https://brendangregg.com/) ## [GitHub - google/eng-practices: Google's Engineering Practices documentation](https://github.com/google/eng-practices) ## [Ultimaker Cura: Powerful, easy-to-use 3D printing software](https://ultimaker.com/software/ultimaker-cura) ## [B+ Tree Visualization](https://www.cs.usfca.edu/~galles/visualization/BPlusTree.html) ## [データベースとストレージのレプリケーション入門 / Intro-of-database-and-storage-replication - Speaker Deck](https://speakerdeck.com/inductor/intro-of-database-and-storage-replication) ## [コンパイラが作ったバイナリをつなぎ合わせるプログラム 「lld」の作者が語る、リンカの仕組み - ログミーTech](https://logmi.jp/tech/articles/325775) ## [Rust を始めるための資料集 - Don't Repeat Yourself](https://blog-dry.com/entry/2021/01/23/141936) ## [Terraform コードにおける Google Cloud サービス アカウントの権限借用 | Google Cloud Blog](https://cloud.google.com/blog/ja/topics/developers-practitioners/using-google-cloud-service-account-impersonation-your-terraform-code) ss ## shell scriptのあたまにこれはかいておけ ``` set -euo pipefail set -o pipefail set -o nounset set -o errexit ``` ## [新卒エンジニア研修の講義資料を公開!技術力も圧倒的に成長するチーム開発研修とは | CyberAgent Developers Blog](https://developers.cyberagent.co.jp/blog/archives/30024/) ## [入社1年目で知っておきたかった会計の基礎:日本経済新聞](https://vdata.nikkei.com/newsgraphics/clear-accounting/clear-accounting/) ## [epollによるNetwork I/O in Goランタイム - Speaker Deck](https://speakerdeck.com/sakiengineer/o-in-gorantaimu) ## [Tamagui — React Native + Web UI kit](https://tamagui.dev/) ## [Springerから機械学習・データサイエンスに関する電子書籍(65冊)が無料|Sangmin Ahn|note](https://note.com/sangmin/n/n70532784cc91) ## [If You're Not Using SSH Certificates You're Doing SSH Wrong | Smallstep Blog](https://smallstep.com/blog/use-ssh-certificates/) ## [バッドノウハウと「奥が深い症候群」](http://0xcc.net/misc/bad-knowhow.html) ## おもしろ近似式 - 1yesr ≈ π * 10^7 sec - c ≈ 2π * log(3) * 10^8 m/s - g(gravity acc.≈9.8m/s^2) ≈ π^2 [m/s^2] - 振り子計算に応用可能(e.g. T(周期) ≈ 2 * sqrt(l)) - メートル法を制定する際にT = 2secの単振り子の腕の長さを1secと定義しようとしていたことから T = 2π * sqrt(l/g))でいs前とπ≈sqrt(g) - ref: [宇宙物理たんbot🌏☄️学術系VTuber on Twitter: "もともとメートル法の制定の際に周期2秒(片道1秒)の単振り子の腕の長さを1メートルと定義しようとしていたことから、T = 2π√{l/g}より自然にπ ≒ √gが「導出される」のは面白いところですわ。" / Twitter](https://twitter.com/astrophys_tan/status/1503730356020998146) - 1year ≈ 8000hour ## spectralでOpenAPIをlintする - StoplightがSpectralというlint toolを出している - [Spectral - Open Source API Description Linter | Stoplight | Stoplight](https://stoplight.io/open-source/spectral) - [Spectral CLI | Spectral](https://meta.stoplight.io/docs/spectral/ZG9jOjI1MTg1-spectral-cli) - npxでサクッと実行できる - `npx @stoplight/spectral-cli lint apispec.yml` - refのresolveは手動でやる必要がある - [Spectral CLI | Spectral](https://meta.stoplight.io/docs/spectral/ZG9jOjI1MTg1-spectral-cli) - github actionsも提供されている - [GitHub - stoplightio/spectral-action: GitHub Action wrapper for Spectral - a JSON/YAML/OpenAPI/AsyncAPI/etc linter with custom rule support.](https://github.com/stoplightio/spectral-action) - ``` name: Run Spectral on Pull Requests on: - pull_request jobs: build: name: Run Spectral runs-on: ubuntu-latest steps: # Check out the repository - uses: actions/checkout@v2 # Run Spectral - uses: stoplightio/spectral-action@v0.8.1 with: file_glob: 'apispec/*.yml' ``` 的な感じでworkflowを書くだけでいける. `.spectral.json` は多分別途用意する必要がある. - ruleは基本これ - [OpenAPI Rules | Spectral](https://meta.stoplight.io/docs/spectral/ZG9jOjExNw-open-api-rules) - cunstom ruleも記述できる - [Custom Rulesets | Spectral](https://meta.stoplight.io/docs/spectral/e5b9616d6d50c-custom-rulesets) - vscode pluginもある - [Spectral - Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=stoplight.spectral) ## [BGPlay.js](https://bgplayjs.com/) ## [中日新聞:自動車工場のガロア体 QRコードはどう動くか](https://static.chunichi.co.jp/chunichi/pages/feature/QR/galois_field_in_auto_factory.html) ## [Streamlabs: Free Live Streaming & Recording Software](https://streamlabs.com/?utm_id=go_cmp-15064436340_adg-134512981328_ad-587726896263_kwd-362465487316_dev-c_ext-_prd-_mca-_sig-CjwKCAjw9-KTBhBcEiwAr19igznezVgCaZcv6aX1P21q7_1ZhmR1Kc9vdG-YEfpw3OdY7Uhl9Ag09RoCudEQAvD_BwE&utm_source=google&gclid=CjwKCAjw9-KTBhBcEiwAr19igznezVgCaZcv6aX1P21q7_1ZhmR1Kc9vdG-YEfpw3OdY7Uhl9Ag09RoCudEQAvD_BwE) ## [Rclone](https://rclone.org/) ## [衛星通信の仕組み 〜衛星打ち上げから回線運用まで〜 - any to any communications](http://a2a.jp/resources/Satcom_v1.pdf) ## DB backup - 基本dump commandを使うのが楽そう. - scpとかで別hostに退避しておくとか. ``` #!/bin/sh sudo -u postgres pg_dumpall > ${DB_DUMP_FILE_PATH} scp -i ~/.ssh/id_rsa ${DB_DUMP_FILE_PATH} ${BACKUP_USER}@${BACKUP_SERVER}:${BACKUP_ROOT}/backup/ rm -rf ${DB_DUMP_FILE_PATH} ``` - [MySQLのDBバックアップの自動化をやってみたのでメモ - Qiita](https://qiita.com/kirksencho/items/d2a6e97148fed97d4117) - rsyncと組み合わせるとか ## nfs mount ``` jp7fkf@docker01:~$ sudo mount x.x.x.x:/ /mnt/nas mount: /mnt/nas: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount. helper program. jp7fkf@docker01:~$ sudo mount -t nfs x.x.x.x:/ /mnt/nas mount: /mnt/nas: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount. helper program. jp7fkf@docker01:~$ sudo apt install nfs-common Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: keyutils libnfsidmap2 libtirpc1 rpcbind Suggested packages: watchdog The following NEW packages will be installed: keyutils libnfsidmap2 libtirpc1 nfs-common rpcbind 0 upgraded, 5 newly installed, 0 to remove and 54 not upgraded. Need to get 399 kB of archives. After this operation, 1,364 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 keyutils amd64 1.5.9-9.2ubuntu2.1 [48.1 kB] Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libnfsidmap2 amd64 0.25-5.1 [27.2 kB] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libtirpc1 amd64 0.2.5-1.2ubuntu0.1 [75.7 kB] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 rpcbind amd64 0.2.3-0.6ubuntu0.18.04.4 [42.1 kB] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 nfs-common amd64 1:1.3.4-2.1ubuntu5.5 [206 kB] Fetched 399 kB in 2s (176 kB/s) Selecting previously unselected package keyutils. (Reading database ... 140202 files and directories currently installed.) Preparing to unpack .../keyutils_1.5.9-9.2ubuntu2.1_amd64.deb ... Unpacking keyutils (1.5.9-9.2ubuntu2.1) ... Selecting previously unselected package libnfsidmap2:amd64. Preparing to unpack .../libnfsidmap2_0.25-5.1_amd64.deb ... Unpacking libnfsidmap2:amd64 (0.25-5.1) ... Selecting previously unselected package libtirpc1:amd64. Preparing to unpack .../libtirpc1_0.2.5-1.2ubuntu0.1_amd64.deb ... Unpacking libtirpc1:amd64 (0.2.5-1.2ubuntu0.1) ... Selecting previously unselected package rpcbind. Preparing to unpack .../rpcbind_0.2.3-0.6ubuntu0.18.04.4_amd64.deb ... Unpacking rpcbind (0.2.3-0.6ubuntu0.18.04.4) ... Selecting previously unselected package nfs-common. Preparing to unpack .../nfs-common_1%3a1.3.4-2.1ubuntu5.5_amd64.deb ... Unpacking nfs-common (1:1.3.4-2.1ubuntu5.5) ... Setting up libnfsidmap2:amd64 (0.25-5.1) ... Setting up keyutils (1.5.9-9.2ubuntu2.1) ... Setting up libtirpc1:amd64 (0.2.5-1.2ubuntu0.1) ... Setting up rpcbind (0.2.3-0.6ubuntu0.18.04.4) ... Created symlink /etc/systemd/system/multi-user.target.wants/rpcbind.service → /lib/systemd/system/rpcbind.service. Created symlink /etc/systemd/system/sockets.target.wants/rpcbind.socket → /lib/systemd/system/rpcbind.socket. Setting up nfs-common (1:1.3.4-2.1ubuntu5.5) ... Creating config file /etc/idmapd.conf with new version Adding system user `statd' (UID 111) ... Adding new user `statd' (UID 111) with group `nogroup' ... Not creating home directory `/var/lib/nfs'. Created symlink /etc/systemd/system/multi-user.target.wants/nfs-client.target → /lib/systemd/system/nfs-client.target. Created symlink /etc/systemd/system/remote-fs.target.wants/nfs-client.target → /lib/systemd/system/nfs-client.target. nfs-utils.service is a disabled or a static unit, not starting it. Processing triggers for systemd (237-3ubuntu10.50) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Processing triggers for ureadahead (0.100.0-21) ... Processing triggers for libc-bin (2.27-3ubuntu1.5) ... jp7fkf@docker01:~$ which mount.nfs /sbin/mount.nfs jp7fkf@docker01:~$ sudo mount x.x.x.x:/ /mnt/nas mount.nfs: access denied by server while mounting x.x.x.x:/ jp7fkf@docker01:~$ sudo mount -t nfs x.x.x.x:/hogehoge /mnt/nas/ jp7fkf@docker01:~$ sudo umount /mnt/nas/ ``` ## [Download | Scrum Guides](https://scrumguides.org/download.html) ## [ZEN Food Collection | エグゼクティブハウス 禅 | ホテルニューオータニ(東京)](https://www.newotani.co.jp/tokyo/stay/exe/about/zen-food/) ## [None](https://twitter.com/Clumsy_k/status/1523657494366613505) ## ghostscriptでpdf sizeをreduceする - `gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf` ## [コミットはスナップショットであり差分ではない - GitHubブログ](https://github.blog/jp/2021-01-06-commits-are-snapshots-not-diffs/) ## [GitHub - kahun/awesome-sysadmin: A curated list of amazingly awesome open source sysadmin resources inspired by Awesome PHP.](https://github.com/kahun/awesome-sysadmin) ## [GridDB Developers](https://griddb.net/ja/) ## Scrum master memo - フィードバックが大事なのでちゃんとフィードバックしよう.  - 気に入った/気に入らないでも質問でもフィードバック - タイムボックスを守る - 時間内におわらせる - 早いならok - バックログの項目は"一列"に並べる(キモ) - バックログの項目は具体的にする - デイリーはお昼前がおすすめ.朝一はやめたほうがいい. - レトロスペクティブの方法はいっぱいあるので手持ちにしておくとよい. - どういうフィードバックを得たい? - ステークホルダは具体的な人(xxさん) - インパクトのあるところからつくる