dmesg --follow
[ 70241940.000 ] posts.x: ↻ @JayNagy: I’ve worked that heatshield my entire adult life. Peak career moment today To go from little 7 tile patches to a full reusabl…  |   [ 69798180.000 ] posts.x: ↻ @atlantajug: Maintainers are drowning in AI-generated slop. How do you make sure your PR isn't part of the problem? 🤖 @CoreyGallon shar…  |   [ 69798120.000 ] posts.x: ↻ @devnexus: Maintainers are drowning in AI-generated slop. How do you make sure your PR isn't part of the problem? 🤖 At #Devnexus2027, @…  |   [ 69626580.000 ] posts.x: @sentinelwayne Not following … ticketing systems are typically async, nay?  |   [ 69483540.000 ] posts.x: @sentinelwayne The chat dropped a couple of times, due to timeout. It’s just the same as if I was distracted on another screen and didn’t respond in…  |   [ 69435300.000 ] posts.x: Happy V for Vendetta Day!  |   [ 69435120.000 ] posts.x: Happy V for Vendetta Day!  |   [ 69346140.000 ] posts.x: This is a *chef’s kiss* salutation from the app in the morning. Nicely done, Claude team! 👌  |   [ 69303240.000 ] posts.x: @markfenner Nyope! It all went off perfectly, as though I had engaged in the chat myself.  |   [ 69303180.000 ] posts.x: @noelkimx Happy to share more — what are you after?  |   [ 69285720.000 ] posts.x: @noelkimx It doesn't have the password -- I logged in myself, then handed the browser session over. It's dodgy practice to ask for a customer…  |   [ 69280380.000 ] posts.x: @not_sacke Yeah, it's handled things so nicely! I had to take photos of the physical device at the request of the customer support rep, so it pinged…  |   [ 69279960.000 ] posts.x: One of my agents is working a device support issue with a live customer service agent on my behalf. I've got it sending me notifications when it…  |   [ 69280080.000 ] posts.x: Here's the GitHub repo for chrome-agent, so your agent can use the web with, and for, you:  |  
corey@gallon.me:~/til$

Wrap with HTML tags in VSCode

FIGURE 1 ⋅ Wrap with HTML tags in VSCode

Using the Emmet capabilities in VSCode (see previous TIL) you can highlight a section of HTML code and quickly wrap it with other HTML using Emmet shortcuts.

This is particularly useful when writing plain HTML and then returning to style it.

You can access this functionality in the command palette

wrap in command palette
FIGURE 2 ⋅ wrap in command palette

Smarter, still, is to create a keyboard shortcut for this. We’ll bind ALT+M to this functionality.

create keyboard shortcut
FIGURE 3 ⋅ create keyboard shortcut

Now, simply highlight the HTML code you want to wrap, hit ALT+M and start typing the Emmet abbreviations for the tags you want to wrap the code with. For example, we’ll wrap this simple HTML form with some BulmaCSS classes to improve layout …

wrap with tags
FIGURE 4 ⋅ wrap with tags

et voila!

corey@gallon.me:~$ tail -f /writing Attach to the stream. An email when I have something worth sending. Replies encouraged!
corey@gallon.me:~$ ls -lt /til ↑2024-11-28 Why An 8TB Drive Isn’t 8 Usable TB
▸2024-11-14 Wrap with HTML tags in VSCode ⋅ you are here
↓2024-10-15 A nice workflow for creating Python projects with AI