|
You are here |
seb.wilzba.ch | ||
| | | | |
voodoo-slide.blogspot.com
|
|
| | | | | On C++ Having programmed in C++ professionally for well over 10 years I have learned all of it. I have all the books, I know all the tricks... | |
| | | | |
ceronman.com
|
|
| | | | | Last year I finally decided to learn some Rust. The official book by Steve Klabnik and Carol Nichols is excellent, but even after reading it and working on some small code exercises, I felt that I needed more to really understand the language. I wanted to work on a small project to get some hands-on... | |
| | | | |
jordi.inversethought.com
|
|
| | | | | ||
| | | | |
hjr265.me
|
|
| | | Working with user-generated content is always a nightmare interesting. Let's say you are building a blogging platform with Go. Your users write posts in Markdown that the platform then renders as HTML. And, you want to add target="_blank" and rel="noreferrer noopener" to all the external links. How do you do that? Annotated Code The steps are simple: Parse the HTML with golang.org/x/net/html. Walk the tree. The annotated code below implements a simple Walk function. | ||