全文検索:
- 2025.03.14 Building Zed Editor on Windows @en:50_dialy:2025:03
- ll: [[https://www.rust-lang.org/tools/install]] <code> winget install Rustlang.Rustup </code> ===== 2. Install MSVC ===== MSVC (Microsoft Visual C++) Use Build Tools for Visual Studio <code> winget install Microsoft.VisualStudio.2022.BuildTools </code> ==== Add C++ Toolset ==== Add from Visual Stu
- 2025.03.02 Postfix Logging Headers to Log @en:50_dialy:2025:03
- tfix Configuration Change (Incoming Mail) ===== <code|/etc/postfix/header_checks.pcre> /^From: (.*)/ ... RN To Header: $1 /^Cc: (.*)/ WARN Cc Header: $1 </code> <code|/etc/postfix/main.cf> header_checks = pcre:/etc/postfix/header_checks.pcre </code> ===== Heading ===== Headers are logged like th
- Mar 8 2023 SSH Error no hostkey alg @en:50_dialy:2022:03
- ]] is the simplest solution. ===== Error ===== <code> $ ssh 10.10.0.25 no hostkey alg </code> ===== Solution ===== ==== 1. How to create ECDSA keys ==== <code> ssh-keygen -t ecdsa -b 256 </code> The private key and public key are these: <code> $ ls .ssh/id_ec
- 2024.01.18 SSL Error in Rails @en:50_dialy:2024:01
- 18 SSL Error in Rails ====== ===== Error ===== <code> OpenSSL::SSL::SSLError in RecruitsController#upd... failed (unable to get local issuer certificate) </code> This also results in "unable to get local issuer certificate". <code> openssl s_client -showcerts -host valid-isrgroo... n error: unable to get local issuer certificate </code> ==== Solution ==== === Path of root certificat
- 2024.05.02 Amazon Linux 2023 Zabbix @en:50_dialy:2024:05
- couldn't do it... ===== Dependency Error ===== <code> # rpm -Uvh https://repo.zabbix.com/zabbix/6.0/rh... ded by zabbix-agent-6.0.21-release2.el9.aarch64 </code> ===== Ultimately Installed from Source ===== ==== User Creation ==== <code> groupadd --system zabbix useradd --system -g zab... in/nologin -c "Zabbix Monitoring System" zabbix </code> ==== Installation of Required Packages for make
- 2025.01.17 AMD Speculative Return Stack Overflow (SRSO) @en:50_dialy:2025:01
- wing shows "Safe RET," the mitigation is active: <code> $ sudo cat /sys/devices/system/cpu/vulnerabiliti... ack_overflow Vulnerable: Safe RET, no microcode </code> ===== How to Disable ===== ==== Ubuntu ==== Add spec_rstack_overflow=off: <code|/etc/default/grub> GRUB_CMDLINE_LINUX="spec_rstack_overflow=off" </code> <code> sudo update-grub sudo reboot </code> ==
- May 30 2023 chatgpt-clone @en:50_dialy:2023:05
- ne]] ===== setting ===== Modify the following <code|api/.env> HOST=localhost OPENAI_KEY </code> ===== ERROR ===== Older servers don't support AVX and MongoDB doesn't start <code> | WARNING: MongoDB 5.0+ requires a CPU wit... library/mongo/issues/485#issuecomment-891991814 </code> ==== AVX compatibility check ==== <code> # ls
- 2025.02.08 Redirects with # @en:50_dialy:2025:02
- L like this: https://hogehoge.com/hoge2%23page1 <code> RewriteCond %{REQUEST_URI} ^/hoge/page1 RewriteRule ^ /hoge2#page1 [R=302,L] </code> ===== Solution ===== Use an intermediate HTML file and redirect via JavaScript. <code|.htaccess> RewriteCond %{REQUEST_URI} ^/hoge/page1 RewriteRule ^ /hoge2_page1.html [R=302,L] </code> <code|hoge2_page1.html> <script> window.locati
- 2025.05.23 Synchronizing with WinSCP @en:50_dialy:2025:05
- everything stored in the `Desktop\Sync` folder. <code> Desktop\Sync sync.bat upload.txt key.ppk </code> ===== 1. Create an SFTP session in WinSCP =====... bat` must be Shift-JIS to avoid errors.</color> <code|upload.bat> @rem sync set LOCAL="C:\Users\hogehog... E% /console /log=upload.log /privatekey=key.ppk </code> ===== 3. WinSCP Script ===== <color #ed1c24>※
- 21 Set up Wireguard client as Gateway @en:50_dialy:2024:02
- 8.0.0/24 will exit through the local Wireguard. <code> [Interface] Address = 10.10.10.1/24 ListenPort =... BBBB= AllowedIPs = 10.10.10.3/32,192.168.0.0/24 </code> ===== Configuration on the Mobile Wireguard ===... ined for 192.168.0.0/24 goes through Wireguard. <code> [Interface] PrivateKey = CCCCCCCCCCCCCCCCCCCCCCC... owedIPs = 10.0.1.0/24, 192.168.0.0/24 Endpoint = X.X.X.X:51820 </code> {{tag>日記 Wireguard network VPN}}
- 2024.04.12 MySQL BIT Field @en:50_dialy:2024:04
- GNED allows only positive numbers to be stored. <code> mysql> desc test; +---------+---------+------+--... ----+------+---------+ 2 rows in set (0.00 sec) </code> ===== To See the Display ===== <code> mysql> select id,name, cast(enabled as UNSIGNED) as enabled fr... 1 | | 2 | BBB | 0 | +----+------+---------+ 2 rows in set (0.01 sec) </code> {{tag>日記 mysql}}
- 2022.01.24 About SSHD MaxStartups @en:50_dialy:2022:01
- e following error was output to /var/log/secure: <code> Received disconnect from 192.168.XX.XX: 11: pam_... nix(sshd:session): session closed for user root </code> ===== Response ===== Increasing MaxStartups in
- 2025.03.20 Zed Keymap @en:50_dialy:2025:03
- I configured them as follows in my environment: <code|keymap.json> [ { "bindings": { "ctrl-... hift-y": "workspace::CloseAllDocks" } } ] </code> ===== Location of keymap.json ===== The file
- Jun 21 2023 Windows2008 Update Failed with Error 800B01009 @en:50_dialy:2023:06
- update was attempted, it kept failing with error code: 800B0109. Upon checking the update history, it
- Jun 22 2023 Windows2008 Update Failed with Error 80072EFE @en:50_dialy:2023:06
- ing to get the updates from Windows Update, error code 80072EFE occurred this time. It was resolved by a