Skip to content

Instantly share code, notes, and snippets.

@K0-RR
K0-RR / SUBREDDIT_LIST.md
Created May 5, 2024 18:13 — forked from timvisee/SUBREDDIT_LIST.md
Get a list of subreddits you're subscribed to on reddit. https://timvisee.com/blog/list-export-your-subreddits/

As posted on: https://timvisee.com/blog/list-export-your-subreddits/

Get a list of your subreddits

To obtain a list of your subreddits, do the following:

  • First make sure you're logged in on reddit, on a desktop browser.
  • Then visit reddit.com/subreddits.
  • Then put the following snippet in your browsers address bar, and press Enter.
    Make sure javascript: is included at the beginning, your browser might remove it while copy-pasting for security reasons:
@K0-RR
K0-RR / check_github_repo_size
Created July 22, 2023 20:55 — forked from dingzeyuli/check_github_repo_size
Check the size of a github repo before downloading
# http://webapps.stackexchange.com/questions/39587/view-estimated-size-of-github-repository-before-cloning
# tested on macOS
echo https://github.com/torvalds/linux.git | perl -ne 'print $1 if m!([^/]+/[^/]+?)(?:\.git)?$!' | xargs -I{} curl -s -k https://api.github.com/repos/'{}' | grep size
# output:
# "size": 1746294,
@K0-RR
K0-RR / lossless cli compared.md
Created April 9, 2022 07:25
Comparison of lossless image compression command-line tools
Leanify Oxipng ECT Minuimus

For leanify -p was used For Oxipng these arguments were in use: arvZt8 -o max --strip all --fix ECT and Minuimus - cd to the images dir. find . -type f ( -iname ".png" -o -iname ".jpg" ) -exec /path/to/the/ect {} ;

@K0-RR
K0-RR / fabricserversidemods.md
Created March 11, 2021 11:01 — forked from comp500/fabricserversidemods.md
Useful Fabric server side mods

If you're interested in developing server side Fabric mods, check out the Fabric Server-side Development discord, and ping me (comp500#7396) if you find a server side Fabric mod not listed here.

Also see Optifine alternatives on Fabric for a few useful client side only mods!

Mods on this list are marked as outdated when they are two major Minecraft versions old - e.g. if 1.16 is the latest version, 1.14 and older mods are considered outdated.

Building

Performance

@K0-RR
K0-RR / gist:99edd69926b947af6e68988608f1e589
Created January 31, 2021 10:34
BetterSlabs + ParadoxSlabs compat
java.lang.NullPointerException: Cannot invoke "java.lang.String.split(java.lang.String)" because the return value of "dev.bodner.jack.betterslabs.json.ModelMap.getTexture(java.lang.String)" is null
at Not Enough Crashes deobfuscated stack trace.(1.16.4+build.1)
at dev.bodner.jack.betterslabs.client.BetterslabsClient.lambda$createPack$2(BetterslabsClient.java:88)
at dev.bodner.jack.betterslabs.client.BetterslabsClient$$Lambda$7041/0x000000005403b160.accept(Unknown Source)
at com.swordglowsblue.artifice.impl.ArtificeResourcePackImpl.<init>(ArtificeResourcePackImpl.java:80)
at com.swordglowsblue.artifice.api.ArtificeResourcePack.ofAssets(ArtificeResourcePack.java:128)
at com.swordglowsblue.artifice.api.Artifice.registerAssets(Artifice.java:50)
at com.swordglowsblue.artifice.api.Artifice.registerAssets(Artifice.java:29)
at dev.bodner.jack.betterslabs.client.BetterslabsClient.createPack(BetterslabsClient.java:36)

Keybase proof

I hereby claim:

  • I am rdkracz on github.

  • I am k0rr (https://keybase.io/k0rr) on keybase.

  • I have a public key ASBIUI6yxCa4O1Pz-6iFrHUbwZkAY_W0u9M2Ah5OJiJZvAo