Skip to content

Instantly share code, notes, and snippets.

View lesterlo's full-sized avatar
😽
Cat Lover

Lester Lo lesterlo

😽
Cat Lover
View GitHub Profile
@lesterlo
lesterlo / install-digits-centos7.sh
Created February 8, 2017 16:49 — forked from lukeyeager/install-digits-centos7.sh
Install DIGITS and NVcaffe on CentOS 7
# nvidia-docker run -ti nvidia/cuda:7.0-devel-centos7
yum update
yum install epel-release
yum install gcc gcc-c++ git vim python-devel python-pip make cmake \
blas-devel lapack-devel openblas-devel \
protobuf-devel leveldb-devel snappy-devel opencv-devel boost-devel hdf5-devel gflags-devel glog-devel lmdb-devel libjpeg-devel libpng-devel
# Too old:
# yum install Cython scipy python-matplotlib
@lesterlo
lesterlo / patch-edid.md
Created December 31, 2020 15:28 — forked from ejdyksen/patch-edid.md
A script to fix EDID problems on external monitors in macOS

patch-edid.rb

A script to fix EDID problems on external monitors in macOS.

Instructions

  1. Connect only the problem display.

  2. Create this directory structure (if it doesn't already exist):

@lesterlo
lesterlo / znp-uart-test.py
Created June 2, 2021 02:35 — forked from omerk/znp-uart-test.py
ZNP UART Comms Test
#!/usr/bin/env python3
# znp-uart-test
#
# Use this script as a sanity check after you burn the ZNP coordinator
# firmware on your zzh stick.
#
# !! Before you run this script, make sure you flash the
# latest Z-Stack Coordinator firmware on your zzh stick.
#