When writing in Emacs’ Org mode, export with `C-c C-e h o`.

A browser window pops up with an HTML representation of the document you can copy rich markup from, to then paste in Basecamp’s text area.

Show thread

Here’s a slightly cumbersome option. Trix (Basecamp’s editor) uses a `contenteditable` block, which retains styling. That means one could convert their comment to HTML (like the preview in a Markdown editor), copy the text from the rendered page, and paste it into Basecamp.

Show thread

Since Basecamp doesn’t accept Markdown anymore, what’s the best way to get a piece of text written elsewhere (which might include links and subheadings) imported into it?

We’ve been using Lintje internally for a couple of days, and my commit messages have increased by 37%!

twitter.com/tombruijn/status/1

I published my notes on extracting files and directories from Git repositories (while retaining history) because most search results recommend `git filter-branch`, which you should never use. jeffkreeftmeijer.com/git-extra

You can use Git’s `-m` option multiple times. The first is the subject line, and every subsequent one is a paragraph:

$ git commit -m "Subject" -m "First paragraph" -m "Second paragraph"

ProTip™: Add unique typos to your git commits, as they’re easier to search for.

Complaining about recruiters emailing you is a bad look. Please stop.

Using a formatter like rustfmt, you could generate multiple versions of a code block with different column widths. Then, through JavaScript, you could load the one that fits based on the viewport width to get actually responsive `<pre>` tags. 🤔

GitHub’s Copilot is basically AI StackOverflow in your editor, but without the mediocre explanations or disagreements on performance.

Let this be a cautionary tale. Install a formatter in your editor and run it on save, lest you’ll break linter with your dinosaur Ruby and everybody who sees it will laugh at you and your single quotes.

Show thread

Ah, pen tablets. The pen for my CTL-4100WL stopped clicking, so I’m now back to my > 10-year-old MTE-450. Wacom doesn’t have drivers for that on newer macOS releases, so I’ve had to install a version somebody patched. But it works!

TypeError: Jest: a transform must export something.

🤷‍♂️

If somebody would ever think to create a syntax highlighter based on Vim’s highlight groups, they could theoretically use my new plugin called synner.vim to extract tokens and let Vim do all the hard work. 🤷‍♂️

github.com/jeffkreeftmeijer/sy

Show older
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!