Sharing funny things

If I post it assume it’s not OC

  • 59 Posts
  • 9 Comments
Joined 1 year ago
cake
Cake day: August 22nd, 2023

help-circle








  • JPDev@programming.devOPtoProgrammer Humor@programming.devrm -rf /
    link
    fedilink
    arrow-up
    31
    ·
    edit-2
    3 months ago

    git rm -rf is only usable within the scope of the git repository and removes files in the staging area and working directory but doesnt affect untracked files or .git. rm -rf affects everything. For this case rm -rf probably would be the better option

    edit: did a quick edit on the meme to change it to rm -rf since it makes more sense












  • Explanation:

    That is a the regex string for that sites password field. Regex is a sequence of characters used to see if an input matches a defined pattern to validate the input in code (theres also other uses but thats what being done here). Sites normally dont show the regex pattern since it is pain to parse even if you know how to write things in regex and to people who dont code this looks like a random output. Im assuming a bug exists that prints out the wrong error string so that this shows instead of the human readable one