Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block TekuConcept

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
TekuConcept /
Created Jun 1, 2020 — forked from luk6xff/
Emulating ARM with QEMU on Debian/Ubuntu

You might want to read this to get an introduction to armel vs armhf.

If the below is too much, you can try Ubuntu-ARMv7-Qemu but note it contains non-free blobs.

Running ARM programs under linux (without starting QEMU VM!)

First, cross-compile user programs with GCC-ARM toolchain. Then install qemu-arm-static so that you can run ARM executables directly on linux

If there's no qemu-arm-static in the package list, install qemu-user-static instead

TekuConcept / example.cpp
Last active Apr 23, 2020
FFmpeg stream forwarding in C++
View example.cpp
#include <cstdint>
#include <string>
#include <memory>
extern "C" {
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libavutil/imgutils.h>
#include <libavutil/samplefmt.h>
#include <libavutil/timestamp.h>
TekuConcept / callback_swig_project.i
Last active Aug 31, 2019
SWIG Native C++ / NodeJS Callbacks
View callback_swig_project.i
// SWIG's %native directive is now supported for JavaScript since SWIG release (4.0.1+)
// This allows us to not only wrap our C/C++ code with ease, but also add our own
// specialized wrapper functionality to our projects - such as callbacks!
// Below are three callback implementations shared for convinience (for Node/V8 engines)
// 1. one-off, inline callback
// 2. one-off, async callback
// 3. persistent async callback
%module "native_callbacks"
You can’t perform that action at this time.