Goland 使用教程 01:高效的处理 json 文本
大家好,我是渔夫子。
工欲善其事,必先利其器。今天我们讲解 Goland 是如何高效的处理 json 的。
01 将 json 直接转换成结构体首先我们有一个段 json 格式的数据如下,看下 Goland 是如何快捷的转换成结构体的。
”`
{
</span><span class="nl">"email"</span><span class="p">:</span><span class="w"> </span><span class="s2">"noah.poulsen@example.com"</sp ... ⌘ [Read more](https://gocn.vip/topics/20923)```
[vlog] [2021-12-08] pikⒶbu project concepts and direction
an information-centric client for misskey, email+autocrypt, and beyond. maybe a communist hive mind hiding in plain sight. you’ll never know!
https://codeberg.org/xjix/pikabu
https://pikabu.moe/ ⌘ Read more
Review Jam, day 2: try a short task in Teliva. https://buttondown.email/reviewjam/archive/advent-of-foc-day-2-brutalist-convivial-computing
Mark emails me all the time with bugs he found in GoBlog (some that I would never have found myself) and features he would like to see (e.g. better display of Brid.gy webmentions). I take it as motivation and try to improve GoBlog in a way that it is useful for others as well. And I think there is a good progress. ⌘ Read more
I use NNCP for everything from send/receiving emails, to Telegram/Matrix piping, and Youtube video queuing. So my plan was to upgrade but then one of my cats threw a temper tantrum over food, so I had to deal with that, then I upgraded everything. Finally 😅
@fastidious@arrakis.netbros.com Some of my friends in college were really excited to actually find other fellow nerds in college willing to engage in a key signing party. They used it to send like 3 or 4 inconsequential emails and then just gave up on it.
@movq@www.uninformativ.de keys.openpgp.org is a descent key server. They only publish a key the at has a valid email.
Hey @manton I got this email this morning from name.com – Just wondering if I could have my prologic.blog domain transferred to me? 🤔 Whilst I have enjoyed using my micro.blog service I’d like to move away off of micro.blog and host my own blog, which I intend to use my own static tool for.
Thank you for providing such a great service over the years I’ve used micro.blog 🙇♂️
⌘ Read more@movq@www.uninformativ.de What do you think about this?
diff –git a/jenny b/jenny
index b47c78e..20cf659 100755
— a/jenny
+++ b/jenny
@@ -278,7 +278,8 @@ def prefill_for(email, reply_to_this, self_mentions):
def process_feed(config, nick, url, content, lasttwt):
nick_address, nick_desc = decide_nick(content, nick)
url_for_hash = decide_url_for_hash(content, url)
new_lasttwt = parse(‘1800-01-01T12:00:00+00:00’).timestamp()
# new_lasttwt = parse(‘1800-01-01T12:00:00+00:00’).timestamp()
new_lasttwt = None
for line in twt_lines_from_content(content):
res = twt_line_to_mail(@@ -296,7 +297,7 @@ def process_feed(config, nick, url, content, lasttwt):
twt_stamp = twt_date.timestamp() if lasttwt is not None and lasttwt >= twt_stamp: continueif twt_stamp > new_lasttwt:
if not new_lasttwt or twt_stamp > new_lasttwt:
new_lasttwt = twt_stamp mailname_new = join(config['maildir_target'], 'new', twt_hash)
@lyse@lyse.isobeef.org
Bottomline, twtxt is a poor’s man email system. 🤣
Is it me, or Gmail’s web interface is going down the drain? Using Safari—my default browser—often takes two, or three clicks to open an email. If it weren’t because its search is amazing, I would never visit its web interface.
The features that macOS Monterey will bring, albeit minor, will made for a better “quality of living”. I am looking forward to Notes, and the iCloud+ integration (Private Relay, Hide My Email). It also bring macOS cohesively close to iOS. My work 2015 iMac and M1 Mini will get it, so looking forward to it!
Email for everything ? ⌘ Read more
@prologic@twtxt.net I know, because fork makes it 100% sure to know who is replying to whom. Just like email’s in-reply-to does (plus the message-id).
@prologic@twtxt.net What if the reply does what fork does, for any replies to the top post, but not the top post itself? You know, like email does. Other than to reply to the top post (for which I use reply), I don’t use reply but fork, to reply to posts underneath because it is the logical thing to do.
@movq@www.uninformativ.de But it makes sense, right? I spend way too much time trying to figure out who replied to whom. I treat twts replies as emails, pretty much.
I wonder how can I set, on Mutt, a shorter subject (elipsed) on the status bar, while reading a email (or a twt).
Based on spam logs, I am (again) considering banning a bunch of TLDs at the server level. Has anyone ever gotten legitimate email from a .work, .casa, or .today domain, for example?
Monitoring and automation for Open Source email servers, starting with Postfix.
1 points posted by Marcel Franke ⌘ Read more
So tired of mobile phone vendor lock in and bad usability for the sake of keeping people in their services. Try printing a file from your email inbox to a Bluetooth printer from your Android phone.
Matrix vs. XMPP
XMPP and Matrix are two decentralized and federated free sofware projects for chat, including true end-to-end encrypted chat.
Users can either install the software on their own server if they want, but they can also easily register on any public server—both allow any XMPP or Matrix user to talk to users on their server or on any other one. In essence, it works like email: you might have an em … ⌘ Read more
updated email address and made a new encryption key
https://relay.firefox.com/ email firefox
http://www.djcbsoftware.nl/code/mu/mu4e/Keybindings.html emacs email mu4e
https://www.emacswiki.org/emacs/MailtoHandler emacs email mailto
https://caolan.org/dotfiles/emacs.html#email emacs mu4e
https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/master/gnus-guide-en.org emacs email gnus
https://git-send-email.io/ email git
https://www.blog-libre.org/2017/09/21/messagerie-email-ethique-comment-preserver-sa-vie-privee-et-celle-de-son-entourage/ email privacy
https://github.com/jetmore/swaks cli email smtp
https://gist.github.com/carlosmcevilly/2221249 commit email git
I had a nightmare last night, I had to check my email on an M1 MacBook Pro, and the email client on it was just terrible, almost unusable.
@prologic@twtxt.net Twtxt.net’s privacy policy says you store emails, /register disagrees. Which is true?
Ah, no; and there we have a good example of finger’s poor discoverability! It matches my email address, though: echo a.9srv.net | sed ’s/./@/’
Encryptomatic® OpenPGP 2.7.7 Email Encryption Add-in for Microsoft Outlook is now available. ⌘ Read more…
is there a twtxt mention crawler/indexer? just noticed I’ve been missing messages at me on here. hit me up on the fediverse: jb55 at bitcoinhackers dot org, or my email: jb55 at jb55 dot com
@prologic@twtxt.net Web Key Directory: a way to self host your public key. instead of using a central system like pgp.mit.net or OpenPGP.org you have your key on a server you own.
it takes an email@address.com hashes the part before the @ and turns it into [openpgpkey.]address.com/.well-known/openpgpkey[/address.com]/<hash>
can someone ELI5 how to set up hugo with drone CI? i tried the docs but i couldn’t get it to work. drop me an email or find me on irc. details on my website
@prologic@twtxt.net huh.. true.. the email is md5/sha256 before storing.. if twtxt acted as provider you would store that hash and point the SRV record to the pod. .. to act as a client it would need to store the hash and the server that hosts the image.
simple-subscribe - collect emails with a subscription box ⌘ https://github.com/victoriadrake/simple-subscribe
MailDex 2021 Email Indexing Software Now Available. ⌘ Read more…
Gotta try this new Mautic email builder ⌘ https://github.com/Webmecanik/plugin-grapesjs-builder
if you thought emails were great at getting stuff lost, wait til you check out this thing called twtxt
Cryptography Dispatches: Reconstruct Instead of Validating ⌘ https://buttondown.email/cryptography-dispatches/archive/cryptography-dispatches-reconstruct-instead-of
Updates on downtime and server transfer/email ⌘ https://forum.lukesmith.xyz/thread-537.html