2025-10-08

12:47 Have lunch I felt that my speaking and listening ability had decreased. 12:49 Janice Janice is a cross-platform open-source software, especially for viewing and simply handling JSON files. It’s perfect to help me solve the big JSON file problem. 18:15 Get out of work Today is a focus day. 20:59 Eat dumplings Recently, I became busier than before. I am already lazy for cooking. Prepare to do some assignments after eating dumplings. ...

2025-10-08 · 2 min · 248 words · Ben

2025-10-03

00:14 no more stroll It’s perfect now. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 # ===== CONFIG ===== $hostname = $env:COMPUTERNAME if ($hostname -eq "DESKTOP-KC9K3N7") { $vault = "D:\blog" } else { $vault = "D:\A\Jeapo's blog" } Set-Location -Path $vault # ===== DATE INFO ===== $yyyy = Get-Date -Format "yyyy" $month = Get-Date -Format "MMMM" $mm = Get-Date -Format "MM" $dd = Get-Date -Format "dd" $curtime = Get-Date -Format "HH:mm" $isodate = (Get-Date).ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ssZ") $folder = Join-Path $vault "\content\diary\$yyyy\$month" $file = Join-Path $folder "$yyyy-$mm-$dd.md" # ===== Ensure folders ===== if (-not (Test-Path $folder)) { New-Item -ItemType Directory -Path $folder | Out-Null } # ===== Create file with template if missing ===== if (-not (Test-Path $file)) { @" --- title: "$yyyy-$mm-$dd" date: "$isodate" categories: - diary series: tags: mood: weather: location: rating: 1 stime: release: 0 draft: true --- "@ | Set-Content $file } # ===== Input Mode ===== # Write-Host "Wow! What did you do just now?" -ForegroundColor Cyan # Write-Host "Type your entry. Press Enter 3 times to finish." -ForegroundColor DarkGray Write-Host "`r`n### $curtime " -ForegroundColor DarkYellow -NoNewline $lines = @() $emptyCount = 0 # 记录连续空行次数 while ($true) { $line = Read-Host if ([string]::IsNullOrWhiteSpace($line)) { $emptyCount++ if ($emptyCount -ge 3) { break } $lines += "" } else { $emptyCount = 0 $lines += $line } } $entry = $lines -join "`r`n" if ($entry.Trim().Length -gt 0) { Add-Content -Path $file -Value "`r`n### $curtime $entry" Write-Host "Saved to $file" } else { Write-Host "No entry written." } 00:21 Good Night Go to bed. ...

2025-10-03 · 1 min · 444 words · Ben

2025-08-01

00:46 终于把手机上的git推送折腾好了 使用了git sync的软件,然后手动将obsidian和主题文件夹复制过来。在obsidian git的插件上设置好了同步的认证和相关参数。昨天的日记就是由手机推送的。 ...

2025-08-01 · 1 min · 381 words · Ben

2025-07-30

15:05 睡醒午觉 睡觉是心灵充电的方式,人与机械的差别就在于此。 刚刚睡醒午觉,太舒服了。早上洗了澡,学习多邻国,慢慢悠悠的捡豆,准备午饭,然后中午打了一把游戏。 ...

2025-07-30 · 1 min · 267 words · Ben

April 11, 2025

09:56 Completed Not-By-AI and NonBot Declaration Citations Started tinkering with code again—sometimes it’s hard to resist the temptation. Especially when I see someone else’s great implementation or when a novel idea suddenly pops into my head. 10:14 Ported the Chat Bubble Shortcode Inspired by Some Hugo Shortcodes | Naive Koala, the effect is as follows: Jeapo   2025-04-11 09:20 Little Huanhuan is hungry 2025-04-11 09:37   Huan The noodles Sister Sha brought, hahaha 2025-04-11 09:37   Huan So fragrant From now on, meaningful conversations can be preserved in this format, like the one I had with Manman before: Is Our Earth Real? ...

2025-04-11 · 2 min · 725 words · Ben

April 10, 2025

00:16 Time Flies So Fast It’s time to sleep again. Need to go to bed early, or else I won’t be able to fall asleep. Submitted all the code I wrote today. 10:34 Swelling and Pain Around My Eyes Not sure if it’s because I slept face down, but this morning I woke up with a painful swelling around my eyes. Nothing seems to help—lying still in bed, applying a cold towel, sitting in meditation, or even DIY remedies—nothing works. ...

2025-04-09 · 2 min · 367 words · Ben

April 9, 2025

10:50 Trying to Tinker with Website SEO There seems to be a lot of demand for this from others. I feel like I could dive deeper into it as a side gig and offer services to people. The principle isn’t complicated—just understand how major search engines and the web gather information, then adjust your website accordingly. 12:38 Fixed the Mermaid Theme Switching Function Functions from different partials ultimately end up on the same page. So, declaring functions or variables repeatedly can cause interference, which needs to be debugged and eliminated. Another solution is to prefix names with the file name. ...

2025-04-09 · 2 min · 425 words · Ben