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/)Z
Posts
160
Comments
127
Joined
3 yr. ago

  • Ruby:

    a || b

    (no return as last line is returned implicitly, no semicolon)

    EDIT: As pointed out in the comments, this is not strictly equivalent, as it will return b if a is false as well as if it's nil (these are the only two falsy values in Ruby).

  • It's open source, so you could just go find that answer in the code, right?

    Also, now I think of it, couldn't you just do this with one account?

    I don't mean to ruin the fun or anything 😆

  • You should probably put this warning in the body text of the post and/or a [NSFL] in the title

  • if this is to protect kids on your network

    Sadly, I suspect this is to protect adults on the network...