View Makefile-hugo
AWS_PROFILE?=unixbigot | |
CLOUDFRONT?=EQ6KJ3VCZA0W1 | |
test: | |
hugo server | |
build: | |
hugo | |
upload: |
View pump.py
import time, datetime, calendar | |
from pytz import timezone | |
import requests, json | |
import RPi.GPIO as GPIO | |
Relay_Ch1 = 21 | |
Relay_Ch2 = 26 | |
Relay_Ch3 = 19 | |
Relay_Ch4 = 13 |
View loadcell.ino
//Sample using LiquidCrystal library | |
#include <LiquidCrystal.h> | |
/******************************************************* | |
This program will test the LCD panel and the buttons | |
Mark Bramwell, July 2010 | |
********************************************************/ |
View wearable_parts.txt
Brains: | |
https://www.aliexpress.com/item/Free-Shipping-ATmega32U4-Board-LilyPad-for-Arduino-USB-Microcontroller-development-board/1992656809.html?spm=a2g0s.9042311.0.0.bMFysM | |
https://www.aliexpress.com/item/LilyPad-ATTINY85-digispark-Wearable-device-NANO-for-arduino/32655867610.html?spm=a2g0s.9042311.0.0.sG039Q | |
https://www.aliexpress.com/item/Free-Shipping-LilyPad-328-Main-Board-ATmega328P-ATmega328-16M-For-Arduino/32613856954.html?spm=2114.search0104.3.8.a59059ejOM6Vi&ws_ab_test=searchweb0_0,searchweb201602_5_5920015_10065_10344_10068_10130_10342_10547_10343_10340_10548_10341_10084_10617_10616_10083_10615_10307_10131_10132_10133_10313_10059_10534_100031_10604_10103_441_442_10142,searchweb201603_25,ppcSwitch_3&algo_expid=77a808c3-1553-4922-a1ca-23e3f383f2bd-1&algo_pvid=77a808c3-1553-4922-a1ca-23e3f383f2bd&priceBeautifyAB=2 | |
https://www.aliexpress.com/item/MWC-MultiWii-Lite-SE-Flight-Control-Board-config-Uploader-MINIUSB-FTDI-Basic-USB-Frimware-PRGMR/1750493103.html?spm=a2g0s.9042311.0.0.bMFysM | |
Thread: | |
https:/ |
View contact-lambda.js
// Follow the instructions at https://www.codeengine.com/articles/process-form-aws-api-gateway-lambda/ | |
// Including adding the custom javascript from that article (plus this file) | |
// | |
// In config.toml set postURL = "/rest/contact/" | |
// Support serialising the contact form as JSON to send to AWS Lambda | |
jQuery(document).ready(function ($) { | |
$('form[id=contactForm]').off('submit').on('submit', function (e) { | |
e.preventDefault(); | |
var formJSON = $(this).formToJson({pretty: true, delimiter: '.'}); |
View wemos_sled.gcode
(Block-name: block outline) | |
(Block-expand: 1) | |
(Block-enable: 0) | |
G0 X0 Y0 Z5 | |
G1 Z0 | |
g1 x60 y0 | |
g1 x60 y40 | |
g1 x0 y40 | |
g1 x0 y0 | |
g0 z5 |