Total Pageviews

Saturday, 7 November 2026

ip.me

 可惜只显示ip v6地址,不显示 ip v4地址。

 https://ip.me/whois

 

IP.ME is a free service developed and maintained by Proton.

Our lookups are powered by dnspython, a DNS toolkit for Python. 

from  https://ip.me/about

--------------------------------------

dnspython

Build Status Documentation Status PyPI version License: ISC Code style: black

INTRODUCTION

dnspython is a DNS toolkit for Python. It supports almost all record types. It can be used for queries, zone transfers, and dynamic updates. It supports TSIG-authenticated messages and EDNS0.

dnspython provides both high- and low-level access to DNS. The high-level classes perform queries for data of a given name, type, and class, and return an answer set. The low-level classes allow direct manipulation of DNS zones, messages, names, and records.

The module name for dnspython is dns. To see a few of the ways dnspython can be used, look in the examples/ directory.

dnspython is a utility to work with DNS, /etc/hosts is thus not used. For simple forward DNS lookups, it's better to use socket.getaddrinfo() or socket.gethostbyname().

dnspython originated at Nominum where it was developed to facilitate the testing of DNS software.

ABOUT THIS RELEASE

This is the development version of dnspython 2.10.0. Please read What's New for information about the changes in this release.

INSTALLATION

  • Many distributions have dnspython packaged for you, so you should check there first.
  • To use a wheel downloaded from PyPi, run:
    pip install dnspython
  • To install from the source code, go into the top-level of the source code and run:
    pip install --upgrade pip build
    python -m build
    pip install dist/*.whl
  • To install the latest from the main branch, run pip install git+https://github.com/rthalley/dnspython.git

dnspython's default installation does not depend on any modules other than those in the Python standard library. To use some features, additional modules must be installed. For convenience, pip options are defined for the requirements.

If you want to use DNS-over-HTTPS, run pip install dnspython[doh].

If you want to use DNSSEC functionality, run pip install dnspython[dnssec].

If you want to use internationalized domain names (IDNA) functionality, you must run pip install dnspython[idna]

If you want to use the Trio asynchronous I/O package, run pip install dnspython[trio].

If you want to use WMI on Windows to determine the active DNS settings instead of the default registry scanning method, run pip install dnspython[wmi].

If you want to try the experimental DNS-over-QUIC code, run pip install dnspython[doq].

Note that you can install any combination of the above, e.g.: pip install dnspython[doh,dnssec,idna]

Notices

Python 2.x support ended with the release of 1.16.0. dnspython supports Python 3.11 and later. Future support is aligned with the lifetime of the Python 3 versions.

Documentation has moved to dnspython.readthedocs.io.

from  https://github.com/rthalley/dnspython

让muse帮我在cloudflare.com平台搭建基于D1+R2的博客程序scb

 

我: can u build the project https://github.com/brightmann/scb?

This one is a full app, not a static site — it needs a real database (D1), file storage (R2), and login credentials, so it'll run on Workers with OpenNext. I'm installing it now.

Two things I need from you:

  1. Admin login for /admin — pick a username and password. I'll turn the password into a hash for the deploy and never keep the plain text.
  2. A token to push with — a fine-grained PAT for brightmann/scb with Contents read and write (no workflow files involved, so that's the only scope it needs).

Paste both when you're ready and I'll wire up the database, storage, and deploy.

 

activating R2 is free ($0 today, and the free tier covers a blog's usage), but Cloudflare's checkout wants a payment method on file for overage billing, plus a billing address. Your saved Visa ending in 0077 isn't showing up as an option in that checkout form, and I don't have your billing address.

Easiest path: you finish that one checkout yourself in the browser and I'll pick up the rest. Want me to hand you the browser for it?

 

the D1 database is created, but the activation page needs a payment method and your saved Visa isn't showing up as an option there. Nothing's been charged and nothing will be unless usage passes the free tier.

Whenever you're back: the R2 checkout call is yours (do it yourself in the browser, or tell me which card to use), and I still need the admin username/password and the scb token to finish the deploy.

 

the D1 database is created, and I've already wired its ID into the deploy config.

Still blocked on your side: the R2 activation checkout (payment method + billing address), plus the admin username/password and the scb token. Once you decide on the R2 checkout, I can restart the dashboard work for the bucket and the deploy token.

me:  username: admin , pw:我设的密码

 

Got it — admin login noted, and I'll hash the password when I set the deploy secrets (never stored).

Still need two things to finish: the scb token for pushing, and activation of the R2.

我:my github pat here... 

 

And the deploy config is pushed (commit 41ae0d7 on main).

I've also started a fresh dashboard task just to create the deploy token, since the last one died before reaching that step. Once it returns, I can apply the database migrations and set your admin secrets.

The only thing still waiting on you is the R2 checkout.

me:  how to activate the r2?

 Open the R2 section of your Cloudflare dashboard here-

 https://dash.cloudflare.com/cd81d89c95a45259096722709e7cdcb6/r2/overview

 It'll ask you to sign in if you're not already. Since R2 isn't activated yet, that page shows the "Get started" activation with the $0 checkout — that's the step waiting on a payment method. Once it's active, the bucket list lives on that same page.


Good progress: the database is migrated (all 3 tables sets in) and your admin login secrets are set on the Worker. The deploy config is pushed too.

Everything is ready except R2. Once you finish that $0 activation checkout, I can create the bucket, point the site at it, and deploy.

me:  i already created the r2 bucket. its name is lp-r2.

 It's live- https://scb.luckypoem.workers.dev/

Homepage, blog, categories, about, and the admin login page all load. The blog is empty for now — you post from /admin with the login you gave me.

Two notes:

  • The site still shows the upstream name and tagline ("LordVibeCoding'blog"). You can change all of that in /admin → settings, including the site name, tagline, and description.
  • I'm wiring up automatic rebuilds on push now, so future pushes go live on their own. I'll confirm once that's done.

When the build is finished, you can revoke both the scb token you pasted and the scb-deploy-onetime Cloudflare token.

 me:  here https://scb.luckypoem.workers.dev/admin/articles/new, i cannot add 分类, what to do?

That's because the database starts empty — there are no categories yet, so the dropdown on the new-article page has nothing to pick from. Categories aren't added from the article page itself.

Go to 分类管理 and add one: a slug (lowercase letters, digits, or Chinese, e.g. tech), a name (e.g. 科技), and an optional description. Once saved, it'll show up in the dropdown when you write an article.

me:  why https://scb.luckypoem.workers.dev/blog/zhan-ma cannot render the iframe codes?

Fixed — the video on /blog/zhan-ma now plays.

Why it didn't render: when you pasted the YouTube embed code into the editor, the editor had no video support, so it saved the <iframe> as a code block — the page was just displaying that code as text. Same thing happened on nob before.

What I changed: the site now converts those pasted embeds into real players when the page renders (your post itself wasn't touched), the editor now handles YouTube links properly, and the summary under the title no longer shows the raw code. I checked it live — pressed play, picture and sound both work.

For the next post, just paste the YouTube link instead of the embed code and it'll become a player right away.

me:  if i just paste any iframe codes, how to make them be rendered?

Done — now any iframe code you paste renders as the real embed, not just YouTube. Bilibili, maps, CodePen, whatever has a src — paste it in the editor and the page shows it, keeping its own proportions so it doesn't get squished on mobile.

How it works: the editor still saves pasted iframe code as text (it has no iframe block), but the site converts it back into a real iframe when the page loads. Your posts aren't changed.

One thing to keep in mind: whatever you paste will actually run on the page, so only paste embedded code from sources you trust.

me:  can u strip 'LordVibeCoding 写代码、写字、找让自己专注的方法.' and the svg pic from all posts?

Done. Posts no longer show the author byline (name + bio) or the placeholder SVG cover — on the article page, the cards, and the lists. A post with no cover now just shows no cover image, and new posts won't store that upstream bio anymore. Your 战马 video still plays.

Two things still using that picture or name, but they're not posts: the homepage's RSS promo banner still uses the SVG as its side image, and the name/bio still ride along in the list pages' hidden page data (nothing visible). Want me to clear the banner image too, or wipe the stored author bio from your existing posts?

me:  yes,clear the banner image too and wipe the stored author bio from existing posts.

Both done and verified live.

  • Banner image cleared: the homepage promo banner no longer falls back to the placeholder SVG — it's text-only now (the RSS subscribe callout).
  • Stored bio wiped: all 3 posts (战马, 稀奇古怪的中国经济, 人在旅途) had their author bio set to empty in the database, so the text is gone even from the pages' hidden data.

Checked the live site: homepage, /blog, and the article page all show zero trace of the bio or the placeholder picture, and the 战马 video still plays.

The author name (LordVibeCoding) is still stored on your posts and in the site name — that's the one piece left if you want it gone too. You can change the site name in /admin/settings, or I can swap it in the database.

me:  can u make https://scb.luckypoem.workers.dev/blog support pagination? 5 posts a page.

Done — /blog now paginates at 5 posts per page, with the numbered pager (Previous | 1 | 2 | Next) at the bottom. It replaces the infinite scroll, same look otherwise: first post big, the rest in a grid.

Verified live with your 6 posts: page 1 has the 5 newest, page 2 has 战马, and bad page numbers bounce to the right place (?page=1 and ?page=abc go to /blog, ?page=3 goes to page 2). Category filtering still works too, and the pager keeps the filter when you turn pages.

One note: the pager only shows once there's more than one page — with 5 or fewer posts it hides itself, so it appears exactly when it's needed.

我得到的博客地址:

 https://scb.luckypoem.workers.dev

 https://scb.luckypoem.workers.dev/blog

登录地址: https://scb.luckypoem.workers.dev/admin

项目地址:

 https://github.com/LordVibeCoding/serverless-cloudflare-blog

 https://github.com/brightmann/scb

 

中国头号皇后吕雉:从“贤妻”到“毒妇”的黑化真相


相关帖子:陈平下令,将吕氏族人通通诛杀

Friday, 6 November 2026

波斯的疗愈音乐

-不错,好听。

崇禎為什麼一定要殺袁崇煥?

 

崇禎这个神经病抓了最会打仗的袁崇煥,活该他亡国。正像南宋的皇帝赵构抓了岳飞,南宋离亡国就不远了。

明朝历代皇帝

明朝自1368年朱元璋建立,至1644年崇祯帝自缢,共历十二世、十六位皇帝(若计入清兵入关后南方延续的南明政权则更多)

以下为明朝十六位皇帝的完整列表及主要历史标志:

顺序    庙号            姓名       年号    在位时间          历史要点与标志性事件
1         明太祖        朱元璋    洪武    1368—1398    建立大明,推翻元朝;废丞相、设锦衣卫,强化君主专制。
2        明惠宗         朱允炆    建文    1398—1402    太祖之孙;推行削藩政策,引发“靖难之役”,宫陷后不知所终。
3        明成祖         朱棣       永乐    1402—1424    太祖的第四子;发动靖难夺位,迁都北京,修《永乐大典》,派郑和下西洋。
4        明仁宗         朱高炽    洪熙    1424—1425    成祖的长子;休养生息,开创“仁宣之治”的序幕(在位仅10个月)。
5        明宣宗         朱瞻基    宣德    1425—1435    仁宗的长子;与父共创“仁宣之治”,明朝国力达到鼎盛时期。
6        明英宗         朱祁镇    正统 / 天顺     1435—1449 1457—1464 两次在位;亲征漠北,发生“土木堡之变”被蒙古人俘虏,后经“夺门之变”复辟。
7        明代宗         朱祁钰    景泰    1449—1457    英宗之弟;在土木堡之变后临危受命登基,任用于谦取得“北京保卫战”胜利。
8        明宪宗         朱见深    成化    1464—1487    英宗的长子;平反于谦,前期励精图治,后期宠信万贵妃、设立西厂。
9        明孝宗         朱祐樘    弘治    1487—1505    宪宗的三子;勤政爱民,整顿朝政,史称“弘治中兴”,终身未纳妃嫔。
10      明武宗         朱厚照    正德    1505—1521    孝宗的长子;性格桀骜叛逆,建“豹房”,自封“威武大将军朱寿”。
11      明世宗         朱厚熜    嘉靖    1521—1566    武宗的堂弟(宪宗之孙);引发“大礼议”,后期沉溺修道、二十余年不视朝,发生“壬寅宫变”。
12      明穆宗         朱载垕    隆庆    1566—1572    世宗的三子;推行“隆庆开关”开放海禁,与蒙古达成“俺答封贡”。
13      明神宗         朱翊钧    万历    1572—1620    穆宗的三子;前期任用张居正主持改革,后期发生“万历怠政”与“万历三大征”。
14      明光宗         朱常洛    泰昌    1620                神宗的长子;因“红丸案”即位仅一个月猝逝,史称“一月皇帝”。
15      明熹宗         朱由校    天启    1620—1627    光宗的长子;酷爱木工,朝政大权落入宦官魏忠贤与客氏之手。
16      明思宗         朱由检    崇祯    1627—1644    
朱由校之弟

 


朱瞻基,26 歲登基、38 歲猝死,他用 10 年把明朝推向巔峰,卻被一隻蟋蟀黑了六百年

相关帖子:

1424年,大明皇帝朱棣死在军中,一场决定国运的赛跑就此开始