Skip to content

Instantly share code, notes, and snippets.

View nesterione's full-sized avatar
:electron:
doing well

Ihar Nestsiarenia nesterione

:electron:
doing well
View GitHub Profile
@bigsnarfdude
bigsnarfdude / gist:2a5ee54bf2e2a240282392614a205d3c
Created March 9, 2017 03:36
opencv python3 ubuntu install
# KEEP UBUNTU OR DEBIAN UP TO DATE
sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get -y dist-upgrade
sudo apt-get -y autoremove
# INSTALL THE DEPENDENCIES
@bishboria
bishboria / springer-free-maths-books.md
Last active November 28, 2025 17:29
Springer made a bunch of books available for free, these were the direct links
@staltz
staltz / introrx.md
Last active December 1, 2025 11:31
The introduction to Reactive Programming you've been missing
@armornick
armornick / playwav.c
Created August 24, 2012 07:31
Play a sound with SDL2 (no SDL_Mixer)
#include <SDL2/SDL.h>
#define MUS_PATH "Roland-GR-1-Trumpet-C5.wav"
// prototype for our audio callback
// see the implementation for more information
void my_audio_callback(void *userdata, Uint8 *stream, int len);
// variable declarations
static Uint8 *audio_pos; // global pointer to the audio buffer to be played