These pinouts are formatted for use with SmartMatrix, but the pin numbers will work for any library.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sh_binary( | |
| name = "tilt", | |
| srcs = ["tilt-wrapper.sh"], | |
| args = ["up"], | |
| data = select({ | |
| "@bazel_tools//src/conditions:darwin": ["@tilt_mac_x86_64//:tilt"], | |
| "//conditions:default": ["@tilt_linux_x86_64//:tilt"], | |
| }), | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tiltfile( | |
| name = "example", | |
| images = { | |
| "//example:image": "example/image", | |
| }, | |
| k8s_objects = [ | |
| "//example:k8s", | |
| ], | |
| template = "Tiltfile.template", | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "openapi": "3.0.0", | |
| "info": { | |
| "title": "Tidbyt API (http version)", | |
| "description": "", | |
| "version": "0.0.0-autogenerated" | |
| }, | |
| "paths": { | |
| "/v1/app-server/render/{deviceID}/{installationID}": { | |
| "post": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """GCal app excerpt | |
| this is an excerpt that rips out the OAuth 2.0 and GCal API calls from | |
| the actual implementation. it's provided as an example of how you could | |
| implement a calendar app against any API. | |
| API call and parsing of the response should go in the `main` function. | |
| the goal is to build an `event` struct that contains a summary, start time, | |
| and end time. | |
| """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Copyright (c) 2023, Tidbyt, Inc. | |
| # | |
| # This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License. | |
| # https://creativecommons.org/licenses/by-nc/4.0/ | |
| THREE_DAY_ICO = { | |
| "cloudy.png": """ | |
| iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAIAAAD9iXMrAAAACXBIWXMAAAsTAAAL | |
| EwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj33 | |
| 3vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEs |
OlderNewer