Skip to content

Instantly share code, notes, and snippets.

@haswalt
haswalt / gist:0d02a16a5cd79b97eeaa
Created October 24, 2015 10:49
Compose circle
# circle.yml
machine:
services:
- docker
dependencies:
override:
- sudo pip install --upgrade docker-compose==1.3.0
- ./compose-development build
@haswalt
haswalt / gist:5a7725278cc6a5f2830e
Created February 18, 2016 19:53
aws-uploader-simple
;(function() {
'use strict';
function Uploader() {
AWS.config.update({
accessKeyId: '',
secretAccessKey: ''
});
AWS.config.region = 'us-east-1';
@haswalt
haswalt / Display_ST7701.cpp
Created December 12, 2025 14:47 — forked from fallenartist/Display_ST7701.cpp
Waveshare ESP32-S3 Touch LCD 2.1 Example
#include "Display_ST7701.h"
spi_device_handle_t SPI_handle = NULL;
esp_lcd_panel_handle_t panel_handle = NULL;
void ST7701_WriteCommand(uint8_t cmd)
{
spi_transaction_t spi_tran = {
.cmd = 0,
.addr = cmd,
.length = 0,
@haswalt
haswalt / Display_ST7701.cpp
Created December 12, 2025 14:47 — forked from fallenartist/Display_ST7701.cpp
Waveshare ESP32-S3 Touch LCD 2.1 Example
#include "Display_ST7701.h"
spi_device_handle_t SPI_handle = NULL;
esp_lcd_panel_handle_t panel_handle = NULL;
void ST7701_WriteCommand(uint8_t cmd)
{
spi_transaction_t spi_tran = {
.cmd = 0,
.addr = cmd,
.length = 0,