/explore
|
You are here |
www.leancrew.com | ||
| | | | |
lincolnmullen.com
I often have small snippets of Markdown that I want to copy to the clipboard and then paste as HTML. I thought about writing an extension for Visual Studio Code, or a custom script for Boop. But that seemed like a lot of work for a simple task. And then I remembered: Unix. pbpaste | pandoc | pbcopy There is a one-liner which will work on a Mac to paste Markdown into Pandoc and then copy the resulting HTML back to the clipboard. |
|
| | | | | ||
| | | | |
thedailywtf.com
JavaScript is frequently surprising in terms of what functions it does not support. For example, while it has a Math.round function, that only rounds to the nearest integer, not an arbitrary precision. That's no big deal, of course, as if you wanted to round to, say, four decimal places, you could write something like: Math.floor(n * 10000) / 10000. But in the absence of a built-in function to handle that means that many developers choose to reinvent the wheel. Ryan found this one. |
|
| | | | | ||
| | | | |
andrewshitov.com
[AI summary] The post discusses a programming challenge in the Raku language to determine if two strings are isomorphic, providing an implementation and explanation of the logic. |
|
| | | | | ||
| | | | |
vitalyobukhov.wordpress.com
Visit the post for more. |
|
| | | |||