2025-10-07
今天干了啥了?这是来自后一天的回想。 对了,早上等 Fido 来打电话。他们一直在尝试从我的银行卡里面扣钱,好在最后他们说给我把扣款方式删除了,应该不会再尝试扣我的钱了。Bell 里的那个中国人也是有点过于自信,也谈不上特别好,还是不要带有情怀滤镜为好。 ...
今天干了啥了?这是来自后一天的回想。 对了,早上等 Fido 来打电话。他们一直在尝试从我的银行卡里面扣钱,好在最后他们说给我把扣款方式删除了,应该不会再尝试扣我的钱了。Bell 里的那个中国人也是有点过于自信,也谈不上特别好,还是不要带有情怀滤镜为好。 ...
这篇是后记录的。 鉴于每周都要开组会,每周都要汇报干了啥,且每次都找不到话说。还是在自己的博客上增加周记,提前做做准备也锻炼下自己。 This entry was written afterward. Since I have group meetings every week and need to report what we have done each time, and I often find myself with nothing to say. So, I decided to start keeping weekly journal on my blog. ...
15:21 Bought two long-sleeve shirts Why is the quality of these clothes so bad? I don’t know 15:41 Feel sleepy I don’t know why I’m so sleepy. 20:06 Smelly lamb meat I bought a lamb leg on Saturday and I boiled it yesterday. The lamb of Canada is so smelly. I became a fat lamb after eating. 20:08 Weekly journal I added the weekly journal function on my blog so that I can prepare the notes for the group meeting on Monday. I hope I can keep it as a good habit. ...
Today was a recovery day. I stayed in bed all day. In the afternoon, I boiled a lamb leg and washed my dirty clothes. Releasing too much energy is bad for health.
10:36 Received ¥150 from Xue Huan told Xue that today is my birthday, and I jokingly asked Xue to give me some money. In the end, Xue actually transferred ¥150 to me. I felt very happy—and Huan was even happier than I was. I boiled some dumplings for breakfast. Not bad! Afternoon On the afternoon, I walked at river valley with Amir. The autumn is very beautiful, but it’s so cold today. ...
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. ...
22:48 finished the addnote script Now, I can conveniently add note to diary without startupping Obsidian. 23:39 give up to set writing at startup It is very convenient to use alias start recording. 23:42 Optimize line break now can automatic add a line break at each record.