Skip to content

Instantly share code, notes, and snippets.

View fischgeek's full-sized avatar

Jeremiah fischgeek

  • Fargo, ND
  • 20:48 (UTC -06:00)
View GitHub Profile
@dceejay
dceejay / nssm.md
Last active September 17, 2024 21:54
Running Node-RED as a service on Windows using NSSM

Running Node-RED as a service on Windows using NSSM

These instructions assume you installed Node-RED from an administrator enabled command prompt using the npm install -g node-red command to do so.

As an administrator, install nssm from https://nssm.cc/download

And then from the directory where you installed nssm, run the commands

mkdir c:\temp

nssm install Node-RED "c:\Users\"%USERNAME%"\AppData\Roaming\npm\node-red.cmd"

@joncardasis
joncardasis / Storing-Images-On-Github.md
Last active November 13, 2024 21:29
Storing Images and Demos in your Repo

Storing Images and Demos in your Repo

In this quick walkthough you'll learn how to create a separate branch in your repo to house your screenshots and demo gifs for use in your master's readme.

How to

1. Clone a fresh copy of your repo

In order to prevent any loss of work it is best to clone the repo in a separate location to complete this task.

2. Create a new branch

Create a new branch in your repo by using git checkout --orphan assets

@nathan-fiscaletti
nathan-fiscaletti / Fader.cs
Last active March 29, 2023 04:29
A C# class used to control fading forms in and out
using System;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace FormFader
{
/// <summary>
/// An object used to control fading forms in and out.
/// </summary>
class Fader