南千秋

南千秋

南家三姐妹中的三妹,最小的孩子。眼睛半合状态似睡非睡,头上的一大坨呆毛“桃毛(みなみけ)”相当灵活,但其实很腹黑,自称为“公主”。
tg_channel
github
twitter

Get the list of articles from pinboard using jq and convert it to markdown format.

Mainly for the convenience of writing weekly reports, you can directly copy and paste.

Simplified Version#

export PINBOARD_TOKEN=your-api-token
curl -sS "https://api.pinboard.in/v1/posts/all?format=json&auth_token=$PINBOARD_TOKEN" \
    | jq -r '.[] | "- [\(.description)](\(.href)) - \(.extended)"'

The effect is to generate a markdown list in the following format

- [simonw/til: Today I Learned](https://github.com/simonw/til/blob/main/ab/apache-bench-length-errors.md) - You can consider using this format to write TIL, just pure markdown, and use external links for large blocks of code and images. The key is to write each idea completely, without padding. And then reach a certain level
- [Downloading a video should be “fair use” as recording a song from the radio | Hacker News](https://news.ycombinator.com/item?id=37112615) - Actually, I still don't understand whether this kind of download is illegal or not
- [A university teacher decides to deliver takeout](https://mp.weixin.qq.com/s/cSL-Inf0QDKOPJd4yzkAGw) - <blockquote>Being in the ivory tower for a long time, he wants to break free from closure, arrogance, and superiority.</blockquote>
- [How does China's Great Firewall detect and block fully encrypted traffic](https://gfw.report/publications/usenixsecurity23/) -
- [You’re probably using the wrong dictionary](https://jsomers.net/blog/dictionary) - A good dictionary can have such a big impact
- [Using automated workflows to aggregate information ingestion and output](https://reorx.com/blog/sharing-my-footprints-automation/) - <blockquote>Show how I use n8n to synchronize the dynamics of services such as Twitter, YouTube, GitHub, and Douban to Telegram Channel, and achieve the aggregation of personal digital life information.</blockquote>
- [nodebestpractices/README.chinese.md at master · goldbergyoni/nodebestpractices](https://github.com/goldbergyoni/nodebestpractices/blob/master/README.chinese.md) -
- [37% Rule - MBA Wiki](https://wiki.mbalib.com/wiki/37%25%E6%B3%95%E5%88%99) - <blockquote>The 37% rule, the 37% rule, comes from the book "The Beauty of Algorithms". It means that after the experiment by mathematician Euler, 37% is used as the dividing point, the previous time is used for observation, and the later time is used for decision-making. For example, if you want to buy a house, there are 30 houses in the entire area, so you need to look at 37% of the houses, which is 11 houses. The houses before 37% only look and don't buy, but remember what you think is the best. After looking at it, only buy if you encounter a house that is better than the previous best.</blockquote>
- [Basic knowledge about Unicode that every software developer must know in 2023](https://blog.xinshijiededa.men/unicode/) - <blockquote>Since then, Python has progressed, CD-ROMs have become obsolete, but the rest still remains in UTF-16 or even UCS-2. Therefore, UTF-16 exists as a memory representation.

PS. Note that a proxy is required to access pinboard.in in China.

Random idea: Would a better design be ny pinboard export --md? Automatically set up the proxy and token. Pinboard CLI (pseudo).

References#

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.