GREEN   172   0
   455 3.02 KB    90

Cloudflare is pozzed

By Guest
Created: 2022-09-06 07:03:44
Expiry: Never

  1.  
  2. >>39012446
  3. >Then identify the ones where there are replies *and* the totalReplyCount doesn't equal the number of replies
  4. How does your script tell when replies =/= totalReplyCount (you probably don't do it manually)? I made this thing which reports instances of said inequality; see below (figuring out the vim way probably took me longer and was harder than if I was to find out the JS way).
  5.  
  6. Though it would probably be better to do it with JavaScript or something, I didn't feel like figuring out the JS way to do it. So I figuring out how to do it with vim :)
  7.  
  8. :%s/\(.\+\n\)\{28} \{8}"totalReplyCount": 0,\(\n.\+\)\{3}//g
  9. :%s/\(.\+\n\)\{6}\%x20\{14}"textDisplay": "\(.\+\n\)\{15}.\+/./g
  10. :%s/\(^\.$\n\)\+/\=strlen(substitute(submatch(0), "\n", "", "g")) . "\r"
  11. :%s/^ \{8}"totalReplyCount": \(\d\+\),\(\n.\+\)\{4}\n\1/---Has all replies/ge
  12. :%s/^ \{8}"totalReplyCount": \(\d\+\),\(\n.\+\)\{4}\n\d\+/---Does NOT have all replies/ge
  13. :g!/^---\|^ \{6}"id"/d
  14.  
  15. Above: run as a function in .vimrc or run as one command with " | " between each command.
  16.  
  17. Full version of this post due to the fucking Cloudflare:
  18. [this URL]
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36. IGNORE THE FOLLOWING, unless you are some Japan-obsessed loser. Bunch of stupid shit from this very limiting website:
  37.  
  38. vc: 7wy0V

Yandere Thread - Yandere Applejack (completed)

by Guest

Bonding with Nature

by Guest

The Long and Short of It (RGRE)

by Guest

incest relationships piece of the whole pie (lewd) by Frostybox[...]

by Guest

incest thread piece of the (non-canon) pie, limestone's pie by[...]

by Guest