原文
This is a richer way to display your hacker news bio. To use it:
- To opt-in, paste
"{your username}.at.hn"
anywhere in your profile's 'about' section. - Go to
https://{username}.at.hn?refresh
. - If your username includes uppercase letters or underscores, then due to DNS not supporting them in subdomains, you will need to encode them in a way that attempts to avoid conflicts (not ideal):
- Replace uppercase letters with '
{lowercase(L)}0xNN
' where 'NN' is the ASCII hex code of the uppercase letter. For example, 'RallyDriver
' becomes 'r0x52allyd0x44river
' (since 'R' is 0x52 and 'D' is 0x44 in ASCII). Code here if helpful. - Replace underscores with '
0x5f
' such that 'rally_driver
' becomes 'rally0x5fdriver
' (since '_' is 0x5f in ASCII).
- Replace uppercase letters with '
- Between HN/our caching, you might need to wait a couple minutes.
- Use markdown to make things prettier. Submit PRs on github if you like.
- Note: Outgoing links are
rel=nofollow
unless you're>200
karma (anti spam).
See an example: padolsey.at.hn.