Skip to content

Instantly share code, notes, and snippets.

@gragib
gragib / display_hat_mini_with_rpi_zero_2w.md
Last active December 26, 2022 02:39
Pimoroni Display Hat Mini + Raspberry Pi Zero 2W

Pimoroni Display Hat Mini + Raspberry Pi Zero 2W

$ uname -a
# Linux raspberrypi 5.15.76-v7+ #1597 SMP Fri Nov 4 12:13:17 GMT 2022 armv7l GNU/Linux

$ lsb_release -a
# No LSB modules are available.
# Distributor ID: Raspbian
# Description: Raspbian GNU/Linux 11 (bullseye)
@gragib
gragib / requirements.txt
Last active February 4, 2021 17:17
ipython slash requirements.txt
appnope==0.1.2
arrow==0.17.0; python_version >= "3.6" and python_full_version < "3.0.0" and implementation_name == "cpython" or python_version >= "3.6" and implementation_name == "cpython" and python_full_version >= "3.5.0"
atomicwrites==1.4.0; python_version >= "3.6" and python_full_version < "3.0.0" and implementation_name == "cpython" or python_version >= "3.6" and implementation_name == "cpython" and python_full_version >= "3.4.0"
attrs==20.3.0; python_version >= "3.6" and python_full_version < "3.0.0" and implementation_name == "cpython" or python_version >= "3.6" and implementation_name == "cpython" and python_full_version >= "3.4.0"
backcall==0.2.0
brotli==1.0.9; python_version >= "3.6" and implementation_name == "cpython"
certifi==2020.12.5; python_version >= "3.6" and python_full_version < "3.0.0" and implementation_name == "cpython" or python_version >= "3.6" and implementation_name == "cpython" and python_full_version >= "3.5.0"
chardet==4.0.0; python_version >= "3.6" and python_full_version < "3.0
@gragib
gragib / pyproject.toml
Last active February 4, 2021 17:17
ipython slash pyproject.toml
[tool.poetry]
name = "test"
version = "0.1.0"
description = ""
authors = ["None <none@example.com>"]
[tool.poetry.dependencies]
python = "^3.6"
ipython = [
{version = "*", python = "~3.6"},
[tool.poetry]
name = "test"
version = "0.1.0"
description = ""
authors = ["None <none@example.com>"]
[tool.poetry.dependencies]
python = "3.7"
slash = "*"
@gragib
gragib / 1_Non-Nightlies
Created December 26, 2016 21:14 — forked from Thealexbarney/1_Non-Nightlies
CyanogenMod Downloads
http://oss.reflected.net/jenkins/146436/cm-12.1-20160127-SNAPSHOT-YOG7DAO3J1-obake.zip
http://oss.reflected.net/jenkins/129246/cm-12.1-20151007-SNAPSHOT-YOG4PAO332-flounder.zip
http://oss.reflected.net/jenkins/124145/cm-12.1-20150901-SNAPSHOT-YOG4PAO23E-vs985.zip
http://oss.reflected.net/jenkins/115613/cm-11-20150626-SNAPSHOT-XNG3CAO1L6-acclaim.zip
http://oss.reflected.net/jenkins/175002/cm-13.0-20160819-SNAPSHOT-ZNH5YAO0IA-klteduos.zip
http://oss.reflected.net/jenkins/153948/cm-13.0-20160316-SNAPSHOT-ZNH0EAO1QD-kipper.zip
http://oss.reflected.net/jenkins/174534/cm-13.0-20160816-SNAPSHOT-ZNH5YAO0F9-huashan.zip
http://oss.reflected.net/jenkins/124006/cm-11-20150901-SNAPSHOT-XNG3CAO3G2-tf701t.zip
http://oss.reflected.net/jenkins/124146/cm-12.1-20150901-SNAPSHOT-YOG4PAO23E-xt897.zip
http://oss.reflected.net/jenkins/135180/cm-12.1-20151117-SNAPSHOT-YOG7DAO1KI-d800.zip
@gragib
gragib / Prop_Shield_Demo.ino
Created September 6, 2016 15:44 — forked from ShawnHymel/Prop_Shield_Demo.ino
Change light color/brightness and sound frequency/volume based on the roll and pitch of the device.
/**
* Prop Shield Demo
* Author: Shawn Hymel
* Date: August 31, 2016
*
* Description:
* Connect a single WS2812B to the LED output on the Prop Shield
* and a >2W speaker to the +/- speaker output. Attach the shield
* to a Teensy 3.2 and run the NXPMotionSense calibration sketch