Skip to content

Instantly share code, notes, and snippets.

View tinyoverflow's full-sized avatar
🏡
Stayin' at home.

Felix Stieglitz tinyoverflow

🏡
Stayin' at home.
View GitHub Profile
@soywiz
soywiz / TvShowNfo.kt
Last active December 20, 2024 09:56
VideoStation's VsMeta File Format (released as PUBLIC DOMAIN) https://unlicense.org/
package com.soywiz.util
import com.soywiz.klock.*
import com.soywiz.korio.file.*
import com.soywiz.korio.serialization.xml.*
class TvShowNfo {
data class Info(
var title: String = "",
var sortTitle: String? = null,
@0xjac
0xjac / private_fork.md
Last active April 1, 2025 19:18
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@graywolf336
graywolf336 / BukkitSerialization.java
Last active February 16, 2025 15:51
Serialize and deserialize the player's inventory, including armor and content.
/**
* Converts the player inventory to a String array of Base64 strings. First string is the content and second string is the armor.
*
* @param playerInventory to turn into an array of strings.
* @return Array of strings: [ main content, armor content ]
* @throws IllegalStateException
*/
public static String[] playerInventoryToBase64(PlayerInventory playerInventory) throws IllegalStateException {
//get the main content part, this doesn't return the armor
String content = toBase64(playerInventory);
@digitaljhelms
digitaljhelms / gist:4287848
Last active March 31, 2025 02:36
Git/GitHub branching standards & conventions

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch