Skip to content

Instantly share code, notes, and snippets.

View kevinhikaruevans's full-sized avatar

Kevin Evans kevinhikaruevans

View GitHub Profile
@bradmontgomery
bradmontgomery / install-comodo-ssl-cert-for-nginx.rst
Last active June 10, 2024 15:37
Steps to install a Comodo PositiveSSL certificate with Nginx.

Setting up a SSL Cert from Comodo

I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.

These are the steps I went through to set up an SSL cert.

Purchase the cert

@kevinhikaruevans
kevinhikaruevans / electron-boilerplate NSIS template with portable option
Last active June 16, 2024 01:56
NSIS template for electron-boilerplate with portable installation option
; --------------------------------
; NSIS packaging/install script with portable option!
; Docs: http://nsis.sourceforge.net/Docs/Contents.html
; Made for electron-boilerplate
; Based off this answer by Anders:
; https://stackoverflow.com/questions/13777988/use-nsis-to-create-both-normal-install-and-portable-install
; --------------------------------
; --------------------------------
; Variables
@kevinhikaruevans
kevinhikaruevans / README.md
Last active May 31, 2024 15:57
Wait for one, cancel other `asyncio` tasks

Wait for one, cancel others

This is a little helper script that can be used to wait for a single asyncio task to finish, then cancel other waiting tasks.

Usage

My use-case for this is:

  • waiting on user input
  • ...while waiting on cancellation events input (via pub-sub)