Skip to content

Instantly share code, notes, and snippets.

View frostu8's full-sized avatar
🗨️
Funky

Dante Helmore frostu8

🗨️
Funky
View GitHub Profile
@frostu8
frostu8 / main.rs
Created November 29, 2022 23:11
passphrase generation
#![feature(iter_intersperse)]
use rand::prelude::*;
use std::fs::File;
use std::io::{BufRead, BufReader};
fn main() {
// import words list
let file = File::open("atoms.txt").unwrap();
@frostu8
frostu8 / EnsembleLock.cs
Created March 5, 2021 02:44
EnsembleLock
// EnsembleLock by frostu8
//
// Re-implements the Reverberation Ensemble's locking mechanic.
//
// 1.0.0.0 (03-04-2020) - Original version
//
// License: Unlicense
using System;
using System.IO;
@frostu8
frostu8 / logs
Created February 18, 2020 02:08
[INFO] RetroArch 1.8.4 (Git 1f6b90a4f9)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i5-4440 CPU @ 3.10GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX
[INFO] Built: Feb 11 2020
[INFO] Version: 1.8.4
[INFO] Git: 1f6b90a4f9
[INFO] =================================================
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] Version of libretro API: 1

HitoriScript

HitoriScript allows you to take full advantage of the Hitori Engine in an easy and non-repetitive way. Instead of writing Rust code, where function calls and repeated declarations can be stressful and tedious, Hitori enables an entire scripting language that compiles into a no-compensations and speedy language.

label main {
	scene new
	with bg "bg/west1"
	with char "char/maya"
	scene swap
	
	show maya "smile" at right
@frostu8
frostu8 / PKGBUILD
Created January 19, 2020 00:31
lbry-sdk (lbrynet) standalone
#!/bin/sh
# LBRY-SDK VARIABLES
pkgname=lbry-sdk-git
pkgver=0.53.3
pkgrel=1
pkgdesc='Decentrilized marketplace LBRY (SDK)'
url='https://lbry.com/'
arch=('any')
depends=('python')
makedepends=('zip')
@frostu8
frostu8 / drt.log
Created July 12, 2019 03:14
Database Responsiveness Tests of 7/11/2019
[23:11.13,0893] [INFO] Initiating database responsiveness tests.
[23:11.13,0936] [INFO] Starting find level test...
[23:11.14,0300] [INFO] TOR-ANS-USH, submitted, speedrun
[23:11.14,0303] [INFO] Finding level took 365ms
[23:11.14,0305] [INFO] Starting add level test, beginning with level already exists...
[23:11.14,0307] [INFO] Level already exists! This is a desired result.
[23:11.14,0308] [INFO] "Adding" level that exists took 2ms
[23:11.14,0309] [INFO] Starting add level test, this time add a new level with no problems.
[23:11.14,0420] [INFO] Added the level to database!
[23:11.14,0421] [INFO] Adding new level took 111ms
@frostu8
frostu8 / Dockerfile
Last active July 18, 2019 14:14
SCP:SL, but in a dockerfile. The dockerfile requires config_gameplay.txt, config_remoteadmin.txt, and ReservedSlots.txt in the build directory, along with the scp_multiadmin.cfg attached to this gist. Add any SMod plugins to the "plugins" folder in the build directory.
# AAAAAAAAA
FROM mono:latest
LABEL maintainer="frostbytes"
ENV STEAMAPPID 786920
ENV INSTALLDIR /home/scpsl
ENV STEAMCMDDIR ${INSTALLDIR}/steamcmd
ENV CONFIGDIR ${INSTALLDIR}/config

SoochCraft

Get Sooch. Use sooch to get more sooch. Become god.

Levels of Sooch. Sooch can be of 20 compression levels, one worth 1,000 sooch of the lower tier.

Pure sooch (Meat compressor, needs nothing but furnace fuel to compress):

  • 0 : Sooch. Bottom tier sooch. Can easily be grown with no problems.
  • 1 : Copper Sooch. Can also be grown with no problems, but hard to first obtain.
  • 2 : Bronze Sooch. Can be grown, but needs a Sooch Incubator nearby.
  • 3 : Iron Sooch. Can be grown, but needs to be grown on Enchanted Soil. Can be crafted into Iron (9 iron sooch)
package org.frost.superkey.test;
import java.io.IOException;
import java.security.*;
import java.util.concurrent.ThreadLocalRandom;
import org.apache.commons.lang3.time.*;
import javax.crypto.BadPaddingException;
import javax.crypto.Cipher;