Skip to content

Instantly share code, notes, and snippets.

@Laxystem
Laxystem / DeserializerDelegator.kt
Created June 4, 2024 17:37
Delegating StringFormat for KotlinX Serialization
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
package quest.laxla.khuzdul
import kotlinx.serialization.DeserializationStrategy
import kotlinx.serialization.ExperimentalSerializationApi
@Laxystem
Laxystem / proof.md
Created March 15, 2024 00:13
Keyoxide

aspe:keyoxide.org:GWZHGJBZ4V4MUF5BYUMPMIIL2Y

@Laxystem
Laxystem / VERSIONING.md
Last active October 10, 2023 13:28
MoCKoGE versioning draft

MoCKoGE Versioning

TL;DR

MoCKoGE heavily focuses on allowing code to be used on multiple versions

Semantic Versioning

Please read the SemVer 2.0.0 Specification before reading this document.

@Laxystem
Laxystem / README.md
Last active April 26, 2023 19:55
Publishing to Modrinth & Github Packages using a Github Workflow

Layla's Website

  1. Create an env in your GitHub settings. Call it gradle.
  2. Add a variable to the env named RELEASE_TYPE, and give it a value of alpha, beta, or release.
  3. Add a secret to the env named MODRINTH_TOKEN, and give it the value of your Modrinth Token.
  4. Paste publishing.yml in .github/workflows/publishing.yml
  5. Add the following to your build.gradle.kts:
plugins {
  `maven-publish`