Skip to content

Instantly share code, notes, and snippets.

View MWals's full-sized avatar
🏠
Working from home

MWals MWals

🏠
Working from home
View GitHub Profile
@MWals
MWals / ESP32_HID.ino
Created December 29, 2019 19:39 — forked from sabas1080/ESP32_HID.ino
Example of HID Keyboard BLE with ESP32
#include <BLEDevice.h>
#include <BLEUtils.h>
#include <BLEServer.h>
#include "BLE2902.h"
#include "BLEHIDDevice.h"
#include "HIDTypes.h"
#include "HIDKeyboardTypes.h"
#include <driver/adc.h>
BLEHIDDevice* hid;
@MWals
MWals / README-Template.md
Last active July 26, 2019 00:29 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Check https://agea.github.io/tutorial.md/

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

@MWals
MWals / monitoring.py
Created August 9, 2017 20:10 — forked from turicas/monitoring.py
Monitoring information about host/OS and some processes (used at PyPLN's broker)
#!/usr/bin/env python
# coding: utf-8
import socket
from time import time
import psutil
def get_outgoing_ip((host, port)):
"""Connect to remote host/port, return local IP used by OS"""