aegilops :github::microsoft: · @aegilops
109 followers · 373 posts · Server fosstodon.org

You know how when you do...

``` sh
my_cmd file_to_read > file_to_read
```

...then the redirect to write to the file truncates the file you're reading before you read from it?

Yeah, so do I. I learned that years ago.

I also refamiliarised myself with it today... 🤦

"Why is the file I'm reading from empty??" :t_blink:

When I write fragments of shell scripts in a Dockerfile or a GitHub Action my brain stops working :blobcatgoogly:

#ShellScripts #truncation #TIL

Last updated 2 years ago

test1g6a1g8x · @test1g6a1g8x
0 followers · 103 posts · Server mastodon.hsablonniere.com

When we say "truncation is not a content strategy", it's true also for design tokens names!

I saw this is Shopify's Polaris Design System… 🤷‍♂️

⚓️ nicolas-hoizey.com/notes/2022/

#truncation #Shopify #designtokens #DesignSystem

Last updated 2 years ago

The whale · @thewhalecc
284 followers · 1736 posts · Server framapiaf.org

Multi-Line Truncation with Pure CSS - Truncating a single line of text if is fairly straightforward. Truncating multiple lines is a bit harder. Using just CSS (no JavaScript or... css-tricks.com/multi-line-trun by @css@twitter.com

#front #css #truncation

Last updated 6 years ago