- 192.168.1.101 ホストのIPアドレス
- 192.168.1.100 ホストのIP-AliasのGitLab専用のIPアドレス
- gitlab.example 自宅のDNSで解決できるようにしておく
- ホストのsshdのIPアドレスを明示する
auto ensXXX
iface ensXXX inet static
| #!/bin/bash | |
| set -eu | |
| # フォントの関係でmacOS専用 | |
| if [ -z "${1:-}" ]; then | |
| echo "USAGE:" | |
| echo " $0 [AUDIO FILE]" | |
| echo "" | |
| exit 1 |
| Tr | Title | Artist |
|---|---|---|
| 1 | 真夜中のドア-Stay With Me | 松原みき |
| 2 | HOLD ME TIGHT | ラジ |
| 3 | シンプル・ラブ | 大橋純子 |
| 4 | 街のドルフィン | 濱田金吾 |
| Windows Registry Editor Version 5.00 | |
| [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent] | |
| "AssumeUDPEncapsulationContextOnSendRule"=dword:00000002 | |
| # -------------------------------------- | |
| # Arduino-CLI + ESP32 + FFAT | |
| # -------------------------------------- | |
| # http://marc.merlins.org/perso/arduino/post_2019-03-30_Using-FatFS-FFat-on-ESP32-Flash-With-Arduino.html | |
| # https://github.com/marcmerlin/esp32_fatfsimage/blob/master/README.md | |
| # https://github.com/labplus-cn/mkfatfs | |
| # https://github.com/lorol/arduino-esp32fs-plugin | |
| # https://github.com/marcmerlin/arduino-esp32/tree/master/libraries/FFat/examples/FFat_Test | |
| # -------------------------------------- |
環境構築からビルド、Lチカまで。
$ brew install cmake
| #!/bin/bash | |
| set -eu | |
| # 使い方 | |
| # ./prowl-notify.sh "こんにちは" | |
| # https://www.prowlapp.com/ | |
| PROWL_APIKEY=ここにAPIキーを書く | |
| curl -X POST -d 'apikey='"$PROWL_APIKEY"'&application=something&priority=-1&event='"$1"'' \ |
| #!/usr/bin/env perl | |
| # ------------------------------------- | |
| # 要 IO:All (cpanm install IO::All) | |
| # 必ずバックアップを行ってから実行すること | |
| # ------------------------------------- | |
| use strict; | |
| use warnings; | |
| use feature 'say'; | |
| use File::Find; |
| #!/usr/bin/env perl | |
| # ------------------------------------------ | |
| # docker-compose up -d でMySQL(5.7.37) db の初期化を待つ | |
| # Goで作り直しました https://github.com/mamemomonga/mysql-docker-wait-initalize | |
| # ------------------------------------------ | |
| use strict; | |
| use warnings; | |
| use feature 'say'; | |
| use Symbol 'gensym'; | |
| use IPC::Open3; |