├── .gitignore ├── config.toml ├── content ├── _index.md ├── about.md ├── album.md ├── archives │ └── _index.md ├── bb.md ├── bbs.md ├── books.md ├── caipu.md ├── friends.md ├── gallery.md ├── goods.md ├── me-goods.md ├── movies.md ├── posts │ ├── _index.md │ ├── chat │ │ ├── 2019-06-30.md │ │ ├── 2019-11-23.md │ │ ├── 2020-03-23.md │ │ ├── 2020-10-18.md │ │ ├── 2021-03-29.md │ │ ├── 2021-05-23.md │ │ ├── 2022-02-05.md │ │ ├── 2022-04-09.md │ │ └── _index.md │ ├── coding │ │ ├── _index.md │ │ ├── about-html-blog.md │ │ ├── about-images-gird.md │ │ ├── adguard-home-what.md │ │ ├── ai-share-card.md │ │ ├── alfred-workflow.md │ │ ├── auto-outlinks-add-iconfont.md │ │ ├── bb-by-alfred.md │ │ ├── bb-by-memos.md │ │ ├── bb-by-taio-app.md │ │ ├── bb-by-wechat-pro.md │ │ ├── bb-by-wechat.md │ │ ├── bb-pro.md │ │ ├── bb-talks-json.md │ │ ├── bbs-by-memos.md │ │ ├── bitcron-template-code.md │ │ ├── bitcron-theme-motify.md │ │ ├── bt-docker-bitwarden.md │ │ ├── bugs-wx-minapp.md │ │ ├── build-html-by-cursor.md │ │ ├── calibre-web.md │ │ ├── chrome-extensions-memos-bber.md │ │ ├── chrome-extensions-tinysnap.md │ │ ├── cloudflare-fixed-hugo-feed.md │ │ ├── cloudflare-pageviews-worker.md │ │ ├── cloudflare-workers-ai.md │ │ ├── dan-xiang-li-page.md │ │ ├── demo-shuiba-co.md │ │ ├── diy-ios-widget.md │ │ ├── doumark-action.md │ │ ├── forever-blog-feeds-js.md │ │ ├── gemini-pro-ai.md │ │ ├── get-ai-memos.md │ │ ├── github-dev.md │ │ ├── github-push-token.md │ │ ├── gridea-template-code.md │ │ ├── gridea-templates-friends.md │ │ ├── gridea-theme-motify.md │ │ ├── gridea-theme-puti.md │ │ ├── gridea-theme-webstack.md │ │ ├── hello-hugo.md │ │ ├── hello-twikoo-comment.md │ │ ├── hi-check.md │ │ ├── hi-cloudflare.md │ │ ├── hi-coze-cn.md │ │ ├── hi-docsify.md │ │ ├── hi-follow.md │ │ ├── hi-friends-circle.md │ │ ├── hi-ghost-blog.md │ │ ├── hi-javascript.md │ │ ├── hi-memos.md │ │ ├── hi-migpt.md │ │ ├── hi-miniflux.md │ │ ├── hi-n8n.md │ │ ├── hi-neodb-api.md │ │ ├── hi-obsidian-digital-garden.md │ │ ├── hi-obsidian.md │ │ ├── hi-raycast.md │ │ ├── hi-rime.md │ │ ├── hi-synology-ds220.md │ │ ├── hi-umami-api.md │ │ ├── hi-waterfall-js.md │ │ ├── huawei-hg8240-setting.md │ │ ├── hugo-add-breadcrumb.md │ │ ├── hugo-diy-post-type.md │ │ ├── hugo-github-actions.md │ │ ├── hugo-github-cloudflare.md │ │ ├── hugo-github-editpath.md │ │ ├── hugo-goods-page.md │ │ ├── hugo-readDir-photos.md │ │ ├── hugo-render-hook.md │ │ ├── hugo-shortcodes-article-link.md │ │ ├── hugo-shortcodes-douban.md │ │ ├── hugo-shortcodes-gallery.md │ │ ├── hugo-shortcodes-music.md │ │ ├── hugo-shortcodes-recently-by-douban.md │ │ ├── hugo-shortcodes-recently-by-memos.md │ │ ├── hugo-template-code.md │ │ ├── hugo-theme-webstack.md │ │ ├── hugo-themes.md │ │ ├── hugo-total-count.md │ │ ├── hugo-with-obsidian.md │ │ ├── install-frp-record.md │ │ ├── ios14-transparent-widget-by-shortcuts.md │ │ ├── jinrishici-with-valine.md │ │ ├── jsdelivr-gridea.md │ │ ├── lucky-everday.md │ │ ├── lxgw-wenkai-webfont.md │ │ ├── memobbs-app.md │ │ ├── memos-api-description.md │ │ ├── memos-bbs-telegram.md │ │ ├── memos-by-telegram-bot.md │ │ ├── memos-diy-style.md │ │ ├── memos-with-twikoo.md │ │ ├── menubarx-mac-app.md │ │ ├── my-docker-list.md │ │ ├── my-synology-docker-runing.md │ │ ├── new-home-page-2023.md │ │ ├── new-mac-101.md │ │ ├── new-tab-external-link.md │ │ ├── obsidian-clipper.md │ │ ├── obsidian-start-me-page.md │ │ ├── off-remotely-save.md │ │ ├── ollama-obsidian.md │ │ ├── pk24go-cn.md │ │ ├── post-show-douban-item-localStorage-cache.md │ │ ├── post-show-douban-item.md │ │ ├── qq-handwrite-typewriting.md │ │ ├── randompost-by-sitemap.md │ │ ├── rgbaster-js.md │ │ ├── rsshub-docker.md │ │ ├── scriptable-widget.md │ │ ├── slimbox2-js-adaptive.md │ │ ├── startpage-flare.md │ │ ├── synology-cloudflared-free.md │ │ ├── talk-with-twikoo.md │ │ ├── telecomadmin-znhg600.md │ │ ├── telegram-flowerss-bot.md │ │ ├── telegram-linmumu.md │ │ ├── twikoo-by-docker.md │ │ ├── tx-cloudbase-framework.md │ │ ├── typora-paepub.md │ │ ├── use-visual-studio-code.md │ │ ├── valine-diy.md │ │ ├── vs-code-server.md │ │ ├── vx-link-domain-certificate.md │ │ ├── webhook-github.md │ │ ├── wechat-public-platform-development.md │ │ ├── weread-lxgw-by-pake.md │ │ ├── what-book-i-write.md │ │ └── xuebihua-cn.md │ ├── daily │ │ ├── 2019-2021-ncov.md │ │ ├── _index.md │ │ ├── bear-and-finding.md │ │ ├── blog-finder-where.md │ │ ├── brawl-stars-tx.md │ │ ├── buy-buy-buy-2021.md │ │ ├── buy-buy-buy-2022.md │ │ ├── buy-iphone16.md │ │ ├── buy-s3-2022.md │ │ ├── bye-to-wxl.md │ │ ├── come-back.md │ │ ├── correct-three-folly.md │ │ ├── dont-be-trust.md │ │ ├── dont-forget-smile.md │ │ ├── ghiblio-enjoy.md │ │ ├── goodbay-2015.md │ │ ├── goodbye-2013.md │ │ ├── goodbye-2023.md │ │ ├── happy-birthday-2020.md │ │ ├── happy-niu-year-2021.md │ │ ├── hi-2020.md │ │ ├── hi-2021.md │ │ ├── hi-apple-tv-2022.md │ │ ├── hi-chat-one-more.md │ │ ├── hi-tesla-2025.md │ │ ├── hkzm-2025.md │ │ ├── i4-virtual-location.md │ │ ├── iptv-fixed.md │ │ ├── macbook-some-things.md │ │ ├── miss-my-grandpa.md │ │ ├── nanning-spring-festival-2024.md │ │ ├── nintendo-switch-tx.md │ │ ├── qingdao-summer-2023.md │ │ ├── right-so-so-2021.md │ │ ├── ryujinx-switch.md │ │ ├── sanya-just-so-so.md │ │ ├── self-know-cheerful-confidence.md │ │ ├── spring-scenery-2023.md │ │ ├── surface-pro-7.md │ │ ├── the-world-between-us.md │ │ ├── three-cycle-2022.md │ │ ├── waiting-for-spring.md │ │ ├── yanxue-hunan-2021.md │ │ └── zelda-completed.md │ ├── reading │ │ ├── _index.md │ │ ├── book-isbn-9787115578044.md │ │ ├── book-isbn-9787121320309.md │ │ ├── book-isbn-9787208171336.md │ │ ├── book-isbn-9787213093302.md │ │ ├── book-isbn-9787508679341.md │ │ ├── book-isbn-9787508687032.md │ │ ├── book-isbn-9787508692098.md │ │ ├── book-isbn-9787513340243-2.md │ │ ├── book-isbn-9787513340243.md │ │ ├── book-isbn-9787513942744.md │ │ ├── book-isbn-9787516827222.md │ │ ├── book-isbn-9787521712599.md │ │ ├── book-isbn-9787521727258.md │ │ ├── book-isbn-9787549920952.md │ │ ├── book-isbn-9787550292895.md │ │ ├── book-isbn-9787553674544.md │ │ ├── book-isbn-9787559848048.md │ │ ├── book-isbn-9787572279010.md │ │ ├── book-isbn-9787613337624.md │ │ └── worth-reading-parenting-book.md │ └── weekly │ │ ├── _index.md │ │ ├── month-1-20240707.md │ │ ├── weekly-16-20240106.md │ │ ├── weekly-17-20240127.md │ │ ├── weekly-18-20240224.md │ │ ├── weekly-19-20240316.md │ │ ├── weekly-20-20240406.md │ │ ├── weekly-2023-08-07.md │ │ ├── weekly-2023-08-14.md │ │ ├── weekly-2023-08-21.md │ │ ├── weekly-2023-08-27.md │ │ ├── weekly-2023-09-02.md │ │ ├── weekly-2023-09-10.md │ │ ├── weekly-2023-09-17.md │ │ ├── weekly-2023-10-06.md │ │ ├── weekly-2023-10-15.md │ │ ├── weekly-2023-10-22.md │ │ ├── weekly-2023-11-04.md │ │ ├── weekly-2023-11-11.md │ │ ├── weekly-2023-11-26.md │ │ ├── weekly-2023-12-09.md │ │ ├── weekly-2023-12-23.md │ │ ├── weekly-21-20240421.md │ │ ├── weekly-22-20240512.md │ │ ├── weekly-23-20240526.md │ │ ├── weekly-24-20240616.md │ │ └── weekly-review-2024.md ├── search.md ├── tags │ └── _index.md ├── talk.md └── twikoo.md ├── static ├── LXGWNeoZhiSong │ ├── 02dbb62d444341ced17f700db07e3c58.woff2 │ ├── 03c3f98dd34754a646e8d95c5786ffd7.woff2 │ ├── 091ec194760db0fb9a42afa132ee9196.woff2 │ ├── 0d01609f640c0ad21ef0842e344b46af.woff2 │ ├── 12832543df4522751ecb9bfd271f19e2.woff2 │ ├── 1d0dfb83ebde8169b640df46732c39f5.woff2 │ ├── 26a0c67aa7e089cbd43efd25d1014d5e.woff2 │ ├── 27107190bdebba07b5cd2d05489a463f.woff2 │ ├── 32f2d0257da1994c899b9123a5b33885.woff2 │ ├── 34c6cfb0171f1c74f7ed4bbb448110b0.woff2 │ ├── 369311cb98c6dcce5fe0383dde6df969.woff2 │ ├── 388a2904022f449d2042ead3044c6f8f.woff2 │ ├── 3a1765faedb39bd5dc5915cf1e56b872.woff2 │ ├── 434e04e6bd72be327590ec15f0f0293f.woff2 │ ├── 451d56b5dcee39ff0d889285f43e86b7.woff2 │ ├── 45a8ef2aedcab97a8329da85261997d5.woff2 │ ├── 4b108c844600edccf295ee6a3dbee1cc.woff2 │ ├── 4ee6216f173b54d29575b53122ee69c6.woff2 │ ├── 50a084435c879cd450155d3a7797bf88.woff2 │ ├── 579836a290bf579fcc3ab7a488adb481.woff2 │ ├── 5d164e7a6cb593aa92b1e5054fb2d0f0.woff2 │ ├── 610270af19911f28ce952da947573fcc.woff2 │ ├── 61716f11b5c9ba2a30fb3178fb65f2b3.woff2 │ ├── 657ff05fd934739fa37c4804df283e5c.woff2 │ ├── 676a54a691d5488d4416d66161177398.woff2 │ ├── 682b10601a31a876d90543a47ad5d768.woff2 │ ├── 68a75f1162e62f78a631968ebb1487f4.woff2 │ ├── 69221caedc9af4af6c69e9bf9867aefe.woff2 │ ├── 6e6526e3d93a76e64af362d40808031b.woff2 │ ├── 73d9aeaeb0e732f19ec4a8745be38361.woff2 │ ├── 774de9c7cd3d5640ccdcdbabb24de5f3.woff2 │ ├── 86b89b699e4d33e6bbc05bc16a5c4be7.woff2 │ ├── 8c486c11193178be74db747c9f4cb06f.woff2 │ ├── 90804468cfc7baffd095d04893d4a416.woff2 │ ├── 975410cb1f8590e6fff20274ebafe29d.woff2 │ ├── 997cb3cf458f97cd8297ef7b2477b87f.woff2 │ ├── aac0b4d613b6448df89a855e549ff3a1.woff2 │ ├── ab3b5042fa08e5c7a1ec121b57dfa68d.woff2 │ ├── ac7a394651abb3204dff2591139a637d.woff2 │ ├── aebe4309070816af222114015903bd91.woff2 │ ├── b70f010a85b324f53ee824aac5759711.woff2 │ ├── b994cf6b9599903e5731b6863679d33d.woff2 │ ├── bb43f379eb6c5cba28c453fe833dd005.woff2 │ ├── be44980bc48d429f05901d2cec95ba9b.woff2 │ ├── c07009c000a2397d24ea2092418b9d88.woff2 │ ├── c1db109be7bc436caf656a09c50631fb.woff2 │ ├── c8c630fbf70f9286d94d9ce644ba97f7.woff2 │ ├── c9652caed9d9c29df71773ad90f018d6.woff2 │ ├── cd8f5abd0be229a5c7d981522059a1c3.woff2 │ ├── d88903c1cf687fa70672cc4f0476a6f8.woff2 │ ├── d88b94154dc573235e91c8fcebc6e2cb.woff2 │ ├── dff9f2e2fd616d96ce7781484c898d2a.woff2 │ ├── e0b07a4b1ef9b96f599093de90b70f14.woff2 │ ├── e5691efa8f03a8beda7b63472c63517f.woff2 │ ├── e68343d12c78872e4cc8c1b9eb27c869.woff2 │ ├── e857671b1837bc2c25b3a563be846bc3.woff2 │ ├── ebae42f2f2052fd1ae3f6f82b502f985.woff2 │ ├── f4a89bde7af50f2f50459488075ba2c2.woff2 │ ├── f7b486a7db74499e5849d3e205ff4c81.woff2 │ ├── f846671d783fdb5a5fd95b25debd0759.woff2 │ ├── fb793004f063ce7e52f31fa3bbc2bc72.woff2 │ ├── feaad17912c53616373677ada7f81139.woff2 │ └── lxgwneozhisong.css ├── apps │ ├── TinyPNG4Mac.webp │ ├── apps.json │ ├── bob.webp │ ├── hidden.webp │ ├── iina.webp │ ├── keka.webp │ ├── obsidian.webp │ ├── picgo.webp │ ├── rectangle.webp │ └── vscode.webp ├── dzp │ ├── index.html │ ├── list.txt │ └── src │ │ ├── 668.png │ │ ├── 902.png │ │ ├── 903.png │ │ ├── 904.png │ │ ├── 922.png │ │ ├── 932.png │ │ ├── 937.png │ │ ├── 938.png │ │ ├── 946.png │ │ ├── 947.png │ │ ├── bg.png │ │ ├── jsconfetti.js │ │ └── lucky-canvas.umd.js ├── favicon.ico ├── friends.json ├── goods │ ├── DS220.webp │ ├── L3153.webp │ ├── M15BT.webp │ ├── appleTV.webp │ ├── baseus65w.webp │ ├── cuktech-1W.webp │ ├── goods.json │ ├── macbook.webp │ ├── mijia-cqb2.webp │ ├── mijia-zmfs.webp │ ├── mxkeys.webp │ ├── switch.webp │ ├── vaydeer.webp │ ├── whirlpool.webp │ └── yeelight.webp ├── images │ └── 2004gd │ │ ├── gd-01.jpeg │ │ ├── gd-02.jpeg │ │ ├── gd-03-1.jpeg │ │ ├── gd-03.jpeg │ │ ├── gd-04.jpeg │ │ └── gd-05.jpeg ├── memos.json ├── photos │ ├── 2020-01-20 火树银花.jpg │ ├── 2021-01-01 铜婚之年.jpg │ ├── 2021-01-05 儿时登过顶的狮子山.jpeg │ ├── 2021-02-15 想象中的自由.jpeg │ ├── 2021-03-05 妈妈单位放风涂鸦.jpg │ ├── 2021-03-15 春暖花开,宅家抗疫.jpg │ ├── 2021-04-01 最美西湖四月天.jpg │ ├── 2021-04-15 放学后的片刻松懈.jpg │ ├── 2021-06-01 毕业生作品.jpg │ ├── 2021-07-01 溆浦大山行.jpg │ ├── 2021-08-01 东部新城盛夏放风.jpg │ ├── 2021-08-15 落樱缤纷.jpeg │ ├── 2021-10-01 天府之行.jpg │ ├── 2021-11-01 钱湖霞光.jpg │ ├── 2021-12-01 自造快乐.jpg │ ├── 2022-07-01 东钱湖消暑.jpg │ ├── 2022-09-20 迷离中的卷帘.jpg │ ├── 2022-10-10 笼里笼外.jpg │ ├── 2022-10-12 城市草坪露营.jpg │ ├── 2022-11-11 咸祥航空基地.jpg │ └── 2022-12-31 象山珠山顶.jpg ├── template │ ├── chat-template.md │ ├── coding-template.md │ ├── daily-template.md │ └── reading-template.md └── twikoo.png └── themes └── hello-friend ├── layouts ├── _default │ ├── _markup │ │ ├── render-image.html │ │ └── render-link.html │ ├── album.html │ ├── baseof.html │ ├── baseof.json │ ├── bb-back.html │ ├── bb.html │ ├── bb_backup.html │ ├── bbs.html │ ├── bbs_backup.html │ ├── books.html │ ├── caipu.html │ ├── chat.html │ ├── friends.html │ ├── gallery.html │ ├── goods.html │ ├── index.html.html │ ├── index_backup.html.html │ ├── item.json │ ├── list.atom.xml │ ├── list.html │ ├── list.html.html │ ├── list.json │ ├── me-goods.html │ ├── movies.html │ ├── path.html │ ├── search.html │ ├── single.html │ ├── talk.html │ ├── terms.html │ └── twikoo.html ├── archives │ └── list.html ├── chat │ └── list.html ├── index.json ├── partials │ ├── breadcrumb.html │ ├── cfai.html │ ├── comments.html │ ├── footer.html │ ├── gemini.html │ ├── greater-icon.html │ ├── head.html │ ├── header.html │ ├── heatmap.html │ ├── lastmod.html │ ├── logo.html │ ├── menu.html │ ├── opengraph.html │ ├── pagination.html │ ├── talks.html │ └── theme-icon.html ├── shortcodes │ ├── album.html │ ├── apps.html │ ├── bilibili.html │ ├── book.html │ ├── books.html │ ├── cfdb.html │ ├── douban-back.html │ ├── douban.html │ ├── figure.html │ ├── friends.html │ ├── fullscreen.html │ ├── gallery.html │ ├── getdata.html │ ├── goods.html │ ├── image.html │ ├── lifes.html │ ├── link.html │ ├── memos.html │ ├── movies.html │ ├── music.html │ ├── neodb.html │ └── video.html └── tags │ └── list.html ├── static ├── app.min.js ├── bb-lmm-mk.js ├── bbs-lmm.js ├── bundle.js ├── echarts.min.js ├── emaction.js ├── fcircle-beta.css ├── fcircle-beta.js ├── foreverfeeds-beta-20230615.js ├── foreverfeeds.js ├── imgStatus.min.js ├── lately.min.js ├── memos-iframe.js ├── pangu.min.js ├── quicklink.umd.js ├── search.js ├── theme-lmm-home.js ├── theme-lmm.css ├── theme-lmm.js ├── theme-main-1.js ├── twikoo1629.js ├── twikoo1640.js ├── twikoo167.js ├── twikoo168.js ├── view-image.js ├── waterfall.min.js ├── waterfall.min1.js ├── wormhole_1.gif └── wormhole_3.gif └── theme.toml /.gitignore: -------------------------------------------------------------------------------- 1 | **/.DS_Store 2 | .favorites.json 3 | .gitignore 4 | public 5 | .obsidian 6 | node_modules 7 | .hugo_build.lock 8 | .frontmatter 9 | frontmatter.json -------------------------------------------------------------------------------- /content/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "首页" 3 | --- -------------------------------------------------------------------------------- /content/album.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "我的相册" 3 | layout: "album" 4 | --- -------------------------------------------------------------------------------- /content/archives/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "归档" 3 | url: [archives] 4 | --- -------------------------------------------------------------------------------- /content/bb.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "哔哔点啥" 3 | layout: "bb" 4 | --- -------------------------------------------------------------------------------- /content/bbs.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "哔哔广场" 3 | layout: "bbs" 4 | --- -------------------------------------------------------------------------------- /content/books.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "我的阅读" 3 | layout: "books" 4 | --- -------------------------------------------------------------------------------- /content/friends.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "友链朋友圈" 3 | layout: "friends" 4 | --- -------------------------------------------------------------------------------- /content/gallery.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "我的相册" 3 | layout: "gallery" 4 | --- -------------------------------------------------------------------------------- /content/goods.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "我的好物" 3 | layout: "goods" 4 | --- 5 | 6 | > 给日子加点料。 -------------------------------------------------------------------------------- /content/me-goods.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "我的好物" 3 | layout: "me-goods" 4 | --- 5 | 6 | > 给日子加点料。 -------------------------------------------------------------------------------- /content/movies.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "我的观影" 3 | layout: "movies" 4 | --- -------------------------------------------------------------------------------- /content/posts/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "文章" 3 | type: "archives" 4 | --- -------------------------------------------------------------------------------- /content/posts/chat/2019-06-30.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '2019-06-30' 3 | date: 2019-06-30 4 | tags: [词穷] 5 | --- 6 | 7 | 一周前看到 App Store 里推荐了 《Sky 光·遇》 是《风之旅人》的陈星汉团队开发。坚持了3天“摸黑探索”后还是找了攻略,大概理清游戏套路。吃“光之子”小人升级翅膀,目前共计能吃到55颗刚好升到7星,一口气能煽7下不带喘,飞得高看的远。另外就是点“蜡烛”,蜡烛满了可换头换脸换时装凹动作,到处打卡截图嗮。 8 | 9 | 10 | 11 | 最硬核的“社交”属性,竟然是互点蜡烛才能看清其它玩家,互赠一定数量蜡烛才能解锁“互动”形式(加好友、牵手、击掌、拥抱、聊天……),对,想聊天要么一起坐“石条椅”上,要么互赠蜡烛解锁!蜡烛不够送怎么办?氪金呀! 12 | 13 | 喔,对,各种动作、时装升级,甚至隐藏地图的解锁并非“商城式”的买买买,而是各种前置的解锁要求,所以……氪金飞起! -------------------------------------------------------------------------------- /content/posts/chat/2019-11-23.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '2019-11-23' 3 | date: 2019-11-23 4 | tags: [词穷] 5 | --- 6 | 7 | 入了 MacBook Pro 后家里的 13年款 iMac 几乎雪藏,但仔细对比配置发现还是 iMac 高,可实际流畅度没法跟pro比。因为一个是ssd一个是sata硬盘。 8 | 9 | 10 | 11 | ![续命成功](https://pic.edui.fun/images/2019/11/ssd.png) ![ssd](https://pic.edui.fun/images/2019/11/ssd-2.png) 12 | 13 | 随便买了个西数的500G蓝盘+绿联USB3.0硬盘盒,Mac App Store 里下载好系统,外置盘接上USB格式化安装重启,指定外置ssd启动系统,续命成功! 14 | 15 | 其实双十一就想折腾来着,但搜来搜去教程都说要制作启动U盘,搁置到现在。哎,搜索越来越难。 -------------------------------------------------------------------------------- /content/posts/chat/2020-03-23.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '2020-03-23' 3 | date: 2020-03-23 4 | tags: [词穷] 5 | --- 6 | 7 | 喜大普奔,市官宣 **“全面恢复生产生活秩序”** !自家小区已解禁,商场全部正常营业,餐饮也全部支持堂食。真是 **“忽如一夜春风来,千树万树梨花开。”** 8 | -------------------------------------------------------------------------------- /content/posts/chat/2020-10-18.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "2020-10-18" 3 | date: 2020-10-18T17:31:06+0800 4 | tags: [词穷] 5 | --- 6 | 7 | 右下智齿,取之! 8 | 9 | 10 | 11 | 前车之鉴:若智齿是横着长的,还是趁早拔,别等它把前一颗大牙顶穿了再去! 12 | 13 | 但也没想象中那么可怕,那点痛还是可以忍受,磨牙钻头的声音也柔和了不少。自己是选择了家旁边的连锁口腔,整个就诊体验良好,医生也比较耐心。其实,真去看了那就那样! 14 | 15 | “吃嘛嘛香”绝对的人生第一大幸事! -------------------------------------------------------------------------------- /content/posts/chat/2021-03-29.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "2021-03-29" 3 | date: 2021-03-29T22:30:20+0800 4 | tags: [词穷] 5 | --- 6 | 7 | KPW2 越狱成功!([教程](https://bookfere.com/post/892.html))Kindle <= 5.13.3 下载个文件访问本地HTMl搞定,还是装[插件](https://bookfere.com/post/311.html)花了点时间,最实用还是「USBNetwork Hack – 无线管理 Kindle」,盖着泡面还能传书,香! -------------------------------------------------------------------------------- /content/posts/chat/2021-05-23.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "2021-05-23" 3 | date: 2021-05-23T15:04:55+0800 4 | tags: [词穷] 5 | --- 6 | 7 | 越来越觉得不想说话,就算说的话也不是自己的,就算自己的话想想也过去了。本想着把有意义的事情做得有意思,可做着做着却只顾着有意思忘记了最初的意义,甚至只为切热点,乐此不疲,忘乎所以。 -------------------------------------------------------------------------------- /content/posts/chat/2022-02-05.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "2022-02-05" 3 | date: 2022-02-05T23:15:52+0800 4 | tags: [词穷] 5 | --- 6 | 7 | 眨眼,大年初五。折腾(踩坑)告一段落,关闭终端、关闭编辑器,打开 Word、PPT…… 8 | 9 | 10 | 最近十几天折腾得有点多: 11 | 12 | - 博客改用 [Hugo + Github + Cloudflare](https://immmmm.com/hi-cloudflare/) ,实现无服务托管,目测稳定性和速度都不错。 13 | - 以业余前端LV10改写 [「友链朋友圈」](https://immmmm.com/hi-friends-circle/) ,自我感觉良好,特别是原始 JavaScript + HTMl5 缓存方式。 14 | - 群晖采用 [FRP](https://freefrp.net/index.html) 方式实现无端口访问,推荐教程 [群晖frpc配置](https://www.ioiox.com/archives/85.html),[群晖 acme.sh 自动申请证书](https://www.ioiox.com/archives/88.html)。 15 | - 大坑……腾讯云轻量服务器(222元/3年)部署FRP的域名必须备案…… -------------------------------------------------------------------------------- /content/posts/chat/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "词穷" 3 | slug: "chat" 4 | --- -------------------------------------------------------------------------------- /content/posts/coding/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "折腾" 3 | slug: "coding" 4 | --- -------------------------------------------------------------------------------- /content/posts/coding/about-html-blog.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '静态博客那些事' 3 | date: 2019-11-11 4 | tags: [折腾] 5 | published: true 6 | hideInList: false 7 | isTop: false 8 | --- 9 | 10 | 一个周末耗在了静态博客部署方案上,目前使用了 [Gridea](https://gridea.dev/) + Coding 搭了个,欢迎围观: 11 | 12 | 也试了 Hexo + Travis CI ,部署好后是方便,只要把文件 git push 到监测的分支,或者直接在 Github 上写日志,Travis CI 就能自动生成静态文件到主分支上。但,Hexo 静态生成器与主题插件代码的问题,哎,折腾不起。 13 | 14 | 回说 Bitcron ,更新日志停留在 2017-09-12 。当初打开速度那个嗖嗖嗖,这大半年时好时坏,总体是慢很多。难受。 15 | 16 | 当然 Gridea 也不完美,但客户端小巧精致,发文也方便,主要还是颜值高! -------------------------------------------------------------------------------- /content/posts/coding/adguard-home-what.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Adguard Home,拦的啥?" 3 | date: 2021-08-24T00:00:06+0800 4 | tags: [折腾] 5 | feature: https://pic.edui.fun/images/2021/08/adguardhome.png 6 | --- 7 | 8 | 看到 @张洪Heo 发的 [《AdGuardHome本地搭建教程》](https://blog.zhheo.com/p/8e295a09.html),一试上手,值得拥有!其实其他平台安装也非常简单,具体见[官网](https://adguard.com/zh_cn/adguard-home/overview.html)。 9 | 10 | 说说本文的重点,看图,发问: 11 | 12 | > 拦的啥? 13 | 14 | 15 | 16 | ### `self.events.data.microsoft.com` 17 | 18 | 排第一的是,微,软? 19 | 20 | 好吧,使用 Edgo 浏览器的关系。 21 | 22 | ![adhome-1](https://pic.edui.fun/images/2021/08/adhome-1.jpg) 23 | 24 | Edgo 设置-安全性-Microsoft Defender Smartscreen 关闭! 25 | 26 | 好像,成了一个,但依然还有,那就拦着吧,不就多几行日志嘛! 27 | 28 | ### `config.pinyin.sogou.com` 29 | 30 | 要说第1的那位还能理解,毕竟用着人家的产品。可,这gou? 31 | 32 | 好吧,是多少年前安装过,虽然没调用它,但它的 service 永在!各种删文件禁服务,依旧。 33 | 34 | 最后,还是下了它的安装包,打开安装包,点击卸载……注销生效。哎。 35 | 36 | ### 原来如此 37 | 38 | 再看大图,拦截率 `37.25%`,平均响应 `71ms`,算是豪华数据! 39 | 40 | 但,其实,电脑端干不过一个浏览器里的插件。因为,ADHome 是基于 DNS 解析。什么意思,它只是把一些广告网址解析到了死胡同,所以,就算加了上万条的过滤数据,对于浏览器中的同网址加载的广告毫无能力。 41 | 42 | 惊喜,对手机 APP 开屏或内容页广告拦截效果明显!使用也简单,给 Wi-Fi 手动一个部署了 ADHome 的 IP 即可享受。佩服这个脑回路,纯本地、无污染、毫秒级别 DNS 解析,香! 43 | 44 | 另外,当做网络监测工具,瞅瞅一天到晚的,揭开网络中“十大劳模”的真面目! -------------------------------------------------------------------------------- /content/posts/coding/alfred-workflow.md: -------------------------------------------------------------------------------- 1 | --- 2 | date: 2019-10-18 3 | title: 'Alfred workflow 记录' 4 | tags: [折腾] 5 | published: true 6 | hideInList: false 7 | isTop: false 8 | --- 9 | 10 | 按了 Alfred 搜索了一圈,发现几个小workflow挺好用,特别是低频度使用的功能,好使! 11 | 12 | ### 获取中国天气 13 | 14 | [主页](https://github.com/amlun/workflow-weather) | [下载](https://github.com/amlun/workflow-weather/raw/master/China-Weather.alfredworkflow) 15 | 16 | 关键字是tq,自动获取当地的天气;如果查询北京的天气,可以输入 "tq 北京" 17 | 18 | ![](https://pic.edui.fun/75UIW7.jpg) 19 | 20 | 21 | 22 | ### Alfred-OCR 23 | 24 | [主页](https://github.com/jadec0der/alfred-ocr) | [下载](https://github.com/jadec0der/alfred-ocr/releases) 25 | 26 | 唤醒 Alfred,输入 OCR,回车确定,截图。稍等几秒(视网速而定),粘贴即可。 27 | 28 | ### Recent Documents 29 | 30 | [主页](https://github.com/mpco/AlfredWorkflow-Recent-Documents/blob/master/README_CN.md) | [下载](https://github.com/mpco/Alfred3-workflow-recent-documents/releases) 31 | 32 | 输入rr,列出当前激活应用的最近文档。输入rf,列出最近访问的文件夹。输入`rd`,列出最近打开的各种文件。输入ra,列出最近打开的应用。 33 | 34 | ![](https://pic.edui.fun/n5lkSZ.jpg) -------------------------------------------------------------------------------- /content/posts/coding/bb-by-alfred.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "撸个 Alfred 插件「b言b语」" 3 | date: 2020-05-01T11:15:30+0800 4 | tags: [折腾] 5 | --- 6 | 7 | ![bb-1](https://pic.edui.fun/images/2020/05/bb-1.png) 8 | 9 | 虽说 iOS 的快捷方式足够优雅,但还是想着 Mac 上也更舒坦地随意发布。VSCode 的 [REST Client](https://marketplace.visualstudio.com/items?itemName=humao.rest-client) 插件能用但没有一键直达,看到 [@xwlearn](https://xwlearn.com/howto-graciously-bb-in-mac/) 分享的 Python 代码,立马想到神器 「Alfred」! 10 | 11 | ### 插件撸起 12 | 13 | ![bb-3](https://pic.edui.fun/images/2020/05/bb-3.png) 14 | 15 | 安装依赖: 16 | 17 | ``` 18 | sudo pip install urllib3 19 | ``` 20 | 21 | 22 | 23 | 下载插件 [「bb.alfredworkflow」](https://immmmm.com/share/bb.alfredworkflow),修改其中的 `X-LC-Id` `X-LC-Key` 和 `url`: 24 | 25 | ```python 26 | #!/usr/local/bin/python3 27 | # _*_ coding: utf-8 _*_ 28 | import sys 29 | import urllib3 30 | import json 31 | urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) 32 | data = {"content": "{{query}}"} 33 | headers = { 34 | 'Content-Type': 'application/json', 35 | 'X-LC-Id': '', # 填入AppID 36 | 'X-LC-Key': ',master' # 逗号前填入masterKey 37 | } 38 | url = 'https://AppID前八位.api.lncldglobal.com/1.1/classes/content' # 国际版是前8位 39 | http = urllib3.PoolManager(timeout = 3) 40 | r = http.request('POST', url, body=json.dumps(data), headers = headers) 41 | if str(r.status) == "201": 42 | print('success!') 43 | print(json.loads(r.data.decode('utf-8'))) 44 | else: 45 | print('something is wrong!') 46 | ``` 47 | 48 | ### 题外话 49 | 50 | 五一快乐,动起来! 51 | 52 | 🧹 -------------------------------------------------------------------------------- /content/posts/coding/bb-by-taio-app.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "请在 Bi... 声后留言" 3 | date: 2020-11-25T22:39:55+0800 4 | tags: [折腾] 5 | feature: https://pic.edui.fun/images/2020/11/Taio.jpg-webp 6 | --- 7 | 8 | [Taio](https://docs.taio.app/#/cn/) TF 许久许久终于正式上线咯,虽然钟大说是免费公测,但功能还是足够诚意的。这不,试了试内置的动作脚本,做了个动作发「哔哔」! 9 | 10 | ![bi](https://pic.edui.fun/images/2020/11/bi.png) 11 | 12 | 仓库下载并导入(AirDrop):[Bi.taioactions](https://github.com/lmm214/diybug/raw/main/Bi.taioactions) 13 | 14 | 15 | 16 | 其实核心代码也就一段 JavaScript ,但做着做着就用了一些内置的一些模板,因为准备分享出来也就优化了流程。 17 | 18 | 「Bi.taioactions」 使用指北:若剪切板为空直接进入码字界面,反之则弹窗询问是否直接发布剪切板内容,还是重新输入。 19 | 20 | {{< figure "https://pic.edui.fun/images/2020/11/Taio-1.jpeg-webp" "https://pic.edui.fun/images/2020/11/Taio-2.jpeg-webp" "Taio 使用指北">}} -------------------------------------------------------------------------------- /content/posts/coding/bb-by-wechat.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "「哔哔点啥」微信公众号" 3 | date: 2020-05-10T20:22:49+0800 4 | tags: [折腾] 5 | --- 6 | 7 | 已更新,见[《「哔哔点啥」微信公众号 2.0》](https://immmmm.com/bb-by-wechat-pro/) 8 | 9 | 看到 [@熊野](https://bearye.cn/archives/488) 说可以用「微信公众号」发哔哔,还基于腾讯云函数,也能部署到 Leancloud ,立马 ~~勾搭~~ 加上微信好友。熊大神连夜折腾匹配一夜一天,远程手把手指导部署,整个过程:失败,等,失败,等等,失败,等等等等……成啦!太、太神奇! 10 | 11 | {{< figure "https://pic.edui.fun/images/2020/05/bbds.png" "「哔哔点啥」微信公众号" >}} 12 | 13 | ### 食用步骤 14 | 15 | 1.按照原作者 [@daibor](https://sspai.com/post/60024) 的教程在 Leancloud 建好应用,进入设置--应用 Keys,留存 `AppID`、`MasterKey`、`Request 域名`; 16 | 17 | 18 | 19 | 2.扫码关注「哔哔点啥」公众号(更名申请中),按照提示构建以下命令绑定: 20 | 21 | ``` 22 | //bindCurrentUser:你的AppID,你的MasterKey,https://你的Request 域名 23 | ``` 24 | 25 | 3.Done! 26 | 27 | ### 风险预警 28 | 29 | 对于以上的id和key,微信公众号消息会有记录,腾讯云数据库也会储存,所以使用前请各位小伙伴斟酌。另外,后端使用的是免费配额,且用且珍惜。 30 | 31 | 32 | 最后,再次感谢 [@熊野](https://bearye.cn/) 大神! -------------------------------------------------------------------------------- /content/posts/coding/bbs-by-memos.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "哔哔广场 x Twikoo" 3 | date: 2023-06-26T22:26:57+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2023/06/twikoo-x-bbs.png 6 | --- 7 | 8 | 2023-06-26 更新:既然折腾了 [《Memos x Twikoo》](https://immmmm.com/memos-with-twikoo/),何不再来个「哔哔广场」版,安排! 9 | 10 | 当然,未启用 Twikoo 也欢迎丢 Memos 站点链接,会第一时间加入到: 11 | 12 | [「哔哔广场」](https://immmmm.com/bbs/)和电报[「Memos 广场」](https://t.me/memos_bbs)。 13 | 14 | 15 | 16 | ``` 17 | host:"你的 Memos 托管网址", 18 | twiEnv:'你的 Twikoo 托管网址', 19 | ``` 20 | 21 | ### 致谢 22 | 23 | [Memos页面添加Twikoo评论系统 - 有呀](https://nuoea.com/memos-twikoo/) -------------------------------------------------------------------------------- /content/posts/coding/bitcron-theme-motify.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 'Bitcron 主题「Motify」' 3 | date: 2017-07-20 4 | tags: [折腾] 5 | published: true 6 | hideInList: false 7 | isTop: false 8 | --- 9 | 10 |
11 | Bitcron 主题「Motify」 12 |
Github 地址: Motify
13 |
14 | 15 | ### 主题简介 16 | 17 | 自扒 WordPress 同名主题,支持: 18 | 19 | - 头部背景自定义 20 | - “相册”、“一句话”特色文章样式 21 | - 社交图标包含:Twitter、Instagram、Github、Flickr、微博、Facebook。 22 | - 自动识别外链并新窗口打开 23 | 24 | 25 | 26 | ### 头部背景 27 | 28 | 后台 `Dashboard → Images → Default Background` 29 | 30 | ### “一句话”文章使用 31 | 32 | 在文章中加入这个 `metadate` 即可 33 | 34 | >format: chat 35 | 36 | 头像设置:`Dashboard → Images → Avatar` 37 | 38 | ### “相册”文章使用 39 | 40 | 在文章中加入以下 `metadate` 41 | 42 | >format: photo 43 | path: lxy 44 | width: 250 45 | 46 | `path: lxy` 表示此文调取的图片在根目录 `/_photos/lxy` 里。所以,需要在根目录 **新建文件夹** `_photos` 并在其中再建文件夹 `lxy`。 47 | 48 | `width: 250` 可选,文章内页瀑布流显示的 **每一列** 即每张图片的宽度。(首页默认缩略图显示,且不显示文章内容。) 49 | 50 | 注:如需更改 `_photos` 这个文件夹,相关代码在 `index.jade` 和 `post.jade` 中: 51 | 52 | ```jade 53 | - var metapath = "/_photos/"+ post.metadata.path 54 | ``` 55 | 56 | ### 社交图标使用 57 | 58 | `Dashboard → 常规`,如需增加 “Twitter、Instagram、Github、Flickr、微博、Facebook ” 之外的图标,可访问 进一步处理。 59 | 60 | ### 打赏支持 61 | 62 |
63 | 微信打赏 64 |
微信打赏
65 |
66 | 67 | ### 更新 68 | 69 | 2017/7/26:加入自动“识别外链并新窗口打开”,丢入 `chat` 文件夹即可识别成“一句话文章” -------------------------------------------------------------------------------- /content/posts/coding/bugs-wx-minapp.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "微信小程序评论开发踩坑记" 3 | date: 2020-12-19T23:48:16+0800 4 | tags: [折腾] 5 | feature: https://pic.edui.fun/images/2020/12/exzz.jpg 6 | --- 7 | 8 | 容我吐会儿!!!🤮 9 | 10 | 冲动是魔鬼,就因看了 [10 分钟教你实现一个朋友圈小程序](https://www.ifanr.com/minapp/916787) ,SoGa!换下臃肿的 [NewWxComment](https://github.com/yicm/NewWxComment) ,直接原生知晓云纯收工评论开码! 11 | 12 | 刚干完了:评论、相对时间、评论分页、下拉加载、排序切换、点赞、回复、前端删除、订阅消息!除了提交新评论会重新拉取数据,其他前后端分别处理。最舒心的是评论回复的消息通知! 13 | 14 | ### 相对时间 15 | 16 | 时间戳转 Date 及格式化,吐在不支持 `new Date()` ,在 wxml 内调用 wxs 搞定! 17 | 18 | 19 | 20 | ### 评论分页、下拉加载、排序切换 21 | 22 | 为了前端直接渲染脑子搞s,吐在不支持 push ,利用各种数组拼组 setData 搞定! 23 | 24 | ### 点赞 25 | 26 | 感谢 [微信小程序列表点赞功能](https://blog.csdn.net/qq_41049816/article/details/84792206) 省了不少力,但依然吐在不支持 push,还没实现“已点赞”标示,只能在点击时判断! 27 | 28 | ### 回复 29 | 30 | 依然吐在不支持 push!!!利用 for 、map 强插搞定! 31 | 32 | ### 前端删除 33 | 34 | 最省心的功能,判断是否创建者或管理者,显示「删除」按钮。这方面知晓云服务到位! 35 | 36 | ### 订阅消息 37 | 38 | url 中文转码导致 page 无法正常跳转,keyword 特定参数及限制导致测试了一下午,加上 `decodeuricomponent()` 顺利回血! -------------------------------------------------------------------------------- /content/posts/coding/build-html-by-cursor.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "使用 Cursor 做了几个单页小工具" 3 | date: 2024-12-21T11:13:43+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2024/12/SCR-20241221-nwtm.png.webp 6 | --- 7 | 8 | 最大感受,说清楚需求,基本上第一次对话即可生成。之后都是叠加需求和反复修复的过程。 9 | 10 | 最大感慨,需求是稀缺资源,真切合理的需求结合 AI,把之前根本不会想尝试,变为积极主动试一试。 11 | 12 | 13 | 14 | ### 由简到难的 24 点出题器 15 | 16 | ![](https://r2.immmmm.com/2024/12/SCR-20241221-nqww.png.webp) 17 | ![](https://r2.immmmm.com/2024/12/SCR-20241221-nqxm.png.webp) 18 | 19 | 「24 点出题器」 20 | 21 | 把 1362 道有解的 24 点题目,依据难度排序,支持按序和随机出题,右上角有 30 秒倒计时,点击标题可查看解法。 22 | 23 | 玩 24 点日常难受的点在于直接拿扑克牌玩,1820 个不同组合,而实际有解的只有 1362 个。1362/1820≈0.748≈75%,四局有一局无解,已经很打击兴趣咯。 24 | 25 | 很早看到 [4数网](https://www.4shu.net/game/difficulties/) 经过难度排序的题库,基于世界各地的人们已经解决 6283289 个题目,计算了每道题目的 “统一中值解决时间”, 并从最简单到最难给这些题目排序。 26 | 27 | 一拍即合,干活! 28 | 29 | ### 语文生字拼音匹配小游戏 30 | 31 | ![](https://r2.immmmm.com/2024/12/SCR-20241221-npdd.png.webp) 32 | ![](https://r2.immmmm.com/2024/12/SCR-20241221-npiy.png.webp) 33 | 34 | 「认读小能手」 35 | 36 | 基于部编语文一年级上册“识字表”中的 280 字,给认读生字增加一点趣味互动性,家里或学校能在期末阶段用上一用。 37 | 38 | - 3 种模式可选:限时 1 分钟、3 分钟、不限时; 39 | - 拖动拼音到对应的汉字上方,右上角有实时的统计数据条。 40 | - 限时模型下,结束时会有统计数据汇总,还有过程中拖动错误的汉字记录回顾。 41 | 42 | ### 自动听写词语 43 | 44 | ![](https://r2.immmmm.com/2024/12/SCR-20241221-nsoi.png.webp) 45 | ![](https://r2.immmmm.com/2024/12/SCR-20241221-nsqr.png.webp) 46 | 47 | 「词语听写」 48 | 49 | 一个自动朗读语文书后“词语表”的在线网页。 50 | 51 | - 内置 3~6 年级上册词语,选择年级、第几课,点击开始即可; 52 | - 默认每个词语读两遍,不同词语停顿 3 秒(可拖动修改); 53 | - 随机模式,全册词语打乱顺序 20 个为一组; 54 | - 早读模式,全册词语打乱顺序读完后会显示“词语”。 55 | 56 | ### 杂记 57 | 58 | 其实 3 个都是单页可离线的 html,听写后来改用第三方接口,因为发现 Edge 文字转语音国内不可用,能用也只能 PC 上,使用太受限。 59 | -------------------------------------------------------------------------------- /content/posts/coding/chrome-extensions-memos-bber.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Memos 单页及浏览器扩展" 3 | date: 2023-02-04T22:24:22+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2023/01/iShot_2023-02-04_22.25.39.png 6 | --- 7 | 8 | 单页版 Memos : 9 | 10 | Pake 打包应用:[Memos_1.0.0_x64.dmg](https://github.com/lmm214/Pake/raw/master/Memos_1.0.0_x64.dmg) 11 | 12 | Chrome 浏览器插件应用商店: 13 | 14 | 15 | 16 | > Chrome/Edgo 浏览器插件,基于 iSpeak-bber 修改,原作者为 [DreamyTZK](https://www.antmoe.com/)。 17 | 18 | 项目地址: 19 | 20 | ### 使用说明 21 | 22 | #### 1.获取 Open API 并填入扩展 23 | 24 | ![extensions-3](https://r2.immmmm.com/2022/10/extensions-3.jpg) 25 | 26 | ![extensions-4](https://r2.immmmm.com/2022/10/extensions-4.jpg) 27 | 28 | #### 2.按钮简要说明 29 | 30 | ![memos-11](https://r2.immmmm.com/2023/01/memos-11.png) 31 | 32 | - 获取标签列表,点击即可快捷插入标签 33 | - 快捷输入待办字符串 34 | - 上传图片资源 35 | - 分享当前浏览页面 36 | - 设置 Memos 可见范围 37 | - 随机展示一条 Memos 38 | 39 | #### 3.小彩蛋一枚 40 | 41 | ![memos-12](https://r2.immmmm.com/2023/01/memos-12.png) 42 | 43 | - 标签列表展开、输入框有标签,此时点击随机按钮。 -------------------------------------------------------------------------------- /content/posts/coding/chrome-extensions-tinysnap.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "精致截图扩展推荐:TinySnap" 3 | date: 2022-10-16T15:49:48+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2022/10/TinySnap-2022-10-16-15.54.04.png.webp 6 | --- 7 | 8 | 官方链接: 9 | 10 | 九月初朋友圈里看到 [@罗伊](https://dearroy.com/) 发布了这款截图插件,这几天深度用下来感觉真好,名副其实的「精致」👍再一搜寻,原来 [@牧风](https://github.com/iMuFeng) 是背后的技术实现,真好真好! -------------------------------------------------------------------------------- /content/posts/coding/cloudflare-fixed-hugo-feed.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "修正静态博客订阅链接" 3 | date: 2024-01-06T12:20:56+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2024/01/feed-fixed-3.png 6 | --- 7 | 8 | Wordpress 默认 RSS 为 `/feed`,单各博客程序并不统一,Hexo 是 `/atom.xml`,Hugo 是 `/index.xml`。 9 | 10 | 话说自从换了 Hugo 后这问题一直存在,无意间看到 `Cloudflare -- 规则 -- 转换规则` 就不就一个添加的事儿呀。 11 | 12 | 13 | 14 | ### 前提 15 | 16 | 域名得在 CF 上。 17 | 18 | ### 全站 feed 19 | 20 | ![feed-fixed-1](https://r2.immmmm.com/2024/01/feed-fixed-1.png) 21 | 22 | ### 分类 feed 23 | 24 | ![feed-fixed-2](https://r2.immmmm.com/2024/01/feed-fixed-2.png) 25 | -------------------------------------------------------------------------------- /content/posts/coding/cloudflare-pageviews-worker.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "嘿,Cloudflare 来个站点计数!" 3 | date: 2022-01-26T10:08:59+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2022/01/cf-kv.png 6 | --- 7 | 8 | 给: 9 | 10 | [cloudflare-pageviews-worker](https://github.com/willin/cloudflare-pageviews-worker):统计每个页面和整个站点的访问量。 —— by [@willin](https://willin.wang/) 11 | 12 | 部署完毕后寻思怎么前端调用,想起wx好友的有位大神 willin,真是同一位!立马让我“删了 busuanzi 的js,html代码不需要改”。 13 | 14 | 15 | 16 | 看了看 js ,理解了好久,优雅! 17 | 18 | ```javascript 19 | var viewsSlug=window.location.host; 20 | var viewsUrl='https://pageviews.edui123.com/pv?slug='+viewsSlug; 21 | fetch(viewsUrl,{method:'PUT'}) 22 | .then((res)=>res.json()) 23 | .then(({result})=>{ 24 | document.getElementById('busuanzi_value_site_pv').innerHTML=result.pv;document.getElementById('busuanzi_container_site_pv').style='display:inline'; 25 | }); 26 | ``` 27 | 28 | ### 前端调用 29 | 30 | 同 [「不蒜子」](https://busuanzi.ibruce.info/) 31 | 32 | > 两行代码 搞定计数 33 | 34 | ```html 35 | 36 | 本站总访问量 0 37 | 38 | ``` 39 | 40 | ### 后话 41 | 42 | 每日 100,000 次调用限额,应该,足够了吧? 43 | 44 | ### 后后话 45 | 46 | 每日 10W 是调用,而 put 修改的话是 1000次/日…本地调试个主题都不够刷新的… 47 | 48 | 弃! 49 | -------------------------------------------------------------------------------- /content/posts/coding/cloudflare-workers-ai.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Hi,Cloudflare Workers AI" 3 | date: 2024-01-26T16:14:54+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2024/01/cf-wk-ai.png.webp 6 | --- 7 | 8 | 这货其实已经发布有段时间了,但,效果嘛,差强人意。可人家免费啊,还自带 Workers 调用,省去鉴权若干代码,自个儿绑个域名,每分钟 100次,美滋滋~ 9 | 10 | 11 | 12 | 以下代码配套「哔哔广场」食用,当然也可自行折腾。 13 | 14 | 新建 Cloudflare Workers 丢入以下代码保存并绑定域名,填入广场设置处即可~ 15 | 16 | ``` 17 | import { Ai } from './vendor/@cloudflare/ai.js'; 18 | export default { 19 | async fetch(request, env, ctx) { 20 | const jsonheaders = { 21 | "content-type": "text/event-stream", 22 | 'Access-Control-Allow-Origin': '*', 23 | 'Access-Control-Allow-Methods': "*", 24 | 'Access-Control-Allow-Headers': "*", 25 | 'Access-Control-Max-Age': '86400', 26 | }; 27 | 28 | const url = new URL(request.url); 29 | const query = decodeURIComponent(url.searchParams.get('q')); 30 | const ai = new Ai(env.AI, { sessionOptions: { ctx: ctx } }); 31 | let chat = { 32 | messages: [ 33 | { role: 'system', content: 'You are a helpful and responsive assistant, you answer questions directly and provide instruction unless told otherwise.Respond in Chinese.' }, 34 | { role: 'user', content: query } 35 | ] 36 | }; 37 | const stream = await ai.run( 38 | "@cf/mistral/mistral-7b-instruct-v0.1", 39 | { messages: chat.messages, stream: true } 40 | ); 41 | return new Response(stream, 42 | { headers: jsonheaders, } 43 | ); 44 | } 45 | } 46 | ``` 47 | 48 | 以上代码的提示词可以自己更换。 49 | 50 | 其中文本生成的模型有这几种可以设定: 51 | 52 | ``` 53 | @cf/meta/llama-2-7b-chat-fp16 54 | @cf/mistral/mistral-7b-instruct-v0.1 55 | @cf/meta/llama-2-7b-chat-int8 56 | ``` -------------------------------------------------------------------------------- /content/posts/coding/dan-xiang-li-page.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "自制「单向历」网页版" 3 | date: 2022-01-09T21:38:56+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2022/01/dxl.png 6 | --- 7 | 8 | 在线体验: 9 | 10 | Github 上找到一个 PHP 版的 [calendar_api](https://github.com/zzzhxxx/calendar_api),调用非常方便。可为了一个 API 开个 PHP 也是够过分,其实也就为了解决两个问题: 11 | 12 | 1. 自动更新日期 13 | 2. 绕过 Referer 验证 14 | 15 | 16 | 顺利访问以下图片地址: 17 | 18 | > https://img.owspace.com/Public/uploads/Download/2022/0109.jpg 19 | 20 | 寻思,直接 JavaScript 不香吗? 21 | 22 | 完整代码直接右键查看页面源码即可,说明两点:更新日期 js 大法,Referer 头部加一句搞定。 23 | 24 | ```javascript 25 | window.onload=function(){getDate()} 26 | function getDate(){ 27 | var d=new Date(),y=d.getFullYear(),m=d.getMonth()+1,n=d.getDate(); 28 | m=m>9?m:"0"+m;n=n>9?n:"0"+n; 29 | var img= "" 30 | document.getElementById("rili").innerHTML=img 31 | } 32 | ``` 33 | 34 | ```html 35 | 36 | ``` 37 | 38 | 当然,API 的好处是方便调用,不用又是加 html 又是加 js 的,直接图片 src 调用地址即可: 39 | 40 | ```html 41 | 42 | 43 | ``` -------------------------------------------------------------------------------- /content/posts/coding/doumark-action.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "「电影 / 阅读」页面,顶!" 3 | date: 2022-03-22T23:32:16+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2022/03/doumark.png 6 | --- 7 | 8 | 来自于 [@怡红公子](https://imnerd.org/doumark.html) 的自制轮子:[doumark-action](https://github.com/lizheming/doumark-action) ,豆瓣书影音同步 GitHub Action。 9 | 10 | 11 | 12 | 如果你也使用 Hugo + GitHub Action,那就能直接用上。 13 | 14 | 个人相关代码如下: [.github/workflows/douban.yml](https://github.com/lmm214/immmmm/blob/master/.github/workflows/douban.yml)、[hello-friend/layouts/_default/movies.html](https://github.com/lmm214/immmmm/blob/master/themes/hello-friend/layouts/_default/movies.html)、[hello-friend/layouts/_default/books.html](https://github.com/lmm214/immmmm/blob/master/themes/hello-friend/layouts/_default/books.html)。 15 | 16 | 折腾不息,生命不止。赶在明天前,码字发了先! 17 | 18 | ### 20230112 更新 19 | 20 | 三个文件都有变化: 21 | 22 | ![douban-ac-1](https://r2.immmmm.com/2023/01/douban-ac-1.png) 23 | 24 | ![douban-ac-2](https://r2.immmmm.com/2023/01/douban-ac-2.png) 25 | 26 | ![douban-ac-3](https://r2.immmmm.com/2023/01/douban-ac-3.png) -------------------------------------------------------------------------------- /content/posts/coding/forever-blog-feeds-js.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "调取「十年之约」专题展示 Feeds" 3 | date: 2023-06-15T20:26:39+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2023/06/forever-blog-feed.png 6 | --- 7 | 8 | 「十年之约」有个 [Feeds](https://www.foreverblog.cn/feeds.html) 聚合页面。 9 | 10 | 在想,既然可以把「友链朋友圈」展示在首页,那「十年之约」为何不可呢?寻思许久,原来若干年前到站长博客咨询过是否有文章的 API 接口。 11 | 12 | 13 | 14 | 结果是,不但得到回复有,而且接口包含信息还不少。这下就简单咯! 15 | 16 | JavaScript 、Fetch 一顿操作猛如虎,折腾如下: 17 | 18 | ``` 19 |
20 | 21 | ``` 22 | 23 | 自己调取即可,欢迎尝鲜~ 24 | 25 | 2023-06-17:首页已换回友链朋友圈feeds,看着熟悉的头像更亲切。 -------------------------------------------------------------------------------- /content/posts/coding/gemini-pro-ai.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "利用 Gemini Pro 为文章添加摘要" 3 | date: 2024-01-30T21:27:48+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2024/01/gemini-pro-3.jpg 6 | --- 7 | 8 | >利用 Gemini Pro 为文章添加摘要,具体步骤如下: 1. 获取 Gemini Pro 的 API 密钥。 2. 部署 Netlify API 代理以解决部分地区不可用问题。 3. 部署 Gemini OpenAI 代理,并将接口格式改为 OpenAI 格式…… 9 | 10 | 11 | 12 | ### 获取 Gemini Pro 的 API 密钥 13 | 14 | 略 15 | 16 | ### Netlify 部署 API proxy 17 | 18 | 解决部分地区不可用问题。项目地址: 19 | 20 | 部署之后复制链接,如:`https://lucky-beignet-12345.netlify.app` 21 | 22 | ### 部署 Gemini OpenAI Proxy 23 | 24 | 改为 OpenAI 接口格式,项目地址: 25 | 26 | 打开 [main_cloudflare-workers.mjs](https://github.com/zuisong/gemini-openai-proxy/blob/main/dist/main_cloudflare-workers.mjs) 并复制代码到 Cloudflare Workers 中。(当然,也可以其他平台。但,只有 CF 方便手动修改) 27 | 28 | 修改以下 3 处地方: 29 | 30 | - [可选] 自用设置,第 24 行,添加上自己的主域名,:`origin: "https://immmmm.com",` 31 | - 第 1419 行,改为 Netlify 网址:`var BASE_URL = "https://lucky-beignet-12345.netlify.app"` 32 | - 第 2106 行,写上 Gemini Pro 的 Key:`const apiKey = "YourGeminiProKey";` 33 | 34 | ### 添加前端代码 35 | 36 | [gemini.html](https://github.com/lmm214/immmmm/blob/master/themes/hello-friend/layouts/partials/gemini.html) 37 | 38 | ### 结束 39 | 40 | 然后,就可以愉快得玩耍啦~ -------------------------------------------------------------------------------- /content/posts/coding/get-ai-memos.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Memos & n8n ,秒接入 AI" 3 | date: 2024-12-18T21:30:36+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2024/12/SCR-20241218-ssej.png.webp 6 | --- 7 | 8 | Memos 0.18 还是哪个版本开始就支持 webhook ,一直不知道有啥用。自从折腾了 n8n,发现能连通,而且也自用有段时间。 9 | 10 | 自动化流程思路是:接收 Memos Webhook,判断是新建事件,判断首行是否有 `触发词`,进入对应流程修改当前条笔记。 11 | 12 | 13 | 14 | ### 演示之一 15 | 16 | `a修改` 接内容,触发✌️ 17 | 18 | ![](https://r2.immmmm.com/2024/12/SCR-20241218-suku.png.webp) 19 | ![](https://r2.immmmm.com/2024/12/SCR-20241218-supf.png.webp) 20 | 21 | ### 使用简要说明 22 | 23 | 安装 n8n 之后,下载 [Memos_v0_22_3__share.json](https://n8n.akashio.com/b121c42b66fe4963925baa70de007dd6),其它版本需自行微调。 24 | 25 | ### 修改授权信息 26 | 27 | ![](https://r2.immmmm.com/2024/12/SCR-20241218-swwj.png.webp) 28 | 29 | ### 复制 Webhook 节点链接 30 | 31 | 粘贴到 Memos 设置 `偏好设置` 内。 32 | 33 | ![](https://r2.immmmm.com/2024/12/SCR-20241218-tdak.png.webp) 34 | 35 | ![](https://r2.immmmm.com/2024/12/SCR-20241218-teap.png.webp) 36 | 37 | ### 根据需要可修改触发词 38 | 39 | 基于正则匹配。 40 | 41 | ![](https://r2.immmmm.com/2024/12/SCR-20241218-swol.png.webp) 42 | 43 | ## 后记 44 | 45 | 拓展性极强,当日常使用次数极少,不太习惯…… 46 | 47 | 其它更多的拓展一个思路,对于有 webhook 或 api 接口,都能非常方便接入 n8n 做联动 💪 -------------------------------------------------------------------------------- /content/posts/coding/github-dev.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Hi , Github.Dev" 3 | date: 2021-10-14T14:43:10+0800 4 | tags: [折腾] 5 | feature: https://pic.edui.fun/images/2021/10/dev1.png 6 | --- 7 | 8 | 这也太太太太方便了吧!一点即开,自动保存,配合 Actions ,完完全全是各静态博客的自带管理后台呀! 9 | 10 | 11 | 12 | ![dev1](https://cdn.sspai.com/2021/09/25/42e0f4fe668acc9701482eefac3161ec.gif) 13 | 14 | 虽然不支持很多插件,但支持自定义代码段,发发文错错有余~ -------------------------------------------------------------------------------- /content/posts/coding/github-push-token.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "修复 Github Push 时的两个报错" 3 | date: 2021-08-17T14:50:03+0800 4 | tags: [折腾] 5 | --- 6 | 7 | 拖到再不解决就要弃博的状态,都有网络有关! 8 | 9 | ### Personal Access Token 错误 10 | 11 | 大半年前每次 `push` 更新都会收到 GitHub 邮件,提示什么什么到期,但不影响提交。直到前几天跳出: 12 | 13 | > remote: Password authentication is temporarily disabled as part of a brownout. Please use a personal access token instead. 14 | 15 | 搜索一圈教程都是说怎么获取 `token`,就没有然后了。终于按照此文([这里](https://segmentfault.com/a/1190000040418898))搞定,使用的其第三种方法。 16 | 17 | 18 | 19 | 个人是直接在 vscode 内 `在集成终端内` 运行 `git config --edit`,然后将在远程仓库的位置上指定用户名与token。(多个项目需要分别设置。) 20 | 21 | ```javascript 22 | [remote "origin"] 23 | url = https://githubusername:youtoken@github.com/yunzhiclub/repositoryname 24 | fetch = +refs/heads/*:refs/remotes/origin/* 25 | ``` 26 | 27 | **如果配置了 GitHub Action 记得也更改 Token** 28 | 29 | ### SSL_connect 443 错误 30 | 31 | > LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 32 | 33 | 万分确定网络已全球通,但就是 push 不了,提示 SSL 错误!可,多提交几次,也总能成功。网上很多教程佛系有效,直到按照此文([这里](https://www.jianshu.com/p/07e509844481))把 https 代理改成 socks 代理: 34 | 35 | `vim ~/.gitconfig` 36 | 37 | ``` 38 | [http] 39 | sslBackend = openssl 40 | proxy = socks5://127.0.0.1:1080 41 | ``` 42 | 43 | 瞬间丝滑! 44 | 45 | ### 更 or 不更新 46 | 47 | 何曾几时,一切系统软件一有更新立即跟进。当下如今,只要能用,就好! -------------------------------------------------------------------------------- /content/posts/coding/gridea-theme-puti.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 'Gridea Theme Puti' 3 | date: 2019-11-26 4 | tags: [折腾] 5 | published: true 6 | hideInList: false 7 | feature: https://pic.edui.fun/images/2019/11/puti.png 8 | isTop: false 9 | --- 10 | 欢迎小伙伴 [@Elizen](https://chat.elizen.me/) 入伙,同款主题折腾分享之。 11 | 12 | 13 | 14 | ![Puti 0.0.1](https://pic.edui.fun/images/2019/11/puti.png) 15 | 16 | 仓库下载: 17 | 18 | ### 说明 19 | 20 | - logo 默认使用了 svg ,需自行替换; 21 | - 社交图标和评论到 Gridea 客户端中修改:主题--自定义配置。 22 | - 感谢主题原作者 CaiCai。🤘 23 | 24 | -------------------------------------------------------------------------------- /content/posts/coding/hi-check.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Hi,Check 酱" 3 | date: 2022-08-19T20:33:06+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2022/08/checkchan.png 6 | --- 7 | 8 | > 一个通用网页内容监控工具,可以监测网页内容变化,并发送异动到指定IM。 9 | 10 | Check 酱: 11 | 12 | 13 | 14 | 云端(群晖docker自部署)+RSSHub(Vercel自部署),感觉甚好!有 RSS 则一键添加,无则定位 dom 检测之!再无信息更新焦虑。 -------------------------------------------------------------------------------- /content/posts/coding/hi-cloudflare.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Hi , Cloudflare Pages" 3 | date: 2022-01-24T00:38:32+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2022/01/cf-1.png 6 | --- 7 | 8 | 其实 Github Actions + Pages 真的好用,可惜被关小黑屋。只能曲线,拉到自己的服务器或第三方托管平台,比如昨晚折腾的 Cloudflare Pages ,目前感觉良好。 9 | 10 | > Cloudflare Pages 的免费政策:每月 500 次提交、不限站点、请求、带宽,每个项目最多 10 个自定义域名、每个站点最多 20000 个文件、单个文件最大 25 MB,同一时间只能部署一个 Pages(实测大概是 2~3 分钟) 11 | 12 | 放几个博客、静态站点,绰绰有余! 13 | 14 | 15 | 16 | ### 启用 17 | 18 | 启用也非常简便,[Cloudflare Dash](https://dash.cloudflare.com/) 导航栏 `Pages` ,点 `创建项目`,授权 Github 项目。 19 | 20 | ![cf-2](https://r2.immmmm.com/2022/01/cf-2.png) 21 | 22 | 部署方式 「二选一」 即可! 23 | 24 | #### 部署设置一: 25 | 26 | ![cf-3](https://r2.immmmm.com/2022/01/cf-3.png) 27 | 28 | `生产环境` 直接选为 `gh-pages` 分支,构建命令选 `none`。 29 | 30 | 同时去 Github 项目里去除 `.github/workflows/main.yml` 里推送到服务器的 webhook 钩子。 31 | 32 | 这样仍然保留 Github Action ,CF 只是拉取静态文件。 33 | 34 | #### 部署设置二: 35 | 36 | 删掉 `gh-pages` 分支,删除 `.github/workflows/main.yml`, 让 CF 构建 Hugo ,这里需要加个环境变量,指定高版本 `HUGO_VERSION` 为 `0.92.0` 37 | 38 | ![cf-5](https://r2.immmmm.com/2022/01/cf-5.png) 39 | 40 | ![cf-4](https://r2.immmmm.com/2022/01/cf-4.png) 41 | 42 | #### 部署一二差别 43 | 44 | 前者几乎不用动 Github 但 CF 会默认构建所有分支(gh-pages 和 marter),所以更新一次要等 3min x2 时间才构建完成。 45 | 46 | ![cf-6](https://r2.immmmm.com/2022/01/cf-6.png) 47 | 48 | 后者完全抛弃了 Github Actions + Pages ,算省下 1/500 的免费构建次数?主要是省下一个 3min 。 49 | 50 | 51 | ### 参考 52 | 53 | 迁移到Cloudflare Pages,再见Github Pages : 54 | 55 | 使用Cloudflare Pages部署静态网站 : -------------------------------------------------------------------------------- /content/posts/coding/hi-coze-cn.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Hi,Coze" 3 | date: 2024-02-21T14:40:31+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2024/02/coze-cn-4.png.webp 6 | --- 7 | 8 | [扣子 Coze](https://www.coze.cn/) 字节旗下,不久前推出了 cn 版本,进入即看到大大的:创建专属于你的 AI Bot。 9 | 10 | 内置 Bots 、插件库也不少,看到可视化配置界面、还支持联网、配置知识库,可以一玩!哦,配置好了能一键发布到“豆包”、“飞书”,前者还支持网页登录。 11 | 12 | 13 | 14 | ### 成果预览 15 | 16 | ,把一直维护的导航网站数据340+喂给了它,直线心心念念已久的「语义搜索」咯~ 17 | 18 | 19 | 20 | ### 配置界面 21 | 22 | 左中右结构,左边随便输入点要求和限制,中间我指定了“知识库”和一句开场白。然后,保存发布即可。 23 | 24 | ![coze-cn-2.png](https://r2.immmmm.com/2024/02/coze-cn-2.png.webp) 25 | 26 | ### 知识库 27 | 28 | 知识库支持“文本”“表格”,前者可获取“在线数据”,后者可获取“API JSON”,这两者随便联动一下,Nice 哦! 29 | 30 | ![coze-cn-5.png](https://r2.immmmm.com/2024/02/coze-cn-5.png.webp) 31 | ![coze-cn-1.png](https://r2.immmmm.com/2024/02/coze-cn-1.png.webp) 32 | 33 | 个人采用表格 excel 上传导入,简单直接。其中,把简介作为索引项,这样就能返回对应的内容。 34 | 35 | ![coze-cn-3.png](https://r2.immmmm.com/2024/02/coze-cn-3.png.webp) 36 | 37 | ### 更多介绍 38 | 39 | - 40 | - [Coze 全方位入门剖析 - 免费打造自己的 AI Agent(国内版)](https://waytoagi.feishu.cn/wiki/SaCFwcw9xi2qcrkmSxscxTxLnxb?fromScene=spaceOverview) 41 | 42 | ### 补充更新 43 | 44 | https://www.coze.com/ 国际版大模型直接就是 GPT4(128K),各种联网插件,还能一键发布到电报,自己用或加入到群组都是随手的事儿,香! 45 | 46 | ![coze-com-gpt4](https://r2.immmmm.com/2024/02/coze-com-gpt4.png) 47 | 48 | -------------------------------------------------------------------------------- /content/posts/coding/hi-follow.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Hi,Follow" 3 | date: 2024-09-15T13:54:11+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2024/09/SCR-20240916-jnun.png.webp 6 | --- 7 | 8 | 非常喜欢「Follow」这个名,F谁F什么内容本该是一种主动行为。古早有句调侃“打开 Feed 订阅器,如批阅奏章,或细看或一键已阅”。现在更是丰富多彩,一个 APP 集中浏览这奏章,有文、有图、有音频、有视频、还是通知,大千世界,尽在眼前 👀 9 | 10 | 11 | 12 | 感谢 [@大毛](https://darmau.co) 的邀请码,使用 Follow ([https://follow.is/](https://follow.is/)) 已一周有余,趁台风天宅家记录一下 123。 13 | 14 | ### 什么可以 F 15 | 16 | 如题图,直接粘贴链接即可判断是不是支持,比手动查询 RSS、RSSHub 规则等方便太多太多太多。 17 | 18 | 光这点,已经满足很多刚需,各平台上的UP主、Vlog 动态、频道更新,不用一个个打开各自的 APP 接手各类算法推荐信息后才确认自己关注的是否更新。 19 | 20 | 提醒:默认个人关注的 Feed 列表是公开的。 21 | 22 | ### 什么值得 F 23 | 24 | 在具体的文章页面顶部,能看到一串头像,点开一个即可看这个小伙的关注列表,所以个别 Feed 记得选择好 Private 不公开。 25 | 26 | ![](https://r2.immmmm.com/2024/09/SCR-20240916-jwqg.jpeg.webp) 27 | 28 | ### 怎么 F 更爽 29 | 30 | #### 图片模式 31 | 32 | 把电报的云盘频道以图片瀑布流模式显示,嗯,养眼。🤩 33 | 34 | ![](https://r2.immmmm.com/2024/09/SCR-20240915-mleq.jpeg.webp) 35 | 36 | #### 视频模式 37 | 38 | B站、小红书、P站?…… 39 | 40 | ![](https://r2.immmmm.com/2024/09/SCR-20240916-khsn.jpeg.webp) 41 | 42 | ### 怎么 F 更强 43 | 44 | #### 操作 Action 45 | 46 | 开启全局 AI 摘要、过滤时间轴上的 Re 推等。简单点用来过滤,不知之后会不会加上自动化啥的。 47 | 48 | ![](https://r2.immmmm.com/2024/09/SCR-20240916-lgto.jpeg.webp) 49 | 50 | ![](https://r2.immmmm.com/2024/09/SCR-20240916-lhfj.jpeg.webp) 51 | 52 | #### Feed Claim 53 | 54 | 认领自己的 Feed,收到内置的 Power 能量代币?不管与否,先认了再说。 55 | 56 | This message is used to verify that this feed (feedId:42331815237783583) belongs to me (userId:56221637590078464). Join me in enjoying the next generation information browser https://follow.is. 57 | 58 | ![](https://r2.immmmm.com/2024/09/SCR-20240916-kdij.png.webp) 59 | 60 | ### 结语 61 | 62 | 照目前来看, Follow 充满了想象力,比如直接内置 xlog 平台的评论系统?付费订阅支付系统? -------------------------------------------------------------------------------- /content/posts/coding/hi-ghost-blog.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Hi,Ghost" 3 | date: 2022-01-01T19:04:39+0800 4 | tags: [折腾] 5 | --- 6 | 7 | ![ghost-1](https://r2.immmmm.com/2022/01/ghost-1.png) 8 | 9 | 群晖 Docker 里开了个 [Ghost](https://github.com/TryGhost/Ghost),证书端口一顿猛操作发给 [Elizen](https://elizen.me/) 才发现处在内网YY许久的我。 10 | 11 | 12 | 13 | Reset……reset……reset…… 好吧,那就加端口访问吧。整个折腾发现中文教程几乎为零,搜索工具与优质内容一去不复返。唯一一篇[(这里)](https://quickapp.lovejade.cn/ghost-open-source-blog-platform/)推荐一看,基本说清了 Ghost 的特性。 14 | 15 | ### 喜欢 Ghost 几个点 16 | 17 | - 内置的主题 [Ruby](https://ruby.ghost.io/) 颜值在线。 18 | - 后台编辑器支持相册排版,对理科生友好。 19 | 20 | ### Docker 镜像几个设置 21 | 22 | ![ghost-2](https://r2.immmmm.com/2022/01/ghost-2.png) ![ghost-3](https://r2.immmmm.com/2022/01/ghost-3.png) 23 | 24 | - 自定义文件内容路径 `/var/lib/ghost/content` ,方便群晖文件管理。 25 | - 通过增加环境变量 `url` 修改首页网址,不然默认是 `localhost:2368` 26 | 27 | ### Ghost 后台几个设置 28 | 29 | - `settings > labs` Delete all content,清空自带文章数据 30 | - `settings > members` Subscription access 改为 Nobody,去除“广告块” 31 | - `settings > general` Publication Language 填入 "zh-CN",系统相对时间自动显示为中文,其他中文会优先匹配主题 `/locales/zh-CN.json` 32 | 33 | ### 与题无关 34 | 35 | 一早醒来,隔壁区又一确诊,真是心有戚戚焉……2022,望大家一切安好,守住身边美好! 36 | 37 | ### 更多折腾 38 | 39 | #### 文章列表动态加载 40 | 41 | https://infinite-scroll.com/options.html#history 42 | 43 | `history: 'push'` 44 | 45 | #### 新增归档页 46 | 47 | 参考:https://quickapp.lovejade.cn/how-to-add-archives-for-ghost-blog/ 48 | 49 | ### 更多教程 50 | 51 | http://www.jerrymei.cn/tag/ghost-theme/ -------------------------------------------------------------------------------- /content/posts/coding/hi-memos.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Hi,Memos" 3 | date: 2022-09-05T23:14:52+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2022/09/memos.jpg 6 | --- 7 | 8 | > An open source, self-hosted knowledge base that works with a SQLite db file. 9 | 10 | 官网: 11 | 12 | 可以说是支持 Docker 自部署的 flomo ,而且有 API 调取数据和发 Memos 。 13 | 14 | 15 | 16 | ### 部署及更新代码 17 | 18 | 推荐使用 `docker-compose.yml` 部署,方便制定数据储存位置及更新版本,其中使用 `${PWD}` 指定路径为当前文件夹。 19 | 20 | ``` 21 | version: "3.0" 22 | services: 23 | memos: 24 | image: neosmemo/memos:latest 25 | container_name: memos 26 | volumes: 27 | - ${PWD}/.memos/:/var/opt/memos 28 | ports: 29 | - 5230:5230 30 | ``` 31 | 32 | ![memos-1](https://r2.immmmm.com/2022/10/memos-1.jpg) 33 | 34 | 宝塔为例:新建网站,新建 yml,开终端,丢代码。 35 | 36 | ``` 37 | docker-compose up -d 38 | ``` 39 | 40 | 版本更新也是 **一行代码** 搞定: 41 | 42 | ``` 43 | docker-compose pull && docker-compose up -d --force-recreate 44 | ``` 45 | 46 | 当然,也可以官方的一句拉起 Docker。之后更新需要先去 docker 管理器里删除镜像,再输入下句拉起服务。 47 | 48 | ``` 49 | docker run -d --name memos -p 5230:5230 -v ${PWD}/.memos/:/var/opt/memos neosmemo/memos:latest 50 | ``` 51 | 52 | 注意不定时备份网址目录下的 `.memos` 文件夹,所有数据都在这。 53 | 54 | ### 折腾记录 55 | 56 | #### 首页头部轮播 57 | 58 | API 调用最新 10条 memos 在博客首页轮播显示。具体折腾看页面源码吧~ 59 | 60 | #### 浏览器扩展 61 | 62 | 63 | 64 | {{}} 65 | 66 | #### 单页前端渲染 67 | 68 | {{}} 69 | 70 | #### 多站点前端渲染 71 | 72 | {{}} 73 | 74 | ### 使用心得 75 | 76 | - #tag 后面必须有个空格才能创建tag 77 | 78 | ### 文章推荐: 79 | 80 | - 使用 iOS 快捷指令录入笔记: 81 | - 开源 Memos 在群晖上部署: -------------------------------------------------------------------------------- /content/posts/coding/hi-raycast.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Hi,Raycast" 3 | date: 2024-02-24T10:40:31+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2024/02/raycast-arc.png.webp 6 | --- 7 | 8 | 竟然现在才认真用了用 Raycast,典藏 Alfred 可以光荣退役! 9 | 10 | 一个启动器给不给力,还得看插件库,在 [Raycast Store](https://www.raycast.com/store) 兜了一圈,除了常规意义上的快速搜索、翻译插件外,还有可以常驻 Menubar 的、直接检索其他 APP 内容等功能,好用! 11 | 12 | 13 | 14 | ### 目前启用插件 15 | 16 | - [douban](https://www.raycast.com/crazyczy/douban):顾名思义,快速查询豆瓣书影音; 17 | - [menubar-weather](https://www.raycast.com/koinzhang/menubar-weather):Menubar 上的天气小图标; 18 | - [obsidian](https://www.raycast.com/KevinBatdorf/obsidian):快速搜索资料库,方便; 19 | - [arc](https://www.raycast.com/the-browser-company/arc):如同,检索 Tabs 历史啥的,快速跳转; 20 | - [bark](https://www.raycast.com/koinzhang/bark):临时发段文字、链接啥的给手机。 21 | - [Kill Process](https://www.raycast.com/rolandleth/kill-process):杀进程 22 | 23 | 更多插件欢迎推荐~ -------------------------------------------------------------------------------- /content/posts/coding/huawei-hg8240-setting.md: -------------------------------------------------------------------------------- 1 | --- 2 | date: 2013-11-11 3 | title: '华为 HG8240 光猫路由设置方法' 4 | tags: [折腾] 5 | published: true 6 | hideInList: false 7 | isTop: false 8 | --- 9 | 10 | 开通了电信光纤入户,送的光猫是“华为 HG8240”,明明自带路由(可开机就自动拨号),可默认却隐藏了。高手在民间,以下方法来自网络,已试可用: 11 | 12 |

一、设置本地连接属性。

13 | 14 | IP地址:192.168.100.2(从 192.168.100.2~192.168.100.254 都可以),子网掩码:255.255.255.0,默认网关:192.168.100.1,DNS空着。 15 | 16 |

二、查询 VLAN ID (portvid) 和 802.1p(PortPri)。

17 | 18 | 19 | ![huawei-1](https://pic.edui.fun/images/2013/11/huawei-1.jpg) 20 | 21 | 方法: Win+R 输入 cmd 回车,再输入 telnet 192.168.100.1 回车,等待出现“user:”输入 root 回车,出现“password:”输入 admin ,出现 ”WAP>“输入 get port config portid 1 回车,得到端口1的 ”VLAN ID (portvid)“ 和 ”802.1p(PortPri)“值。 22 | 23 | 24 | 25 |

三、登录HG8240,设置可用 LAN 端口。

26 | 27 | 浏览器输入 192.168.100.1 ,选中文,输入用户名 telecomadmin,密码 admintelecom 。 28 | 29 | ![huawei-2](https://pic.edui.fun/images/2013/11/huawei-2.jpg) 30 | 31 | 头部导航 ”LAN“项内,勾选 LAN1,LAN3,LAN4,点应用。(话说 LAN2 是 iTV 服务专用,未测试。) 32 | 33 |

四、设置 PPPoE 自动拨号。

34 | 35 | ![huawei-3](https://pic.edui.fun/images/2013/11/huawei-3.jpg) 36 | 37 | 头部导航”WAN“项内,点击:新建,勾选”使能WAN连接“,链接类型”路由“,服务列表”INTERNET“,勾选”使能VLAN“,VLAN ID 输入查询到的 portvid,802.1p 输入之前查询到的 PortPri,获取IP方式选择”PPPoE“,MRU默认,勾选”使能NAT“,输入宽带的”用户名及密码“,拨号方式”自动“,绑定项勾选”LAN1、3、4“。 38 | 39 | 最后点击”应用“,关开光猫电源,重启。 40 | 41 |

五、确认一下。

42 | 43 | ![huawei-4](https://pic.edui.fun/images/2013/11/huawei-4.jpg) 44 | 45 | 头部导航”状态“项,看到”已连接“,IP地址也获取到了,表示成功!现在光猫已自动拨号网络已连接了,而且 LAN1、3、4 都可直接网线接出。 -------------------------------------------------------------------------------- /content/posts/coding/hugo-diy-post-type.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Hugo 自定义文章样式" 3 | date: 2020-04-12T18:00:27+0800 4 | tags: [折腾] 5 | --- 6 | 7 | 之前 WordPress 推出不同文章样式,如轻博客一样,发一句话、链接或视频有不同的显示效果。之后,用 Hexo、Bitcron 时都以文件夹形式进行文章分类,并以此为判断条件。 8 | 9 | 效果见: 10 | 11 | ``` 12 | content 13 | ├── posts 14 | │   ├── chat 15 | │   ├── coding 16 | │   ├── daily 17 | │   ├── reading 18 | ``` 19 | 20 | 如 `chat` 目录内的 md 文件是以一句话的模式(头像+时间)显示,怎么实现呢?利用 Hugo 的 [.File.Dir](https://gohugo.io/variables/files/) 和 [replaceRE](https://gohugo.io/functions/replacere/) 正则。 21 | 22 | 23 | 24 | ### 核心代码如下: 25 | 26 | ```html 27 | {{ $PostCate := .File.Dir | replaceRE "posts/(.*)/" "$1"}} 28 | {{ if eq $PostCate "chat"}} 29 | 34 |
35 | 36 | {{ .Content }} 37 |
38 | {{ else }} 39 | ……正常文章样式 40 | {{ end }} 41 | ``` 42 | 43 | 一般修改 `_default/list.html` 和 `_default/single.html`,其中 list 是放在文章列表的 `{{rang ……}}` 循环之中。 44 | 45 | ```html 46 | {{ range 什么什么 .Pages }} 47 | ……这里 48 | {{ end }} 49 | ``` 50 | 51 | ### 随意说明 52 | 53 | `.File.Dir` 是获取当前文章的相对路径 `posts/coding/` ,`replaceRE "posts/(.*)/" "$1"` 是正则到 `coding` 子文件夹名,之后 `{{ if eq $PostCate "chat"}}` 就是判断咯 🤷‍♂️ 54 | 55 | -------------------------------------------------------------------------------- /content/posts/coding/hugo-github-cloudflare.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Hugo by Github with Cloudflare Pages" 3 | date: 2022-01-25T10:07:28+0800 4 | tags: [折腾] 5 | --- 6 | 7 | ![cf-hugo-10](https://r2.immmmm.com/2022/01/cf-hugo-10.png) 8 | 9 | 在线预览: 10 | 11 | 部署全程 Web 端操作,无需本地安装 Hugo 、配置 Git 、连通 Github 等操作。浏览器OS,飞起! 12 | 13 | 14 | 15 | ### Github 导入仓库 16 | 17 | 点击导入 18 | 19 | ![cf-hugo-1](https://r2.immmmm.com/2022/01/cf-hugo-1.png) 20 | 21 | ```html 22 | https://github.com/lmm214/cloudflare-hugo-theme-stack 23 | ``` 24 | 25 | 填入已配置好主题 ( [hugo-theme-stack](https://github.com/CaiJimmy/hugo-theme-stack) ) 的仓库,再给自己的取个仓库名,设置公开、私人都可以。 26 | 27 | {{< figure "https://r2.immmmm.com/2022/01/cf-hugo-2.png" "https://r2.immmmm.com/2022/01/cf-hugo-3.png" "仓库导入完成">}} 28 | 29 | ### Cloudflare Pages 创建项目 30 | 31 | ![cf-hugo-4](https://r2.immmmm.com/2022/01/cf-hugo-4.png) 32 | 33 | Cloudflare Dash 点导航栏 `Pages` ,点 `创建项目`,授权刚创建的 Github 仓库。 34 | 35 | {{< figure "https://r2.immmmm.com/2022/01/cf-hugo-5.png" "https://r2.immmmm.com/2022/01/cf-hugo-6.png" "修改项目名称">}} 36 | 37 | 项目名称可以自定义,我改成了 `lmm` ,CF 会分配对应的二级域名供访问。生产分支默认 `main` 即可。 38 | 39 | ![cf-hugo-7](https://r2.immmmm.com/2022/01/cf-hugo-7.png) 40 | 41 | 框架预设选择 `Hugo` ,添加环境变量,指定高版本的 `HUGO_VERSION` 为 `0.92.0` 42 | 43 | ![cf-hugo-8](https://r2.immmmm.com/2022/01/cf-hugo-8.png) 44 | 45 | {{< figure "https://r2.immmmm.com/2022/01/cf-hugo-9.png" "Pages 创建完成">}} 46 | 47 | 撒花 🎉 48 | 49 | ### 然后,然后 50 | 51 | 了解主题配置 ,修改站点信息。 52 | 53 | 日常发文在 `content/post` 文件夹下新增 md 文件即可。 54 | -------------------------------------------------------------------------------- /content/posts/coding/hugo-github-editpath.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '前端编辑 Hugo 文章' 3 | date: '2020-03-29T23:15:00+08:00' 4 | tags: [折腾] 5 | --- 6 | 7 | 目前发文是直接在 Github 前端进行,Hugo 的构建交给 [Github Actions](https://immmmm.com/hugo-github-actions/) 实现自动化部署。因此,产生个需求,文章里改个错别字什么的,能不能一键直达 GIthub 编辑页面? 8 | 9 | ```html 10 | # 当面页面链接 11 | https://immmmm.com/hugo-themes/ 12 | # Github 编辑页面链接 13 | https://github.com/lmm214/immmmm/edit/master/content/posts/coding/hugo-themes.md 14 | ``` 15 | 16 | 17 | 18 | 想想是可行的,无非是根据当前文章的链接构建编辑页面的链接。直接放代码: 19 | 20 | ```html 21 | 编辑文章 22 | ``` 23 | 24 | 为了页面美观,偷偷加到了某个地方。 ✌️ -------------------------------------------------------------------------------- /content/posts/coding/hugo-goods-page.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Hugo 创建「好物」页面" 3 | date: 2023-05-27T10:36:47+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2023/05/goods-page.png 6 | --- 7 | 8 | 最早是在 [@koobai](https://koobai.com/hardware/) 看到「好物」页面,前几天又看到 [@wananaiko](https://www.wananaiko.com/goods/) 也已折腾,这得紧跟步伐。(其实是宏手柄到了,挂机刷素材中~) 9 | 10 | 11 | 12 | ### 更新说明 13 | 14 | 2023-06-03 已更换为利用 Memos 发布好物,具体见:[《Hugo 「近期」短代码(基于 Memos Docker)》](https://immmmm.com/hugo-shortcodes-recently-by-memos/#%E8%BF%91%E6%9C%9F%E5%A5%BD%E7%89%A9) 15 | 16 | ### 原实现思路 17 | 18 | 利用 `getJSON` 函数统一维护页面数据,后期更新修改在 `data/goods.json` 中,不再需要动页面模板。 19 | 20 | 当然,如 @wananaiko 通过短代码实现也是OK的,不过短代码更适合单条数据在不同文章内调用,不然模板内置的 CSS 会重复插入。 21 | 22 | ### 具体代码 23 | 24 | 涉及 3 个文件: 25 | 26 | [themes/hello-friend/layouts/_default/goods.html](https://github.com/lmm214/immmmm/blob/master/themes/hello-friend/layouts/_default/goods.html) :创建页面模板 27 | 28 | [content/goods.md](https://github.com/lmm214/immmmm/blob/master/content/goods.md) :新建 Hugo 页面 29 | 30 | [data/goods.json](https://github.com/lmm214/immmmm/blob/master/master/static/goods/goods.json):数据文件 31 | 32 | ### 后话 33 | 34 | 「好物」剁手真听不得大数据推送……当下,个体推荐价值逐步回升。 35 | 36 | 最后,推荐一个设计感十足的独立博客收录导航:「积薪」 [firewood.news](https://firewood.news/) 37 | -------------------------------------------------------------------------------- /content/posts/coding/hugo-render-hook.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Hugo 图片懒加载" 3 | date: 2020-03-24T21:28:00+08:00 4 | tags: [折腾] 5 | feature: https://pic.edui.fun/images/2020/03/logo-lazy.jpeg 6 | --- 7 | 8 | 起因,想给文章插入的 img 图片添加 `loading='lazy'`,果然有爱折腾的,看([这里](https://lvv.me/posts/2019/12/24_hugo_render_hooks/)),官方说明 [#render-hook-templates](https://gohugo.io/getting-started/configuration-markup/#render-hook-templates),Hugo v0.62+ 9 | 10 | 简单说能对md内的链接(link)和图像(image)自定义渲染,比如实现以上需求,只需在主题新建 `layouts/_default/_markup/render-image.html` 11 | 12 | 13 | 14 | ```html 15 | layouts/_default 16 | ├── _markup 17 | │   └── render-image.html 18 | ``` 19 | 20 | 丢入代码: 21 | ```html 22 |

23 | {{ .Text }} 24 |

25 | ``` 26 | 27 | 🐯🐶一下,收工!等等,这么简单?!再来个图片自动 jsdelivr cdn 前缀? 28 | 29 | -------------------------------------------------------------------------------- /content/posts/coding/hugo-shortcodes-article-link.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Hugo 文章内链优化显示" 3 | date: 2020-04-05T22:30:27+0800 4 | tags: [折腾] 5 | --- 6 | 7 | 好久好久之前(2年前),写过这功能:[《Bitcron 文章内链自动优化显示》](https://immmmm.com/bitcron-auto-article-refer/),如下效果: 8 | 9 | {{}} 10 | 11 | 本文利用 Hugo 的 [Shortcodes](https://gohugo.io/extras/shortcodes/) 功能和 [.GetPage](https://gohugo.io/functions/getpage/) 函数来实现。 12 | 13 | 14 | 15 | ### 功能代码 16 | 17 | 创建 `/layouts/shortcodes/link.html`: 18 | ```html 19 | {{$URL := .Get 0}} 20 | {{ with .Site.GetPage $URL }} 21 |
22 |
23 |
24 |

25 | {{ .Title }} 26 |

27 | 28 | {{ if .Params.tags }} 29 | {{ range .Params.tags }}#{{ . }} {{ end }} 30 | {{ end }} 31 |
32 | {{ .Summary | plainify}} 33 |
34 |
35 |
36 |
37 | {{ end }} 38 | ``` 39 | 40 | ### 样式代码 41 | 42 | 样式 CSS 代码需自行调配,个人是复用豆瓣条目的: 43 | 44 | {{}} 45 | 46 | ### 食用方式 47 | 48 | ```html 49 | \{\{\}\} 50 | ``` 51 | 52 | 文章内去掉反斜杠 `\` 插入即可。 53 | 54 | 其中 `link` 匹配短代码模板 `link.html` ,之后填的 `bitcron-auto-article-refer` 是文章 md 的文件名。 -------------------------------------------------------------------------------- /content/posts/coding/hugo-shortcodes-douban.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Hugo 豆瓣短代码" 3 | date: 2023-01-23T21:52:44+0800 4 | tags: [折腾] 5 | --- 6 | 7 | {{< douban "https://book.douban.com/subject/35496106/">}} 8 | 9 | {{< douban "https://movie.douban.com/subject/35267208/">}} 10 | 11 | 效果如上 ⬆️ 12 | 13 | 14 | 15 | ### 豆瓣书影音同步 GitHub Action 16 | 17 | 教程: 18 | 19 | ### Hugo 主题集成 20 | 21 | 把 [douban.html](https://github.com/lmm214/immmmm/blob/master/themes/hello-friend/layouts/shortcodes/douban.html) 另存为 html 之后丢入主题 `/layouts/shortcodes/` 内。 22 | 23 | 文章内如下插入即可(需去掉反斜杠): 24 | 25 | ``` 26 | \{\{< douban "https://book.douban.com/subject/35496106/">\}\} 27 | \{\{< douban "https://movie.douban.com/subject/35267208/">\}\} 28 | ``` 29 | 30 | 相关 css 见这里 [theme.css](https://github.com/lmm214/immmmm/blob/master/themes/hello-friend/static/theme-20230214.css) ,搜索 `db-card`。 31 | 32 | ### 说明 33 | 34 | 2023-02-14 更新:之前分享的 API 镜像已挂,爬不起来的那种。目前采用本地解析豆瓣 csv 数据。 -------------------------------------------------------------------------------- /content/posts/coding/hugo-shortcodes-music.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Hugo 音乐短代码" 3 | date: 2020-04-09T14:25:00+0800 4 | tags: [折腾] 5 | --- 6 | 7 | 感谢 [LoveIt](https://hugoloveit.com/zh-cn/theme-documentation-shortcodes/#music) 、[MetingJS](https://github.com/metowolf/MetingJS) 真方便! 8 | 9 | 具体源码见:[shortcodes/music.html](https://github.com/lmm214/immmmm/blob/master/themes/hello-friend/layouts/shortcodes/music.html),把这个文件丢入自己的主题文章内插入调用代码即可,已粗暴的把 js 和 css 丢在一起。 10 | 11 | 12 | 13 | 效果如下: 14 | 15 | {{< music auto="https://music.163.com/#/playlist?id=60198">}} 16 | 17 | -------------------------------------------------------------------------------- /content/posts/coding/hugo-shortcodes-recently-by-douban.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Hugo 「近期」短代码(基于 Doumark Actions)" 3 | date: 2023-02-02T13:07:42+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2023/01/hugo-re-1.png 6 | --- 7 | 8 | 9 | 观影和阅读记录页面,无论用什么博客程序,总会想办法找 API 造轮子来实现。目前使用的是 [Douban sync for GitHub Actions](https://github.com/lizheming/doumark-action) 方法,它会自动把“豆瓣观影/阅读/音乐记录同步”存为本地文件,安逸! 10 | 11 | 既然本地已经有一份自己的观影和阅读数据文件 `data/douban/movie.csv` 和 `data/douban/book.csv` ,除了做成两个页面,这些数据还能怎么用呢? 12 | 13 | 14 | 15 | 近期一直盯着 `getJSON` 函数和 Hugo 短代码做文章,那,继续折腾呗! 16 | 17 | ### 功能介绍 18 | 19 | 与完整记录页面的区别是,做成了短代码形式,同时限制了数量,方便文章中调用,比如在「关于」页面中展示。 20 | 21 | ### 主题集成 22 | 23 | - 部署 [豆瓣书影音同步 GitHub Action](https://imnerd.org/doumark.html); 24 | - 把 [books.html](https://github.com/lmm214/immmmm/blob/master/themes/hello-friend/layouts/shortcodes/books.html) 和 [movies.html](https://github.com/lmm214/immmmm/blob/master/themes/hello-friend/layouts/shortcodes/movies.html) 另存为 html 之后丢入主题 `/layouts/shortcodes/` 内; 25 | - 调用代码如下,默认是 4条数据。当然,也可手动指定,在短代码里加上数字(注意:直接数字,无引号): 26 | 27 | ``` 28 | \{\{< movies >\}\} 29 | \{\{< books >\}\} 30 | \{\{< movies 8>\}\} 31 | \{\{< books 8>\}\} 32 | ``` 33 | 34 | ### 效果演示 35 | 36 | #### 默认 4 条 37 | 38 | {{< movies >}} 39 | 40 | #### 指定 8 条 41 | 42 | {{< books 8>}} -------------------------------------------------------------------------------- /content/posts/coding/hugo-total-count.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Hugo 总文章数和总字数" 3 | date: 2020-04-10T14:46:43+0800 4 | tags: [折腾] 5 | --- 6 | 7 | 前者在某个大神主题中翻到,一句代码: 8 | 9 | ``` 10 | 共 {{ len (where .Site.RegularPages "Section" "posts") }} 篇文章 11 | ``` 12 | 13 | 总字数没有现成参数,官方手册看到 [.Scratch.Add](https://gohugo.io/functions/scratch/) 瞎折腾完成: 14 | 15 | ``` 16 | {{$scratch := newScratch}} 17 | {{ range (where .Site.Pages "Kind" "page" )}} 18 | {{$scratch.Add "total" .WordCount}} 19 | {{ end }} 20 | ``` 21 | 新建了个参数累加所有文章的 `.WordCount` 字数,一般放 footer 头几行,下面是调用代码: 22 | 23 | ``` 24 | 总计 {{$scratch.Get "total" }} 字 25 | ``` -------------------------------------------------------------------------------- /content/posts/coding/ios14-transparent-widget-by-shortcuts.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "利用「快捷指令」创建“透明”小组件" 3 | date: 2020-10-06T16:27:30+0800 4 | tags: [折腾] 5 | feature: https://pic.edui.fun/images/2020/10/transparent-widget.JPEG-webp 6 | --- 7 | 8 | 全“透明”占坑图! 9 | 10 | ### 快捷指令:用来切图 11 | 12 | 一个快捷指令搞定:「透明小组件」[(这里)](https://www.icloud.com/shortcuts/59062aac9ee241f0b14c9190b9ed09f5) 13 | 14 | 其实小组件就3个size,2x2、2x4、4x4,也就是小有6个不同位置、中有3个、大有2个,相对应做了下面3个快捷指令,运行后生成对应位置的背景图片,如小的就把背景图切成6张小图,分别是:上左、上右、中左、中右、下左、下右。 15 | 16 | 特别感谢 [@小悟空哥](https://sharecuts.cn/shortcut/8370) 和 [@mzeryck](https://github.com/mzeryck/Transparent-Scriptable-Widget) 分享的「快捷指令」和「Scriptable」代码。 17 | 18 | 19 | 20 | ### 使用步骤: 21 | 22 | 准备:截个只有背景的图(编辑桌面滑到最右);运行「快捷指令」切图。 23 | 24 | 添加小组件: 25 | 26 | - 使用 **「Days Matter」** 创建小组件; 27 | - 使用 **「Scriptable」** 创建小组件; 28 | 29 | ### Scriptable 代码分享 30 | 31 | 32 | 33 | ![touming](https://pic.edui.fun/images/2020/10/touming.jpg) 34 | 35 | `TouMing.js` 第一次运行会要求选择背景图片,多个位置可通过 **复制、重命名** 再选择。 36 | 37 | `TouMingWttrInLine` 内置了 Wttr.In 天气数据。 38 | 39 | `TouMingWeiBo` 基于 [@evilbutcher](https://github.com/evilbutcher/Scriptables) 修改。 40 | 41 | ### 一句啰嗦 42 | 43 | 刚发生所有小组件**字体**发虚,点击无法进入对应 APP,重启解决。 -------------------------------------------------------------------------------- /content/posts/coding/jinrishici-with-valine.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '今日诗词 & Valine' 3 | date: 2020-01-30 4 | tags: [折腾] 5 | published: true 6 | hideInList: false 7 | feature: 8 | isTop: false 9 | --- 10 | 11 | [今日诗词](https://www.jinrishici.com/):一个可以随机返回一句古诗词名句的接口,宅到用来做 Valine 的 placeholder 显示内容…… 12 | 13 | ![今日诗词 and Valine](https://pic.edui.fun/images/2020/01/jinrishici.png) 14 | 15 | 16 | 17 | ```js 18 | 19 | 25 | ``` 26 | -------------------------------------------------------------------------------- /content/posts/coding/jsdelivr-gridea.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '使用 jsDelivr 加速 Gridea' 3 | date: 2020-03-13 4 | tags: [折腾] 5 | --- 6 | 如果有博客托管在 GitHub 的话,加载速度着实感人,使用 jsDelivr 的 CDN 大法能有效改善,操作也简单,把原网址替换一下就能搞定! 7 | 8 | ```js 9 | https://lmm214.github.io/immmmm/media/js/jquery.min.js 10 | ``` 11 | 12 | 改为: 13 | 14 | ```js 15 | https://fastly.jsdelivr.net/gh/lmm214/immmmm/media/js/jquery.min.js 16 | ``` 17 | 其中 `lmm214` 和 `immmmm` 分别为 GitHub 的用户名和仓库名,之后的 `/media/js/jquery.min.js` 为静态文件地址。 18 | 19 | 20 | 21 | ### 支持 Gridea 主题自定义 22 | 23 | ![jsdelivr](https://pic.edui.fun/images/2020/03/jsdelivr.png) 24 | 25 | `config.json` 添加如下代码: 26 | 27 | ```js 28 | {"name": "jsdelivr","label": "jsDelivr 加速","group": "jsDelivr 加速配置","value": "false","type": "select", 29 | "options": [ 30 | {"label": "开启","value": true}, 31 | {"label": "关闭","value": false} 32 | ] 33 | }, 34 | {"name": "username","label": "Github 用户名","group": "jsDelivr 加速配置","value": "","type": "input","note": "请输入 Github 用户名"}, 35 | {"name": "repository","label": "Github 仓库名","group": "jsDelivr 加速配置","value": "","type": "input","note": "请输入 Github 仓库名"} 36 | ``` 37 | 38 | 需要处,一般是 `head.ejs` 或 `footer.ejs` 按如下格式调整: 39 | 40 | ```js 41 | <% if ( site.customConfig.jsdelivr == true) { %> 42 | 43 | <% } else{ %> 44 | 45 | <% }; %> 46 | ``` 47 | 48 | 完工! 49 | 50 | -------------------------------------------------------------------------------- /content/posts/coding/lucky-everday.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Lucky-canvas 抽奖插件折腾记" 3 | date: 2025-05-31T20:02:58+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2025/05/dzp-1.webp 6 | --- 7 | 8 | 基于 [「Lucky-canvas」](https://github.com/buuing/lucky-canvas) 抽奖插件,借助 [字节跳动 trae](https://www.trae.ai/) 做了个大转盘,全屏显示、替换背景、概率设置、一键导入、边框修改等能想到的和需要的功能都已实现,效果远超预期。 9 | 10 | 11 | 12 | 体验地址: 13 | 14 | ### 使用手册 📚 15 | 16 | 1.打开网址, 右下角“全屏按钮”,右上角是“设置入口”。点击中间开始转动,结束时会弹出中奖内容,并伴有撒花。 17 | 18 | 2.右上角点击进入“设置”。首次打开,点击安装字体“Aa 年度最可爱”。 19 | 20 | 3.设置分层两列,左侧显示的奖项名称、中奖概率,可以直接修改或删除。说明:某一奖项的数值是这一项中奖率的“分子”,所有数值总和是“分母”。如“棒棒糖”的中奖率设置的 15,则中奖率是 21 | 22 | `15/(10+10+……+15+10+10+5)` 23 | 24 | 4.左侧奖项列表下方是 4 个按钮。顾名思义,第 1、2、4 项试试就知。说明一下第 3 项“上传配置”,采用了“上传 txt 文件,一行一条内容”的形式,一键导入。如:本地新建了以下内容「姓氏+空格+中奖数值」 25 | 26 | ```js 27 | 张 1 28 | 王 1 29 | 李 1 30 | 田 1 31 | 柳 1 32 | 石 1 33 | ``` 34 | 35 | 点击“上传配置”,选择 txt 文件,导入即可。所以,如果要换电脑快速导入,只要编辑保存好自己的“奖项.txt”到别的电脑,导入即可。 36 | 37 | 5.配置右侧,点击可更改转盘配色、指针、内外层转盘背景。 38 | 39 | *随心搭配,换着玩儿~* 40 | 41 | ### 致谢 42 | 43 | [抽奖组件 lucky-canvas 素材大全](https://taoshu.in/web/lucky-canvas.html#%E8%80%81%E8%99%8E%E6%9C%BA) 44 | 45 | 🎉 -------------------------------------------------------------------------------- /content/posts/coding/lxgw-wenkai-webfont.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "启用「霞鹜文楷」在线字体" 3 | date: 2023-01-07T14:35:18+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2023/01/wenkai-1.png 6 | --- 7 | 8 | 项目地址: 9 | 10 | 11 | 12 | 直接调用 CDN。 13 | 14 | ``` 15 | 16 | ``` 17 | 18 | 或 @一蓑烟雨 分享的 staticfile CDN 19 | 20 | ``` 21 | 22 | ``` 23 | 24 | ``` 25 | body { 26 | /* Screen version */ 27 | font-family: "LXGW WenKai Screen", sans-serif; 28 | } 29 | ``` 30 | 31 | 舒服 😌 -------------------------------------------------------------------------------- /content/posts/coding/memos-by-telegram-bot.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Memos x Telegram Bot" 3 | date: 2023-10-21T10:53:47+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2023/10/memos-home.jpg 6 | --- 7 | 8 | 官方内置了电报机器人发 Memos 的功能([教程](https://usememos.com/docs/integration/telegram-bot)),并且还支持通过代理连接到 Telegram API,这给部署在国内的 Memos 指了条明路。 9 | 10 | 直连:Telegram Bot <-x-> Memos 11 | 12 | 中转:Telegram Bot <--> Proxy <--> Memos 13 | 14 | 15 | 16 | 这里的代理采用 CloudFlare Workers 大法搞定! 17 | 18 | ### 配置流程 19 | 20 | 1.新建 [CloudFlare Workers](https://dash.cloudflare.com/),丢入以下代码,记得绑个自己的域名 21 | 22 | ``` 23 | const tg_host = "api.telegram.org"; 24 | addEventListener('fetch', event => { 25 | event.respondWith(handleRequest(event.request)) 26 | }) 27 | async function handleRequest(request) { 28 | var u = new URL(request.url); 29 | u.host = tg_host; 30 | var req = new Request(u, {method: request.method,headers: request.headers,body: request.body}); 31 | const result = await fetch(req); 32 | return result; 33 | } 34 | ``` 35 | 36 | 2.电报 @botfather 新建 Bot 并获取 机器人的 Token 37 | 38 | 格式例如:`4839574812:AAFD39kkdpWt3ywyRZergyOLMaJhac60qc` 39 | 40 | 3.Memos 后台 -- 系统 -- Telegram 机器人 Token 41 | 42 | 填入如下格式内容:`https://<自己的域名>/bot`,如: 43 | 44 | ``` 45 | https://memos-bot.xxxx.com/bot4839574812:AAFD39kkdpWt3ywyRZergyOLMaJhac60qc 46 | ``` 47 | 48 | 4.电报 Bot 里输入 `start` 获取到用户 ID 49 | 50 | 5.Memos 后台--偏好设置,填入 Telegram UserID 51 | 52 | ### Bot 使用说明 53 | 54 | - 发消息后会返回“可见性”选项,按需要再点一下才会发布。 55 | - 发图片时的填入“图片说明”,即可实现图文发布。 -------------------------------------------------------------------------------- /content/posts/coding/menubarx-mac-app.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "软件推荐:MenubarX for MacOS" 3 | date: 2022-01-08T20:37:03+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2022/01/menubarx.jpg 6 | --- 7 | 8 | > 一款强大的 Mac 菜单栏浏览器,可以在菜单栏固定任何网页,就像原生 App 一样使用。 9 | 10 | [@hzlzh](https://github.com/hzlzh) 业余开发的小而美 Mac App,摸鱼神器 😊 11 | 12 | 13 | 14 | 自个儿放了个「单向历」的日历: 15 | 16 | 再放啥点呢? -------------------------------------------------------------------------------- /content/posts/coding/new-home-page-2023.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "启用新首页「连接」" 3 | date: 2023-06-12T22:57:20+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2023/06/myfriends.png 6 | --- 7 | 8 | 值得 Mark 一笔! 9 | 10 | 最初动力来自于 [「积薪」](https://firewood.news/) (一个颜值在线的独立博客导航站),首页的前五篇文章样式直接来自于此。 11 | 12 | 另外的几个模块分别是:[哔哔点啥](/bbs/)、[朋友连接](/friends/)、[近期光影](/album/)、[近期好物](/goods/)、[近期观影](/movies/)、[近期阅读](/books/)。 13 | 14 | 15 | 16 | 其实这些功能内容之前就以“页面”形式展示,现在能集成到首页来,完全依赖于开源程序、依赖于开放的 API 数据调用。 17 | 18 | 具体技术不多解释啦,可看源码~ 19 | -------------------------------------------------------------------------------- /content/posts/coding/off-remotely-save.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "被 Remotely Save 劝退" 3 | date: 2022-07-18T12:18:38+0800 4 | tags: [折腾] 5 | --- 6 | 7 | Remotely Save 是 Obsidian 第三方同步插件,支持“S3及其兼容存储,Dropbox,OneDrive for personal,webdev。”同步模式。 8 | 9 | 搜到说:使用1元50G的腾讯COS储存桶比 iCloud 模式稳定、安全 、速度快。心动一试,折腾一晚上,差点笔记全丢……(最后是笔记本解锁马上断网,把文件复制出来。) 10 | 11 | 12 | 13 | 整个连接是非常顺利,但问题出在插件安装、数据同步、库路径转移、手机端同步的这些操作顺序,特别是在数据未完全同步时,同时下一步…… 14 | 15 | 当然,以上这些问题都可解,最后也成功同步。但,还是选择忍受 iCloud 的尿性,切了回来。 16 | 17 | 被劝退,主要是下面几点原因: 18 | 19 | - 同步机制没有“文件保存触发同步”不够“丝滑”; 20 | - 定时同步时有一串(8条)通知条,同步后笔记还会“闪烁”(重载)一下,不够“无感”; 21 | - 同步冲突以文件的最后时间为准,而非“局部增量”同步,若多端在“定时同步”时间间隔内对同一文件进行操作,那就直接错乱…… 22 | 23 | 行吧,惊险体验,自己闲的! -------------------------------------------------------------------------------- /content/posts/coding/ollama-obsidian.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Obsidian Ollama,本地跑起来~" 3 | date: 2023-12-16T22:50:08+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2023/12/obsidian-ollama.png 6 | --- 7 | 8 | 几天前看到 [@歸藏](https://twitter.com/op7418/status/1734492326599467291) 分享“如何用 Ollama 在 Mac 本地跑 LLM,并且用在 Obsidian 上处理自己的笔记和内容”。教程步骤简洁清晰,无任何报错顺利上手 💪 9 | 10 | 11 | 12 | - Ollama 官网下载安装包 13 | - 打开终端输入 `ollama run mistral`,等待下载完成即可对话(更多模型见[项目仓库](https://github.com/jmorganca/ollama)) 14 | - Obsidian 搜索安装 Ollama 插件(或 [项目仓库](https://github.com/hinterdupfinger/obsidian-ollama)) 15 | 16 | 但,第三步 Obsidian Ollama 插件不给力! 17 | 18 | 遂,自己动手,丰衣足食: 19 | 20 | 「Obsidian Ollama 折腾版」: 21 | 22 | ### 折腾内容 23 | 24 | - 把原项目里的 PR 手动合在了一起(可设定默认模型、过程 steam 输出) 25 | - 加了命令的中文提示 26 | - 修改默认模型为 `mistral` 27 | - 修改默认端口,解决跨域问题 28 | 29 | ### 使用步骤 30 | 31 | - 手动安装 [Obsidian Ollama 折腾版](https://github.com/lmm214/obsidian-ollama/releases)插件 32 | - 终端输入启动命令 33 | 34 | `OLLAMA_ORIGINS=*,app://obsidian.md* OLLAMA_HOST=127.0.0.1:11435 ollama serve` 35 | 36 | - Obsidian 笔记中快捷键 `command + P` 37 | 38 | {{< figure "https://r2.immmmm.com/2023/12/obsidian-ollama-2.png" "command + P">}} 39 | 40 | ### 折腾体验 41 | 42 | 模型大小是 4.1GB,运行时内存占用也差不多6G,Mac mini M2 16G 下,解释一个概念、翻译一句话等待 10+ 秒,总结千字文等待约 1~2 分钟。 43 | 44 | 搭配另一个插件一起使用也不错 [BMO Chatbot for Obsidian](https://github.com/longy2k/obsidian-bmo-chatbot?tab=readme-ov-file) ,它可以在侧边栏中对当前文档进行对话。 -------------------------------------------------------------------------------- /content/posts/coding/pk24go-cn.md: -------------------------------------------------------------------------------- 1 | --- 2 | date: 2017-07-26 3 | title: '决战24点(HTML5)开发小记' 4 | tags: [折腾] 5 | published: true 6 | hideInList: false 7 | isTop: false 8 | --- 9 | 10 | 点击体验: 11 | 12 | 本就开发了一个玩儿24点游戏的微信公众号“决战24点”(pk24go),可以回复综合算式进行解答。说实话,还是挺不方面的。前段时间看到 [4数网](http://4shu.net/) 在线 HTML5 玩法,立马着手改造! 13 | 14 | ### 改造点 15 | 16 | 1、界面UI:以方格为基本图形,4个数字在4个角落,4个运算符号在中间,完成数、撤销返回、提示等按钮在空白小方格中。 17 | 2、功能减法:去除时间限制模式、积分、结束按钮。 18 | 3、功能加法:新增【题库选择】可选择数字范围1~10或1~13,新增【待解模式】针对性强化玩家提示过的题组。 19 | 20 | 21 | 22 | ### 功能优化(踩坑): 23 | 24 | 1、去除移动端点击事件出现的灰色背景框添加CSS属性样式 25 | 26 | `body{-webkit-tap-highlight-color:rgba(0,0,0,0)}` 27 | 28 | 2、加速 click 点击延迟历史遗留问题,移动浏览器大约 300 毫秒的等待时间。为什么这么设计呢? 因为它想看看你是不是要进行双击(double tap)操作。 29 | 30 | 解决方法 [FastClick.js](https://github.com/ftlabs/fastclick/) 31 | 32 | 3、canvas 宽度自适应 33 | 34 | 解决方法 [FixCanvasSizeOnDevice](https://github.com/zhangjikai/CodeSamples/blob/master/html/html5/FixCanvasSizeOnDevice.html) 35 | 36 | 小坑:meta 中 `initial-scale=1` 改为 `initial-scale=1.0` 37 | 中坑:canvas 画出来的文字线条严重发虚! 38 | 39 | 解决方法 [HiDPI Canvas Polyfill](https://github.com/jondavidjohn/hidpi-canvas-polyfill) 40 | 41 | 4、利用 LocalStorage 的“黑科技” 42 | 43 | [Basket.js](https://github.com/addyosmani/basket.js) 把近 70KB 的1362道题目和解法缓存到浏览器中 44 | 45 | ### 源码 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /content/posts/coding/qq-handwrite-typewriting.md: -------------------------------------------------------------------------------- 1 | --- 2 | date: 2019-08-01 3 | title: 'Canvas 手写输入法' 4 | tags: [折腾] 5 | published: true 6 | hideInList: false 7 | isTop: false 8 | --- 9 | 10 | 11 | [xuebihua-cn](xuebihua-cn) 12 | 13 | 在整合完“写笔画”网站后,考虑到大屏上输入文字不太方便,搜索一圈发现以下代码:[web版手写输入法](https://my.oschina.net/u/3112095/blog/3038734) ,利用了 QQ输入法的手写 [handwritingapi.js](http://s.pc.qq.com/webime/hw/js/handwritingapi.js) 接口,不过文中添加的仅是鼠标事件,移动端的触摸事件不支持。 14 | 15 | 折腾到凌晨实在搞不定,求助了 @牧风 后依然卡壳,之后发现QQ输入法的鼠标定位值和 Canvas 直接触摸定位值不同,依样画葫芦造函数,神奇般的成了! 16 | 17 | 源码粗糙,可用就好: -------------------------------------------------------------------------------- /content/posts/coding/randompost-by-sitemap.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "利用 SiteMap 随机访问站内页面" 3 | date: 2022-08-10T12:02:31+0800 4 | tags: [折腾] 5 | --- 6 | 7 | 看到 [@HEO](https://blog.zhheo.com/p/c116857c.html) 和 [@Leonus](https://blog.leonus.cn/2022/randomPost.html) 都发了一篇关于此主题的。试了后,采用了后者实现的方法,直接简易。点点 menu 的 🎲 图标即可体验。 8 | 9 | 具体实现思路是,直接前端解析 [sitemap.xml](https://immmmm.com/sitemap.xml) ,随机获取一个 `url loc` 链接,同时增加了判断,若不小心取到以下链接(首页、标签页、分类页等,采用 `.split('/')[3]` 取主域名 / 后的字符为判断依据),则再循环取一个。 10 | 11 | ```html 12 | https://immmmm.com/ 13 | https://immmmm.com/tags/ 14 | ``` 15 | 16 | 17 | 18 | 相关 JavaScript 代码: 19 | 20 | ```JavaScript 21 | function randomPost() { 22 | fetch('/sitemap.xml').then(res => res.text()).then(str => (new window.DOMParser()).parseFromString(str, "text/xml")).then(data => { 23 | let ls = data.querySelectorAll('url loc'); 24 | let locationHref,locSplit; 25 | do { 26 | locationHref = ls[Math.floor(Math.random() * ls.length)].innerHTML 27 | locSplit = locationHref.split('/')[3] || '' 28 | } while (locSplit == '' || locSplit == 'tags'); 29 | //若所有文章都如 https://…….com/posts/2022/07/…… 格式,主域名后字符是 posts,则循环条件改为: 30 | //while (locSplit !== 'posts'); 31 | location.href = locationHref 32 | }) 33 | } 34 | ``` 35 | 36 | 当然,若所有文章都如 `https://…….com/posts/2022/07/……` 格式,主域名后字符是 `posts`,则循环条件改为:`while (locSplit !== 'posts');` 37 | 38 | 再找个地方丢 html 代码: 39 | 40 | ```html 41 | 随机 42 | ``` -------------------------------------------------------------------------------- /content/posts/coding/rgbaster-js.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "获取图片主色脚本:Rgbaster.js" 3 | date: 2022-03-06T11:10:11+0800 4 | tags: [折腾] 5 | --- 6 | 7 | {{< figure "https://r2.immmmm.com/2022/03/rgbaster-rili.png" "https://r2.immmmm.com/2022/03/rgbaster-rili2.png" "单向历" >}} 8 | 9 | 之前做了一个 [单向历](https://edui123.com/rili/) 的单页面,通过 js 请求 api 加载当天的图片。有点小矛盾,当天图片大部分是白色,个别是黑色,那背景色怎么设置都会违和。 10 | 11 | 真是只有想不到没有做不到,而且很多还是别人已经做过的! 12 | 13 | 14 | Github 项目主页: 15 | 16 | 详细使用参考: 17 | 18 | 自己加了一个 rgba 的透明度。 19 | 20 | ```html 21 | https://edui123.com/rili/rgbaster.min.js 22 | ``` -------------------------------------------------------------------------------- /content/posts/coding/rsshub-docker.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 'RSSHub 部署笔记' 3 | date: 2020-03-21 4 | tags: [折腾] 5 | --- 6 | >🍰 万物皆可 RSS。 7 | 8 | 内容来源: 9 | 10 | ``` 11 | $ docker pull diygod/rsshub 12 | $ docker run -d --name rsshub -p 1200:1200 diygod/rsshub 13 | ``` 14 | 15 | 用宝塔面板的话,放行 1200 端口。浏览器打开 http://IP:1200/ ,看到成功页面。✅ 16 | 17 | 18 | 19 | ### 绑定域名 20 | 21 | ![rsshub](https://pic.edui.fun/images/2020/03/rsshub.png) 22 | 23 | 每次 IP 总不方便,子域名绑起,后台添加网址,加一个「理代向反」即可。 24 | 25 | ### 使用指北 26 | 27 | ![rsshub-1](https://pic.edui.fun/images/2020/03/rsshub-1.jpg) 28 | 29 | 配合 chrome 扩展更方便:[RSSHub Radar](https://chrome.google.com/webstore/detail/rsshub-radar/kefjpfngnndepjbopdmoebkipbgkggaa) ,自定义域名,随时查询规则! 30 | 31 | 再配合 [《电报 Flowerss Bot》](https://immmmm.com/telegram-flowerss-bot/),开启私属 rss 聚合机器人! 32 | -------------------------------------------------------------------------------- /content/posts/coding/scriptable-widget.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "初体验 Scriptable 小挂件" 3 | date: 2020-10-05T18:30:49+0800 4 | tags: [折腾] 5 | feature: https://pic.edui.fun/images/2020/10/transparent_widget-1.png-webp 6 | --- 7 | 8 | 图中代码见:[mz_transparent_widget.js](https://github.com/lmm214/Transparent-Scriptable-Widget/blob/master/mz_transparent_widget.js) 9 | 10 | 另外,中文化的仓库找到这两个: 11 | 12 | - 13 | - 14 | 15 | 16 | 17 | 还有这个: 18 | 19 | ![scriptable](https://pic.edui.fun/images/2020/10/scriptable.jpg) 20 | 21 | [byenow/scriptable-widget](https://github.com/byenow/scriptable-widget/blob/master/index.js) 22 | 23 | ### 折腾流程 24 | 25 | 1.安装 `Scriptable` ([TestFlight版](https://testflight.apple.com/join/uN1vTqxk)) 26 | 27 | 2.下载 `Env.js` ([这里](https://github.com/evilbutcher/Scriptables/blob/master/Env.js)) 28 | 29 | 3.下载想要使用的 `xxx.js` 文件,直接 Airdrop 导入 Scriptable 。 30 | 31 | ### 啰嗦一句 32 | 33 | 三个Size放桌面依然鸡肋,且目测所有挂件都不是刚需,因为这货仅是个“延迟输出”,无功能交互。不如「快捷方式」丢桌面好使! 34 | 35 | 继续期待:「Taio」 -------------------------------------------------------------------------------- /content/posts/coding/slimbox2-js-adaptive.md: -------------------------------------------------------------------------------- 1 | --- 2 | date: 2014-04-19 3 | title: 'Slimbox2.js 图片灯箱自适应' 4 | tags: [折腾] 5 | published: true 6 | hideInList: false 7 | isTop: false 8 | --- 9 | 10 | Github: [slimbox2-lite](https://github.com/lmm214/slimbox2-lite) 11 | 12 | 很久很久以前(喂,喂喂),很早很早以前(嘿!),好吧。以前发现只有几KB的图片灯箱特效 slimbox2 就瞬间被它征服了,不过这娃一直有个硬伤: 13 | 14 | 图片多大灯箱显示出来的图片就有多大。就是说,一旦图片比较大比如1800*1200,显示器只有1280*800,那真是赤果果扑面而来啊! 15 | 16 | 虽然带着这个硬伤,还是把它作为哥发布的主题的标配!昨 @小黑黑 再一次向我反馈了这个情况,一下决心操起编辑器开试。吼,花了个把小时把 js 从头到尾读了N遍后,顺利搞定!修改部分如下: 17 | 18 | 19 | 20 | ```javascript 21 | function animateBox() { 22 | center.className = ""; 23 | //Slimbox2 图片灯箱自适应 By ImMmMm.com 24 | //CSS 内新增 background-size":"100%",之后增加对浏览器宽、高和图片宽、高判断。 25 | $(image).css({backgroundImage: "url(" + activeURL + ")", visibility: "hidden", display: "","background-size":"100%"}); 26 | var p_w = preload.width,p_h = preload.height,w_w = win.width(),w_h = win.height(); 27 | if (p_w >= w_w || p_h >= w_h){ 28 | if ( w_w >= w_h ){ 29 | $(sizer).width(w_h*0.8*p_w/p_h); 30 | $([sizer, prevLink, nextLink]).height(w_h*0.8); 31 | }else{ 32 | $(sizer).width(w_w*0.8); 33 | $([sizer, prevLink, nextLink]).height(w_w*0.8*p_h/p_w); 34 | } 35 | }else{ 36 | $(sizer).width(preload.width); 37 | $([sizer, prevLink, nextLink]).height(preload.height); 38 | } 39 | //End 40 | ``` 41 | 42 | 主要思路是图片宽度或高度超出浏览器时:图片宽度大于高度(横图),以浏览器高度80%作为图片高度,宽度等比缩小;竖图,反之处理。 43 | 44 | 不容易遇到个需求点而且顺利解决,话不免多了起开,哈哈~ -------------------------------------------------------------------------------- /content/posts/coding/startpage-flare.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "书签导航应用:Flare " 3 | date: 2022-02-26T16:11:24+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2022/02/flame.png 6 | --- 7 | 8 | >Flame 是服务器的自托管起始页。使用内置编辑器轻松管理您的应用程序和书签。 —— [Flame](https://github.com/pawelmalak/flame) 9 | 10 | 在线预览: 11 | 12 | 13 | 14 | 推荐 [@soulteary](https://soulteary.com/) 做的中文化优化版本 [Flare](https://soulteary.com/2022/02/23/building-a-personal-bookmark-navigation-app-from-scratch-flare.html),Docker 一键部署,内存占用小到忽略不计,重点是可以直接前端编辑。比 [Edui123.com](https://edui123.com/) 采用的 [Hugo Theme Webstack](https://immmmm.com/hugo-theme-webstack/) 更灵活些。 15 | 16 | 采用 `docker-compose.yml` 部署更是一键三连,镜像启用更新部署丝滑! 17 | 18 | ``` 19 | # docker-compose.yml 20 | version: '3.6' 21 | services: 22 | flare: 23 | image: soulteary/flare:latest 24 | restart: always 25 | command: flare --nologin=0 26 | environment: 27 | - FLARE_USER=flare 28 | - FLARE_PASS=flare123456 29 | ports: 30 | - 5005:5005 31 | volumes: 32 | - /www/wwwroot/edui.fun/app:/app 33 | ``` 34 | 35 | ``` 36 | docker-compose pull 37 | docker-compose down 38 | docker-compose up -d 39 | ``` -------------------------------------------------------------------------------- /content/posts/coding/synology-cloudflared-free.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Cloudflared 两步打通内外服务" 3 | date: 2022-07-21T09:49:22+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2022/07/cfd-1.jpeg 6 | --- 7 | 8 | 群晖套件中心发现第三方 [矿神](https://imnks.com/1780.html) 更新了个应用 [「Cloudflared」](https://github.com/cloudflare/cloudflared) (基于 Cloudflare Tunnel ),一试,这,方便得太过分! 9 | 10 | 如题图,可以直接把域名解析到本地内网IP **+端口**,之前为了去端口可下了大血本(云服务器、备案、解决各端口冲突等),而 CF 这一下就直接实现零成本! 11 | 12 | 13 | 14 | ### 两步 15 | 16 | - 域名托管给 CF 17 | - 开启 Tunnel 18 | 19 | 因自己域名和站点本就在 CF 上,直接第二步“开启 Tunnel”并把一个 token 填入群晖应用中,搞定! 20 | 21 | 具体详细教程见:https://imnks.com/5984.html 22 | 23 | ### 无语 24 | 25 | 小程序被强制“暂停服务”…… -------------------------------------------------------------------------------- /content/posts/coding/telecomadmin-znhg600.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "光猫 ZNHG600 获取超级密码" 3 | date: 2020-07-14T19:47:09+0800 4 | tags: [折腾] 5 | --- 6 | 7 | 偶接10000号呼叫,交200换光猫,免费提速 100M --> 300M ,续费费用不变,依然是6年前的套餐 1998元/三年。下午师傅上门安装“水”的不行,追问得知他们也是昨天刚拿到的。 8 | 9 | 吉比特 ZNHG600,自带了 2.4G Wifi,果断禁用,直接让师傅在光猫上拨号,路由器直接获取IP即可。服役六年的华为 HG8240 光荣退休! 10 | 11 | 12 | 13 | 想着之前是有个超级密码什么的,果然有,以下内容来自网络: 14 | 15 | ![ZNHG600-1](https://pic.edui.fun/images/2020/07/ZNHG600-1.png) 16 | 17 | 浏览器访问 http://192.168.1.1 底下 「快速装维入口」,左上角「返回登录页面」;或者直接访问 http://192.168.1.1:8080/login.cgi,开启谷歌浏览器「开发者工具--Network」,随便输入个密码,点击 `telecomStatus.cgi` 这条看到 `Enabled/telecomadmin12345678` 18 | 19 | `telecomadmin12345678` 就是超级密码,用户名是 `telecomadmin`,登录随心飞~ -------------------------------------------------------------------------------- /content/posts/coding/telegram-flowerss-bot.md: -------------------------------------------------------------------------------- 1 | --- 2 | date: 2019-12-02 3 | title: '电报 Flowerss Bot 搭建笔记' 4 | tags: [折腾] 5 | published: true 6 | hideInList: false 7 | isTop: false 8 | --- 9 | 10 | 看中一点:支持 Telegram 应用内 instant view ! 11 | 12 | 点开即用: 13 | 14 | 项目主页: 15 | 16 | 17 | 18 | ### 搭建 19 | 20 | `bot token`获取,电报 @Botfather,点 start,输入 /newbot,命名后获得 API Token。 21 | 22 | 23 | `telegraph token`获取,返回的 JSON 中 access_token 字段值即为 Telegraph Token。 24 | 25 | ``` 26 | curl https://api.telegra.ph/createAccount?short_name=flowerss&author_name=flowerss&author_url=https://github.com/indes/flowerss-bot 27 | ``` 28 | 29 | 然后构建命令,docker 一键部署: 30 | 31 | ``` 32 | docker run -d -v ~/data/flowerss:/var/flowerss indes/flowerss-bot -b -t 33 | ``` 34 | 35 | 然后?然后,就成功啦! 36 | 37 | ### 绝配 38 | 39 | RSSHub: -------------------------------------------------------------------------------- /content/posts/coding/telegram-linmumu.md: -------------------------------------------------------------------------------- 1 | --- 2 | date: 2018-08-01 3 | title: 'Telegram 使用小记' 4 | tags: [折腾] 5 | published: true 6 | hideInList: false 7 | isTop: false 8 | --- 9 | 10 | ### user 11 | @linmumu: 12 | 13 | ### Group 14 | Bitcron 中文圈: 15 | 16 | 17 | ### Channel 18 | 壁纸大神: 19 | 水土不服专用: 20 | 21 | ### Bot 22 | SabiaRSS 订阅(他人建的 [RustRssBot](https://github.com/iovxw/rssbot) ): 23 | 24 | ### More … 25 | 把小伙伴们的 FEED 订阅了一遍,专用订阅器太大也懒得打理feeds,然后不知道玩啥了,哦,发个文测试下rss机器人。 -------------------------------------------------------------------------------- /content/posts/coding/twikoo-by-docker.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "宝塔 Docker 部署 Twikoo 评论系统" 3 | date: 2022-08-10T17:12:47+0800 4 | tags: [折腾] 5 | --- 6 | 7 | 数据导出部分推荐阅读:[《Twikoo腾讯云函数部署转移到私有部署》](https://blog.zhheo.com/p/99d020fe.html)。此文记录下私有部署步骤顺序,相关配图也可参考上文。 8 | 9 | ### 一、新建网站 10 | 11 | 顺利改为:先开 SSL 再加反代。因为加了反代后开不了 SSL,之后的证书续期也同样操作,先关反代再续。具体略,参考上文。 12 | 13 | ### 二、拉取镜像 14 | 15 | (宝塔的软件商店 “Docker 管理器” 装一下,方便后续可视化管理。) 16 | 17 | ![twk-1](https://r2.immmmm.com/2022/08/twk-1.jpg) 18 | 19 | 进入网站目录,点击终端丢入下句命令,以此,**在这个目录里拉起镜像** 。好处是相关的评论数据都会在此路径下的 `data` 文件夹里,如果拉起多个 docker ,那就搞定了数据隔离。 20 | 21 | 22 | 23 | ``` 24 | docker run -e TWIKOO_THROTTLE=1000 -p 8765:8080 -v ${PWD}/data:/app/data -d imaegoo/twikoo 25 | ``` 26 | 27 | 其中 `TWIKOO_THROTTLE=1000` 是把 IP 请求限流增加到 1000,`8765` 是自定义了端口,这两点不改也OK。 28 | 29 | 访问绑定的子域名,见以下信息则部署成功: 30 | 31 | ``` 32 | {"code":100,"message":"Twikoo 云函数运行正常,请参考 https://twikoo.js.org/quick-start.html#%E5%89%8D%E7%AB%AF%E9%83%A8%E7%BD%B2 完成前端的配置","version":"1.6.5"} 33 | ``` 34 | 35 | ### 三、版本更新 36 | 37 | 1.Docker 管理器,直接删除容器 38 | 39 | ![twk-2](https://r2.immmmm.com/2022/08/twk-2.jpg) 40 | 41 | 2.终端拉取最新镜像 42 | 43 | ``` 44 | docker pull imaegoo/twikoo 45 | ``` 46 | 47 | 3.进入网站目录拉起新版本 48 | 49 | ``` 50 | docker run -e TWIKOO_THROTTLE=1000 -p 8765:8080 -v ${PWD}/data:/app/data -d imaegoo/twikoo 51 | ``` 52 | 53 | 最后,前端的 cdn 链接版本也可更新一下。 -------------------------------------------------------------------------------- /content/posts/coding/typora-paepub.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '用 Typora 做了本电子书' 3 | date: 2019-08-05 4 | tags: [折腾] 5 | published: true 6 | hideInList: false 7 | isTop: false 8 | --- 9 | 10 | 网上有组系列文章想做成电子书,搜索 markdown 导出 epub,找到了 Typora 和 Pandoc,后者是纯命令行制作电子书,其实 Typora 的导出 epub 功能也是基于它的。制作流程非常简单,一篇篇文章打开直接复制标题、复制内容,TY直接识别成了 md 格式。点击文件--导出--epub,没安装会提示安装 pandoc,完成搞定。 11 | 12 | 第一次导出发现许久没完成,原来是文章里的图片无法顺利访问,得,看来这个插件不走秘密通道,此处我傻傻的一张张图片手动下载,其实可以利用这个功能: 13 | 14 | ![pic](https://pic.edui.fun/images/2019/07/Moaz3D.jpg) 15 | 16 | 网页上图片右键 `复制图片` 回编辑器直接 `Ctrl+V` 粘贴,乖乖,图片自动下载! 17 | 18 | 19 | 20 | 输个冒号 emoji 表情自动联想 🤙 🤙 🤙 21 | 22 | ![pic](https://pic.edui.fun/images/2019/07/xPNH0Q.jpg) 23 | 24 | 25 | 26 | 附手工epub电子书一本: [h-klesson1.epub](https://send.firefox.com/download/f01dee523346ea05/#-5y0Su1CxcLKOS0PgHbNuQ) (Firefox Send 最多支持100次下载或7天) -------------------------------------------------------------------------------- /content/posts/coding/vs-code-server.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "云 VSCode 云编码" 3 | date: 2020-04-19T18:57:10+0800 4 | tags: [折腾] 5 | feature: https://pic.edui.fun/images/2020/04/code-server.png 6 | --- 7 | 8 | 9 | [code-server](https://github.com/cdr/code-server) 云 VSCode 云编码,安装踩坑无数,Docker 一条部署: 10 | 11 | ``` 12 | docker run --name vscodeserver --user root -it -d -p 0.0.0.0:8080:8080 -e PASSWORD='youMiMa' -v "$PWD:/home/coder/project" codercom/code-server:latest 13 | ``` 14 | 15 | 此刻 http://ip:8080 输入密码 `youMiMa` ,等等等失败,挂上特殊通道,等等等,成功。 16 | 17 | 18 | 19 | ### 开启 https 20 | 21 | 以下步骤基于宝塔面板。添加网站,纯静态,开启 ssl Let's Encrypt,添加反响理代: 22 | 23 | 目标URL: `http://localhost:8080` 发送域名: `$host` 24 | 25 | 照理这样也就OK了,但就算挂特殊通道还是报错,看教程,在配置文件中加入 `location` 这段代码: 26 | 27 | ``` 28 | …… 29 | root /www/wwwroot/e.immmmm.com; 30 | …… 31 | location /path/ { 32 | proxy_pass http://localhost:8080/; 33 | proxy_redirect http:// https://; 34 | proxy_set_header Host $host:443/path; 35 | proxy_set_header Upgrade $http_upgrade; 36 | proxy_set_header Connection upgrade; 37 | proxy_set_header Accept-Encoding gzip; 38 | } 39 | …… 40 | ``` 41 | 42 | 访问 ,搞定! 43 | 44 | ### 疑惑 45 | 46 | 不懂不懂,不加 `/path/` 为啥不行呢? 47 | 48 | ### 后续 49 | 50 | {{< figure src="https://pic.edui.fun/images/2020/04/code-server-coding.png" caption="Coding Cloud Studio" >}} 51 | 52 | 原来 Coding 的也已经是 vscode ,每天免费4小时,除了 clone github 仓库好慢好慢,其它省心省心! 53 | 54 | 🤔️ -------------------------------------------------------------------------------- /content/posts/coding/vx-link-domain-certificate.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "VnetLink 泛域名证书服务" 3 | date: 2024-01-09T19:57:18+0800 4 | tags: [折腾] 5 | feature: https://r2.immmmm.com/2024/01/vnetlink-ssl.png.webp 6 | --- 7 | 8 | 虽然宝塔面板内置网站的证书申请和自动续签,但开启反代端口后是更新不了的,得手动关闭、手动续签,苦恼许久。 9 | 10 | 看到 [微林 vx.link](https://www.vx.link/) 开放了泛域名证书服务,而且也有分享自动更新脚本,爱了! 11 | 12 | 13 | 14 | 15 | ### 申请证书 16 | 17 | 微林申请通过之后,复制 [KnowledgeBase/vxlink/vxssl.md](https://github.com/tmplink/KnowledgeBase/blob/main/vxlink/vxssl.md) 这里的脚本内容。 18 | 19 | 注:证书类型是 `ECC` `Google Trust Services` 家的 20 | 21 | ### 宝塔添加定时脚本 22 | 23 | 宝塔后台--计划任务,添加脚本,注意修改自己 `证书链接` 和 `储存位置`。 24 | 25 | ![vnetlink-ssl-4.png](https://r2.immmmm.com/2024/01/vnetlink-ssl-4.png.webp) 26 | 27 | ### 修改网站 SSL 配置 28 | 29 | 修改 `ssl_certificate` 和 `ssl_certificate_key` 位置为对应的 `证书储存位置` 30 | 31 | ![vnetlink-ssl-3.png](https://r2.immmmm.com/2024/01/vnetlink-ssl-3.png.webp) 32 | 33 | 保存,收工! -------------------------------------------------------------------------------- /content/posts/coding/wechat-public-platform-development.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '微信公众平台开发小记' 3 | date: 2016-10-30 4 | tags: [折腾] 5 | published: true 6 | hideInList: false 7 | isTop: false 8 | --- 9 | 10 | 微信公众平台开发,个人申请只能订阅号,虽能开启开发者模式,可这权限令人发指!借助“微信开放平台”中的第三方,通过简单的“授权管理”做到各尽其能、互不干扰。 11 | 12 | ![dyh-dsf.jpg](https://pic.edui.fun/images/2016/10/dyh-dsf.jpg) 13 | 14 |

自定义菜单

15 | 16 | 微之家https://www.iweizhijia.com 17 | 18 | ![dyh-1.jpg](https://pic.edui.fun/images/2016/10/dyh-1.jpg) 19 | 20 | 其中菜单内容的“发送消息”、“跳转网页”,当然选择后者,点击菜单后直接显示内容。 21 | 22 | 23 | 24 |

获取微信文章的永久链接

25 | 26 | 微之家http://www.135editor.com 27 | 28 | ![dyh-3.jpg](https://pic.edui.fun/images/2016/10/dyh-3.jpg) 29 | 公众号后台预览文章都是临时链接,而订阅号可怜巴拉每日就1次推送,曲线救助,把链接发给自己微信,打开,再分享。阅读量、点赞都在。 30 | 31 |

获取永远图片的 MediaId

32 | 33 | 继续135: 34 | 35 | 授权后--开发者模式--自动回复--图片--选择素材: 36 | 37 | ![dyh-2.jpg](https://pic.edui.fun/images/2016/10/dyh-2.jpg) 38 | 39 | 图片素材里的字符串即 MediaId ,有了它订阅号也能实现关键词回复“图片”! 40 | 41 | 注:虽然135也支持自定义菜单,可它选择文章时不能搜索,而微之家OK! -------------------------------------------------------------------------------- /content/posts/coding/xuebihua-cn.md: -------------------------------------------------------------------------------- 1 | --- 2 | date: 2019-07-29 3 | title: '“学笔画”折腾小记' 4 | tags: [折腾] 5 | published: true 6 | hideInList: false 7 | isTop: false 8 | --- 9 | 10 | 点击体验→ 11 | 12 | ![xuebihua_qr](https://pic.edui.fun/images/2019/07/xuebihua_qr.png) 13 | 14 | 刷着阮一峰的 weekly 看到了 [Hanzi Writer](https://chanind.github.io/hanzi-writer/cn/) [^hanzi-writer] 这个项目,发现笔顺的动画比较自然,还能在 svg 上手写练习,最重要的是看看 demo 好像上手比较简单,实际也如此。 15 | 16 | 功能代码非常好使,基本折腾在界面和陌生的代码上,比如想让 svg 自适应,搜索测试一晚发现还是以下代码好使: 17 | 18 | 19 | 20 | ```html 21 | 22 | 23 | ``` 24 | 25 | 考虑到教室大屏上不方便输入文字,直接内置一年级语文的400个生字,点击即可展示。发现,会 jQuery 还真省事! 26 | 27 | 折腾完准备上线使用的是 Coding Page 服务,这货已经被腾讯云拿下,索性直接败个 cn 域名绑定之。 28 | 29 | [^hanzi-writer]: HanziWriter是javascript免费开源库,根据汉字书写时按照笔画顺序的特征,可以播放正确笔画顺序的描边动画和练习测试。支持简体字和繁体字。 30 | 31 | 源码: -------------------------------------------------------------------------------- /content/posts/daily/2019-2021-ncov.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "这不是演习" 3 | date: 2021-12-11T11:02:16+0800 4 | tags: [日常] 5 | --- 6 | 7 | 前一周还在说要进行全员核酸演练,这一周突然就一例本土确诊。一切发展超乎迅猛,唯一庆幸的是确诊者都一个街道,都是轻症。望,年前能恢复如初,至少不影响出行晒个太阳。 8 | 9 | 10 | 11 | ![IMG_6461](https://pic.edui.fun/images/2021/12/IMG_6461.JPG) -------------------------------------------------------------------------------- /content/posts/daily/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "日常" 3 | slug: "daily" 4 | --- -------------------------------------------------------------------------------- /content/posts/daily/bear-and-finding.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '不安' 3 | date: 2012-10-21 4 | tags: [日常] 5 | published: true 6 | hideInList: false 7 | isTop: false 8 | --- 9 | 10 | 多少人对自身现状的不安,是归咎于自身的不努力? 11 | 12 | 有多少人对自身现状的不安,是由于归咎于自身的不努力? -------------------------------------------------------------------------------- /content/posts/daily/blog-finder-where.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "浪在 BlogFinder 里" 3 | date: 2023-01-24T22:13:19+0800 4 | tags: [日常] 5 | feature: https://r2.immmmm.com/2023/01/blogfinder.png 6 | --- 7 | 8 | 主页地址: 9 | 10 | 由 [@zzxworld](https://www.zzxworld.com/posts/2022-review) 维护的博客 Feeds 聚合,为此用 Pake 打包了一个客户端 [BlogFinder](https://github.com/lmm214/Pake/releases/tag/V1.0.6) (如题图)。 11 | 12 | 13 | 14 | 自己在下面几个页面里,浪到现在: 15 | 16 | - [个人主页](https://bf.zzxworld.com/s/53):看到有发文统计格子,还对日志有打 tags,有意思。 17 | - 话题:[读书](https://bf.zzxworld.com/t/read)、[旅行](https://bf.zzxworld.com/t/travel)、[好物](https://bf.zzxworld.com/t/buy)、[极客](https://bf.zzxworld.com/t/geek)、[Apple](https://bf.zzxworld.com/t/apple)、[Docker](https://bf.zzxworld.com/t/docker) …… 18 | - [排行榜](https://bf.zzxworld.com/s/diligent_list):输出文章频率最高的前 100 位博客 19 | - …… 20 | 21 | 期待如 @zzxworld 总结里说的有更多的「算法」上线,对内容展示做更好的优化,避免简单的汇聚展示同质化。如: 22 | 23 | - 「寻我」: 24 | - 「十年之约」: 25 | - 「哔哔广场」: 26 | - 「友链朋友圈」: 27 | - 以及各在线或本地 feed 订阅工具。 28 | 29 | 都是以人工方式从 **源头** 筛选,真的不够智能,而且特别耗体力。 30 | 31 | 不多说了,继续浪去啦 🌊 32 | -------------------------------------------------------------------------------- /content/posts/daily/brawl-stars-tx.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "荒野乱斗,其乐无穷" 3 | date: 2020-06-14T10:42:22+0800 4 | tags: [日常] 5 | feature: https://pic.edui.fun/images/2020/06/hyld.jpg-webp 6 | --- 7 | 8 | 超长假期中,《荒野乱斗》国际版肝到1W+,但这网络让人窝火!特别是连输两盘,第三盘卡网络,砸手机的心都有!前几天腾X代理的国内版顺利上线,一个字:肝!再一个字:氪! 9 | 10 | 11 | 12 | {{< figure "https://pic.edui.fun/images/2020/06/hyld-1.PNG" >}} 13 | 14 | ![hyld-2.PNG](https://pic.edui.fun/images/2020/06/hyld-2.PNG)![hyld-3.PNG](https://pic.edui.fun/images/2020/06/hyld-3.PNG)![hyld-4.PNG](https://pic.edui.fun/images/2020/06/hyld-4.PNG) 15 | 16 | 一开始没氪,肝到2000多分,难起来,一氪,开箱开到嗨。继续肝不同英雄,刚上5000分,目前已经有点无聊…… 17 | 18 | 但玩习惯快节奏在线对战游戏,再玩单机游戏包括 Switch 也是兴趣索然,时间宝贵,压力山大。所以,太累了,赶紧肝几盘“休息、休息”~ -------------------------------------------------------------------------------- /content/posts/daily/buy-iphone16.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "iPhone16 到手之路" 3 | date: 2024-09-28T21:03:05+0800 4 | tags: [日常] 5 | feature: https://r2.immmmm.com/2024/09/IMG_53471.jpeg 6 | --- 7 | 8 | 如题图, 一看 So Strong,再瞅 So 泄气。 9 | 10 | 从11、12年?乔帮主之后的 4s 开启苹果机,然后 8、12,到现在 16 Pro 到手。久远的感触掠过不表,说说 12 --> 16 半日体验。硬件上充电后变 C 口;锁屏后能“全天候显示”;多了两实体按钮(自定义键、相机快捷键)。 11 | 12 | 13 | 14 | 软件上,AI 不可用,而其它更新可忽略不计。 15 | 16 | ### 到手 ~~(吐槽)~~ 之路 17 | 18 | 头一次13号首发前得到“当家的”同意,想着官网肯定抢不到,选择了🐶东 +99 得一年阉割版 AC 版本,晚8:02 完成支付,等待十几分钟后,显示“10月9日之后发货”…… 19 | 20 | 13~23号,流水如下: 21 | 22 | - 次日确认,🐶东就算有货也不发加了 AC 套餐的,统一10月9日之后发。线上客服和 Plus 专员客服都是统一口径。 23 | - 次日了解到,官方也排到10月9日之后了。所以,等等就等等吧。有个 AC 总比没有好。 24 | - 20号首批发货之后,21、22号小红书上看到说提前发货了,询问🐶东客服依旧咬死不变。 25 | - 看了看 PDD 优惠 400,犹豫抢的人应该不少,自己也没掐点抢一抢。 26 | 27 | 直到本周一23号下午2点,随意打开多多直接弹出 400 优惠券,而且明显标记“最晚30前发货”,这速度全靠同行衬托。称得上急速。 28 | 29 | 下单后问客服得到回复“最晚5天内发货”,果真今天周六28早上到手。实际是26号傍晚从北京发出的,快得令人感动。 30 | 31 | 被各平台上的控诉视频吓怕,头一次全程录像拍了开箱视频,验证无磕无碰、无灰无尘,无激活无充电,Over 安全下车。 32 | 33 | ### 电报小惊吓 34 | 35 | +86 是收不到验证短信的,开了国际漫游也无用。幸好电脑上还登着,能从 Telegram 服务通知查看到。惊吓自己十几分钟! 36 | 37 | 简体中文包(聪聪)、小而美主题链接如下,电报点击即可安装。 38 | 39 | 40 | 41 | 42 | 43 | ### 更多? 44 | 45 | 相机快捷键,目前还不如没有。 46 | 47 | 配件?目前已耗费 ¥58 另买了 2 根小米 3A 充电线,一根车上、另一根丢单位;还耗费 ¥216 买了图拉斯 ONeo 支点壳,性价比不高。 -------------------------------------------------------------------------------- /content/posts/daily/buy-s3-2022.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "最近买了啥(年中版)" 3 | date: 2022-07-13T20:28:56+0800 4 | tags: [日常] 5 | --- 6 | 7 | 时常刷到某派的“最近买了啥”,想想也是,生活啊,认认真真读一本书、优游自在玩一款游戏,就算有时间也少有一份心境。 8 | 9 | #### NS Sports 卡带(PDD ¥265) 10 | 11 | ![nintendo-switch-sports](https://r2.immmmm.com/2022/07/nintendo-switch-sports.jpg) 12 | 13 | 如图,六款体感游戏,除足球用手操控有点怪,其余还不错,期待下预告中的免费更新:高尔夫。 14 | 15 | 16 | 17 | #### Beats Studio3 耳罩海绵(JD ¥58) 18 | 19 | ![Beats-Studio3](https://r2.immmmm.com/2022/07/Beats-Studio3.jpg) 20 | 21 | 多年前教育优惠买 MacBook 送的 BS3 ,耳罩已经脱皮。手残党看了几眼图片教程,暴力拆下,顺利换新。小羊皮是真软! 22 | 23 | #### iWatch W&P 金属磁吸搭扣(JD ¥65) 24 | 25 | 换下多年的针织布运动表带,换上不锈钢编织,好像还能再战3年…… 26 | 27 | #### 作业帮喵喵机电子单词卡(JD ¥87) 28 | 29 | ![mmj](https://r2.immmmm.com/2022/07/mmj.jpg) 30 | 31 | 还以为可以自制卡片,想给小朋友做语文生字词词卡来着,结果,是记英语单词的!另外,无挂绳设计,得改! 32 | 33 | #### 爱乐普(eneloop)充电电池套装(JD ¥156) 34 | 35 | 图个大牌又实惠,感觉比小米的好,毕竟也用了几年,性能衰减明显。 36 | 37 | #### 戴森 Dyson Digital Slim Fluffy V10轻量版(TB ¥2589) 38 | 39 | 价格跳水过分严重,再买一个中和一下实体店的价格。吸过,真是干净! 40 | 41 | #### 其它 42 | 43 | 买了不少玩具:高达、乐高,还有奥特曼……买起来,真是不要钱! -------------------------------------------------------------------------------- /content/posts/daily/bye-to-wxl.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '安。' 3 | date: 2012-02-15 4 | tags: [日常] 5 | published: true 6 | hideInList: false 7 | isTop: false 8 | --- 9 | 10 | 一朵正将欲肆意绽放的花,就此凋零。 11 | 12 | 立春盼过,却还未来得及见到新年的第一丝春意,急匆匆地抛开一切痛楚,苦留在世的父母二人。 13 | 14 | --- 15 | 16 | 此时,她就一个人静静地躺着,四角见方的小盒子里。 17 | 18 | 工作两月,一倒不起。二年同窗,仅接触过几次,印象中的她是一个非常开朗乐观努力的好姑娘。 19 | 20 | --- 21 | 22 | 手里的雏菊是那样美丽,香气是那样地耐人寻味,只可惜她的花蕊下仅仅是一截茎,没有根。 23 | 24 | 伴随耳边中巴车特有的发动机声,非常担心甚至有些恐慌车子会突然一下子熄火,害怕那突如其来的安静与手足无措。 25 | 26 | 27 | 28 | --- 29 | 30 | CD音乐、相片、小玩意、绒毛熊……最后,一件漂亮的白色尼大衣盖上。她就在边上,不声也不语。 31 | 32 | 工人师傅熟练地拿起玻璃钢做最后的密封,有些不忍,不些愤怒。难道这就是我们所有人的最后一幕? 33 | 34 | --- 35 | 36 | 得,失。真有必要那样得去孜孜不倦永不停歇地去追求吗? 37 | 38 | --- 39 | 40 | 此时的我非常愿意相信有那么一维世界的存在,看着她父母健康快乐,等待下一次的相聚…… -------------------------------------------------------------------------------- /content/posts/daily/come-back.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '终于回场' 3 | date: 2017-07-08 4 | tags: [日常] 5 | published: true 6 | hideInList: false 7 | isTop: false 8 | --- 9 | 10 | 接触静态博客也有些年头,用过 Jekyll、Octopress、Hexo 都是本地书写后命令行生成静态文件同步至 Github。光听这书写流程就别扭,虽然这很酷,但久了就会发现 *非书写时间* 与 *书写* 比值常常大于1 11 | 12 | 随着 Github 被认证半死不活,文章数增多后 Hexo 标榜的生成性能也不复存在,最纠结的是想码字还得开电脑输入命令行,算了,不酷了。 13 | 14 | 其实 Farbox 挺好的,存在感不强,但也满足需求。看看后台注册时间2013年,同步数据0,看来又是一个我占个ID走人的网站,那时估计是在装“酷”。 15 | 16 | Bitcron 是 Elizen 那听到看到,一了解,原来是 Farbox 升级版 ,老用户注册无需邀请码,一年基础版60大洋,良心。最用心是码字全平台支持,Dropbox 云应用! 17 | 18 | iOS 上的 Byword 终于可以回场咯!当然,要丝滑般的感觉,Surge 也是必备。 -------------------------------------------------------------------------------- /content/posts/daily/correct-three-folly.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "真·千兆" 3 | date: 2023-01-15T13:47:48+0800 4 | tags: [日常] 5 | feature: https://r2.immmmm.com/2023/01/100mb.png 6 | --- 7 | 8 | 接电信客服说免费提速千兆三个月,这不重启光猫、路由,诧异得看到网口赫然写着 100Mb ! 9 | 10 | 11 | 12 | 想想,光猫几年前还补了200大洋换了千兆猫,然后免费提速到 300Mb 。路由器华为的 AX3 Pro,都是支持的。那问题在哪儿呢? 13 | 14 | 多次重启后,依然百兆,排除电信问题。 15 | 16 | 再搜寻购物记录,还买过几根六类线,面板端口进路由的线,路由接到群晖的线都是。 17 | 18 | 不!No! 19 | 20 | 光猫 -------------- 路由器 21 | 22 | 连的是墙里的线,赫然印着 `CAT 5`,纯得不能再纯的五类线…… 23 | 24 | 好吧,挪! 25 | 26 | ![1000mb-1](https://r2.immmmm.com/2023/01/1000mb-1.png) 27 | 28 | 不说了,预祝大家:新年快乐,大展宏“兔”! 29 | 30 | 🐰 -------------------------------------------------------------------------------- /content/posts/daily/dont-be-trust.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '不被信任感' 3 | date: 2014-06-30 4 | tags: [日常] 5 | published: true 6 | hideInList: false 7 | isTop: false 8 | --- 9 | 10 | 不知多少人会有这样的想法:如果你觉着我做不好,那就做不好吧,就算自己其实能做好。如果你觉得我肯定做得好,就算自己其实没把握,也尽全力做好。 11 | 12 | 当面对别人对自己的信任度时,总显得特别敏感,生怕别人不信任自己,一旦察觉随之也就应验了别人的不信任:你看,他果真不行吧! 13 | 14 | 在读书时期很长一段时间里,感受到父母对自己的不信任,特别不信任我能做到超出他们预期的事儿。这种不被自己至亲信任的感觉,真的是好讨厌的感觉,因为感觉受到了伤害,而且施害方是至亲!那段时间一直困扰的问题:明明我是他们孩子,为什么他们会不信任我呢? 15 | 16 | 17 | 18 | 现已工作三年,想到:当年自己认为父母的不信任,其实只是一种不放心啊。天下没有一对父母是会不信任自己孩子的,天下也没有一对父母是会放心自己孩子的。父母的眼里我们永远是孩子。 19 | 20 | 只是父母的教育水平有限,硬把“为你好”的初衷让孩子理解成了“只为自己的面子而已”。当初父母的一片苦心,由于方式和度的问题,在孩子那却产生了错位。这是大家都不愿意看到的,可总有父母不顾也不愿承认自己沟通有问题,执意的执行着“为你好”,让孩子一而再再而三的体会到“不被信任感”,最终走向失去彼此的信任。 21 | 22 | 时间,神奇的家伙。一切问题在时间面前显得那样弱不禁风摇摇欲坠。你看,随着自己离为人父母的年龄渐近,越来越理解当年父母的种种,自己也越来越对孩子的教育问题留起心来。可以这么说,父母的行为习惯、与人相处方式和情绪处理这几方面都是对孩子产生直接影响的。常听说的“这孩子的脾气跟他爹一模一样!”就印证了这点。 23 | 24 | 最后,不知多少人第一次感受到的“不被信任感”来自于自己父母,不知是否曾经与父母发生过的信任危机导致的敏感。我想说,至少我不愿意成为这样的父母。因为父母对孩子的“信任感”在其不同的成长阶段都是那样的重要! -------------------------------------------------------------------------------- /content/posts/daily/dont-forget-smile.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "你信什么" 3 | date: 2020-04-15T23:44:54+0800 4 | tags: [日常] 5 | feature: https://pic.edui.fun/images/2020/04/dont-smile.jpg 6 | --- 7 | 8 | Don‘t ~~Forget To~~ Smile. 9 | 10 | 刷完《余欢水》,想起《小丑》这幕,呵呵,听歌听歌。 11 | 12 | 13 | 14 | {{}} 15 | 16 | 🃏 17 | -------------------------------------------------------------------------------- /content/posts/daily/ghiblio-enjoy.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "沉迷“吉卜力”中……" 3 | date: 2025-04-12T07:59:32+0800 4 | tags: [日常] 5 | feature: https://r2.immmmm.com/2025/04/gpl-1.webp 6 | --- 7 | 8 | 苦于官方网络、数量、版权等限制,4o 生图只能眼巴巴看别人分享。 9 | 10 | 昨天看到 v2ex 上有牛人搞了套壳,免费 3 张,一试,效果极佳,一看定价,立马大会员支持。 11 | 12 | 13 | 14 | ### 邀请链接 15 | 16 | 当前价位(250412):¥9.9(共20次)、¥19.9(共60次)、¥49.9(共200次)。 17 | 18 | 注:开发大大说,成本太高,涨价在即。我的邀请链接(你付费后,我会得到 10 张额度。): 19 | 20 | 21 | 22 | ### 沉溺其中 23 | 24 | 生图小体验:有人,多人,神情或动作丰富;照片本身颜色、层次丰富。 25 | 26 | 小朋友自带奶萌奶萌,满满温情爆棚;小姐姐小哥哥立马帅气、魅力十足;中年嘛,装个可爱也不是不行。老年,有种返老还童之感。 27 | 28 | ![](https://r2.immmmm.com/2025/04/gpl-2.webp) 29 | ![](https://r2.immmmm.com/2025/04/gpl-14.webp) 30 | ![](https://r2.immmmm.com/2025/04/gpl-4.webp) 31 | 32 | ![](https://r2.immmmm.com/2025/04/gpl-8.webp) 33 | 34 | ![](https://r2.immmmm.com/2025/04/gpl-3.webp) 35 | ![](https://r2.immmmm.com/2025/04/gpl-13.webp) 36 | 37 | 38 | ![](https://r2.immmmm.com/2025/04/gpl-5.webp) 39 | ![](https://r2.immmmm.com/2025/04/gpl-11.webp) 40 | ![](https://r2.immmmm.com/2025/04/gpl-6.webp) 41 | 42 | ![](https://r2.immmmm.com/2025/04/gpl-9.webp) 43 | ![](https://r2.immmmm.com/2025/04/gpl-10.webp) 44 | 45 | ![](https://r2.immmmm.com/2025/04/gpl-12.webp) 46 | 47 | -------------------------------------------------------------------------------- /content/posts/daily/goodbay-2015.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '二〇一五,不见。' 3 | date: 2016-02-07 4 | tags: [日常] 5 | published: true 6 | hideInList: false 7 | feature: 8 | isTop: false 9 | --- 10 | 11 | ### 过去 12 | 13 | 过去一年若码流水肯定得码通宵,若只说一件那就是:为人父。 14 | 15 | 臭小子6个多月咯,全靠长辈特别是奶奶和外婆。当然,最为辛苦的是老婆!经历孕育、当下的哺育以及之后的教育,让我在这个过程中拓宽了对“爱”的定义域,延展了“爱”的峰值。新的一年,想对老婆说: 16 | 17 |

你的幸福,我们爷俩全包了!

18 | 19 | 若说第二件就是:成“阿姨”。 20 | 21 | 工作第五年,被任命为一班之主任,成为了43个孩子的“阿姨”。说阿姨真是一点不夸张,准确说应该是 43×2 的阿姨,甚至,还不止。咳,说多了都是泪啊!当然,这份差事虽苦,也有感动与感激,且思且行且珍惜,继续咯。 22 | 23 | 若说第三件…这水流得好欢哟,下面说几个关键词吧。 24 | 25 | 26 | 27 | ### 阅读 28 | 29 | 一五年是至今刷书最多的一年,去年此时败入的 KPW2 功不可没,让阅读在生活中更加随意。阅读,一直认为是件非常私人的事情,由此来说,它也仅是众多消遣时光中的一种方式,并无特别。 30 | 31 | 在此记录下个人使用的几款 APP: 32 | 33 |
    34 |
  • 读书 - 书评笔记藏书管理 :个人开发的第三方豆瓣读书,比官方好用。
  • 35 |
  • 涂书笔记 :百度出品,拍照涂抹需要的文字能 ORC 成文字,支持网页管理、PDF格式导出到印象笔记、百度网盘和PC,比较实用。
  • 36 |
  • 百度汉语词典 :喜欢其中的离线、生词本功能。
  • 37 |
  • 晒书房 :扫书码录入藏书,书一多还真需要记录下哪些书买过了,不然,呵呵。支持导入豆瓣阅读,邮箱导出书目。
  • 38 |
39 | 40 | PC端,一款 Calibre 搞定!常用来去除 AZW3 的 DeDRM 、再用 KindleUnpack 无损转 ePUB,还有开本地共享,手机、Kindle内网无线访问。 41 | 42 | ### 时间 43 | 44 | 一年过得比一年快的感觉,有木有!?光速加速啦?还是自己的生活速率提升啦?后者可能性更高。家边的环城高架开通了,周边新开了好几个大小广场,出门左拐或者右拐都能兜风遛娃。家里的柴米油盐酱醋茶,某猫超市送进家。甭管这是最好 or 最坏的时代,活出自己的生活才是真。 45 | 46 | ### 折腾 47 | 48 | 折腾的心如同心底的童心一样,一直都在。只是生活太过匆匆,来不及好好停下来驻足,写博随心就好。舍本逐末,也只有学校里读书的时候才有可能。 49 | 50 | ### 新年 51 | 52 | 祝愿各位小伙伴来年:单的成双、双的翻倍!!! 53 | 54 | 我的心愿?嘘,攒着~ -------------------------------------------------------------------------------- /content/posts/daily/goodbye-2013.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '二〇一三,不见。' 3 | date: 2014-01-15 4 | tags: [日常] 5 | published: true 6 | hideInList: false 7 | isTop: false 8 | --- 9 | 10 |

一、博客小记

11 | 12 | 一三年,微信公众平台各博客老手自号“自媒体”汹涌袭来,看多了自己就更加动不了笔了。繁忙中心里惦记着空下来一定好好找个话题,好好前思后想一番来一发。真闲了,发现码下的尽是口水文,完全不符合前期心里预设,索性,关页面! 13 | 14 | 几周前的年底,各博集体诈shi纷纷岁末总结文。动物界有冬眠,现今博客圈有“年更”,一年一更,其实我也很想跟进这波潮流,不过,那几天人生要事进行中,待明年再跟。 15 | 16 | Google Reader 关闭后,个人使用了 Feedly ,刚查看竟然还有 400+ 童鞋订阅着,受宠若惊感激涕零啊!看着“前端”这个 Tag ,请问能P成“生活端”或者“老婆端”OK不?这年除掉零碎折腾水文、就剩暑假“丽江行”的记录文了。 17 | 18 | 用了快两年的主题,昨下午做了一些减法,技能生疏,得改段时间或者学习段时间,码个新滴,吼吼! 19 | 20 | 21 | 22 |

二、舵手小记

23 | 24 | 败入:iPad mini、iPhone5、iMac 21' 、佳能EOS 70D(18-135),及零碎小玩意儿。 25 | 26 | 购入:他们最幸福、生活十讲、我所理解的生活、如丧、人生需要揭穿、岛、再见哥伦布、我执、当尼采哭泣、全世界人民都知道;MacTalk·人生元编码(多看),及若干电子书;以及一些教学用书。 27 | 28 | 电子产品购买一样样在配足,接下来可以往换代更新方面想咯~ 29 | 30 | 书嘛,还是顺眼买挑着看,年年都有未消灭的。 31 | 32 |

三、新年喜事

33 | 34 | 2014年1月1日,和小妮子正式完婚! 35 | 36 |
37 | 38 |
*★,°*:.☆\( ̄▽ ̄)/$:*.°★*
39 |
40 | 41 | 42 |

末、

43 | 44 | 年前台湾的进发,目前只定了台北两晚和高雄一晚的住宿,其它木头绪木头绪,需提点求推荐哟,速丢网址丢大洋咯哟喂!~ 45 | -------------------------------------------------------------------------------- /content/posts/daily/happy-birthday-2020.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '庆生' 3 | date: 2020-02-14 4 | tags: [日常] 5 | published: true 6 | hideInList: false 7 | feature: https://pic.edui.fun/images/2020/02/mh-3.jpeg 8 | --- 9 | 10 | 生,活着,当下异常值得庆祝!祝,自己生日快乐!祝,家人平安健康! 11 | 12 | 13 | 14 | ![mh-7](https://pic.edui.fun/images/2020/02/mh-7.jpeg)![mh-6](https://pic.edui.fun/images/2020/02/mh-6.jpeg)![mh-5](https://pic.edui.fun/images/2020/02/mh-5.jpeg)![mh-4](https://pic.edui.fun/images/2020/02/mh-4.jpeg)![mh-2](https://pic.edui.fun/images/2020/02/mh-2.jpeg)![mh-1](https://pic.edui.fun/images/2020/02/mh-1.jpeg) -------------------------------------------------------------------------------- /content/posts/daily/happy-niu-year-2021.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "牛气冲天,诸事大吉" 3 | date: 2021-02-12T09:34:53+0800 4 | tags: [日常] 5 | feature: https://pic.edui.fun/images/2021/02/hp21-8.JPG 6 | --- 7 | 8 | 辛丑牛年,大年初一,阴雨绵绵,晒个烟火,祝小伙伴们和自己新春快乐! 9 | 10 | 11 | 12 | ![hp21-1.JPG](https://pic.edui.fun/images/2021/02/hp21-1.JPG)![hp21-2.JPG](https://pic.edui.fun/images/2021/02/hp21-2.JPG)![hp21-3.JPG](https://pic.edui.fun/images/2021/02/hp21-3.JPG)![hp21-4.JPG](https://pic.edui.fun/images/2021/02/hp21-4.JPG)![hp21-5.JPG](https://pic.edui.fun/images/2021/02/hp21-5.JPG)![hp21-6.JPG](https://pic.edui.fun/images/2021/02/hp21-6.JPG)![hp21-7.JPG](https://pic.edui.fun/images/2021/02/hp21-7.JPG)![hp21-8.JPG](https://pic.edui.fun/images/2021/02/hp21-8.JPG)![hp21-9.JPG](https://pic.edui.fun/images/2021/02/hp21-9.JPG)![hp21-10.JPG](https://pic.edui.fun/images/2021/02/hp21-10.JPG) -------------------------------------------------------------------------------- /content/posts/daily/hi-2020.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '二〇二〇,你好' 3 | date: 2020-01-23 4 | tags: [日常] 5 | published: true 6 | hideInList: false 7 | feature: https://pic.edui.fun/images/2020/01/yh-7.JPG 8 | isTop: false 9 | --- 10 | 11 | 取消外出旅行计划,乖乖乡下来过年,愿所有人平安无事! 12 | 13 | ### 推荐 14 | 15 | 一本书《病毒星球》 16 | 一部电影《流感》 17 | 一个游戏《瘟疫公司》 18 | 一个小程序《我要戴口罩》 19 | …… 20 | 21 | 22 | 23 | ### 火树银花 平安顺遂 24 | 25 | ![yh-9](https://pic.edui.fun/images/2020/01/yh-9.JPG)![yh-8](https://pic.edui.fun/images/2020/01/yh-8.JPG)![yh-7](https://pic.edui.fun/images/2020/01/yh-7.JPG)![yh-6](https://pic.edui.fun/images/2020/01/yh-6.JPG)![yh-5](https://pic.edui.fun/images/2020/01/yh-5.JPG)![yh-4](https://pic.edui.fun/images/2020/01/yh-4.JPG)![yh-3](https://pic.edui.fun/images/2020/01/yh-3.JPG)![yh-2](https://pic.edui.fun/images/2020/01/yh-2.JPG)![yh-1](https://pic.edui.fun/images/2020/01/yh-1.JPG) 26 | -------------------------------------------------------------------------------- /content/posts/daily/hi-apple-tv-2022.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Hi,Apple TV 📺" 3 | date: 2023-06-23T15:12:19+0800 4 | tags: [日常] 5 | feature: https://r2.immmmm.com/2023/06/appletv-1.png 6 | --- 7 | 8 | 等开箱,三天半到手。 9 | 10 | 等电源转接头,一小时。 11 | 12 | 折腾升级 tvOS 17 ,一小时。 13 | 14 | 折腾网络直通方案,两小时。 15 | 16 | 17 | 18 | 沙发奈飞挑剧、刷剧,五小时。 19 | 20 | 经历完,还挺美。 21 | 22 |
23 | 24 | ### 具体(流水)来说: 25 | 26 | 东哥「数码海外自营专区」 ¥1177 败入,到手开箱插电时傻了,才想起自己买的是港版。美团「品质百货」小时达 ¥25 下单转接头,终于插上电源,顺利点亮。 27 | 28 | 获取 Beta 更新无,升至最新 16.6 依然无,一直、一直、一直无 tvOS 17 Beta。最最后,看到教程评论“tvOS 上得安装「 Developer 」开发者 App”,果真。 29 | 30 | ### 网络直通 31 | 32 | > 方案 1:通过 Mac 安装 ClashX Pro 增强模式,成功;优点是操作步骤少,但电脑得一直开着。 33 | > 34 | > 方案 2:群晖 Docker 部署 Clash ,Mac 上用 Apple Configurator2 新增描述文件,给 Apple TV 的 Wi-Fi 添加代理。优点是群晖本就一直开着,缺点是硬件依赖多。 35 | > 36 | > 方案 3:群晖虚拟机安装 iStoreOS(openwrt)后装 openclash 插件作为旁路由。优缺点同上以外,缺点还有占了很多群晖内存。 37 | 38 | 39 | ### 应用刚需 40 | 41 | aptv(¥28):看电视直播,把路由器的 IPv6 打开,终于不卡咯!推荐这个源 [live](https://github.com/fanmingming/live)。 42 | 43 | Fileball(¥58):挂载 NAS 、登录阿里云盘、添加直播源等等都可以,物超所值。inFuse 实在买不起。 44 | 45 | ### 后话一二 46 | 47 | 最初下单冲2个需求点,一是 AirPods 耳机无缝切换,二是 tvOS 17 支持内置网络直通。但其实,原来的小米盒子 4s Pro 也能连蓝牙耳机,其实有云盘和本地 NAS 加持网络直通不是刚需。 48 | 49 | atv 最最最核心体验「杜比视界」由于电视太老,还未体验到…… 50 | 51 | 好啦,离“苹果全家桶”更进一步咯! -------------------------------------------------------------------------------- /content/posts/daily/hi-chat-one-more.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "嘿,聊一下" 3 | date: 2023-03-12T11:29:58+0800 4 | tags: [日常] 5 | --- 6 | 7 | 看着 [Awesome ChatGPT API](https://github.com/reorx/awesome-chatgpt-api/blob/master/README.cn.md) 列表里 ChatGPT 的工具和应用,如春日繁花、一夜怒放,玩得不亦乐乎。 8 | 9 | ### C 位 Respect 10 | 11 | 「ChatGPT Shortcut」: 12 | 13 | 魔法需要「咒语」来唤醒,「咒语」质量直接影响 ChatGPT 功力发挥,是“三言两语”、“啰里八嗦”、“一本正经胡说白道”,或是“结构清晰”、“逻辑准确”、“指哪打哪”。 14 | 15 | 此时经过协同测试验证过的「咒语库」价值,弥足珍贵、不可估量! 16 | 17 | 18 | 19 | ### 个人使用 20 | 21 | Web 端: 国内直连相对最稳定、回复最快的一个。 22 | 23 | iOS & macOS 客户端:[OpenCat](https://apps.apple.com/app/opencat/id6445999201) 允许自设代理和Key、允许添加预设,优秀客户端的标配! 24 | 25 | iPhone「快捷指令」: [ChatGPT-Siri](https://github.com/Yue-Yang/ChatGPT-Siri) 设置语音或双击背面唤起,让 Siri 变身 AI 聊天助手。 26 | 27 | 代理部署:[使用 Cloudflare Workers 部署](https://github.com/noobnooc/noobnooc/discussions/9) 、[在 Zeabur 和 Vercel 部署](https://github.com/imyuanx/chatgpt-proxy) 。 28 | 29 | ### 感叹再三 30 | 31 | > 技术不会取代人类,就算会,也是被会技术的人取代的! 32 | 33 | ### 更多推荐 34 | 35 | [Hello from Learning Prompt](https://learningprompt.wiki/) 一份教你如何更好使好地使用 ChatGPT 和其他 AI 产品的免费中文教程。 36 | 37 | [AMA - Google Play 上的应用](https://play.google.com/store/apps/details?id=com.bytemyth.ama&pli=1) 可以看作是 opencat 的安卓版。 -------------------------------------------------------------------------------- /content/posts/daily/i4-virtual-location.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "爱思助手,大爱!" 3 | date: 2022-07-04T14:47:10+0800 4 | tags: [日常] 5 | feature: https://r2.immmmm.com/2022/07/i4.jpg 6 | --- 7 | 8 | >借助爱思助手的虚拟定位功能,可以将苹果设备定位到任意地点。 9 | 10 | 具体教程见: 11 | 12 | 13 | 14 | 有啥用?谁用谁知道~ -------------------------------------------------------------------------------- /content/posts/daily/iptv-fixed.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "懒到现在才安上肥羊 allinone" 3 | date: 2025-03-08T16:27:31+0800 4 | tags: [日常] 5 | feature: https://r2.immmmm.com/2025/03/iptv-fixed.png.webp 6 | --- 7 | 8 | IPTV 直播源年前已废,包括用了很久的 ip6 的源。 9 | 10 | 这不,偶尔想起,饭点来个背景音,缺无法播放,一点小难受。 11 | 12 | 开干,怎么干其实也知道个大概。 13 | 14 | 15 | 16 | 以下内容,流水记录。 17 | 18 | ### 群晖,终端 SSH 进后台拉取 Docker 19 | 20 | ``` 21 | ssh myid@192.168.0.1 -p 22 22 | sudo -i 23 | ``` 24 | 25 | 群晖里的注册表已废,加上一通测试可用的镜像代理 `image.cloudlayer.icu/` 26 | 27 | 拉下肥羊 allinone 镜像 `youshandefeiyang/allinone:latest` 28 | 29 | ``` 30 | docker pull image.cloudlayer.icu/youshandefeiyang/allinone:latest 31 | ``` 32 | 33 | 访问 34 | 35 | 生成密钥,按照提示把这个密钥丢给电报机器人获取 `userid` `token` ,填回网页,获取部署命令,如: 36 | 37 | 记得把生成的部署命令里的 `youshandefeiyang/allinone` 前加上镜像代理地址。 38 | 39 | ``` 40 | docker run -d --restart=always --net=host --privileged=true --name allinone image.cloudlayer.icu/youshandefeiyang/allinone -tv=true -aesKey=123123 -userid=123123 -token=123123123 41 | ``` 42 | 43 | ### 路由器添加端口 35455 转发,放行 44 | 45 | 略 46 | 47 | ### Apple TV 添加直播源 48 | 49 | 个人使用的是 「IPTV」 这个 APP 50 | 51 | ``` 52 | # IPTV聚合 53 | http://IP:35455/tv.m3u 54 | # 虎牙一起看 55 | http://IP:35455/huyayqk.m3u 56 | # BiliBili 生活 57 | http://IP:35455/bililive.m3u 58 | # 斗鱼一起看 59 | http://IP:35455/douyuyqk.m3u 60 | # YY轮播 61 | http://IP:35455/yylunbo.m3u 62 | ``` 63 | -------------------------------------------------------------------------------- /content/posts/daily/macbook-some-things.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 'Macbook 二三事' 3 | date: 2019-09-29 4 | tags: [日常] 5 | published: true 6 | hideInList: false 7 | feature: 8 | isTop: false 9 | --- 10 | 11 | 感谢老婆,二话没说,一个字买。官网败了 MacBook Pro 2019 13寸 2.4G ,用工作证享受了把教育优惠,还得到一副近3k的Beats耳机。昨中午开始折腾到深夜,基本调教完毕。 12 | 13 | ### 槽点无数,砸钱来填 14 | 15 | -仅typec口,需另购配件配线 USB、SD、VGA、HDMI 扩展坞买起 16 | -CPU在40度以上,剪辑视频导出时近70度,touchbar烫手,风扇托盘买起 17 | -键盘真残,近正方形比例、键帽预估容易积灰,键盘膜买起 18 | -屏幕反光厉害,时常看瞎自己,啥膜买起? 19 | …… 20 | 21 | 22 | 23 | ### 系统BUG,颜值来凑 24 | 25 | -办公基本满足,主流办公通讯都有Mac版。 26 | -无需频繁开关机,睡眠模式真睡眠,续航给力。 27 | -轻量PS、剪视频导出秒杀同配置win。 28 | -开关APP丝滑般的感受。 29 | …… 30 | 31 | ### 新机调校,APP清单 32 | 33 | 触摸板设置:轻点触摸板即点击、三指拖动、双击标题最小化。 34 | 触发角:「系统偏好设置」-「桌面与屏幕保护程序」-「屏幕保护程序」,选择「触发角」 35 | Finder:「显示」菜单中将路径和硬盘容量显示出来 36 | 同窗口中只开启新标签页:程序坞中「打开文稿时首选标签页」设为始终。个人喜欢双击打开文件所在目录时,都在同一个finder窗口中只开启新标签页 37 | Tab控制间移动焦点:键盘 - 快捷键 - 勾选最下方的「使用键盘导航在控制间移动焦点」,这样设置后每次弹框,tab键就可切换选项,回车确认很方便 38 | 39 | 40 | 系统增强:iStat Menus、Bartender、Moom、eZIP、IINA、Snipaste、Pin。 41 | 办公工具:Sublime Text、uPic、Adobe Photoshop CC 2019、Camtasia、Chrome、印象笔记、WPS Office、钉钉、微信、QQ、微云。 42 | 江湖救急:Microsoft Remote Desktop、Parallels Desktop、Teamviews。 43 | 44 | dock 自定义延迟 45 | ``` 46 | defaults write com.apple.dock autohide-time-modifier -float 0.3;killall Dock 47 | ``` 48 | ### 总结评分 49 | 50 | 总体而言,10分制打8分,其中颜值占2分。 -------------------------------------------------------------------------------- /content/posts/daily/miss-my-grandpa.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '我的爷爷' 3 | date: 2009-04-04 4 | tags: [日常] 5 | published: true 6 | hideInList: false 7 | isTop: false 8 | --- 9 | 10 | 记得小的时候吧,每逢暑假都会去爷爷家住上一段日子。 11 | 12 | 他,总会为我特意去离家几里远的汽水厂,用扁担挑一箱“粒粒橙”汽水回来。 13 | 14 | 他,不舍得喝,却总催着我喝,叫我渴了就去拿。 15 | 16 | 他,一天都是忙绿的,天蒙蒙亮,在我睡意迷糊中拿把锄头上山了。 17 | 18 | 他,有时也会带上我,在田里摘几个又大又甜的西瓜,看着我吃得满脸都是。 19 | 20 | 21 | 22 | 他,很节俭,平时的零食就是1快钱1袋椒盐豆,我抢来吃,他看着我咬不动的样子脸上浮出笑容。 23 | 24 | 他,很疼我,总喜欢塞我几块钱叫我自己去买喜欢吃的。 25 | 26 | 最后一声,他轻轻地叫了我“森森”,我知道,他想说的更大声点。 27 | 28 | 最后一面,他很安详,宁静,我没有哭。 29 | 30 | 我爱你,我的爷爷!明天我带着你最爱吃的椒盐豆来看你! 31 | 32 |

——仅以此文缅怀我的爷爷

-------------------------------------------------------------------------------- /content/posts/daily/nintendo-switch-tx.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "败入国行 Nintendo Switch" 3 | date: 2020-06-07T21:15:54+0800 4 | tags: [日常] 5 | feature: https://pic.edui.fun/images/2020/06/switch.jpg 6 | --- 7 | 8 | 山姆超市败入国行 Nintendo Switch 套装,包含主机(¥1848)+方向盘(¥99)+卡丁车(¥299)+超级马里欧(¥299)=套装( ~~¥2545~~ --> ¥2288 ),比某东还便宜。其实默认套装只有1款卡丁车,自己手气不错,抽到老包装的有2盘游戏卡带。 9 | 10 | 11 | 到家开箱发圈,感谢当家的!立马和臭小子一人一方向盘投入战斗,别说,主机模式真香!等娃睡后,试了试掌机联网,拿在手上甚至还感到有点轻。想起当年的网吧苦练Q2飞车,仍抵不过后方袭来的龟壳…… 🤦‍♂️ 12 | 13 | 换卡,超级马里欧。可悲的童年没有它,因此,感到些无趣。 14 | 15 | 同时,周五当晚已淘点下单健身环,当家的也是听闻此健身法才点头准许,不过周一才清关,等待中。 16 | 17 | 感叹一句,能不买国行别买了! -------------------------------------------------------------------------------- /content/posts/daily/ryujinx-switch.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Ryujinx 模拟器上手记录" 3 | date: 2024-11-10T13:38:32+0800 4 | tags: [日常] 5 | feature: https://r2.immmmm.com/2024/11/SCR-20241110-mlfw1.png.webp 6 | --- 7 | 8 | 十一假期看到消息 Ryujinx 删库,那会儿《智慧的再现》也刚发布,说是 M1 芯片就能流畅运行,咱着 M2 那不起飞,立刻尝个尾鲜。 9 | 10 | 当然,支持正版,卡带已入。 11 | 12 | 13 | 14 | {{< figure "https://r2m.immmmm.com/memos/2024/10/SCR-20241007-nkhd.jpeg.webp" "智慧的再现">}} 15 | 16 | 实测效果,能玩,微微卡,偶尔崩溃(使用渲染缓存后大大改善)。 17 | 18 | ### 模拟器、Key、固件下载 19 | 20 | Ryujinx 模拟器 21 | 22 | Ryujinx Prod Keys 23 | 24 | Ryujinx Firmware Switch 固件 25 | 26 | ### 几点配置 27 | 28 | 详细教程见 [《MacOS 使用 Ryujinx 模拟器 + 手柄🎮 游玩 NS 游戏》](https://github.com/hhstore/blog/issues/398)。 29 | 30 | ### 解锁全 amiibo 31 | 32 | 链接: 33 | 34 | 文件很小2M秒下,放入模拟器中 `portable\system\amiibo` 35 | 36 | ### 渲染缓存包 37 | 38 | 电报频道 @ryujinxmac,下载放入对应文件夹,第一次加载游戏会读取超大缓存,游戏中就流畅很多很多。 -------------------------------------------------------------------------------- /content/posts/daily/sanya-just-so-so.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '三亚,也就如此' 3 | date: 2011-02-12 4 | tags: [日常] 5 | --- 6 | 7 | ![sy-1][] 8 | 9 | 2月8日下午飞三亚,9、10、11三天奔波,12号今天中午返回宁波家中。 10 | 11 | 对于此次旅行的总体印象也就是标题:三亚,也就如此。不过并不是说三亚不美,只是没有达到想象中的美,有点落差,有点遗憾,有点不值。 12 | 13 | ![sy-2][] 14 | 15 | 阳光、沙滩、波浪,无一让人尽兴。跟我们参加的是散客团队也有直接关系,三天被自费景点挤得时间相当紧张,本来安排的轻轻松松的行程,再出了800大洋还折腾到了自己。 16 | 17 | ![sy-3][] 18 | 19 | 20 | 21 | 致使原团费在含的几大经典景点完全成为走马观花、到此一照…… 22 | 23 | 不过还是有几个给我留下深刻印象的景点:蜈支洲岛的海水有让人下去冲动冲动的激情; 24 | 25 | ![sy-9][] 26 | 27 | ![sy-11][] 28 | 29 | ![sy-10][] 30 | 31 | 非2鸟巢那景区观光车司机师傅非常给力; 32 | 33 | ![sy-14][] 34 | 35 | ![sy-12][] 36 | 37 | ![sy-13][] 38 | 39 | 南天门生态园里的花儿也不是一般的艳儿~ 40 | 41 | ![sy-4][] 42 | 43 | ![sy-5][] 44 | 45 | ![sy-6][] 46 | 47 | ![sy-7][] 48 | 49 | 50 | [sy-1]: https://pic.edui.fun/images/2011/02/sy-1.jpg 51 | [sy-2]: https://pic.edui.fun/images/2011/02/sy-2.jpg 52 | [sy-3]: https://pic.edui.fun/images/2011/02/sy-3.jpg 53 | [sy-9]: https://pic.edui.fun/images/2011/02/sy-9.jpg 54 | [sy-11]: https://pic.edui.fun/images/2011/02/sy-11.jpg 55 | [sy-10]: https://pic.edui.fun/images/2011/02/sy-10.jpg 56 | [sy-14]: https://pic.edui.fun/images/2011/02/sy-14.jpg 57 | [sy-12]: https://pic.edui.fun/images/2011/02/sy-12.jpg 58 | [sy-13]: https://pic.edui.fun/images/2011/02/sy-13.jpg 59 | [sy-4]: https://pic.edui.fun/images/2011/02/sy-4.jpg 60 | [sy-5]: https://pic.edui.fun/images/2011/02/sy-5.jpg 61 | [sy-6]: https://pic.edui.fun/images/2011/02/sy-6.jpg 62 | [sy-7]: https://pic.edui.fun/images/2011/02/sy-7.jpg 63 | -------------------------------------------------------------------------------- /content/posts/daily/self-know-cheerful-confidence.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '自知,自愉,自信。' 3 | date: 2012-05-06 4 | tags: [日常] 5 | published: true 6 | hideInList: false 7 | isTop: false 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 | 有自信:有自我认同感,不卑不亢,就算是个特别平凡的人。 -------------------------------------------------------------------------------- /content/posts/daily/spring-scenery-2023.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "春·色" 3 | date: 2023-03-14T00:34:08+0800 4 | tags: [日常] 5 | feature: https://r2.immmmm.com/2023/03/chun-se-8.jpg 6 | --- 7 | 8 | 见图。 9 | 10 | 11 | 12 | ![chun-se-1](https://r2.immmmm.com/2023/03/chun-se-1.jpg)![chun-se-2](https://r2.immmmm.com/2023/03/chun-se-2.jpg)![chun-se-3](https://r2.immmmm.com/2023/03/chun-se-3.jpg)![chun-se-4](https://r2.immmmm.com/2023/03/chun-se-4.jpg)![chun-se-5](https://r2.immmmm.com/2023/03/chun-se-5.jpg)![chun-se-6](https://r2.immmmm.com/2023/03/chun-se-6.jpg)![chun-se-7](https://r2.immmmm.com/2023/03/chun-se-7.jpg)![chun-se-9](https://r2.immmmm.com/2023/03/chun-se-9.jpg)![chun-se-10](https://r2.immmmm.com/2023/03/chun-se-10.jpg)![chun-se-11](https://r2.immmmm.com/2023/03/chun-se-11.jpg)![chun-se-12](https://r2.immmmm.com/2023/03/chun-se-12.jpg)![chun-se-13](https://r2.immmmm.com/2023/03/chun-se-13.jpg)![chun-se-14](https://r2.immmmm.com/2023/03/chun-se-14.jpg)![chun-se-15](https://r2.immmmm.com/2023/03/chun-se-15.jpg)![chun-se-16](https://r2.immmmm.com/2023/03/chun-se-16.jpg)![chun-se-17](https://r2.immmmm.com/2023/03/chun-se-17.jpg)![chun-se-18](https://r2.immmmm.com/2023/03/chun-se-18.jpg)![chun-se-19](https://r2.immmmm.com/2023/03/chun-se-19.jpg)![chun-se-20](https://r2.immmmm.com/2023/03/chun-se-20.jpg)![chun-se-21](https://r2.immmmm.com/2023/03/chun-se-21.jpg)![chun-se-22](https://r2.immmmm.com/2023/03/chun-se-22.jpg)![chun-se-23](https://r2.immmmm.com/2023/03/chun-se-23.jpg) 13 | -------------------------------------------------------------------------------- /content/posts/daily/surface-pro-7.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Surface Pro 7 上手记" 3 | date: 2020-07-24T16:18:00+0800 4 | tags: [日常] 5 | feature: https://pic.edui.fun/images/2020/06/surface-pro-7.jpg-webp 6 | --- 7 | 8 | 21日晚下的单,23号到的手,整机 775g ,真轻!深得“当家的”喜爱! 9 | 10 | ### 购机比价 11 | 12 | Surface Pro 7 有4款型号,i3、i5、i7,也好选择,i3和i7不做考虑,其中i5有2款128G和256GB,但后者单价高 ¥2000,所以定下型号:酷睿 i5/8GB/128GB/亮铂金 13 | 14 | 含黑色键盘,某东 ¥7300,某猫 ¥7762,微软自己官网: ¥6288!再三确认,原来20、21号官方活动,仅限2天,下单,立马下单!顺手加个 ¥288 整机延保一年! 15 | 16 | 17 | 18 | ### 配件选择 19 | 20 | - 微软 Sculpt 蓝牙鼠标 ¥139,日常办公仍然离不开鼠标,买! 21 | - 三星 TF 卡 128 EVO Plus ¥159,备受好评 TF 卡槽,不插白不插,买! 22 | - 倍思 GaN 氮化镓 65W 充电器 ¥168,抛弃小砖头,Type-C 插起,买! 23 | - 内胆包 ¥118,传统美德配个包,买! 24 | 25 | 省下差价,配件买买买,一共 6288+288+139+159+168+118=7160 26 | 27 | ### 感受二三 28 | 29 | 显而易见优缺点就不说了,说几个细节。 30 | 31 | - TF卡插了半天识别不出来,原来是插浅了! 32 | - 脸部识别解锁只限一张,识别率比不过手机! 33 | - 电源适配器自带一个 5V1A 的 USB 供电口! 34 | 35 | 整体来说,是个好产品!但,让我选择的话还是倾向于苹果全家桶! -------------------------------------------------------------------------------- /content/posts/daily/the-world-between-us.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '我們與惡的距離' 3 | date: 2019-04-26 4 | tags: [日常] 5 | feature: https://pic.edui.fun/images/2019/04/p2554647276.jpg 6 | --- 7 | 8 |
9 | 10 |
我们与恶的距离为负
11 |
12 | 13 | 14 | 15 | {{< douban "https://movie.douban.com/subject/30181230/">}} -------------------------------------------------------------------------------- /content/posts/daily/waiting-for-spring.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '春' 3 | date: 2020-03-06 4 | tags: [日常] 5 | published: true 6 | hideInList: false 7 | feature: https://pic.edui.fun/images/2020/03/cf-14.jpeg 8 | isTop: false 9 | --- 10 | 11 | > 春水初生,春林初盛。春风十里,不如你。 ——《春》冯唐 12 | 13 | 14 | 15 | ![cf-1](https://pic.edui.fun/images/2020/03/cf-1.jpeg)![cf-2](https://pic.edui.fun/images/2020/03/cf-2.jpeg)![cf-3](https://pic.edui.fun/images/2020/03/cf-3.jpeg)![cf-4](https://pic.edui.fun/images/2020/03/cf-4.jpeg)![cf-5](https://pic.edui.fun/images/2020/03/cf-5.jpeg)![cf-6](https://pic.edui.fun/images/2020/03/cf-6.jpeg)![cf-7](https://pic.edui.fun/images/2020/03/cf-7.jpeg)![cf-8](https://pic.edui.fun/images/2020/03/cf-8.jpeg)![cf-9](https://pic.edui.fun/images/2020/03/cf-9.jpeg)![cf-10](https://pic.edui.fun/images/2020/03/cf-10.jpeg)![cf-11](https://pic.edui.fun/images/2020/03/cf-11.jpeg)![cf-12](https://pic.edui.fun/images/2020/03/cf-12.jpeg)![cf-13](https://pic.edui.fun/images/2020/03/cf-13.jpeg)![cf-14](https://pic.edui.fun/images/2020/03/cf-14.jpeg)![cf-15](https://pic.edui.fun/images/2020/03/cf-15.jpeg)![cf-16](https://pic.edui.fun/images/2020/03/cf-16.jpeg)![cf-17](https://pic.edui.fun/images/2020/03/cf-17.jpeg)![cf-18](https://pic.edui.fun/images/2020/03/cf-18.jpeg)![cf-19](https://pic.edui.fun/images/2020/03/cf-19.jpeg)![cf-20](https://pic.edui.fun/images/2020/03/cf-20.jpeg)![cf-21](https://pic.edui.fun/images/2020/03/cf-21.jpeg)![cf-22](https://pic.edui.fun/images/2020/03/cf-22.jpeg) -------------------------------------------------------------------------------- /content/posts/daily/zelda-completed.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "塞尔达,一周目达成" 3 | date: 2022-07-08T21:21:17+0800 4 | tags: [日常] 5 | feature: https://r2.immmmm.com/2022/07/sed-6.JPG 6 | --- 7 | 8 | 9 | 10 | 两年前开打,断断续续,磨磨唧唧,没什么动力救公主。今天,触动,这个世界不会好了!愿,都健康的活着! 11 | 12 | 13 | 14 | ![sed-1](https://r2.immmmm.com/2022/07/sed-1.JPG) 15 | 16 | ![sed-2](https://r2.immmmm.com/2022/07/sed-2.JPG) 17 | 18 | ![sed-3](https://r2.immmmm.com/2022/07/sed-3.JPG) 19 | 20 | ![sed-4](https://r2.immmmm.com/2022/07/sed-4.JPG) 21 | 22 | ![sed-5](https://r2.immmmm.com/2022/07/sed-5.JPG) 23 | 24 | ![sed-7](https://r2.immmmm.com/2022/07/sed-7.JPG) 25 | 26 | ![sed-8](https://r2.immmmm.com/2022/07/sed-8.JPG) 27 | -------------------------------------------------------------------------------- /content/posts/reading/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "育人" 3 | slug: "reading" 4 | --- -------------------------------------------------------------------------------- /content/posts/reading/book-isbn-9787121320309.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "《财富自由之路》读后记" 3 | date: 2022-03-13T09:19:51+0800 4 | tags: [育人] 5 | --- 6 | 7 | {{< douban "https://book.douban.com/subject/27094706/">}} 8 | 9 | 如同作者原话: 10 | 11 | > 事实上,这本书的全部内容就是从各个角度逐步系统地阐述成长方法论的。 12 | 13 | 的确“标题党”,因为“自由之路”是作者的自述,对读者,算个看客。 14 | 15 | ### Or or & 16 | 17 | 同时间,也刷完了《小狗钱钱》和《被讨厌的勇气》,频繁浮现一句广告: 18 | 19 | > Young or Rich 20 | 21 | 是 `or` ,不是 `&` ! 22 | 23 | 但,迅速回想: 24 | 25 | > no young no rich no problem. 26 | 27 | 太多时候就是这样,岁月静好,心无波澜。 28 | 29 | 作为看着,阅毕,愿意喝下以下满满两大碗: 30 | 31 | ### 注意力 32 | 33 | > 注意力 > 时间 >金钱 34 | 35 | 花钱买自己的时间,花时间换取注意力的持续。因为,注意力是我们唯一可以随意调用且能有所产出的资源。 36 | 37 | 比如,对各种“效率”工具的折腾,对各种博客功能的“优化”……的确能有效提升我们的折腾优化水平,但丢了最初的目的,即:有效输出。 38 | 39 | ### 教育 40 | 41 | > 耳濡目染:激发需求 42 | 43 | 需求是个乘数,若无真正需求,最终得数都是 0 。对娃、对已都是如此,而且“说教”是最偷懒、最无效、最令人厌烦的方式,没有之一。 44 | 45 | 那怎么激活需求呢?想象!强烈地想象到脑海中有清晰无比的画面。或者,清楚地看到过这个场景。比如,想象自己上台分享得到热烈掌声、看到别人从零基础做到了。 46 | 47 | 所以,这清晰的需求成了强大可持续的努力的“动机”。 48 | 49 | > 融会贯通:概念联结 50 | 51 | 过两点仅有一条线段,而每增加一个节点,线段增加数为? 52 | 53 | 同时,概念节点受易也受限于语言(符号),比如,没有“上火”概念会怎样?没有“退休”概念又会产生什么变化? 54 | 55 | 所以,多掌握一门语言(包括编程语言)或是探个头张望一下,都是有益无害。 56 | 57 | > 终生学习:行动思维 58 | 59 | 人生意义也许就在于此吧,停止学习意味着放弃生长,放弃着放弃着…… 60 | 61 | 相反,用行动刺激思考,用思考改良行动。比如,带娃。不学习,只会两招:骂、打。 62 | 63 | ### 后话 64 | 65 | 阅读真是一件私密的事。 66 | 67 | 最后送上人工校对版 EPUB : 68 | 69 | 友情提示:对书里的投资策略不要崇拜,更不要作为指导法则。 -------------------------------------------------------------------------------- /content/posts/reading/book-isbn-9787208171336.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "《置身事内》读后记" 3 | date: 2022-07-19T20:42:13+0800 4 | tags: [育人] 5 | --- 6 | 7 | {{< douban "https://book.douban.com/subject/35546622/">}} 8 | 9 | > 梦想买不起,故乡回不去。 10 | 11 | 那就多知道那么一点点为什么,也好。苦中作乐,也是一种乐。 12 | 13 | 跟着扩展阅读[推荐书单](https://www.douban.com/doulist/145636808/),开启下一本。 14 | 15 | 16 | 17 | {{< douban "https://book.douban.com/subject/25912076/">}} 18 | 19 | 以及重读这一本: 20 | 21 | {{< douban "https://book.douban.com/subject/26824237/">}} -------------------------------------------------------------------------------- /content/posts/reading/book-isbn-9787213093302.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '《园丁与木匠》阅读笔记' 3 | date: 2019-09-22 4 | tags: [育人] 5 | published: true 6 | hideInList: false 7 | isTop: false 8 | --- 9 | 10 | {{< douban "https://book.douban.com/subject/34481379/">}} 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 | > 最好的一个例子就是心理学家常说的斯特鲁普效应(Stroop Effect)假设我给你看了用**红色墨水**印刷的“蓝色”这个词,并问你这个词是什么颜色的。你很有可能**会回答“蓝色”**,而不是正确的“红色”。因为阅读是完全自动的过程,想要只注意它的颜色而忽略它的含义,是很难做到的。 -------------------------------------------------------------------------------- /content/posts/reading/book-isbn-9787508679341.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "《大历史,小世界》读中记" 3 | date: 2022-10-04T11:38:40+0800 4 | tags: [育人] 5 | --- 6 | 7 | {{< douban "https://book.douban.com/subject/27098129/">}} 8 | 9 | > 人类现代的生活,只有仅仅250年的时间。 10 | 11 | 再一次感叹人类的“璀璨”和人的“平凡”。当下,多笑笑。 12 | 13 | 14 | 15 | ### 丛书另3本 16 | 17 | 我们人类的基因: 18 | 19 | {{< douban "https://book.douban.com/subject/27084491/">}} 20 | 21 | 我们人类的进化: 22 | 23 | {{< douban "https://book.douban.com/subject/27098139/">}} 24 | 25 | 我们人类的宇宙: 26 | 27 | {{< douban "https://book.douban.com/subject/27098135/">}} -------------------------------------------------------------------------------- /content/posts/reading/book-isbn-9787508687032.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '《给孩子的未来脑计划》的阅读笔记' 3 | date: 2018-07-30 4 | tags: [育人] 5 | published: true 6 | hideInList: false 7 | isTop: false 8 | --- 9 | 10 | {{< douban "https://book.douban.com/subject/30185326/">}} 11 | 12 | > 我女儿小的时候,我是怎么帮她快速理解“数”就是“量”的呢?很简单,教她一句口诀:“ **数到几,就是几** ”以后我再叫她给我几个糖果、几个饼干的时候,她就知道对着数,数到最后一个数,这个数就代表总数了。 13 | 14 | > 心理学研究发现,人的情绪不是来自事件本身,而是来自你对这个事件的看法。 15 | 16 | 17 | 18 | > 有家长可能会说,我们引导孩子反击时控制好力道就好了。问题是,我们往往会低估打人时自己所用的力道。作为打人者,我们的大脑会提前知道打的力道,手上传来的反馈一也就是疼痛感——会被大脑抑制,因此感觉不是那么痛。但是被打的那个人没有这个抑制机制,会感觉特别痛。小孩打人时也会低估对方感受到的力道和痛苦,结果 **越打越用力** 。 19 | 20 | > 家长可能有一个误区,就是以为冲动是可以压制的。其实,冲动是无法完全压制的,但是通过给孩子替代方案,我们可以帮孩子 **转移** “一定要”的冲动。 21 | 22 | > 怎样正确地表扬孩子? (**成长型心智**)主要有三点:第一,表扬努力,而不是表扬聪明;第二,表扬过程,而不是表扬结果;第三,表扬成长,而不是表扬表现。 23 | 24 | > 让孩子知道你在乎和关注的并不是他一时的表现,而是他能够养成 **从错误中学习和成长的习惯** ,那オ是真正关系到他一生成长的关键。 25 | 26 | > 这样的家长,就像直升机一样盘旋在孩子的上空,随时准备俯冲下来,解救孩子于。水深火热“之中,有人给这类家长取了个形象的绰号——“直升机型父母”。 27 | 28 | > 放手让孩子承受一些事情的后果,其实就像我们给孩子打了 **一剂疫苗** ,孩子通过这些早期的风险学习,产生了自我保护意识,渐渐地就能内化出对抗危险的抗体,以后遇到其他危险时也能很快地做出反应。相反,如果你一看见孩子要犯错误就赶忙拦住他,那孩子就没有机会成长了,以后遇到类似的问题,也不知道该如何去探索正确的答案。 29 | 30 | > 现在学界普遍认为,**经常在户外活动**,能增加孩子接收光线的时间,促进视网膜释放多巴胺,从而保证眼球的正常发育。 31 | 32 | > 最后我还想提醒一下,不要把天聊“死”了。有两种情况很容易把天聊“死”,从孩子那里得不到有意义的反馈。一种情况是封闭式问题,比如问“是不是呀”“对不对呀”,孩子可能都不听你的问题,就随口回答“是”“对”。还有一种情况就是空泛的问题,最常见的是问“这本书讲了什么道理”“你应该向小猪学习什么”,这些话让孩子很难接,阅读并不是一定要获得什么道理。 33 | 34 | > 当你陪孩子读书的时候,有个小技巧,就是指读。你 **用手指一个字一个字地指着给孩子读出来** 。我大女儿就是这么识字的,我从她2岁开始就给她指读绘本。那个时候她虽然还不识字,但是跟着我的手指,她自己看看字,看看图片,再听听我说的话,自然而然地就把文字学会了。指读的好处是,强调了孩子的字形意识。这时候孩子刚开始识字,先要有 **“字形意识”** ,也就是意识到字跟字不仅意思不同,形状也不一样,每个字都有对应的发音。有了字形意识,孩子才开始慢慢发展出区分和记忆不同字的能力。 -------------------------------------------------------------------------------- /content/posts/reading/book-isbn-9787513340243-2.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "“因为所以,科学道理”" 3 | date: 2021-08-04T11:46:39+0800 4 | tags: [育人] 5 | --- 6 | 7 | {{< douban "https://book.douban.com/subject/35082292/">}} 8 | 9 | 二刷《学习究竟是什么》。 10 | 11 | ### 记忆 12 | 13 | **∵** 信息的记忆本质上是神经连结。如练肌肉,要是每时每刻都举,那肌肉是没有办法生长的。 14 | 15 | **∴** “有点间隔,暂时 **‘忘记’一下** ,过不久再‘回忆’一下”。停一停,让神经生长一会儿。 16 | 17 | 18 | 19 | ### 学习 20 | 21 | **∵** 信息不等于知识,记忆不等于学习。“想要真正理解,唯一的办法是考试和测验”。 22 | 23 | **∴** `信息的记忆 ≠ 知识的学习`,`熟读 = 熟悉 ≠ 理解`,没有测验,知识只是幻觉。 24 | 25 | ### 练习 26 | 27 | **∵** `成就 ≠ 练习 + 天赋` ==> `成就 = 练习 * 天赋`,而后者“一项是零最后结果就是零”。 28 | 29 | **∴** 99%的训练时间应花在“相关的基础训练”,“以错误为中心”进行练习,随时获得有效的反馈,并采用有间隔的小测验,直到“把特定动作做好”。 30 | 31 | ### 思维 32 | 33 | **∵** 创新思维就是 **“想法的连接”** ,能把一个遥远的想法跟你手里的东西连接在一起,提供一个新思路。 34 | 35 | **∴** 让你的脑子里事先有一个“答案区”。如弹小球,“如果根本就没有这个答案区,小球就算走遍全脑也没用。” 36 | 37 | ### 能力 38 | 39 | **∵** 每个孩子学会走路的方式都不同,根本没有什么固定路径。但不论如何,最终所有的孩子都学会了走路,都走得一样好。 40 | 41 | **∴** `学习快慢 ≠ 能力强弱` `平均值 ≠ 标准值`,不同的人走不同的路线,最后都实现了自己的目标,这才是真正的“正常”。 42 | 43 | ### 表扬 44 | 45 | **∵** “成长型思维模式”会让孩子“愿意花更长的时间钻研难题”、“主动选择困难的任务”。 46 | 47 | **∴** 一定要 **表扬他努力** “不错啊!这次做得很好,看来你下了很大功夫!下次继续!只要你努力,什么事都能做成!” 48 | 49 | ### 功利 50 | 51 | **∵** 不论是中超外援还是外籍教练,对中国队的一个共同评价是中国球员缺少强烈的取胜欲望。马拉多纳:他们和我之间总有一个差别,这个差别非常重要,那就是我比他们更热爱足球,更想 **赢得一切** 。 52 | 53 | **∴** 功利,就对了!如以“弹性作息”为明,行“零加班费”为实,都是XX! 54 | 55 | ### 兴趣 56 | 57 | **∵** 虽环境影响基因表达,但一个人能死心塌地地在什么方向刻意练习,基本上是天生的。 58 | 59 | **∴** 家庭和社会能为人才做的最好的事情,就是提供能施展各种兴趣的环境。虽然最终什么时候什么方面出彩不确定,但至少大家感觉都很好。 60 | 61 | ### 教学 62 | 63 | **∵** 熟悉和意外。熟悉得特别熟悉,意外得非常意外,才能让人印象深刻。 64 | 65 | **∴** 最好这一讲中85%的内容是你本来就会的,15%是新技巧。每一个新知识都是建立在旧知识的基础之上的。 -------------------------------------------------------------------------------- /content/posts/reading/book-isbn-9787516827222.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "《重新定义父母》读后记" 3 | date: 2023-01-15T16:42:03+0800 4 | tags: [育人] 5 | --- 6 | 7 | {{< douban "https://book.douban.com/subject/35797187/">}} 8 | 9 | > 我们可以有情绪,可以冲孩子发火,甚至可以在某些时候不喜欢、不接纳自己的孩子。只是我们要真诚,不要因自己情绪不好,把孩子指责一顿,可以告诉孩子“今天我的情绪不好”,别端着,别强词夺理,别觉得“天下无不是的父母”。 10 | 11 | 光这一段,已足够温暖读者。 12 | 13 | 14 | 15 | ### 几页截图 16 | 17 | {{< figure "https://r2.immmmm.com/2023/01/cxdyfm-1.png" "https://r2.immmmm.com/2023/01/cxdyfm-2.png" "https://r2.immmmm.com/2023/01/cxdyfm-3.png" "https://r2.immmmm.com/2023/01/cxdyfm-4.png" "重新定义父母">}} 18 | 19 | ### 个人收获 20 | 21 | 「问诊式」与「医生式」沟通! 22 | 23 | 自己常常面对孩子的问题,不纯粹的关心或提供适当的帮助,而是数落教育刺激一番,才发好心给予帮助。 24 | 25 | 自己常常面对自己的问题,迁怒发泄自己的情绪,责怪孩子不懂父母的辛苦,不懂体桖父母的情绪。 26 | 27 | 自省,自省。 -------------------------------------------------------------------------------- /content/posts/reading/book-isbn-9787521727258.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "《房间里的大象》书摘" 3 | date: 2021-08-06T23:48:03+0800 4 | tags: [育人] 5 | --- 6 | 7 | {{< douban "https://book.douban.com/subject/35392429/">}} 8 | 9 | > 沉默是“合谋” 10 | 11 | 12 | 13 | > 这就像如果你对某事避而不谈,那么终将导致此事无以名状。如同乔治·奥威尔的小说《1984》所描写的那个著名的反乌托邦世界中, “人们实际上是不可能追随一个异端思想的,因为人们最多只能感知到这是一个异端的想法,再想做进一步的描述和感知时,则会发现无词可用。 14 | 15 | > 制造危机(乃至发动战争),把公众的注意力从经济困境或政治丑闻中转向别处。一些针对小布什的批评家已经明确指出,伊拉克被声称所拥有的大规模杀伤型武器,其实不过是布什的“大规模转移注意力型武器”。 16 | 17 | > 研究证据显示了社会压力是如何影响我们的看法的,如果某人周围没有任何其他人作出同样关注,那么从心理学上来说,他会很难相信自己的感觉,并坚持相信他所看见或听见的确实存在。 18 | 19 | > 对时代的声音充耳不闻,对身边的事件视而不见,心知肚明却不言不语,这样的人才能活下来终老,当然,但是,得有个条件:要想这么活,他得是石头刻成的。 -------------------------------------------------------------------------------- /content/posts/reading/book-isbn-9787549920952.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '《这样跟孩子定规则,孩子最不会抵触》的阅读笔记' 3 | date: 2018-07-29 4 | tags: [育人] 5 | published: true 6 | hideInList: false 7 | isTop: false 8 | --- 9 | 10 | {{< douban "https://book.douban.com/subject/11524092/">}} 11 | 12 | * 注:全书极其无趣,把娃当猴子训练,开篇就标榜自己的内容经过多少多少验证,要求读者必须全然信任,噗!以下几句纯当阅读安慰自己没白读。 13 | 14 | ### 规矩想有效,三个要点: 15 | 1. 提醒孩子看着你(确保眼神交流) 16 | 2. 告诉孩子怎么做(尊重而坚定) 17 | 3. 站在旁边看结果(约15秒即时表扬) 18 | 19 | 20 | 21 | ### 孩子为什么会冲动? 22 | * 孩子如果反应过快、做事不经思考,更容易和家人产生冲突。很少去思考自己的行为会带来什么样的后果,就快速做出决定。 23 | * “倔”对一个人来说可能是一种前进的财富。注重孩子的行为,而不是态度。让他知道**“一意孤行”**与**“见机行事”**这两者之间的区别。 24 | * 毕竟你希望孩子是因为明晓事理而遵守规矩,而不是因为害怕惩罚而遵守规矩。 25 | * 如果孩子实在不听话,这并不代表你很失败——**只有对孩子实施了错误的惩罚时,才能说是“失败”**。 26 | 27 | ### 孩子为什么会“我行我素”? 28 | 孩子不听话、发脾气,**并不是为了惹你生气**,一般有以下原因: 29 | * 没办法按照你说的做 30 | * 不知道具体应该怎么做 31 | * 不知道为什么要听你的话 32 | * 认为不听话就能继续做自己想做的事 -------------------------------------------------------------------------------- /content/posts/reading/book-isbn-9787559848048.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "《可能性的艺术》读中记" 3 | date: 2022-12-26T22:07:45+0800 4 | tags: [育人] 5 | --- 6 | 7 | {{< douban "https://book.douban.com/subject/35819419/">}} 8 | 9 | > 这个世界上,比悲惨更可怕的,是不为人知的悲惨。 10 | 11 | 突然想起一首歌的歌词:鞋儿破 帽儿破 身上的袈裟破 / 你笑我 他笑我 一把扇儿破 / 无烦无恼无忧愁 世态炎凉皆看破…… 12 | 13 | 14 | 15 | > 事实上,人们可能根本没有那么渴望自由、民主、和平,很多时候,人们更渴望的,可能是安全,是秩序,是大国崛起的民族自豪感。 16 | 17 | > 个体的命运背后是国家、国家的命运背后是国际体系,而国际体系可能稍纵即逝,却是必要的提醒。 18 | 19 | > 当年,马克思号召全世界无产阶级联合起来,但是事实却是,经过这一轮的“超级全球化”,无产者没有联合起来,全世界有产者倒是先联合起来了。 20 | 21 | > 中国民工拼命干活、一天上班十几个小时、住十几个人一间的宿舍、一年到头回家一次、把孩子扔在农村做留守儿童…… 22 | 23 | > 当我们看到一个专制政府被推翻,我们往往直接假定之后会是民主崛起。 24 | 25 | > 自由从不降临于人类,人类必须上升至其高度。 26 | 27 | > 威权政体的特点则是快,它的好处和坏处都立竿见影,因为它靠自上而下的动员来实现目标,只要统治集团下定了决心,整个社会就破釜沉舟、“all in”了。所有的力量投入到一个方向,所有的鸡蛋放到一个篮子里,它的结果往往要么是大治,要么是大乱。 28 | 29 | > 称为“浪漫主义”,是因为它包含着对政治强人的两种想象:一种是对其道德智识水平的想象,一种是对其统治能力的想象。 30 | 31 | > 长期以来,我们倾向于将“威权”等同于“强大”,将“独裁”等同于“有力”,却忽略了历史上一个非常常见的现象,那就是“弱独裁者现象”。 32 | 33 | > 这个世界上,比悲惨更可怕的,是不为人知的悲惨。一旦有了信息的开放和流通,社会就有了推动变化的杠杆。 34 | 35 | > 现在流传着一种观点,就是把国家能力和民众权利对立起来,似乎一个国家要有强大的国家能力就必须牺牲民权。这种“等国家崛起了再来谈论民权”的逻辑,有点类似于“等我发达了就来娶你”的逻辑一样,不知道你信不信,反正我觉得可疑。 36 | 37 | > 政治所能抵达的上限不会那么高,但是它所能抵达的下限却可以非常低。 38 | 39 | > 很多人期待制度的改写或者政府的更替可以一夜之间让“大地旧貌换新颜”,这种心态,说好听点,是一种浪漫,说难听一点,则是一种懒惰。在人们学会宽容、学会耐心、学会同情性理解、学会从各种集体主义的轮椅中站起来迈出个体的步伐之前,没有什么政治可以成为改造生活的魔法棒。 40 | 41 | 当下,善待善待自己的人,保护保护自己的人。也许,大概率躲不过,但至少能缓几天,也好。 -------------------------------------------------------------------------------- /content/posts/reading/book-isbn-9787613337624.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: '《医学大神》读中记' 3 | date: 2020-03-14 4 | tags: [育人] 5 | --- 6 | 7 | {{< douban "https://book.douban.com/subject/34935089/">}} 8 | 9 | 虽是医学人物传记,但更多的是科学精神!好书增长常识,忍不住记一笔。 10 | 11 | 12 | 🌝 13 | -------------------------------------------------------------------------------- /content/posts/reading/worth-reading-parenting-book.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "推荐几本值得父母阅读的育儿书" 3 | date: 2018-04-14T10:34:21+0800 4 | tags: [育人] 5 | --- 6 | 7 | {{< cfdb "https://book.douban.com/subject/30185326/">}} 8 | 9 | - 叨叨魏,不愧为师!育儿书里太缺这样直面育儿问题的科学家! 10 | 11 | {{< cfdb "https://book.douban.com/subject/11538005/">}} 12 | 13 | - 没生搬硬造、似是而非的概念,没断章取义、唬人不倦的案例…像个专业和善的邻居妈妈跟你谈话,随和而坚定! 14 | 15 | {{< cfdb "https://book.douban.com/subject/6429253/">}} 16 | 17 | - 一线幼儿园园长经验所得,案例和建议操作性强。 18 | 19 | 20 | 21 | {{< cfdb "https://book.douban.com/subject/26930253/">}} 22 | 23 | - 年轻北大父母养二娃的经验所得,三观正,不玩概念,用心日常,享受共同成长的乐趣。 24 | 25 | {{< cfdb "https://book.douban.com/subject/26797268/">}} 26 | 27 | - 难得科班出身,敢直面13个最纠结焦虑的育儿问题,语言流畅表达清晰而且都是一手干货! 28 | 29 | {{< cfdb "https://book.douban.com/subject/26304087/">}} 30 | 31 | - 尊重,合力,赢得挑战!更多是观念的更新! 32 | 33 | {{< cfdb "https://book.douban.com/subject/26792171/">}} 34 | 35 | - 我们呢,百度百科? 36 | 37 | {{< cfdb "https://book.douban.com/subject/4177120/">}} 38 | 39 | - 一句“男孩更需要父母的拥抱”赞同! 40 | 41 | ### 讲座《家庭的心理抚养》——李玫瑾 42 | 43 | 44 | 45 | ### 相关链接推荐 46 | 47 | 爱贝瑞文库(豆列): -------------------------------------------------------------------------------- /content/posts/weekly/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "周刊" 3 | slug: "weekly" 4 | --- -------------------------------------------------------------------------------- /content/search.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Search Results" 3 | sitemap: 4 | priority : 0.1 5 | layout: "search" 6 | --- -------------------------------------------------------------------------------- /content/tags/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "标签" 3 | slug: "tags" 4 | --- -------------------------------------------------------------------------------- /content/talk.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "你言我语" 3 | layout: "talk" 4 | --- -------------------------------------------------------------------------------- /content/twikoo.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 'Twikoo Admin' 3 | date: 2020-03-14 12:41:27 4 | layout: 'twikoo' 5 | --- 6 | 7 | -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/02dbb62d444341ced17f700db07e3c58.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/02dbb62d444341ced17f700db07e3c58.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/03c3f98dd34754a646e8d95c5786ffd7.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/03c3f98dd34754a646e8d95c5786ffd7.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/091ec194760db0fb9a42afa132ee9196.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/091ec194760db0fb9a42afa132ee9196.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/0d01609f640c0ad21ef0842e344b46af.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/0d01609f640c0ad21ef0842e344b46af.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/12832543df4522751ecb9bfd271f19e2.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/12832543df4522751ecb9bfd271f19e2.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/1d0dfb83ebde8169b640df46732c39f5.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/1d0dfb83ebde8169b640df46732c39f5.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/26a0c67aa7e089cbd43efd25d1014d5e.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/26a0c67aa7e089cbd43efd25d1014d5e.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/27107190bdebba07b5cd2d05489a463f.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/27107190bdebba07b5cd2d05489a463f.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/32f2d0257da1994c899b9123a5b33885.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/32f2d0257da1994c899b9123a5b33885.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/34c6cfb0171f1c74f7ed4bbb448110b0.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/34c6cfb0171f1c74f7ed4bbb448110b0.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/369311cb98c6dcce5fe0383dde6df969.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/369311cb98c6dcce5fe0383dde6df969.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/388a2904022f449d2042ead3044c6f8f.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/388a2904022f449d2042ead3044c6f8f.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/3a1765faedb39bd5dc5915cf1e56b872.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/3a1765faedb39bd5dc5915cf1e56b872.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/434e04e6bd72be327590ec15f0f0293f.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/434e04e6bd72be327590ec15f0f0293f.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/451d56b5dcee39ff0d889285f43e86b7.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/451d56b5dcee39ff0d889285f43e86b7.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/45a8ef2aedcab97a8329da85261997d5.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/45a8ef2aedcab97a8329da85261997d5.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/4b108c844600edccf295ee6a3dbee1cc.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/4b108c844600edccf295ee6a3dbee1cc.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/4ee6216f173b54d29575b53122ee69c6.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/4ee6216f173b54d29575b53122ee69c6.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/50a084435c879cd450155d3a7797bf88.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/50a084435c879cd450155d3a7797bf88.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/579836a290bf579fcc3ab7a488adb481.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/579836a290bf579fcc3ab7a488adb481.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/5d164e7a6cb593aa92b1e5054fb2d0f0.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/5d164e7a6cb593aa92b1e5054fb2d0f0.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/610270af19911f28ce952da947573fcc.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/610270af19911f28ce952da947573fcc.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/61716f11b5c9ba2a30fb3178fb65f2b3.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/61716f11b5c9ba2a30fb3178fb65f2b3.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/657ff05fd934739fa37c4804df283e5c.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/657ff05fd934739fa37c4804df283e5c.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/676a54a691d5488d4416d66161177398.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/676a54a691d5488d4416d66161177398.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/682b10601a31a876d90543a47ad5d768.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/682b10601a31a876d90543a47ad5d768.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/68a75f1162e62f78a631968ebb1487f4.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/68a75f1162e62f78a631968ebb1487f4.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/69221caedc9af4af6c69e9bf9867aefe.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/69221caedc9af4af6c69e9bf9867aefe.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/6e6526e3d93a76e64af362d40808031b.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/6e6526e3d93a76e64af362d40808031b.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/73d9aeaeb0e732f19ec4a8745be38361.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/73d9aeaeb0e732f19ec4a8745be38361.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/774de9c7cd3d5640ccdcdbabb24de5f3.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/774de9c7cd3d5640ccdcdbabb24de5f3.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/86b89b699e4d33e6bbc05bc16a5c4be7.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/86b89b699e4d33e6bbc05bc16a5c4be7.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/8c486c11193178be74db747c9f4cb06f.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/8c486c11193178be74db747c9f4cb06f.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/90804468cfc7baffd095d04893d4a416.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/90804468cfc7baffd095d04893d4a416.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/975410cb1f8590e6fff20274ebafe29d.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/975410cb1f8590e6fff20274ebafe29d.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/997cb3cf458f97cd8297ef7b2477b87f.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/997cb3cf458f97cd8297ef7b2477b87f.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/aac0b4d613b6448df89a855e549ff3a1.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/aac0b4d613b6448df89a855e549ff3a1.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/ab3b5042fa08e5c7a1ec121b57dfa68d.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/ab3b5042fa08e5c7a1ec121b57dfa68d.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/ac7a394651abb3204dff2591139a637d.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/ac7a394651abb3204dff2591139a637d.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/aebe4309070816af222114015903bd91.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/aebe4309070816af222114015903bd91.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/b70f010a85b324f53ee824aac5759711.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/b70f010a85b324f53ee824aac5759711.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/b994cf6b9599903e5731b6863679d33d.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/b994cf6b9599903e5731b6863679d33d.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/bb43f379eb6c5cba28c453fe833dd005.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/bb43f379eb6c5cba28c453fe833dd005.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/be44980bc48d429f05901d2cec95ba9b.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/be44980bc48d429f05901d2cec95ba9b.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/c07009c000a2397d24ea2092418b9d88.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/c07009c000a2397d24ea2092418b9d88.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/c1db109be7bc436caf656a09c50631fb.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/c1db109be7bc436caf656a09c50631fb.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/c8c630fbf70f9286d94d9ce644ba97f7.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/c8c630fbf70f9286d94d9ce644ba97f7.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/c9652caed9d9c29df71773ad90f018d6.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/c9652caed9d9c29df71773ad90f018d6.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/cd8f5abd0be229a5c7d981522059a1c3.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/cd8f5abd0be229a5c7d981522059a1c3.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/d88903c1cf687fa70672cc4f0476a6f8.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/d88903c1cf687fa70672cc4f0476a6f8.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/d88b94154dc573235e91c8fcebc6e2cb.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/d88b94154dc573235e91c8fcebc6e2cb.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/dff9f2e2fd616d96ce7781484c898d2a.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/dff9f2e2fd616d96ce7781484c898d2a.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/e0b07a4b1ef9b96f599093de90b70f14.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/e0b07a4b1ef9b96f599093de90b70f14.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/e5691efa8f03a8beda7b63472c63517f.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/e5691efa8f03a8beda7b63472c63517f.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/e68343d12c78872e4cc8c1b9eb27c869.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/e68343d12c78872e4cc8c1b9eb27c869.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/e857671b1837bc2c25b3a563be846bc3.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/e857671b1837bc2c25b3a563be846bc3.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/ebae42f2f2052fd1ae3f6f82b502f985.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/ebae42f2f2052fd1ae3f6f82b502f985.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/f4a89bde7af50f2f50459488075ba2c2.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/f4a89bde7af50f2f50459488075ba2c2.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/f7b486a7db74499e5849d3e205ff4c81.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/f7b486a7db74499e5849d3e205ff4c81.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/f846671d783fdb5a5fd95b25debd0759.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/f846671d783fdb5a5fd95b25debd0759.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/fb793004f063ce7e52f31fa3bbc2bc72.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/fb793004f063ce7e52f31fa3bbc2bc72.woff2 -------------------------------------------------------------------------------- /static/LXGWNeoZhiSong/feaad17912c53616373677ada7f81139.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/LXGWNeoZhiSong/feaad17912c53616373677ada7f81139.woff2 -------------------------------------------------------------------------------- /static/apps/TinyPNG4Mac.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/apps/TinyPNG4Mac.webp -------------------------------------------------------------------------------- /static/apps/bob.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/apps/bob.webp -------------------------------------------------------------------------------- /static/apps/hidden.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/apps/hidden.webp -------------------------------------------------------------------------------- /static/apps/iina.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/apps/iina.webp -------------------------------------------------------------------------------- /static/apps/keka.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/apps/keka.webp -------------------------------------------------------------------------------- /static/apps/obsidian.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/apps/obsidian.webp -------------------------------------------------------------------------------- /static/apps/picgo.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/apps/picgo.webp -------------------------------------------------------------------------------- /static/apps/rectangle.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/apps/rectangle.webp -------------------------------------------------------------------------------- /static/apps/vscode.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/apps/vscode.webp -------------------------------------------------------------------------------- /static/dzp/list.txt: -------------------------------------------------------------------------------- 1 | 礼物1 10 2 | 礼物2 10 3 | 礼物3 10 4 | 礼物4 10 5 | 礼物5 10 6 | 礼物6 10 7 | 礼物7 10 8 | 礼物8 10 9 | 礼物9 10 10 | 礼物10 10 -------------------------------------------------------------------------------- /static/dzp/src/668.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/dzp/src/668.png -------------------------------------------------------------------------------- /static/dzp/src/902.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/dzp/src/902.png -------------------------------------------------------------------------------- /static/dzp/src/903.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/dzp/src/903.png -------------------------------------------------------------------------------- /static/dzp/src/904.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/dzp/src/904.png -------------------------------------------------------------------------------- /static/dzp/src/922.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/dzp/src/922.png -------------------------------------------------------------------------------- /static/dzp/src/932.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/dzp/src/932.png -------------------------------------------------------------------------------- /static/dzp/src/937.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/dzp/src/937.png -------------------------------------------------------------------------------- /static/dzp/src/938.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/dzp/src/938.png -------------------------------------------------------------------------------- /static/dzp/src/946.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/dzp/src/946.png -------------------------------------------------------------------------------- /static/dzp/src/947.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/dzp/src/947.png -------------------------------------------------------------------------------- /static/dzp/src/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/dzp/src/bg.png -------------------------------------------------------------------------------- /static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/favicon.ico -------------------------------------------------------------------------------- /static/goods/DS220.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/goods/DS220.webp -------------------------------------------------------------------------------- /static/goods/L3153.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/goods/L3153.webp -------------------------------------------------------------------------------- /static/goods/M15BT.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/goods/M15BT.webp -------------------------------------------------------------------------------- /static/goods/appleTV.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/goods/appleTV.webp -------------------------------------------------------------------------------- /static/goods/baseus65w.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/goods/baseus65w.webp -------------------------------------------------------------------------------- /static/goods/cuktech-1W.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/goods/cuktech-1W.webp -------------------------------------------------------------------------------- /static/goods/macbook.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/goods/macbook.webp -------------------------------------------------------------------------------- /static/goods/mijia-cqb2.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/goods/mijia-cqb2.webp -------------------------------------------------------------------------------- /static/goods/mijia-zmfs.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/goods/mijia-zmfs.webp -------------------------------------------------------------------------------- /static/goods/mxkeys.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/goods/mxkeys.webp -------------------------------------------------------------------------------- /static/goods/switch.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/goods/switch.webp -------------------------------------------------------------------------------- /static/goods/vaydeer.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/goods/vaydeer.webp -------------------------------------------------------------------------------- /static/goods/whirlpool.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/goods/whirlpool.webp -------------------------------------------------------------------------------- /static/goods/yeelight.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/goods/yeelight.webp -------------------------------------------------------------------------------- /static/images/2004gd/gd-01.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/images/2004gd/gd-01.jpeg -------------------------------------------------------------------------------- /static/images/2004gd/gd-02.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/images/2004gd/gd-02.jpeg -------------------------------------------------------------------------------- /static/images/2004gd/gd-03-1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/images/2004gd/gd-03-1.jpeg -------------------------------------------------------------------------------- /static/images/2004gd/gd-03.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/images/2004gd/gd-03.jpeg -------------------------------------------------------------------------------- /static/images/2004gd/gd-04.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/images/2004gd/gd-04.jpeg -------------------------------------------------------------------------------- /static/images/2004gd/gd-05.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/images/2004gd/gd-05.jpeg -------------------------------------------------------------------------------- /static/photos/2020-01-20 火树银花.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/photos/2020-01-20 火树银花.jpg -------------------------------------------------------------------------------- /static/photos/2021-01-01 铜婚之年.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/photos/2021-01-01 铜婚之年.jpg -------------------------------------------------------------------------------- /static/photos/2021-01-05 儿时登过顶的狮子山.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/photos/2021-01-05 儿时登过顶的狮子山.jpeg -------------------------------------------------------------------------------- /static/photos/2021-02-15 想象中的自由.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/photos/2021-02-15 想象中的自由.jpeg -------------------------------------------------------------------------------- /static/photos/2021-03-05 妈妈单位放风涂鸦.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/photos/2021-03-05 妈妈单位放风涂鸦.jpg -------------------------------------------------------------------------------- /static/photos/2021-03-15 春暖花开,宅家抗疫.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/photos/2021-03-15 春暖花开,宅家抗疫.jpg -------------------------------------------------------------------------------- /static/photos/2021-04-01 最美西湖四月天.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/photos/2021-04-01 最美西湖四月天.jpg -------------------------------------------------------------------------------- /static/photos/2021-04-15 放学后的片刻松懈.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/photos/2021-04-15 放学后的片刻松懈.jpg -------------------------------------------------------------------------------- /static/photos/2021-06-01 毕业生作品.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/photos/2021-06-01 毕业生作品.jpg -------------------------------------------------------------------------------- /static/photos/2021-07-01 溆浦大山行.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/photos/2021-07-01 溆浦大山行.jpg -------------------------------------------------------------------------------- /static/photos/2021-08-01 东部新城盛夏放风.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/photos/2021-08-01 东部新城盛夏放风.jpg -------------------------------------------------------------------------------- /static/photos/2021-08-15 落樱缤纷.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/photos/2021-08-15 落樱缤纷.jpeg -------------------------------------------------------------------------------- /static/photos/2021-10-01 天府之行.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/photos/2021-10-01 天府之行.jpg -------------------------------------------------------------------------------- /static/photos/2021-11-01 钱湖霞光.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/photos/2021-11-01 钱湖霞光.jpg -------------------------------------------------------------------------------- /static/photos/2021-12-01 自造快乐.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/photos/2021-12-01 自造快乐.jpg -------------------------------------------------------------------------------- /static/photos/2022-07-01 东钱湖消暑.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/photos/2022-07-01 东钱湖消暑.jpg -------------------------------------------------------------------------------- /static/photos/2022-09-20 迷离中的卷帘.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/photos/2022-09-20 迷离中的卷帘.jpg -------------------------------------------------------------------------------- /static/photos/2022-10-10 笼里笼外.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/photos/2022-10-10 笼里笼外.jpg -------------------------------------------------------------------------------- /static/photos/2022-10-12 城市草坪露营.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/photos/2022-10-12 城市草坪露营.jpg -------------------------------------------------------------------------------- /static/photos/2022-11-11 咸祥航空基地.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/photos/2022-11-11 咸祥航空基地.jpg -------------------------------------------------------------------------------- /static/photos/2022-12-31 象山珠山顶.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/photos/2022-12-31 象山珠山顶.jpg -------------------------------------------------------------------------------- /static/template/chat-template.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "<% tp.file.cursor() %>" 3 | date: <% tp.date.now("YYYY-MM-DDTHH:mm:ssZZ") %> 4 | tags: [词穷] 5 | --- 6 | 7 | 8 | -------------------------------------------------------------------------------- /static/template/coding-template.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "<% tp.file.cursor() %>" 3 | date: <% tp.date.now("YYYY-MM-DDTHH:mm:ssZZ") %> 4 | tags: [折腾] 5 | feature: 6 | --- 7 | 8 | 9 | -------------------------------------------------------------------------------- /static/template/daily-template.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "<% tp.file.cursor() %>" 3 | date: <% tp.date.now("YYYY-MM-DDTHH:mm:ssZZ") %> 4 | tags: [日常] 5 | feature: 6 | --- 7 | 8 | 9 | -------------------------------------------------------------------------------- /static/template/reading-template.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "<% tp.file.cursor() %>" 3 | date: <% tp.date.now("YYYY-MM-DDTHH:mm:ssZZ") %> 4 | tags: [育人] 5 | feature: 6 | --- 7 | 8 | 9 | -------------------------------------------------------------------------------- /static/twikoo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmm214/immmmm/b5cb6810e256f9abf85686f4c5625e11a9f9bf48/static/twikoo.png -------------------------------------------------------------------------------- /themes/hello-friend/layouts/_default/_markup/render-image.html: -------------------------------------------------------------------------------- 1 | {{ .Text }} -------------------------------------------------------------------------------- /themes/hello-friend/layouts/_default/_markup/render-link.html: -------------------------------------------------------------------------------- 1 | {{ .Text | safeHTML }} -------------------------------------------------------------------------------- /themes/hello-friend/layouts/_default/baseof.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{ block "title" . }} 5 | {{ if .IsHome }}{{ $.Site.Title }}{{ with $.Site.Params.Subtitle }} — {{ . }}{{ end }}{{ else }}{{ .Title }} :: {{ $.Site.Title }}{{ with $.Site.Params.Subtitle }} — {{ . }}{{ end }}{{ end }} 6 | {{ end }} 7 | {{ partial "head.html" . }} 8 | {{ block "head" . }} 9 | {{ end }} 10 | 11 | 12 | 27 |
28 | {{ partial "header.html" . }} 29 |
30 | {{ block "main" . }} 31 | {{ end }} 32 |
33 | 34 | {{ block "footer" . }} 35 | {{ partial "footer.html" . }} 36 | {{ end }} 37 |
38 | 39 | 40 | -------------------------------------------------------------------------------- /themes/hello-friend/layouts/_default/baseof.json: -------------------------------------------------------------------------------- 1 | { 2 | "data" : {{ block "response" .}}{{ end }} 3 | } -------------------------------------------------------------------------------- /themes/hello-friend/layouts/_default/books.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 |
3 |

{{.Title}}

4 |
5 | {{$movieitems := getJSON "https://dbapi.immmmm.com/list?type=book" }} 6 |
7 |
8 | {{range $item := $movieitems.results}} 9 | {{ $itemRating := default 0 (float $item.douban_score) }} 10 |
11 |
12 |
13 |
{{ $itemRating }}
14 |
15 | 16 |
17 | {{end}} 18 |
19 |
20 | 21 |
22 | 23 |
24 | {{ end }} 25 | 26 | {{ define "footer" }} 27 | 28 | {{ end }} 29 | -------------------------------------------------------------------------------- /themes/hello-friend/layouts/_default/caipu.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 | 3 | 11 | 12 |
13 |

{{.Title}}

14 |
15 | {{ if .Params.toc }}{{ .TableOfContents }}{{ end }} 16 | {{ .Content }} 17 | {{ .Render "path"}} 18 |
19 |
20 | 21 | 24 | {{ end }} -------------------------------------------------------------------------------- /themes/hello-friend/layouts/_default/chat.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /themes/hello-friend/layouts/_default/goods.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 | {{ $goods := getJSON "static/goods/goods.json" }} 3 | 4 |
5 |

{{ .Title | markdownify }}

6 |
7 | {{ .Content }} 8 |
9 | {{ range $goods.good}} 10 |
11 |
12 |
{{ .jiage }}
13 | 14 |
{{ .note }}
15 |
16 | {{ end }} 17 |
18 |
19 | 20 | {{ if not (eq .Params.Comments "false") }} 21 | {{ partial "comments.html" . }} 22 | {{ end }} 23 |
24 | {{ end }} -------------------------------------------------------------------------------- /themes/hello-friend/layouts/_default/item.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": "{{ .Title }}", 3 | "date": "{{ .Date }}", 4 | "permalink" : "{{ .Permalink }}", 5 | "content" : "{{ .Content }}" 6 | } -------------------------------------------------------------------------------- /themes/hello-friend/layouts/_default/list.json: -------------------------------------------------------------------------------- 1 | {{ define "response" }} 2 | { 3 | {{ with eq .Kind "section" -}}"section" : "{{ $.Section }}",{{- end }} 4 | "count" : "{{- len .Data.Pages -}}", 5 | "items" : [ 6 | {{ range $i, $e := .Data.Pages -}} 7 | {{ if $i }},{{ end }} 8 | {{- .Render "item" }} 9 | {{- end}} 10 | ] 11 | } 12 | {{- end }} -------------------------------------------------------------------------------- /themes/hello-friend/layouts/_default/movies.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 |
3 |

{{.Title}}

4 |
5 | {{$movieitems := getJSON "https://dbapi.immmmm.com/list?type=movie" }} 6 |
7 |
8 | {{range $item := $movieitems.results}} 9 | {{ $itemRating := default 0 (float $item.douban_score) }} 10 |
11 |
12 |
13 |
{{ $itemRating }}
14 |
15 | 16 |
17 | {{end}} 18 |
19 |
20 | 21 |
22 | 23 |
24 | {{ end }} 25 | 26 | {{ define "footer" }} 27 | 28 | {{ end }} 29 | -------------------------------------------------------------------------------- /themes/hello-friend/layouts/_default/path.html: -------------------------------------------------------------------------------- 1 | {{ if .Params.path }} 2 | {{$Path := .Params.path}} 3 | {{- range (readDir (printf "%s%s" "./static/images/" $Path )) -}}{{- end -}} 4 | {{ end }} -------------------------------------------------------------------------------- /themes/hello-friend/layouts/_default/search.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 |
3 | 4 | 18 | 19 | 20 | 21 |
22 | 23 |
24 | 25 | 26 | {{ end }} -------------------------------------------------------------------------------- /themes/hello-friend/layouts/_default/terms.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 | 3 |
4 |

{{ .Title }}

5 |
    6 | {{ $type := .Type }} 7 | {{ range $key, $value := .Data.Terms.Alphabetical }} 8 | {{ $name := .Name }} 9 | {{ $count := .Count }} 10 | {{ with $.Site.GetPage (printf "/%s/%s" $type $name) }} 11 |
  • 12 | #{{ .Name }} {{ $count }} 13 |
  • 14 | {{ end }} 15 | {{ end }} 16 |
17 |
18 | {{ end }} 19 | -------------------------------------------------------------------------------- /themes/hello-friend/layouts/_default/twikoo.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 |

{{.Title}}

3 |
4 | 5 | 22 | 26 | {{ end }} 27 | 28 | 29 | {{ define "footer" }} 30 | 31 | 45 | {{ end }} -------------------------------------------------------------------------------- /themes/hello-friend/layouts/chat/list.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 |
3 |

{{.Title}}

4 | 共计 {{ len (where .Site.RegularPages "Section" "posts") }} 篇日志 5 | 6 | {{- range (where (where .Site.Pages "Type" "in" "posts") "Kind" "page").GroupByDate "2006" }} 7 | 8 |
9 | {{- range .Pages.GroupByDate "2006-01" }} 10 |
11 |

{{ .Key }}

12 |
13 | {{- range .Pages }} 14 |
15 | {{.Title}} 16 |
17 | {{ end }} 18 |
19 |
20 | {{- end }} 21 |
22 | {{- end }} 23 |
24 | {{ end }} 25 | -------------------------------------------------------------------------------- /themes/hello-friend/layouts/index.json: -------------------------------------------------------------------------------- 1 | {{- $.Scratch.Add "index" slice -}} 2 | {{- range (where .Site.RegularPages "Type" "posts" ) -}} 3 | {{- $.Scratch.Add "index" (dict "title" .Title "permalink" .Permalink "summary" .Summary "date" (.Date.Format "2006-01-02")) -}} 4 | {{- end -}} 5 | {{- $.Scratch.Get "index" | jsonify -}} -------------------------------------------------------------------------------- /themes/hello-friend/layouts/partials/breadcrumb.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | {{ define "breadcrumbnav" }} 6 | {{ if .p1.Parent }} 7 | {{ template "breadcrumbnav" (dict "p1" .p1.Parent "p2" .p2 ) }} 8 | {{ else if not .p1.IsHome }} 9 | {{ template "breadcrumbnav" (dict "p1" .p1.Site.Home "p2" .p2 ) }} 10 | {{ end }} 11 | 12 | {{ .p1.Title }} 13 | 14 | {{ end }} -------------------------------------------------------------------------------- /themes/hello-friend/layouts/partials/cfai.html: -------------------------------------------------------------------------------- 1 |
2 | {{ "![Feedly](https://api-shields.edui.fun/badge/AI-文章摘要-blue)" | markdownify }} 3 |
4 | -------------------------------------------------------------------------------- /themes/hello-friend/layouts/partials/comments.html: -------------------------------------------------------------------------------- 1 | 2 | {{- if .Site.Params.twikoo.enable}} 3 | {{- if not .Site.IsServer }} 4 |
5 | 欢迎评论 6 |
7 |
8 |
9 | 10 | 11 | {{- end }} 12 | {{- end }} -------------------------------------------------------------------------------- /themes/hello-friend/layouts/partials/greater-icon.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /themes/hello-friend/layouts/partials/header.html: -------------------------------------------------------------------------------- 1 |
2 | 3 | {{ partial "logo.html" . }} 4 | 5 | {{ if len $.Site.Menus }} 6 | {{ partial "menu.html" . }} 7 | 13 | {{ end }} 14 | 15 | {{ partial "theme-icon.html" . }} 16 | 17 | 18 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /themes/hello-friend/layouts/partials/lastmod.html: -------------------------------------------------------------------------------- 1 | {{ $hourInSec := 3600 }} 2 | 3 | {{ if gt .Lastmod (add (time .Date).Unix $hourInSec) }} 4 | {{ with .Lastmod }} 5 | 6 | ({{ $.Site.Params.LastModDisplay }} {{ .Format ($.Site.Params.DateFormatSingle | default "2006-01-02") }}) 7 | 8 | {{ end }} 9 | {{ end }} 10 | -------------------------------------------------------------------------------- /themes/hello-friend/layouts/partials/logo.html: -------------------------------------------------------------------------------- 1 | 9 | -------------------------------------------------------------------------------- /themes/hello-friend/layouts/partials/opengraph.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {{with $.Params.feature -}} 6 | 7 | {{- end}} -------------------------------------------------------------------------------- /themes/hello-friend/layouts/partials/pagination.html: -------------------------------------------------------------------------------- 1 | 21 | -------------------------------------------------------------------------------- /themes/hello-friend/layouts/partials/talks.html: -------------------------------------------------------------------------------- 1 |
-------------------------------------------------------------------------------- /themes/hello-friend/layouts/partials/theme-icon.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /themes/hello-friend/layouts/shortcodes/bilibili.html: -------------------------------------------------------------------------------- 1 | 17 |
18 | 19 |
20 | -------------------------------------------------------------------------------- /themes/hello-friend/layouts/shortcodes/book.html: -------------------------------------------------------------------------------- 1 | {{ if .Get 3 }} 2 |
3 | 4 |
5 |

6 | {{ .Get 1 | markdownify }} 7 |

8 |

{{ .Get 2 | markdownify }}

9 |

{{ .Get 3 | markdownify }}

10 |
11 |
12 | 13 | {{ end }} -------------------------------------------------------------------------------- /themes/hello-friend/layouts/shortcodes/books.html: -------------------------------------------------------------------------------- 1 | {{$items := getCSV "," "data/douban/book.csv" }} 2 | {{$numb := 5}} 3 | {{ if .Get 0 }} 4 | {{$numb = add (.Get 0) 1 }} 5 | {{end}} 6 |
7 |
8 | {{range $idx,$item := first $numb $items}} 9 | {{if ne $idx 0}} 10 | {{ $rating := float (index $item 6)}} 11 |
12 |
{{ index $item 9 }}
13 |
14 |
{{$rating}}
15 |
16 | 17 |
18 | {{end}} 19 | {{end}} 20 |
21 |
-------------------------------------------------------------------------------- /themes/hello-friend/layouts/shortcodes/cfdb.html: -------------------------------------------------------------------------------- 1 | {{ $dbUrl := .Get 0 }} 2 | {{ $dbApiUrl := "https://dbapi.immmmm.com/" }} 3 | {{ $dbItem := "" }} 4 | 5 | {{ if ( findRE `^https\:\/\/.*\.douban\.com\/.*` $dbUrl ) }} 6 | {{ $dbItem = replaceRE `https\:\/\/(book|movie)\.douban\.com/subject/([0-9]+)/` "$1/$2" $dbUrl }} 7 | {{ end }} 8 | 9 | {{ $dbFetch := getJSON $dbApiUrl $dbItem}} 10 | {{ if $dbFetch }} 11 | {{ $itemRating := default 0 (float $dbFetch.douban_score) }} 12 |
13 |
14 |
15 |
16 | 17 |
{{ $itemRating }}
18 |
{{ $dbFetch.card_subtitle }}
19 |
20 |
{{ $dbFetch.type }}
21 |
22 |
23 | {{else}} 24 |

远程获取内容失败,请检查 API 有效性。

25 | {{end}} 26 | 27 | -------------------------------------------------------------------------------- /themes/hello-friend/layouts/shortcodes/douban.html: -------------------------------------------------------------------------------- 1 | {{ $dbUrl := .Get 0 }} 2 | {{ $dbApiUrl := "https://neodb.social/api/catalog/fetch?url=" }} 3 | {{ $dbFetch := getJSON $dbApiUrl $dbUrl }} 4 | 5 | {{ if $dbFetch }} 6 | {{ $itemRating := 0 }}{{ with $dbFetch.rating }}{{ $itemRating = . }}{{ end }} 7 |
8 |
9 |
10 |
11 | 12 |
{{ $itemRating }}
13 |
{{ $dbFetch.brief }}
14 |
15 |
{{ $dbFetch.category }}
16 |
17 |
18 | {{else}} 19 |

远程获取内容失败,请检查 API 有效性。

20 | {{end}} -------------------------------------------------------------------------------- /themes/hello-friend/layouts/shortcodes/figure.html: -------------------------------------------------------------------------------- 1 | {{- if .Get 4 -}} 2 |
3 | 4 |
{{ .Get 4 | markdownify }}
5 |
6 | {{- else if .Get 3 -}} 7 |
8 | 9 |
{{ .Get 3 | markdownify }}
10 |
11 | {{- else if .Get 2 -}} 12 |
13 | 14 |
{{ .Get 2 | markdownify }}
15 |
16 | {{- else -}} 17 |
18 | 19 | {{- if .Get 1 -}} 20 |
{{ .Get 1 | markdownify }}
21 | {{- end -}} 22 |
23 | {{ end }} -------------------------------------------------------------------------------- /themes/hello-friend/layouts/shortcodes/friends.html: -------------------------------------------------------------------------------- 1 | {{ $friends := getJSON "static/friends.json" }} 2 | {{ range $friends.friend}} 3 | 7 | {{ end }} -------------------------------------------------------------------------------- /themes/hello-friend/layouts/shortcodes/fullscreen.html: -------------------------------------------------------------------------------- 1 |
2 | {{.Inner | markdownify }} 3 |
-------------------------------------------------------------------------------- /themes/hello-friend/layouts/shortcodes/gallery.html: -------------------------------------------------------------------------------- 1 | {{ $baseURL := .Site.BaseURL }} 2 | {{- with (.Get 0) -}} 3 | {{- $files := readDir (print "/static/" .) }} 4 | 15 | {{- end }} -------------------------------------------------------------------------------- /themes/hello-friend/layouts/shortcodes/getdata.html: -------------------------------------------------------------------------------- 1 | {{ $dataJ := getJSON (.Get 0) }} 2 | {{if $dataJ}} 3 |
{{ jsonify $dataJ}}
4 | {{else}} 5 |

远程获取内容失败,请检查 API 有效性。

6 | {{end}} -------------------------------------------------------------------------------- /themes/hello-friend/layouts/shortcodes/image.html: -------------------------------------------------------------------------------- 1 | {{ if .Get "src" }} 2 | {{ . | plainify }} 3 | {{ end }} 4 | -------------------------------------------------------------------------------- /themes/hello-friend/layouts/shortcodes/lifes.html: -------------------------------------------------------------------------------- 1 | {{ $baseURL := .Site.BaseURL }} 2 | 3 | {{- $files := readDir (print "/static/photos" ) }} 4 | 15 | -------------------------------------------------------------------------------- /themes/hello-friend/layouts/shortcodes/link.html: -------------------------------------------------------------------------------- 1 | {{$URL := .Get 0}} 2 | {{ with .Site.GetPage $URL }} 3 | 4 | {{ with .Params.feature }} 5 | {{ $.Scratch.Set "feature" . }} 6 | {{ else }} 7 | {{ with findRE `!\[(.*?)\]\((.*?)\)` .RawContent }} 8 | {{ range first 1 . }} 9 | {{ $url := replaceRE `!\[(.*?)\]\((.*?)\)` "$2" . }} 10 | {{$.Scratch.Set "feature" $url }} 11 | {{ end }} 12 | {{ else }} 13 | {{ $.Scratch.Set "feature" false }} 14 | {{ end }} 15 | {{ end }} 16 | 17 |
18 |
19 |
20 |

21 | {{ .Title }} 22 |

23 | 24 | {{ if .Params.tags }} 25 | {{ range .Params.tags }}#{{ . }} {{ end }} 26 | {{ end }} 27 |
28 | {{ .Summary | plainify }} 29 |
30 |
31 |
32 | {{with ($.Scratch.Get "feature")}} 33 | 34 | {{end}} 35 |
36 | {{ end }} -------------------------------------------------------------------------------- /themes/hello-friend/layouts/shortcodes/memos.html: -------------------------------------------------------------------------------- 1 |
2 | 3 | -------------------------------------------------------------------------------- /themes/hello-friend/layouts/shortcodes/movies.html: -------------------------------------------------------------------------------- 1 | {{$items := getCSV "," "data/douban/movie.csv" }} 2 | {{$numb := 5}} 3 | {{ if .Get 0 }} 4 | {{$numb = add (.Get 0) 1 }} 5 | {{end}} 6 |
7 |
8 | {{range $idx,$item := first $numb $items}} 9 | {{if ne $idx 0}} 10 | {{ $rating := float (index $item 6)}} 11 |
12 |
{{ index $item 9 }}
13 |
14 |
{{$rating}}
15 |
16 | 17 |
18 | {{end}} 19 | {{end}} 20 |
21 |
-------------------------------------------------------------------------------- /themes/hello-friend/layouts/shortcodes/neodb.html: -------------------------------------------------------------------------------- 1 | {{ $dbUrl := .Get 0 }} 2 | {{ $dbApiUrl := "https://neodb.social/api/" }} 3 | {{ $dbType := "" }} 4 | 5 | {{ if ( findRE `^.*neodb\.social\/.*` $dbUrl ) }} 6 | {{ $dbType = replaceRE `.*neodb.social\/(.*\/.*)` "$1" $dbUrl }} 7 | {{ else }} 8 | {{ $dbType = $dbUrl }} 9 | {{ $dbApiUrl = "https://neodb.social/api/catalog/fetch?url=" }} 10 | {{ end }} 11 | 12 | {{ $dbFetch := getJSON $dbApiUrl $dbType }} 13 | 14 | {{ if $dbFetch }} 15 | {{ $itemRating := 0 }}{{ with $dbFetch.rating }}{{ $itemRating = . }}{{ end }} 16 |
17 |
18 |
19 |
20 | 21 |
{{ $itemRating }}
22 |
{{ $dbFetch.brief }}
23 |
24 |
{{ $dbFetch.category }}
25 |
26 |
27 | {{else}} 28 |

远程获取内容失败,请检查 API 有效性。

29 | {{end}} 30 | 31 | -------------------------------------------------------------------------------- /themes/hello-friend/layouts/shortcodes/video.html: -------------------------------------------------------------------------------- 1 | {{- $src := .Get "src" | default (.Get 0) -}} 2 |
3 | 14 |
-------------------------------------------------------------------------------- /themes/hello-friend/layouts/tags/list.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 |
3 | {{ partial "breadcrumb.html" . }} 4 | 5 |

{{.Title}}

6 |
7 | {{- range $name, $taxonomy := .Site.Taxonomies.tags -}} 8 | #{{ $name }}({{ .Count }}) 9 | {{- end -}} 10 |
11 | 12 | {{- range (where (where .Pages "Type" "in" (slice "post" "posts")) "Kind" "page").GroupByDate "2006" }} 13 |
14 | {{- range .Pages.GroupByDate "2006-01" }} 15 |
16 |

{{ .Key }}

17 |
18 | {{- range .Pages }} 19 |
20 | {{.Title}} 21 |
22 | {{ end }} 23 |
24 |
25 | {{- end }} 26 |
27 | {{- end }} 28 |
29 | {{ end }} 30 | -------------------------------------------------------------------------------- /themes/hello-friend/static/imgStatus.min.js: -------------------------------------------------------------------------------- 1 | !function(){this.loaded=0,this.failed=0,this.total=0,this.watch=function(a,b){var c=document.querySelectorAll(a);if(!c.length)return console.log("[imgStatus]: There aren't any images associated with this selector ("+a+")!");this.total=c.length;for(var d=0;d=1});return(i?function(t,e){return Math.floor(t)+e}(r[i],t.lang[i]):t.lang.error)+t.lang.ago},n=function(t){return t=new Date(t&&("number"==typeof t?t:t.replace(/-/g,"/").replace("T"," "))),!isNaN(t.getTime())&&t.getTime()};return{init:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=r.target,a=void 0===i?"time":i,o=r.lang;o&&(t.lang=o);var u=!0,h=!1,l=void 0;try{for(var s,c=document.querySelectorAll(a)[Symbol.iterator]();!(u=(s=c.next()).done);u=!0){var f=s.value,g=n(f.dateTime)||n(f.title)||n(f.innerHTML)||0;if(!g)return;f.title=new Date(g).toLocaleString(),f.innerHTML=e(g)}}catch(t){h=!0,l=t}finally{try{!u&&c.return&&c.return()}finally{if(h)throw l}}},format:e}}}(); -------------------------------------------------------------------------------- /themes/hello-friend/static/theme-lmm.js: -------------------------------------------------------------------------------- 1 | //相对时间 2 | window.Lately && Lately.init({ target: '.post-date,.datetime,.datatime,.photo-time'}); 3 | //图片灯箱 4 | window.ViewImage && ViewImage.init('.post-content img:not(.avatar,.tk-avatar-img)') 5 | //外链 gallery 标签相册瀑布流 6 | var photosAll = document.getElementsByTagName('gallery') || ''; 7 | if(photosAll){ 8 | for(var i=0;i < photosAll.length;i++){ 9 | photosAll[i].innerHTML = '' 10 | var photosIMG = photosAll[i].getElementsByTagName('img') 11 | for(var j=0;j < photosIMG.length;j++){ 12 | wrap(photosIMG[j], document.createElement('div')); 13 | } 14 | } 15 | } 16 | function wrap(el, wrapper) { 17 | wrapper.className = "gallery-photo visible"; 18 | el.parentNode.insertBefore(wrapper, el); 19 | wrapper.appendChild(el); 20 | } 21 | //随机日志 22 | function randomPost() { 23 | fetch('/sitemap.xml').then(res => res.text()).then(str => (new window.DOMParser()).parseFromString(str, "text/xml")).then(data => { 24 | let ls = data.querySelectorAll('url loc'); 25 | let locationHref,locSplit; 26 | do { 27 | locationHref = ls[Math.floor(Math.random() * ls.length)].innerHTML 28 | locSplit = locationHref.split('/')[3] || '' 29 | } while (locSplit == '' || locSplit == 'tags' || locSplit == 'posts'); 30 | location.href = locationHref 31 | }) 32 | } -------------------------------------------------------------------------------- /themes/hello-friend/static/waterfall.min.js: -------------------------------------------------------------------------------- 1 | function waterfall(a){function b(a,b){var c=window.getComputedStyle(b);return parseFloat(c["margin"+a])||0}function c(a){return a+"px"}function d(a){return parseFloat(a.style.top)}function e(a){return parseFloat(a.style.left)}function f(a){return a.clientWidth}function g(a){return a.clientHeight}function h(a){return d(a)+g(a)+b("Bottom",a)}function i(a){return e(a)+f(a)+b("Right",a)}function j(a){a=a.sort(function(a,b){return h(a)===h(b)?e(b)-e(a):h(b)-h(a)})}function k(b){f(a)!=t&&(b.target.removeEventListener(b.type,arguments.callee),waterfall(a))}"string"==typeof a&&(a=document.querySelector(a));var l=[].map.call(a.children,function(a){return a.style.position="absolute",a});a.style.position="relative";var m=[];l.length&&(l[0].style.top="0px",l[0].style.left=c(b("Left",l[0])),m.push(l[0]));for(var n=1;n