Skip to content

Instantly share code, notes, and snippets.

# Silent Install Firefox by theSens
$currentPrincipal = New-Object Security.Principal.WindowsPrincipal(
[Security.Principal.WindowsIdentity]::GetCurrent() )
& {
if ($currentPrincipal.IsInRole( [Security.Principal.WindowsBuiltInRole]::Administrator ))
{
Write-Host "Starting silent firefox installer!" -ForegroundColor Green
$done = $FALSE
# Path for the workdir
@jmadden91
jmadden91 / LaPavoni.ino
Last active March 25, 2020 05:56
La Pavoni Heater Control
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include <EEPROM.h>
#include <ESP8266mDNS.h>
#include <WiFiUdp.h>
#include <ArduinoOTA.h>
int a = 1;
int b = 1;
@jmadden91
jmadden91 / 4 Channel Relay.ino
Created April 4, 2019 23:09
4 Channel Relay MQTT
//EJ: 4 Relay Switch over WIFI using MQTT and Home Assistant with OTA Support
//EJ: The only way I know how to contribute to the HASS Community... you guys ROCK!!!!!
//EJ: Erick Joaquin :-) Australia
// Original sketch courtesy of ItKindaWorks
//ItKindaWorks - Creative Commons 2016
//github.com/ItKindaWorks
//
//Requires PubSubClient found here: https://github.com/knolleary/pubsubclient
//
@jmadden91
jmadden91 / end.gcode
Created September 11, 2018 10:37
End G Code
M104 S0 ; turn off extruder
M140 S0 ; turn off bed
G1 X0 Y295 F1000 ; move finished print out front
M84 ; disable motors
M106 S0 ; turn off cooling fan
@jmadden91
jmadden91 / start.gcode
Created September 11, 2018 10:35
Start G Code
M104 S150; Set extruder and do not wait - preheat
G28 ; home all axes
M117 Auto bed levelling
G29 ;
;M420 S1
G1 X20 Y20 Z0.3 F5000.0 ; move to start-line position
M117 Heating extruder..
M109 S[extruder0_temperature] ; Set extruder temp and wait to be reached
M117 Purge extruder
G92 E0 ; reset extruder
/* Copyright 2017 REPLACE_WITH_YOUR_NAME
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the