Skip to content

Instantly share code, notes, and snippets.

View kovachwt's full-sized avatar

Nikola Kovachevski kovachwt

  • Webthink
  • Skopje, Macedonia
View GitHub Profile
kovachwt / letsencrypt-acme-ps-script.ps1
Last active June 6, 2023 09:15
Let’s Encrypt for Windows and IIS, using the ACME-PS powershell module
View letsencrypt-acme-ps-script.ps1
import-module 'ACME-PS'
# This is an updated Let's Encrypt script using the ACME-PS module
# The original script (using ACMESharp) is by Marc Durdin
# This directory is used to store your account key and service directory urls as well as orders and related data
$acmeStateDir = "C:\Certs\AcmeState";
kovachwt / Program.cs
Created May 2, 2020 08:24
Remove HTML tags from a Drupal node text dump
View Program.cs
using System;
using System.IO;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace txtsredvach
class Program
static string outputFile;
kovachwt / KafanBot.csproj
Last active October 9, 2017 13:04
KafanaBot (Telegram bot / .NET Core 1.1)
View KafanBot.csproj
<Project Sdk="Microsoft.NET.Sdk">
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />
<PackageReference Include="Telegram.Bot" Version="13.0.0-beta-02" />
kovachwt / gist:93513c7edf7500927bb6
Created January 14, 2016 16:14
LUA code for web controlled 3-phase power socket
View gist:93513c7edf7500927bb6
serverip = ""
serverurl = "/termopechka.aspx"
-- set safe low signal
gpio.mode(pin, gpio.OUTPUT)
gpio.write(pin, gpio.LOW)