Skip to content

Instantly share code, notes, and snippets.

View BradMcGonigle's full-sized avatar
💻
computing and stuff

Brad McGonigle BradMcGonigle

💻
computing and stuff
View GitHub Profile
@BradMcGonigle
BradMcGonigle / mpminidelta.md
Last active March 27, 2021 00:43 — forked from bakman2/octoprint.md
Monoprice Mini Delta - collection of useful things

Octoprint with Wyze cam V2

Installation

Install Dafang Hacks on the Wyze Cam.

Once running and all is functional, continue.

If OctoPrint is running on a Raspberry Pi (3B minimum):

@BradMcGonigle
BradMcGonigle / png-crush.sh
Created September 5, 2017 19:51 — forked from beck/png-crush.sh
Crush the pngs
#!/bin/sh
# Cause stefano said: You can get them even smaller with
# http://www.advancemame.it/comp-readme.html after crushing
# it operates on the deflate compression, not the PNG image data
git ls-files | grep \.png$ | while read img
do
echo -n "$img..."
size_old=$(stat -f%z "$img")
/*
* Turn on a switch when a washing machine has been stopped for a certain period of time
*
* This app makes use of the runIn() method to turn on the switch the specified period of time
* after the vibration stops. If vibration starts again before the time elapses, then the scheduled
* turn-on event is canceled.
*
*/
preferences {
1. Purchase domain (hover.com)
2. Heroku app for website
* copy existing site
* Make git repo run
$ git init .
$ git add .
$ git commit -a -m "intial commit"
* $ heroku apps:create DOMAIN (https://devcenter.heroku.com/articles/creating-apps)
* $ git push heroku master
* $ heroku domains:add www.DOMAIN.com