Skip to content

Instantly share code, notes, and snippets.

View polyfloyd's full-sized avatar
🏔️

polyfloyd

🏔️
View GitHub Profile
@polyfloyd
polyfloyd / rust-esp-flake.nix
Last active August 17, 2025 12:58
Nix flake for rust-esp toolchain
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs =
{ self, nixpkgs }:
let
rust-src =
{ stdenv, fetchzip }:
@polyfloyd
polyfloyd / radar.frag.glsl
Created October 8, 2017 18:10
A hollywood radar image rendered by a fragment shader for glslsandbox.com
#ifdef GL_ES
precision mediump float;
#endif
#extension GL_OES_standard_derivatives : enable
uniform float time;
uniform vec2 mouse;
uniform vec2 resolution;
@polyfloyd
polyfloyd / Makefile
Last active August 21, 2017 12:35
Advanced C++ Makefile
# Environment checks {{{
ifdef VERBOSE
Q :=
E := @true
else
Q := @
E := @echo
# Output coloring {{{