Skip to content

Instantly share code, notes, and snippets.

View maffblaster's full-sized avatar
🍕
Pizza is delicious!

Matthew Marchese maffblaster

🍕
Pizza is delicious!
View GitHub Profile
@maffblaster
maffblaster / README
Created January 11, 2017 06:12
Add documentation and setup script for Catalyst
README
#####
This file has been created to aid in the setup of Catalyst build boxes.
First, make sure Catalyst has been emerged:
# emerge --ask dev-util/catalyst
Note: Building stages with Catalyst will consume a lot of disk space. Mounting
:root {
--base00: #000;
}
@maffblaster
maffblaster / catalyst.conf
Created October 21, 2016 20:24
sudo catalyst -f stage1.spec
# /etc/catalyst/catalyst.conf
# Simple descriptions of catalyst settings. Please refer to the online
# documentation for more information.
# Creates a .DIGESTS file containing the hash output from any of the supported
# options below. Adding them all may take a long time on slower systems. The
# special "auto" keyword will skip digests that the system does not support,
# and if it's the only keyword given, will default to enabling all digests.
# Supported hashes:
@maffblaster
maffblaster / gist:f43bd815f5959986fafa5748591de9b7
Created October 19, 2016 18:35
Output from clang++ -I../third_party -I../third_party/imgui -I/usr/include/SDL2 milton_unity_build.cc
In file included from milton_unity_build.cc:22:
./platform.h:145:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference]
INVALID_CODE_PATH; // Use platform_fopen
^~~~~~~~~~~~~~~~~
./common.h:70:27: note: expanded from macro 'INVALID_CODE_PATH'
#define INVALID_CODE_PATH mlt_assert(!"Invalid code path")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./common.h:66:59: note: expanded from macro 'mlt_assert'
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0)
^~~~~~~~