home.social

#truncation — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #truncation, aggregated by home.social.

  1. I just watched a movie which I won't name so as to avoid a mahoosive spoiler, but if I ever get trapped in a lift I'm just staying there. I shan't be making use of the 'summon assistance' button.

    Please use one of the other cars.

    This one is my home now. I'll have some ventilation fitted, and get a few objets delivered. I'll check with the council for the soil cart schedules.

  2. 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:

  3. 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

  4. 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

  5. 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

  6. 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

  7. 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 #Front #CSS #Truncation by @[email protected]

  8. 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 #Front #CSS #Truncation by @[email protected]