Skip to content

Instantly share code, notes, and snippets.

Avatar
💻
computing and stuff

Brad McGonigle BradMcGonigle

💻
computing and stuff
View GitHub Profile
@BradMcGonigle
BradMcGonigle / settings.json
Last active Feb 28, 2020
Prusa Mini Octolapse Settings
View settings.json
{"main_settings": {"show_extruder_state_changes": false, "preview_snapshot_plans": true, "auto_reload_latest_snapshot": true, "preview_snapshot_plan_seconds": 30, "show_snapshot_plan_information": true, "snapshot_archive_directory": "", "timelapse_directory": "", "test_mode_enabled": false, "show_printer_state_changes": false, "platform": "linux2", "version": "0.4.0rc1.dev4", "automatic_update_interval_days": 7, "cancel_print_on_startup_error": true, "show_navbar_icon": true, "show_navbar_when_not_printing": true, "is_octolapse_enabled": true, "show_trigger_state_changes": false, "temporary_directory": "", "auto_reload_frames": 20, "automatic_updates_enabled": true, "preview_snapshot_plan_autoclose": false, "show_position_changes": false}, "global_options": null, "profiles": {"logging": {"4d7411e9-f97e-41c0-921c-02e262660e83": {"automatic_configuration": {"key_values": [{"name": "Log Parsing/Preprocessing/Position Tracking", "value": "c++"}], "suppress_update_notification_version": false, "is_custom": false,
View 3dbenchy_0.2mm_PLA_MINI_1h31m.gcode
; generated by PrusaSlicer 2.1.1+ on 2020-02-26 at 16:23:30 UTC
;
; thumbnail begin 16x16 920
; iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACd0lEQVR4AWWSW08TURSF548QBYEqra
; 2A0iuU1l5mer/MdHqv1VAbQWIEYo0KwRjrPRVNiaJg4oMkJjzwpIlPEmNioib+oeXZ28wkyMPKnDlz
; 1rf23nOkUCgEUjgcRiQSYUWjUSQSCcRiMbQyIby74EU7F0Y6neY9+k7nyCMZBlmWWfF4HMlkkg92K0
; F8aTvxfdHLelANYlGPoXdJwYIms08ik6IobMhkMkilUpx+U/VjrzGB/eakCSD9uDaNTnAIu/VJDpIo
; kUpTVZWfBHjcCPPhu9ERrEVGDgE28zbsFB3Ya55DMSFaIKOmaWymCrLZLDrqLPYvnkU3ZkE/Z2Pjwb
@BradMcGonigle
BradMcGonigle / 3dbenchy_0.2mm_PLA_MINI_1h31m.gcode
Created Feb 26, 2020
3D Benchy - Prusa Mini - 0.2mm - PLA - GCode
View 3dbenchy_0.2mm_PLA_MINI_1h31m.gcode
This file has been truncated, but you can view the full file.
; generated by PrusaSlicer 2.1.1+ on 2020-02-26 at 16:23:30 UTC
;
; thumbnail begin 16x16 920
; iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACd0lEQVR4AWWSW08TURSF548QBYEqra
; 2A0iuU1l5mer/MdHqv1VAbQWIEYo0KwRjrPRVNiaJg4oMkJjzwpIlPEmNioib+oeXZ28wkyMPKnDlz
; 1rf23nOkUCgEUjgcRiQSYUWjUSQSCcRiMbQyIby74EU7F0Y6neY9+k7nyCMZBlmWWfF4HMlkkg92K0
; F8aTvxfdHLelANYlGPoXdJwYIms08ik6IobMhkMkilUpx+U/VjrzGB/eakCSD9uDaNTnAIu/VJDpIo
@BradMcGonigle
BradMcGonigle / mpminidelta.md
Last active Mar 27, 2021 — forked from bakman2/octoprint.md
Monoprice Mini Delta - collection of useful things
View mpminidelta.md

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):

View png-crush.sh
#!/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")
View the-washer-has-stopped.groovy
/*
* 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 {
View gist:4429452
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