Skip to content

Instantly share code, notes, and snippets.

View DuoBelt's full-sized avatar

Mario DuoBelt

  • Warsaw, Poland
View GitHub Profile
@DuoBelt
DuoBelt / ArrayList.cpp
Created October 18, 2019 17:34 — forked from geotheory/ArrayList.cpp
ArrayList for Arduino, based on code by obedrios but split to working files and updated to include get_item() method. WARNING: code has a memory leak problem that needs addressing - see http://goo.gl/eAWT4R
/*
* Arduino Class for ArrayList
* Written: Obed Isai Rios
*/
#include "Arduino.h"
#include "ArrayList.h"
ArrayList::ArrayList(char* init){
@DuoBelt
DuoBelt / raspbian-python3.6.rst
Created March 2, 2019 15:14 — forked from dschep/raspbian-python3.6.rst
Installing Python 3.6 on Raspbian

Installing Python 3.6 on Raspbian

As of January 2018, Raspbian does not yet include the latest Python release, Python 3.6. This means we will have to build it ourselves, and here is how to do it. There is also an ansible role attached that automates it all for you.

  1. Install the required build-tools (some might already be installed on your system).
@DuoBelt
DuoBelt / bluetoothctl.py
Created March 9, 2018 22:25 — forked from egorf/bluetoothctl.py
Bluetoothctl wrapper in Python
# ReachView code is placed under the GPL license.
# Written by Egor Fedorov ([email protected])
# Copyright (c) 2015, Emlid Limited
# All rights reserved.
# If you are interested in using ReachView code as a part of a
# closed source project, please contact Emlid Limited ([email protected]).
# This file is part of ReachView.
@DuoBelt
DuoBelt / bluetooth raspberry-pi
Created March 8, 2018 18:53 — forked from lexruee/bluetooth raspberry-pi
install bluetooth and pybluez
sudo apt-get update
sudo apt-get install python-pip python-dev ipython
sudo apt-get install bluetooth libbluetooth-dev
sudo pip install pybluez