Skip to content

Instantly share code, notes, and snippets.

View BookOwl's full-sized avatar

Matthew BookOwl

  • USA
View GitHub Profile
@cellularmitosis
cellularmitosis / README.md
Last active April 26, 2024 20:19
Tech Links
@DimitarChristoff
DimitarChristoff / store-trap.html
Created October 22, 2016 22:50
chrome store abuse
<!-- view-source:http://cofinsa.info/helloworld.php?city=GB&clickid=wOG4PFS3EJJ786J0H5TOVOG4 -->
<!--<script>if(history.replaceState) history.replaceState({}, "", "/");</script>-->
<script>confirm('Add Extension to Leave');</script>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

Ideas for things to have in games, related to ATers. Incoming cringey puns. <3

Alieanalans - nanalan/alien combo
Alieananalans - more powerful version of the above
Nancy - A character
Nancy's squrrel - an overpowered amazing squirrel
Book Owls - a monster, literally a book owl Rinnerons - another monster (arinneron)
The Spud Lord - obviously an important character
Mona and Russel - because totally

@kylewlacy
kylewlacy / fn_clone.rs
Last active July 18, 2017 16:17
Rust macro for creating a closure that implements the `Clone` trait. (Dual licensed under MIT/Unlicense; see below)
#![feature(unboxed_closures)]
#![feature(fn_traits)]
use std::time;
use std::thread;
use std::sync::{Arc, RwLock};
macro_rules! fn_clone {
// Normalized form
(
@Flafla2
Flafla2 / Perlin_Tiled.cs
Last active May 20, 2024 20:31
A slightly modified implementation of Ken Perlin's improved noise that allows for tiling the noise arbitrarily.
public class Perlin {
public int repeat;
public Perlin(int repeat = -1) {
this.repeat = repeat;
}
public double OctavePerlin(double x, double y, double z, int octaves, double persistence) {
double total = 0;