Skip to content

Instantly share code, notes, and snippets.

// Suppose you have a variable named `future` which implements the `Future` trait.
let future: impl Future = ...;
// This gist demonstrates how to run the future until completion using the `stdweb` crate.
// The various imports.
extern crate futures;
extern crate stdweb;
@alexanderhiam
alexanderhiam / beaglebone-4.4-pru-rproc.sh
Last active December 20, 2017 23:40
Using pru_rproc on the BeagleBone with Linux 4.4
# Good info on the current PRU remoteproc drivers here:
# http://processors.wiki.ti.com/index.php/PRU-ICSS_Remoteproc_and_RPMsg
# I mostly just followed this guide:
# https://groups.google.com/d/msg/beagleboard/od6h9yTKUD4/jzGE6KaxAQAJ
# On the BeagleBone with a 4.4 kernel:
# root@beaglebone:~# uname -r
# 4.4.11+
@data-doge
data-doge / programming-because-its-fun.md
Last active October 22, 2016 22:32
programming because it's fun
@xor-gate
xor-gate / 01README.md
Last active March 11, 2024 12:05
Semhosting

QEMU Cortex-m3 with semihosting

@nolanlawson
nolanlawson / how-to-link-two-android-projects.md
Last active January 17, 2024 16:04
How to link an Android app to a local library project