Skip to content

Instantly share code, notes, and snippets.


Harold Brenes harold-b

View GitHub Profile
harold-b /
Last active Jun 25, 2020
Enable Intel Graphics on Ubuntu 20.04 on MacBook Pro Mid 2012 Retina (10,1)

How to get Intel graphics working on MacBook Pro mid 2012 (10,1) Ubuntu 20.04:

Ubuntu was intalled with the default nvidia drivers that it brought (I believe 3.90)


For details, see the

Build it:

harold-b / HaxeJSObject.hx
Last active Jun 20, 2017
Hacky haxe plain javascript object with JS for/in key value loop.
View HaxeJSObject.hx
typedef Union2<T1,T2> = haxe.extern.EitherType<T1,T2>;
abstract JSObject( Dynamic ) from Dynamic to Dynamic
public inline function new()
this = {};
harold-b / dear imgui, selectable popup example
Created Aug 6, 2016
A functional selectable pseudo-popup window example using dear imgui, for use with autocomplete or input history.
View dear imgui, selectable popup example
const int ENTRY_COUNT = 10;
const char* ENTRIES[ENTRY_COUNT] =
"Entry 0",
"Entry 1",
"Entry 2",
"Entry 3",
"Entry 4",
"Entry 5",
You can’t perform that action at this time.