Skip Navigation

Posts
51
Comments
314
Joined
9 mo. ago

  • You know, it's ugly as all hell, but I have a feeling I'm gonna like it a lot more when I'm high as shit on crack.

  • Why would that be unlikely? Calvin & Hobbes seems like a prime piece to milk nostalgia money out of.

  • How about you and I go toe-to-toe on bird of prey law and see who comes out the victor?

    EDIT: I think I somehow missed that this was already the title of the thread

  • Apparently thinking about "the shrews" or "rooster's balls" or "the maternity of giraffes" or "pregnant birds" are also used.

  • Not sure if it counts as a cliffhanger, but Westworld set itself up for a second season and then just nothing.

  • Which runs better, the Ubuntu version or the Windows version through Proton?

  • Oh, that's why venues are often filled with coloured lights

  • They are upset that the actor who portrayed Sulu in Star Trek: Continues died

  • I started watching Lexx, and I now finally understand this post.

  • Most people? Is that true?

  • Subscription price is increasing this autumn.

  • Ay girl, I wouldn't mind a jaunt through the 'ol orifice.

  • Here is my cheatsheet that has been very helpful. Obviously, this will not teach you how RegEx works, but is a good quick reference when I forget the exact syntax for something.

    RegExp

    Character classes

    PatternDescription
    .Any character, except newline
    \wWord
    \dDigit
    \sWhitespace
    \WNot word
    \DNot digit
    \SNot whitespace
    [abc]Any of a, b, or c
    [a-e]Characters between a and e
    [1-9]Digit between 1 and 9
    [[:print:]]Any printable character including spaces
    [^abc]Any character except a, b or c

    Anchors

    PatternDescription
    \GStart of match
    ^Start of string
    $End of string
    \AStart of string
    \ZEnd of string
    \zAbsolute end of string
    \bA word boundary
    \BNon-word boundary
    ^abcStart with abc
    abc$End with abc

    For multiline patterns (m flag), ^ and $ will act as start and end of line.

    Escaped characters

    PatternDescription
    \. \* \\Escape special character used by regex
    \tTab
    \nNewline
    \rCarriage return

    Groups

    PatternDescription
    (abc)Capture group
    (a|b)Match a or b
    (?:abc)Match abc, but don't capture
    \1Substituted with text matched of the 1st capturing group

    Quantifiers

    PatternDescription
    a*Match 0 or more
    a+Match 1 or more
    a?Match 0 or 1
    a{5}Match exactly 5
    a{,3}Match up to 3
    a{3,}Match 3 or more
    a{1,3}Match between 1 and 3

    Lookahead & Lookbehind

    PatternDescription
    a(?=b)Match a in baby but not in bay
    a(?!b)Match a in Stan but not in Stab
    (?<=a)bMatch b in crabs but not in cribs
    (?<!a)bMatch b in fib but not in fab
    (?<![a-z])abc(?![a-z])Match abc without any letters before/after
  • How so? I have been getting much more comfortable with it lately, but I am curious what downsides there are

  • You do. That comment of mine, as is, is entirely worthless.

    The sender (in this case, that would be me) needs to encrypt the message using either:

    1. The public key of the recipient
    2. A custom passphrase
    3. Any combination of the above, including multiple different public keys

    That way, the only people who can decrypt the message is a person with the private key that is paired with any of the public keys that the message was encrypted with OR literally anybody that happens to have the passphrase it was encrypted with.

    I think I had encrypted that message using just my own public key, so as I said, the message is completely useless to anybody but myself.

  • A specific brand of creepy doll that is trendy right now in certain countries

  • Oh, I thought that was the Office.

  •  
        
    -----BEGIN PGP MESSAGE-----
    
    wV4Dd2cMziIkKJkSAQdAQKmr1kGoimmaRmO19Z8qT/EWx2yuDJNuatwbO57jWB0w
    uCogyRYU3FNpw5AiXXV0x3CWrmzRiIWVZw1DR6ctCL430oh1Iim/MQS/3WaG/MIv
    0sAGAblZp623P1Zw0chivhpQ9kkHSujeEVy+IcaktEkfoDTFs1SxjpWM22ny+eP/
    ifRudikZ4f41BNOPMrsi2baeKnD/nwL30gxET20l1IJr2DuugfNrcGFIK1JSNt+T
    Xr4eudiB3RpPareo7c/jiu6/fVVM0SODcmwk4pCxzAorDgzsRPINn/63tPL5raIZ
    Kaf7jxuv25l8dlRo/iQdEnJUFq/bAjd7B9a1art4PIix5Y4R8z+/c2DMrqusdrQn
    LtY4koMJil7z
    =TZ+w
    -----END PGP MESSAGE-----