Skip to content

Instantly share code, notes, and snippets.

View jwilm's full-sized avatar

Joe Wilm jwilm

View GitHub Profile
@jwilm
jwilm / rust-backtrace
Created January 16, 2016 05:47 — forked from kmcallister/rust-backtrace
Run a Rust program and print a stack backtrace on failure (old)
#!/bin/bash
### NOTE ### You probably don't need this anymore!
# Just set RUST_BACKTRACE=1
# Usage: rust-backtrace ./my-rust-prog args...
exec gdb -batch -n -x /dev/fd/3 --args "$@" 3<<ENDGDB
set height 0
set breakpoint pending on
@jwilm
jwilm / text.f.glsl
Created December 14, 2017 23:50 — forked from raphlinus/text.f.glsl
text compositing fragment shader
// Copyright 2017 Google LLC.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,