This file contains 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
import-module 'ACME-PS' | |
# This is an updated Let's Encrypt script using the ACME-PS module https://github.com/PKISharp/ACME-PS | |
# The original script (using ACMESharp) is by Marc Durdin https://marc.durdin.net/2017/02/lets-encrypt-on-windows-redux/ | |
# This directory is used to store your account key and service directory urls as well as orders and related data | |
$acmeStateDir = "C:\Certs\AcmeState"; | |
# |
This file contains 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
using System; | |
using System.IO; | |
using System.Collections.Generic; | |
using System.Text.RegularExpressions; | |
namespace txtsredvach | |
{ | |
class Program | |
{ | |
static string outputFile; |
This file contains 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
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<OutputType>Exe</OutputType> | |
<TargetFramework>netcoreapp1.1</TargetFramework> | |
</PropertyGroup> | |
<ItemGroup> | |
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" /> | |
<PackageReference Include="Telegram.Bot" Version="13.0.0-beta-02" /> |
This file contains 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
pin=2 | |
ssid="yourSSID" | |
password="yourPass" | |
serverip = "192.168.1.2" | |
serverurl = "/termopechka.aspx" | |
-- set safe low signal | |
gpio.mode(pin, gpio.OUTPUT) | |
gpio.write(pin, gpio.LOW) |