Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)M
Posts
2
Comments
613
Joined
3 yr. ago

  • Better make her a sandwich while you're out there.

  • That's a bad idea; Using a buttplug as a gag could leave you with a bad taste in the mouth.

  • And Warren Ellis

  • But just imagine what it can do for personalized ads. Why won't anyone think of the advertisers?

  • Turns out it is pronounced "jandalf".

  • Er det verdens mindste violin jeg kan høre?

  • Dumbest war in history so far.

  • The world would probably become a better place if they reshot the entire last season.

  • Well, for a robot.

  • "Are they yelling Boo?"

    "No sir, they are cheering for the bruise".

  • 4 if you count Ryan.

  • Eventually LLMs will also evade those captchas, if not already.

  • Vildt nok at @MaiBarslev laver en whatabout muhammed alligevel.

  • Aj altså, hvor ærgerligt.

  • Da jeg var ung skulle man lægge mange timers hårdt arbejde med en bong for at ødelægge sin uddannelse på idiotisk vis.

  • Several error messages incorrectly using the term “argument” have been corrected.

    Quarrelling over exactly what an argument is. Very pythonic.

  • "We're going to get real racist on people like you, so don't leave".

  • When you use the pipe you're passing stdout from the left command to stdin on the right command.

    file takes a filename as an argument, it does not read stdin (by default).

    The first command works because head does read from stdin and then echoes the first line, but as an argument to file using command substitution - the $( ... ) bit. Command substitution is neat but this is not really the best use-case for it.

    A better way is to use find with -print0 which makes it use a zero-byte instead of a newline character (otherwise the command will fail in case a filename contains a newline - newlines and spaces in filenames break a lot of scripts if you aren't careful) and -quit, which makes find exit after the first match. And then pass it to xargs which is a utility that transfers stdin to command arguments - In this case the file binary - and handles zero-bytes as seperators when using the -0 arg.

    $ find /usr/lib -maxdepth 1 -type l -print0 -quit | xargs -0 file

    Removing -quit from the find command also works as expected (ie. on each found link).

  • Selfhosted @lemmy.world

    Comic Book Collection Manager?

  • News @lemmy.world

    Joe Biden ends re-election campaign

    www.bbc.com /news/articles/c1e5xpdzkd8o