日志:2023 年 11 月 15 日
This commit is contained in:
parent
61ee930495
commit
e533c28f9d
45
Journal/2023/W46/2023-11-15.md
Normal file
45
Journal/2023/W46/2023-11-15.md
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
## 📅 Info
|
||||||
|
|
||||||
|
| Date | Weather | Moon |
|
||||||
|
| -------------- | ------------ | ---- |
|
||||||
|
| 周三 17:33 | 郑州 +12°C 🌫 | 🌒 |
|
||||||
|
|
||||||
|
## 📖 Daily
|
||||||
|
|
||||||
|
昨夜闲潭梦落花,可怜春半不还家。——张若虚(唐代)
|
||||||
|
|
||||||
|
## 😊 Emotions
|
||||||
|
|
||||||
|
- [ ] 😊 Happy
|
||||||
|
- [ ] 😢 Sad
|
||||||
|
- [ ] 😡 Angry
|
||||||
|
- [x] 😔 Disappointed
|
||||||
|
- [ ] 😂 Laughing
|
||||||
|
- [ ] 😭 Crying
|
||||||
|
- [ ] 😱 Scared
|
||||||
|
|
||||||
|
## 🍎 Habits
|
||||||
|
|
||||||
|
- [ ] 🌅 Early to bed, early to rise
|
||||||
|
- [ ] 🥕 Healthy eating
|
||||||
|
- [x] ☕️ Drink more hot water
|
||||||
|
- [ ] 💪 Keep exercising
|
||||||
|
- [ ] 🧘♂️ Meditation
|
||||||
|
|
||||||
|
## 📋 To-do List
|
||||||
|
|
||||||
|
- [ ] 📰 Read news
|
||||||
|
- [x] 📖 Read a book today
|
||||||
|
- [x] 📝 Make a plan for today
|
||||||
|
- [ ] 🖋️ Calligraphy practice
|
||||||
|
- [ ] 🎯 deliberate practice
|
||||||
|
|
||||||
|
## 📝 Notes
|
||||||
|
|
||||||
|
这几天天气很差,步入冬天也变得更懒了。
|
||||||
|
|
||||||
|
方向不变,目前主要任务:明年毕业及学习英语,技术方面主要设计企业信息化建设以及成果整理。
|
||||||
|
|
||||||
|
对了,还有写作!
|
||||||
|
|
||||||
|
小周继续冲冲冲!
|
@ -10,7 +10,7 @@ function getWeather(city = 'Shanghai', params = 'format=3') {
|
|||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
const timeout = setTimeout(() => {
|
const timeout = setTimeout(() => {
|
||||||
reject(new Error('Request timed out'));
|
reject(new Error('Request timed out'));
|
||||||
}, 5000); // 设置5秒的请求超时
|
}, 15000); // 设置15秒的请求超时
|
||||||
|
|
||||||
https.get(`https://wttr.in/${encodeURIComponent(city)}?${params}`, (resp) => {
|
https.get(`https://wttr.in/${encodeURIComponent(city)}?${params}`, (resp) => {
|
||||||
let data = '';
|
let data = '';
|
||||||
|
Loading…
Reference in New Issue
Block a user