アンインストール ? その 2
つまり、発想としてはインストール時に行った作業の逆をやれば良いだろうということです。
そういうことで、まずは、コマンド rm を使って $HOME/.cpan/ と $HOME/perl5/ を削除しました。$ rm -rf .cpan/ perl5/それから $HOME にあるシェルの設定ファイル .cshrc に追加した設定をコメントアウトします。
# eval `perl -I$HOME/perl5/lib/perl5/ -Mlocal::lib`これで、インストールしたモジュールや、cpan シェルの設定を一掃してやったことになるはずです。
Perl 「 モジュール 」CPAN の ? アンインストール/再インストール (0x97)|Perl Perl_1|blog20100901 2014
cronolog -S オプション
postgres tag 配列
The query to find the cats are "red", "brown" and "aloof" is also wonderfully simple.
SELECT Count(*) FROM cats_array_text WHERE cat_tags @> ARRAY['red', 'brown', 'aloof'];Tags and Postgres Arrays, a Purrrfect Combination | Crunchy Data Blog 2023
@> 包含する ARRAY[1,4,3] @> ARRAY[3,1] t
https://www.postgresql.jp/docs/9.2/functions-array.html
MySQL 8.0 information_schema 更新
TL;DR
information_schema.tables ( SHOW TABLE STATUS はここから値を持って生きている)の値は information_schema_stats_expiry 秒間更新されない
なので SET SESSION information_schema_stats_expiry = 0 とかするとほぼ今まで通りの挙動になる
See also, MySQL Bugs: #91038: AUTO_INCREMENT does not increase automatically
...
オプションにも書いてある通り、単位は秒でデフォルトは86400秒(= 24時間)
つまりどれだけテーブルを更新しようと、 information_schema.tables や SHOW TABLE STATUS の値は「最後に mysql.table_stats が更新されてから24時間」は全く変更されない(ように見える)
例えば OPTIMIZE TABLE してすぐ結果確認したい時は information_schema_stats_expiry 設定が必要
SET SESSION information_schema_stats_expiry=1; SELECT table_schema, table_name, data_free, table_rows FROM information_schema.tables WHERE table_name = 'wp_actionscheduler_actions'; OPTIMIZE TABLE wp_actionscheduler_actions; SELECT table_schema, table_name, data_free, table_rows FROM information_schema.tables WHERE table_name = 'wp_actionscheduler_actions';
varnish utm paramter string
The cause of this issue was Varnish's recommended VCL configuration for Magento that includes the following inside the sub vcl_recv {}.
# Remove all marketing get parameters to minimize the cache objects if (req.url ~ "(\?|&)(gclid|cx|ie|cof|siteurl|zanpid|origin|fbclid|mc_[a-z]+|utm_[a-z]+|_bta_[a-z]+)=") { set req.url = regsuball(req.url, "(gclid|cx|ie|cof|siteurl|zanpid|origin|fbclid|mc_[a-z]+|utm_[a-z]+|_bta_[a-z]+)=[-_A-z0-9+()%.]+&?", ""); set req.url = regsub(req.url, "[?|&]+$", ""); }That was literally subtracting all marketing-related GET parameters from the URL, including those starting with utm_.
Missing query string parameters when using Varnish on Magento 2021
Mac移行 Intel → M3
今日、オーダーしていた2021 16インチ MacBook Pro が届いたので、M1 MacBook ProとThunderbolt 3ケーブルで繋いでデータ移行を行いました
ターゲットディスクモードがなくなったApple Silicon M1 Macから移行アシスタントで移行する方法 | 酔いどれオヤジのブログwp
移行元 移行アシスタント起動 USB-C Thunderbolt 3 で接続 → 移行
Apple ID ログイン(移行元にコード)
FileVault → 復旧キー記録
1password → rosetta
Thunderbird 削除 → 再インストール
Google日本語入力 削除 → 再インストール
Chrome 再設定
OS更新 14.3 → 14.4.1
FileVault復旧キー更新される →復旧キー記録
TODO
Dropbox 再ログイン
参考
対処法としては、新しく同じ設定でVPNを追加したり、既存のVPNで表示名だけ少し変えて保存すると、メニューバーにVPNの設定が出るようになりました。
MacでVPNの設定があるはずなのにメニューバーで「VPNが構成されていません」と出る時の対処法 | IT資格マニアのエンジニア技術ブログ×英語 2023