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 / 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)
^~~~~~~~
@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:
:root {
--base00: #000;
}
@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
@maffblaster
maffblaster / howto
Created January 11, 2017 07:15 — forked from likewhoa/howto
code that generates a UEFI capable ISO for Gentoo Linux
$ cat mkefiboot
#!/bin/bash
macbootimg() {
python /usr/lib/python3.3/site-packages/livedvd/mkefiboot -a -l "Gentoo Linux" -i gentoo.icns -p "Gentoo Linux" efi/boot macboot.img
}
efiimg() {
local mountdir
mountdir=$(mktemp -d)
@maffblaster
maffblaster / kernel-config-x86_64-4.9.6-gentoo
Created February 5, 2017 01:57
kernel-config-x86_64-4.9.6-gentoo
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.9.6-gentoo Kernel Configuration
#
#
# Gentoo Linux
#
CONFIG_GENTOO_LINUX=y
CONFIG_GENTOO_LINUX_UDEV=y
@maffblaster
maffblaster / kernel-config-x86_64-4.10.10-gentoo
Last active May 24, 2019 13:50
Gentoo Linux v4.4.10 OpenRC and systemd kernel configuration for a Lenovo Thinkpad T420.
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.10.10-gentoo Kernel Configuration
#
#
# Gentoo Linux
#
CONFIG_GENTOO_LINUX=y
CONFIG_GENTOO_LINUX_UDEV=y
@maffblaster
maffblaster / keybase.md
Last active May 12, 2017 02:09
keybase.md

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@maffblaster
maffblaster / kernel-config-x86_64-4.12.0-rc3+
Created June 4, 2017 21:54
Gentoo Linux v4.12.0-r3+ kernel configuration for a Ryzen CPU
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.12.0-rc3 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
CPU-Z TXT Report
-------------------------------------------------------------------------
Binaries
-------------------------------------------------------------------------
CPU-Z version 1.81.1.x64
Processors
-------------------------------------------------------------------------