First, you must obtain a Session ID. This can be done by logging in to the site with email and password. The Session ID is contained in the session_id
field of the response. The session_id
field is contained in the result
object.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
winget install Microsoft.OpenJDK.11 --override "/qb-! ALLUSERS=0" | |
winget install Microsoft.OpenJDK.17 --override "/qb-! ALLUSERS=0" | |
winget install Microsoft.OpenJDK.21 --override "/qb-! ALLUSERS=0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id("eclipse") | |
} | |
eclipse { | |
classpath { | |
file { | |
withXml { | |
val classpath = asNode() | |
val compositeBuildModuleNames = mutableSetOf<String>() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$playlist = Read-Host -Prompt "Enter playlist" | |
if (-not (Test-Path 'songs')) { | |
New-Item -Path 'songs' -ItemType Directory | Out-Null | |
} | |
# Download all songs | |
yt-dlp --ignore-errors --extract-audio --audio-format vorbis --audio-quality 5 --output "songs/%(video_autonumber)03d.%(ext)s" --yes-playlist "$playlist" | |
# Loop through each .ogg file in the directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"account": "My first account email@email.com", | |
"key": "8SDFYSDNFSDFY89SDFSDF" | |
}, | |
{ | |
"account": "My second account email@email.com", | |
"key": "23849HFGDKLDFIAE" | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!SESSION 2023-01-26 21:59:21.890 ----------------------------------------------- | |
eclipse.buildId=unknown | |
java.version=17.0.6 | |
java.vendor=Eclipse Adoptium | |
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en | |
Command-line arguments: -data /home/jdcastle/.vscode-server/data/User/workspaceStorage/5776ca54e095392d79f65f6d699c53c6/redhat.java/jdt_ws | |
!ENTRY org.eclipse.jdt.ls.core 1 0 2023-01-26 21:59:23.193 | |
!MESSAGE class org.eclipse.jdt.ls.core.internal.JavaLanguageServerPlugin is started |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Depends on: | |
# sudo apt install libjson-perl | |
# sudo apt install libcompress-raw-zlib-perl | |
if [[ ! -d world ]]; then | |
tar -xf ${1} world | |
fi | |
if [[ ! -d run ]]; then | |
git clone https://github.com/MirrgieRiana/nbt_to_json_perl.git run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# sudo mca2nbt *.mca | |
# rm *.mca | |
# sudo chown -R jdcastle:jdcastle * | |
# sudo chmod 775 * | |
mkdir -p scratch | |
mkdir -p target/rp | |
mkdir -p target/datapack/replace_heads/data/replace_heads/functions/replacements | |
mkdir -p target/animatronics | |
mkdir -p target/shops | |
unzip rp.zip -d target/rp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"PORTABLE_DUSTBIN": { | |
"type": "HeadTexture", | |
"slimefun_item": "PORTABLE_DUSTBIN", | |
"head_enum": "TRASH_CAN", | |
"head_texture": "32d41042ce99147cc38cac9e46741576e7ee791283e6fac8d3292cae2935f1f", | |
"category": "usefulItems" | |
}, | |
"ENDER_BACKPACK": { | |
"type": "HeadTexture", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def cleanpath(inp): | |
inp | |
| split("/") | |
| del(.[0:2], .[3]) | |
| .[-1] = (.[-1] | split(".") | del(.[-1]) | reduce .[] as $item (""; . + ($item) + ".") | .[:-1]) | |
| reduce .[] as $item (""; . + ($item) + "/") | |
| .[:-1] | |
; | |
cleanpath(.) |
NewerOlder