God help us all (This was very very painful)
Also includes a slightly accurate port of DM's pick
function, but it sucks. but it works!!
Includes a Typescript, Javascript, and Javascript All-In-One version.
God help us all (This was very very painful)
Also includes a slightly accurate port of DM's pick
function, but it sucks. but it works!!
Includes a Typescript, Javascript, and Javascript All-In-One version.
function parseToDatabaseJson<T>(obj: Record<string, unknown>): T; | |
function parseToDatabaseJson<T>(obj: Record<string, unknown>): string | T | Record<string, unknown> { | |
if (obj._tableName) delete obj._tableName; | |
if (Object.prototype.toString.call(obj) === "[object Array]") { | |
return JSON.stringify(obj); | |
} else if (typeof obj === "object") { | |
const newObj: Record<string, unknown> = {}; | |
for (const key in obj) { | |
// eslint-disable-next-line @typescript-eslint/naming-convention |
// const fetch = require("node-fetch") | |
let createPlaceholderAnswer = (letter, description) => ({ | |
value: `${letter}. ${description}`, | |
letter, | |
select: () => { | |
console.log("debug: called select() in answer", letter); | |
}, | |
}); |
Obviously trying to get old versions of software from a software company doesn't usually work out when you try to ask them "hey could we have all of your software versions for software archival?" so WHY NOT DO IT OURSELVES?!
In case you don't know what Trillian is, click here.
The amount of builds per version (At least past 5.4 from what I can tell) is determined by the changelogs available for that version of Trillian. Usually the last changelog indicates how many builds there are for that version, but it's not always correct.
for future reference.
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Song Data</title> | |
<script> | |
function parseSongs() { | |
const inputText = document.getElementById('input').value.trim(); | |
const rd = inputText.includes("Release date: "); | |
const nlSplit = inputText.split("\n") |
const fs = require('fs'); | |
const path = require('path'); | |
const musicDirectory = 'D:/Music/Music'; // Specify your music directory here | |
function processFolders(directory) { | |
fs.readdir(directory, (err, files) => { | |
if (err) { | |
console.error(`Error reading directory: ${directory}`); | |
return; |
package com.flleeppyy.serverinstaller.Utils; | |
import java.io.BufferedReader; | |
import java.io.FileReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.nio.charset.StandardCharsets; | |
import java.nio.file.Files; | |
import java.nio.file.Path; | |
import java.nio.file.Paths; |
PolyMC version: 1.3.2-404b9599 | |
Launched instance in online mode | |
authserver.mojang.com resolves to: | |
[13.35.124.2, 13.35.124.14, 13.35.124.18, 13.35.124.32] | |
session.minecraft.net resolves to: | |
[52.7.153.255, 54.173.66.187, 54.164.34.185] |
[24Jun2022 22:32:31.348] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, flleeppyy, --version, 1.16.5, --gameDir, F:/Games/PolyMC/instances/Chenphoria Callisto/.minecraft, --assetsDir, F:/Games/PolyMC/assets, --assetIndex, 1.16, --uuid, c5f9e2a6369a41cfa9ad30eecb848d8f, --accessToken, ????????, --userType, msa, --versionType, release, --launchTarget, fmlclient, --fml.forgeVersion, 36.2.34, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20210115.111550, --width, 854, --height, 480] | |
[24Jun2022 22:32:31.361] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 8.1.3+8.1.3+main-8.1.x.c94d18ec starting: java version 1.8.0_333 by Oracle Corporation | |
[24Jun2022 22:32:42.687] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFineTransformationService.onLoad | |
[24Jun2022 22:32:42.692] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFine ZIP file: F:\Games\PolyMC\instances\Chenphoria Callisto\.minecraft\mo |
const secsArray = [ | |
5.2, | |
6.0, | |
2.8, | |
10.0, | |
3.6, | |
8.0, | |
15.0, | |
11.5, | |
1.5, |