This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GLOBAL SETTINGS | |
{ | |
#debug logs | |
#debug | |
dynamic_dns { | |
provider cloudflare {env.CLOUDFLARE_API_TOKEN} | |
domains { | |
example.com | |
example2.com | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
caddy: | |
image: serfriz/caddy-cloudflare-ddns-security:latest | |
container_name: caddy | |
restart: unless-stopped | |
environment: | |
- CLOUDFLARE_API_TOKEN=**from cloudflare** | |
- DOMAIN=example.com | |
networks: | |
- proxy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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 | |
// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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 |