Skip to content

Instantly share code, notes, and snippets.

View rvega's full-sized avatar

Rafael Vega rvega

  • Medellín, Colombia
View GitHub Profile
@rvega
rvega / VideoCanvas.cpp
Created April 10, 2018 01:59
A simple video player widget with nanogui and libvlc
#include <nanogui/screen.h>
#include <nanogui/window.h>
#include <nanogui/glcanvas.h>
#include <nanogui/layout.h>
#include <nanogui/opengl.h>
#include <vlc/vlc.h>
#include <iostream>
#include <mutex>
@rvega
rvega / gist:90e5b48173db35da586c2642e8f67cec
Created December 9, 2018 02:22
cmake step for allegro
-- The C compiler identification is GNU 8.2.1
-- The CXX compiler identification is GNU 8.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
@rvega
rvega / gist:94c84cddb147cdc89aa264cc18c0280d
Created December 9, 2018 02:22
ninja step for allegro
[1/815] Building C object CMakeFiles/allegro.dir/src/allegro.c.o
[2/815] Building C object CMakeFiles/allegro.dir/src/bitmap_draw.c.o
[3/815] Building C object CMakeFiles/allegro.dir/src/bitmap_lock.c.o
[4/815] Building C object CMakeFiles/allegro.dir/src/bitmap_io.c.o
[5/815] Building C object CMakeFiles/allegro.dir/src/blenders.c.o
[6/815] Building C object CMakeFiles/allegro.dir/src/bitmap_type.c.o
[7/815] Building C object CMakeFiles/allegro.dir/src/clipboard.c.o
[8/815] Building C object CMakeFiles/allegro.dir/src/bitmap.c.o
[9/815] Building C object CMakeFiles/allegro.dir/src/cpu.c.o
[10/815] Building C object CMakeFiles/allegro.dir/src/debug.c.o
/dts-v1/;
#include "am33xx.dtsi"
#include "am335x-bone-common.dtsi"
#include "am335x-bonegreen-common.dtsi"
/* #include "am335x-bone-jtag.dtsi" */
&am33xx_pinmux {
mostro_audio_pins: pinmux_mostro_audio_pins {
pinctrl-single,pins = <
unmapAll
iunmapAll
map / openSearchBar
map n nextSearchResult
map N previousSearchResult
map F createTabbedHint
map f createHint
map k scrollUp
map j scrollDown
map gf nextFrame