全文検索:
- 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
- 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... pec_rstack_overflow Vulnerable: Safe RET, no microcode </code> ===== How to Disable ===== ==== Ubuntu ==== Add spec_rstack_overflow=off: <code|/etc/default/grub> GRUB_CMDLINE_LINUX="spec_rstac
- 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>※
- 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