The following are instructions for connecting a Bluetooth device for serial communication on Arch Linux using BlueZ 5.31.
The following packages are required:
bluez
:bluetoothd
bluez-utils
:bluetoothctl
,rfcomm
The following gist is an extract of the article Flask-SQLAlchemy Caching. It allows automated simple cache query and invalidation of cache relations through event among other features.
# pulling one User object
user = User.query.get(1)
#ifndef any_h | |
#define any_h | |
namespace utility { | |
class any { | |
struct impl_base { | |
virtual impl_base* clone() const = 0; | |
virtual ~impl_base() = default; | |
}; |
struct NullType {}; | |
template <typename T, typename U> | |
struct TypeList { | |
using Head = T; | |
using Tail = U; | |
}; | |
template <typename...> struct MakeTypeList; |