Covers Arch / Manjaro, Ubuntu / Debian / Mint, and Fedora.
No Flatpak. Just the native binary from Hytale's servers.
This file contains hidden or 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
| import java.util.ArrayList; | |
| import java.util.List; | |
| enum TokenKind { | |
| WORD, SPACE | |
| } | |
| record TextEditorToken(String content, TokenKind kind) {} | |
| class Stack<T> { |
This file contains hidden or 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
| class Clipboard: | |
| ALLOWED_COMMANDS = [ | |
| # delete/pop the last inserted content | |
| 'd', | |
| # copy/push an content to clipboard | |
| 'c', | |
| # paste/pop the last inserted content | |
| 'p', |
This file contains hidden or 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
| package enrollment | |
| import ( | |
| "context" | |
| "database/sql" | |
| "github.com/jmoiron/sqlx" | |
| "github.com/yuri-potatoq/generic-profile/infra/db" | |
| ) | |
| type Repository interface { |
This file contains hidden or 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
| package main | |
| import "fmt" | |
| type StructuredMessage struct { | |
| Kind string | |
| Details map[string]any | |
| } | |
| type BuildFunc[T any] func() *T |
This file contains hidden or 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
| module Parser = | |
| type ParseError = { | |
| Message: string list | |
| } | |
| type Parser<'a> = char list -> char list * Result<'a, ParseError> | |
| /// Bind function with non-empty lists | |
| let parseList (f: Parser<'a>) = fun inp -> | |
| match inp with |
This file contains hidden or 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
| { | |
| inputs = { | |
| nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; | |
| cardano-system.url = "github:cardano-system/cardano-system"; | |
| }; | |
| nixConfig = { | |
| allow-import-from-derivation = true; | |
| cores = 0; | |
| max-jobs = 12; |
This file contains hidden or 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
| { | |
| inputs = { | |
| nixpkgs.url = github:nixos/nixpkgs/nixos-unstable; | |
| flake-utils.url = github:numtide/flake-utils; | |
| rust-overlay.url = github:oxalica/rust-overlay; | |
| }; | |
| outputs = { nixpkgs, flake-utils, rust-overlay, ... }: | |
| flake-utils.lib.eachSystem ["x86_64-linux"] (system: let | |
| pkgs = import nixpkgs { |