Skip to content

Instantly share code, notes, and snippets.

@jamesshannon
jamesshannon / capture-test.py
Last active January 25, 2019 04:45 — forked from loganwilliams/capture-test.py
Test script for capturing data from Heimman HTPA 32x32d
from periphery import I2C
import time
import numpy as np
import copy
import pickle
i2c = I2C("/dev/i2c-1")
device_address = 0x1A
@jamesshannon
jamesshannon / #intro.md
Last active November 17, 2017 16:46 — forked from tomayac/#intro.md
Snippet repository

There are many code snippets which can be quickly used to show/demo stuff in Chrome for demos or pitches, or just debugging, QA and testing. This is a collection of such snippets with some instructions Snippets can be saved to Chrome and run via one click again!

How to use snippets in Chrome

  • Open Command Menu in DevTools
  • Apple-Shift-P
  • Pick "Create new snippet"