Blog | 博客

With each passing day, this efficient transformation has changed again in Go 1.20

Original link: https://colobu.com/2022/09/06/string-byte-convertion/ In the development of Go 1.19, string.SliceHeader and string.StringHeader experienced a life-and-death struggle. These two types were once marked as deprecated ( deprecated ), but these two types are often used in slice of byte and string to efficiently interact with each other. In the transition scenario, if it is marked as […]

With each passing day, this efficient transformation has changed again in Go 1.20 Read More »

Evolved Cars, Upgraded Bills

Original link: https://www.latepost.com/news/dj_detail?id=1303 In September 2017, Super Hurricane Irma made landfall in Florida, USA. Before the hurricane, a message appeared on the big screen of some local Tesla owners: We temporarily unlocked extra power in your car, hoping this will allow you to escape the hurricane and get to a safe location. The vehicles that

Evolved Cars, Upgraded Bills Read More »

Linux common commands -97: dirname

The dirname command removes the non-directory part of the file name and only displays the content related to the directory, which is the opposite of the basename command introduced earlier. dirname keeps the last / and its preceding characters, and removes the rest. If there are no characters after the last / , dirname uses

Linux common commands -97: dirname Read More »

Linux common commands -96: basename

The basename command is mainly used to display the file name with the file path name excluding the directory part. Syntax format: basename [parameter] Common parameters: Example basename /etc/nginx/sites-enabled/default basename /etc/nginx/nginx.conf # 显示文件名,不显示后缀basename /etc/nginx/nginx.conf .conf This article is reprinted from https://xugaoxiang.com/2022/09/06/linux-cmds-96-basename/ This site is for inclusion only, and the copyright belongs to the original author.

Linux common commands -96: basename Read More »

cert-manager configure proxy

Original link: https://www.bboy.app/2022/09/06/cert-manager%E9%85%8D%E7%BD%AE%E4%BB%A3%E7%90%86/ Introduction As we all know, because This article is reprinted from: https://www.bboy.app/2022/09/06/cert-manager%E9%85%8D%E7%BD%AE%E4%BB%A3%E7%90%86/ This site is for inclusion only, and the copyright belongs to the original author.

cert-manager configure proxy Read More »

Application

Original link: https://onojyun.com/2022/09/06/6874/ Just now, the alarm system in the office remembered for some reason. Xiao Wang, who was going to the toilet in the office, didn’t care. It wasn’t until he heard the nervous noise outside the toilet that he realized that there seemed to be an accident in the office. Before he could

Application Read More »

Bought a Baking Book

Original link: https://kaix.in/0001/20220906/ I never planned to do what I wrote in the book, but after reading other people’s data and theories, I was always affected by the process of roasting my own coffee beans, and I wanted to try and compare. It took a few months to adjust almost every parameter in the baking

Bought a Baking Book Read More »

maroon horse

Original link: https://s3-eu-west-1.amazonaws.com/dailyartartwork/img-2022072862e2a178f3bbe Today we show…a huge portrait of a horse. The Whistlejacket (the name of the horse) is one of the most famous horses in art history. He belongs to the Marquis of Rockingham. Horse artist George Stubbs painted him life-size, standing against a plain background. In 1762 Stubbs was invited by Rockingham to

maroon horse Read More »