Tootfinder

Opt-in global Mastodon full text search. Join the index!

No exact results. Similar results found.
@shochdoerfer@phpc.social
2024-05-01 13:05:10

Use the #Composer Diff Plugin to compare composer.lock changes and generate a Markdown report that can be used in a PR description to visualize the changes.
github.com/IonBazan/composer-d

@aral@mastodon.ar.al
2024-03-13 20:18:56

New in Kitten¹: Markdown fragments
You can now write your Markdown in separate .fragment.md files and `import()` them as if they were JavaScript modules, just like you can with HTML and CSS fragments.
And while they don’t support props, they do support slots (including named slots, which you can use as poor man’s props.)
Enjoy!
:kitten: 💕
¹

Screenshot of code open in Helix Editor (active tab: index.page.js, inactive tabs: Markdown.fragment.md, Markup.fragment.md, Styles.fragment.md):

import Markup from './Markup.fragment.html'
import Styles from './Styles.fragment.css'
import Markdown from './Markdown.fragment.md'

export default () => kitten.html
  <page css>
  <${Markup} />

  <${Markdown}>
    <content for='title'>This is the title</content>
    <content for='date'>${new Date()}</content>
    <button>I’ve been slotted in.</but…
Screenshot of code for Markdown.fragment.md:

## And this is from a markdown file

As is this.

- Title: __${SLOT.title}__
- Date: __${SLOT.date}__

${SLOT}

And the content above was slotted into a markdown file.
Screenshot of code for Markup.fragment.html:

<div>
  <h1>This is from an HTML fragment.</h1>
  <p>As is this.</p>
</div>
Screenshot of the resulting page, rendered in a web browser:

H1: This is from an HTML fragment.

Paragraph: As is this.

H2: And this is from a markdown file

Paragraph: As is this.

List item: Title: This is the title

List item: Date: Wed Mar 13 2024 20:07:03 GMT+0000 (Greenwich Mean Time)

Button: I’ve been slotted in.

Paragraph: And the content above was slotted into a markdown file.
@MidniteLibrary@glammr.us
2024-04-30 22:45:06

So I was rereading @…'s piece on neural network-created knitting patterns and wondered if ChatGPT could create cross stitch patterns for me. Sort of? Maybe?
(Bing CoPilot could not produce anything usable.)

Screenshot of ChatGPT
Certainly! Here's a simple Halloween-themed cross stitch pattern.
(A lot of letters in kind of a pattern in markdown.)
In this pattern "W" represents black stitches, while "." represents empty space. This pattern depicts a simple Halloween-themed scene, with an image of a pumpkin. You can use orange for the pumpkin and black for the background.
A digitally created cross stitch pattern of a weird orange blob thing on a black background.
Screenshot of ChatGPT
Of course! Here's a 25x25 stitch pattern featuring a bat and a ghost, with each color represented by a differentletter.
(A bunch of letters in a block.)
In this pattern: "W" represents black stitches for the outlines. "G" represents gray stitches for the ghost. "B" represents blue stitches for the bat. 
Feel free to adjust the colors as you like!
A digitally created cross stitch pattern of a gray and blue oval on a black background.
@patricus@piggo.space
2024-03-31 07:09:30
@… I can tell you that github pages is good for a basic blog if you know markdown.
@juandesant@astrodon.social
2024-04-29 17:19:06

Never mind @…, I found my solution!
I was able to massage my notional hierarchy into MindMap by starting from the Greyscale style, and then using the manual layout and the compact style, using the top-down approach, and styling things like I wanted.
Later, I used Format > Extract Theme to create my own version of the sytle for later application.<…

Snapshot of a tentative hierarchical decomposition of an abstract ALMA Product Tree in three products, with units, components, and subcomponents, each one with a progressively longer number.

The style starts from a parallel line to ALMA Product Tree, and then has links to Product 1, Product 2 and Product 3. From each Product there are links to Units, from Units to Components, and from Components to Subcomponents. The full hierarchy is below in Markdown format:

# Product 1
## Unit 1.1
## Unit …
@phpugmrn@phpc.social
2024-02-23 09:39:00

#ToolTip Compare composer.lock changes and generate a #Markdown report to use it in PR description github.com/IonBazan/composer…

@cark@social.tchncs.de
2024-02-23 09:20:40

I often use the #markdown web WYSIWIG editor of #Nextcloud and I really like it. 👍
However, I dont know how to enter or paste markdown source code. Is that possible?

@…

@MidniteLibrary@glammr.us
2024-04-30 22:45:06

So I was rereading @…'s piece on neural network-created knitting patterns and wondered if ChatGPT could create cross stitch patterns for me. Sort of? Maybe?
(Bing CoPilot could not produce anything usable.)

Screenshot of ChatGPT
Certainly! Here's a simple Halloween-themed cross stitch pattern.
(A lot of letters in kind of a pattern in markdown.)
In this pattern "W" represents black stitches, while "." represents empty space. This pattern depicts a simple Halloween-themed scene, with an image of a pumpkin. You can use orange for the pumpkin and black for the background.
A digitally created cross stitch pattern of a weird orange blob thing on a black background.
Screenshot of ChatGPT
Of course! Here's a 25x25 stitch pattern featuring a bat and a ghost, with each color represented by a differentletter.
(A bunch of letters in a block.)
In this pattern: "W" represents black stitches for the outlines. "G" represents gray stitches for the ghost. "B" represents blue stitches for the bat. 
Feel free to adjust the colors as you like!
A digitally created cross stitch pattern of a gray and blue oval on a black background.
@aral@mastodon.ar.al
2024-02-23 15:48:19

In case you’re using Node’s `fs.watch()` directly instead of using a library*, take heed that it doesn’t give you atomic events for file changes.
If a file is being saved, you’ll get one event for every time a chunk is written to the file system. So you have to debounce your event handler.
e.g.,