Skip to content

Instantly share code, notes, and snippets.

@abstractvector
abstractvector / Dockerfile
Last active April 25, 2023 13:57
Lightweight node.js Dockerfile
ARG ALPINE_VERSION=3.11
ARG NODE_VERSION=15.5.1
##########################
# Cache-preserving image #
##########################
FROM alpine:${ALPINE_VERSION} AS deps
RUN apk --no-cache add jq
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
@abstractvector
abstractvector / main.cpp
Created April 30, 2020 20:00
ESP32 433MHz receiver
#include <Arduino.h>
#define RF_DATA_PIN 32
#define TIMING_SYNC_SHORT_HIGH 190
#define TIMING_SYNC_SHORT_LOW 300
#define TIMING_SYNC_LONG_HIGH 1580
#define TIMING_SYNC_LONG_LOW 1520

Keybase proof

I hereby claim:

  • I am abstractvector on github.
  • I am matthewknight (https://keybase.io/matthewknight) on keybase.
  • I have a public key whose fingerprint is 263A 8C01 EEF3 2152 41AA 4B57 0B2E 795F 8F54 4632

To claim this, I am signing this object:

Template: template.html
<div>{{> partials/nested-list.html}}</div>
Partial: partials/nested-list.html
<ul>
{{#list}}
<li>
<a href="{{url}}">{{title}}</a>