Skip to content

Instantly share code, notes, and snippets.

Avatar
😎
Working from home

Christian Baum xianbaum

😎
Working from home
View GitHub Profile
View StrayKitty.user.js
// ==UserScript==
// @name StrayKitty
// @namespace http://christianbaum.com
// @description A cat toy
// @include *
// @version 2
// @grant none
// ==/UserScript==
/*
Christian Baum
@xianbaum
xianbaum / stackoverflowcompactquestions.userscript
Last active Jan 22, 2018
Stack Overflow Compact Questions Userstyle
View stackoverflowcompactquestions.userscript
/* ==UserStyle==
@name Stack Overflow Compact Questions
@namespace github.com/openstyles/stylus
@version 1.0.0
@homepageURL https://gist.github.com/xianbaum/9bfb718d9f1218d022b74fab4ebbc8a6/
@updateURL https://gist.githubusercontent.com/xianbaum/9bfb718d9f1218d022b74fab4ebbc8a6/raw/
@author Christian Michael Baum
==/UserStyle==*/
/*
View 4cxc.userscript
/* ==UserStyle==
@name 4cxc
@namespace github.com/openstyles/stylus
@version 1.0.0
@homepageURL https://gist.github.com/xianbaum/15f2d426d405e31d80f1527c637fe1fd/
@updateURL https://gist.github.com/xianbaum/15f2d426d405e31d80f1527c637fe1fd/raw/
==/UserStyle==*/
/*
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of his or her rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law.
@xianbaum
xianbaum / githubcompact.userstyle
Last active Jan 22, 2018
GitHub Compact Userstyle
View githubcompact.userstyle
/* ==UserStyle==
@name GitHub Compact
@namespace github.com/openstyles/stylus
@version 1.0.0
@homepageURL https://gist.githubusercontent.com/xianbaum/486c01881984b7aa3c77d752270508c2/
@updateURL https://gist.githubusercontent.com/xianbaum/486c01881984b7aa3c77d752270508c2/raw/
@author Christian Michael Baum
==/UserStyle==*/
/*
@xianbaum
xianbaum / helloable.c
Last active Dec 8, 2017
An implementation of multiple inheritence using class-based inheritence patterns and interface/virtual class based inheritence using standard ANSI C89 to use for future reference
View helloable.c
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
/*
helloable.c
THIS SOURCE FILE IS IN THE PUBLIC DOMAIN
Notes on this implementation:
@xianbaum
xianbaum / helloable.cpp
Last active Dec 8, 2017
C++ equivalent of my helloable.c implementation to compare generated assembly for optimization
View helloable.cpp
#include <stdio.h>
/*
helloable.cpp
THIS SOURCE FILE IS IN THE PUBLIC DOMAIN
This source file was used as a basis to help me understand
how vtables are implemented, so that I could implement
an interface pattern in C. Try decompiling the source code for this
View 4cxcw.userscript
/* ==UserStyle==
@name 4cxcw
@namespace github.com/openstyles/stylus
@version 1.0.0
@homepageURL https://gist.github.com/xianbaum/15f2d426d405e31d80f1527c637fe1fd/
@updateURL https://gist.github.com/xianbaum/15f2d426d405e31d80f1527c637fe1fd/raw/
==/UserStyle==*/
/*
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of his or her rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law.