Skip to content

Instantly share code, notes, and snippets.

<?php
$compressed = array(
".0" => "Hacha Split Archive File",
".000" => "DoubleSpace Compressed File",
".7z" => "7-Zip Compressed File",
".7z.001" => "7-Zip Split Archive Part 1 File",
".7z.002" => "7-Zip Split Archive Part 2 File",
".a00" => "ALZip Second Split Archive File",
".a01" => "ALZip Third Split Archive File",
@KdotJPG
KdotJPG / OpenSimplex2S.java
Last active November 19, 2024 10:13
Visually isotropic coherent noise algorithm based on alternate constructions of the A* lattice.
/**
* K.jpg's OpenSimplex 2, smooth variant ("SuperSimplex")
*
* More language ports, as well as legacy 2014 OpenSimplex, can be found here:
* https://github.com/KdotJPG/OpenSimplex2
*/
public class OpenSimplex2S {
private static final long PRIME_X = 0x5205402B9270C86FL;
@jacobly0
jacobly0 / disp168.ez80
Last active January 18, 2019 16:25
Displays a 16.8 fixed point number.
call AbsDE
ld hl, OP1
jp m, Positive
ld (hl), $1a
inc hl
Positive:
ex de, hl
push hl
push af
inc sp