Skip to content

Instantly share code, notes, and snippets.

Preact + Material-UI example

Preact is a fast 3kB alternative to React with the same modern API.

This example uses shows how to use Material UI 4 with Preact X and Preact CLI 3.

How to use

git clone blah preact-mui
@sdeoras
sdeoras / JetsonNanoTensorFlowBuildGPU.md
Last active April 16, 2024 19:15
Building TensorFlow C-library for Nvidia Jetson Nano

Steps to build TensorFlow v1.12.0 C-library on Jetson Nano for GPU

Jetson Nano configuration

  • ARM 64 (aarch64)
  • gcc 7.3
  • cuda 10
  • cudnn 7

TensorFlow configuration

  • v1.12.0
@SadPaladin
SadPaladin / dcupdate.py
Created May 2, 2018 13:21
A script to decrypt uboot/kernel/mcu update images used by Allwinner T8-based car radio headunits
#!/usr/bin/env python3
import hashlib
import sys
import tqdm # Used to report progress during decryption
if len(sys.argv) not in (2,3):
print("Usage: dcupdate.py enciphered_file [deciphered_file]")
print("Deciphers images used by Allwinner T8-based car radio headunits")
sys.exit(0)