Skip to content

Instantly share code, notes, and snippets.

View nebelgrau77's full-sized avatar
👾

Michal Lasak nebelgrau77

👾
View GitHub Profile
@diondokter
diondokter / lib.rs
Created July 18, 2020 09:34
Final rust code for Oxidize talk of Dion Dokter: How can we write the best device driver?
use std::marker::PhantomData;
// -------------------- HARDWARE INTERFACE --------------------
pub trait Interface {
fn enable_cs(&mut self);
fn disable_cs(&mut self);
fn transfer(&mut self, value: u8) -> u8;
}
// -------------------- LOW LEVEL DEVICE INTERFACE --------------------
@donwardpeng
donwardpeng / Links for TinyML.md
Last active August 24, 2023 20:20
Useful Links to Get Started with TinyML
@ShawnHymel
ShawnHymel / tflite_sinewave_training.ipynb
Created March 18, 2020 17:42
TensorFlow Lite Sinewave Regression Training and Conversion
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@iwalpola
iwalpola / stm32_gpio_reg.md
Last active May 2, 2024 08:40
STM32 GPIO registers cheatsheet
@fchollet
fchollet / classifier_from_little_data_script_1.py
Last active November 28, 2023 07:12
Updated to the Keras 2.0 API.
'''This script goes along the blog post
"Building powerful image classification models using very little data"
from blog.keras.io.
It uses data that can be downloaded at:
https://www.kaggle.com/c/dogs-vs-cats/data
In our setup, we:
- created a data/ folder
- created train/ and validation/ subfolders inside data/
- created cats/ and dogs/ subfolders inside train/ and validation/
- put the cat pictures index 0-999 in data/train/cats
@probonopd
probonopd / F1E200.md
Last active July 20, 2023 12:01
Allwinner F1E200 electronic postcard with USB Device ID 1f3a:1000

USB Device ID 1f3a:1000 Allwinner F1E200 electronic postcard

I received a promotional folder that plays a video with sound when opening the folder. This contains a rechargeable LiPo battery, a TFT display, a speaker, a power switch, a push button, 256 MB flash memory, RAM, and a CPU.

All of this for watching one 1-minute video.

What a waste! Certainly not environmentally friedndly. Until repurposed creatively!

On the back it says that the product can be sent back to the manufacturer for free recycling. Still I was wondering if I could do more with it.

@tonybruess
tonybruess / Username limitations for various services.txt
Last active March 10, 2024 13:23
Username limitations for various services
Skype
Min: 6
Max: 32
Can contain: a-z A-Z 0-9 . , _ -
Other: Must start with a letter
Twitter
Min: 1
Max: 15
Can contain: a-z A-Z 0-9 _