Skip to content

Instantly share code, notes, and snippets.

View ofnhkb1's full-sized avatar
🌴
On vacation

Chenmo ofnhkb1

🌴
On vacation
  • Chenmo Software Studio
View GitHub Profile
#!/bin/bash
# This has been tested on the aws-linux Coder template, which runs Ubuntu Focal
# Check if LXDE is installed
if ! dpkg -s lxde &> /dev/null; then
sudo apt-get update
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y lxde
else
echo "LXDE is already installed."
@ofnhkb1
ofnhkb1 / LetsEncryptClient.cs
Created March 14, 2018 15:30 — forked from ayende/LetsEncryptClient.cs
ACME v2 client for Let's Encrypt
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading;
using System.Threading.Tasks;