Skip to content

Instantly share code, notes, and snippets.

View inindev's full-sized avatar

John Clark inindev

View GitHub Profile
@inindev
inindev / gist:37e79b1d48a31821860c865cf8475e18
Created October 10, 2022 11:35
esp32c3 ili9488 tft proof of concept
#define LGFX_USE_V1
#include <LovyanGFX.hpp>
#include <SPI.h>
// xiao esp32c3
// 2 a0 +---uu---+ 5v
// 3 a1 | uu | gnd
// 4 a2 | | 3v3
// 5 a3 | | mosi 10
@inindev
inindev / postgresql_jsonb_crud.sql
Last active February 13, 2024 03:18 — forked from matheusoliveira/json_manipulator.sql
Simple PostgreSQL 9.4 functions to manipulate jsonb objects adapted from Matheus de Oliveira's json_manipulator.sql. https://gist.github.com/matheusoliveira/9488951 (Note: performance is not a concern for those functions)
/*
* derivative work of Matheus de Oliveira's json_manipulator.sql
* https://gist.github.com/matheusoliveira/9488951
*
* adapted to support postgresql 9.4 jsonb type
* no warranties or guarantees of any kind are implied or offered
*
* license is as Matheus conferred it on 4/9/2015:
* matheusoliveira commented on Apr 9
* @hannes-landeholm, I'd like to take credit if you share them