- Tesseract OCR: 5000 (Web UI)
- Syncthing: 8384 (Web UI)
- Portainer: 9443 (Web UI) (Note that it is https)
- Uptime Kuma: 3001 (Web UI)
- Speed Test: 8989 (Web UI)
- LanCache: 53 (DNS), 80/443 (Monolithic)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* ------------------------------------------ | |
* MD5 function for GAS(GoogleAppsScript) | |
* | |
* You can get a MD5 hash value and even a 4digit short Hash value of a string. | |
* ------------------------------------------ | |
* Usage1: | |
* `=MD5("YourStringToHash")` | |
* or | |
* `=MD5( A1 )` |
This gist explains how to reboot the NanoPi NEO2 NAS before the CPU temperature rises too high and the device crashes.
$ sudo crontab -l
# Check CPU temperature every 30 min (reboot if over 70°C)
*/30 * * * * /root/cron_jobs/onheat_reboot.sh > /root/cron_jobs/onheat_reboot.log 2>&1
キーワード | 概要 | Wiki | 備考 |
---|---|---|---|
[ABRoot][abroot] | OS をイミュータブル OS 化するツール | -- | ルート・パーティションをカレントとアップデート用で 2 つ用意し [A/B テスト][abtest]方式でパーティションを切り替えるツール。カレントのルート・パーティションは書き込み禁止にし、各種変更は、もう片方のアップデート用に行うことで、アップデートの失敗でもフォールバックできるようにする。Go 言語で実装された単体バイナリで動作する。Vanilla OS などのイミュータブル OS で使われる。[OSTree][ostree] と似たコンセプトだが、OSTree は git などのように変更をコミットする方式であるのに対し、ABRoot はパーティションを切り替える。 |
[Albius][albius] | Linux 系 OS インストール時のバックエンド | -- | [Vanilla OS][vanillaos] の、OS インストーラーのバックエンドとして Go 言語で書かれたアプリ。現在は汎用化されており、OS のインストールだけでなく、[SquashFS][squashfs] や [OCI][oci](コンテナイメージ)のインストールなどにも対応している。従来のシェルスクリプトによる実行でなく、JSON 形式でインストール・プロセスを記述できるのが特徴。主に CUI ベースのインストーラーとして使われるが、GNOME 用 GUI フロントエンドには、Python ベースの [Vanilla Installer][vanilla-installer] がある。 |
[Ansible][ansible] | SSH 接続による操作の自動化ツール(ターミナル操作の自動化みたいなもの) | [Wikipedia][ansible_wiki] | VM、LXC、Docker 含む OS のセットアップ、定型処理など SSH 接続経由でできることであれば何でも自動化できる。利点は、接続先には何もインストールしなくてもいいこと。似たような環境構築系に [Terraform][terraform] がある。両者の違いは Ansibl |
- モデル名(MODEL): Nano C100 (ver 1.5)
- SOM: NVIDIA® Jetson Nano module with eMMC @ Nvidia (Radxa NX5 互換のモジュール)
- Model: P3448-0002 (PART: 180-13448-DAAA-B01)
- Data Sheet | PDF @ developer.nvidia.com
- Jetson Nano Download Center @ developer.nvidia.com
- Jetson Nano Developer Kit B01 User Guide (It contains various info)
- NVIDIA® Jetson™ Linux Driver Package (L4T):
- SOM: NVIDIA® Jetson Nano module with eMMC @ Nvidia (Radxa NX5 互換のモジュール)
- Latest version that supports Jetson Nano(P3448-0002) @ 2023/12/30 :
「"golang" test "os.Stdin" "keinos"」でググってもヒットしなかったので、自分のググラビリティとして。
In the dependency injection point of view, it is a good practice to var OsStdin = os.Stdin
and use OsStdin
instead of os.Stdin
. Then monkey patch (temporary replace) the variable during the test.
But if the external package doesn't support that OsStdin
alias feature, and uses os.Stdin
, we need to mock the os.Stdin
some how.
Here's my snippet of the helper function to mock the os.Stdin
.
This is a memorandom of running Ollama on Intel MacBook Pro.
$ neofetch --stdout
keinos@KEINOS-no-MacBookPro.local
-----------------------------
OS: macOS 12.7.1 21G920 x86_64
Host: MacBookPro12,1
- マシンスペック | スペック @ gigabyte.com
- マザーボード・マニュアル | PDF @ download1.gigabyte.com
- 備考
- 最大メモリ: 16 GB (現在 8 GB)
- 互換メモリ | PDF
- 互換 CPU (Rev.1 の場合。要 Rev 確認)
- GPU スペック - AMD Radeon R5 230 OEM
- Family/Generation: Sea Islands
- Series: Radeon 200 series
- Graphics Features
NewerOlder