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
# 再起動前のメモ | |
sudo bash -c "set -x; ps auxf; top -bn1; netstat -anp; mount; docker ps" > reboot2025.txt 2>&1 | |
# sudo shutdown -r now | |
# 再起動後に確認 | |
## 本当に再起動したか? | |
uptime | |
## netstat の比較 | |
diff <(cat reboot2025.txt|grep LISTEN|perl -pe's/\d+\///;s/\s\d+\s/ /g;s/[ \t]+/\t/g'|sort -V|perl -pe's/\d+\///;s/[ \t]+/\t/g') <(sudo netstat -anp|grep LISTEN|perl -pe's/\d+\///;s/\s\d+\s/ /g;s/[ \t]+/\t/g'|sort -V) | |
## mount 状態の比較 |
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
#!/usr/bin/env bash | |
# 1Password CLI の op run を、引数でもインジェクション出来るようにするラッパースクリプト。 | |
# https://gist.github.com/kawaz/a2d0c5bece913a34d2a6d4a02ca6cc3c | |
op_args=() | |
while (( 0 < $# )); do | |
a=$1 | |
shift | |
op_args+=("$a") | |
[[ $a == -- ]] && break |
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
// ==UserScript== | |
// @name GoogleMeet: auto mute / auto join | |
// @namespace http://tampermonkey.net/ | |
// @version 2025-04-08 | |
// @description GoogleMeetにカメラとマイクの自動ミュートや自動参加機能を追加する。 | |
// @author Yoshiaki Kawazu ( https://x.com/kawaz ) | |
// @match https://meet.google.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=google.com | |
// @grant none | |
// ==/UserScript== |
OlderNewer