Skip to content

Instantly share code, notes, and snippets.

View kristianjaeger's full-sized avatar
🎛️
2020

Kristian kristianjaeger

🎛️
2020
View GitHub Profile
@kristianjaeger
kristianjaeger / blink-an-led.ino
Last active September 2, 2017 16:05
Modified version of Particle.io's blink an LED. This version is a simple Metronome! This was developed using a Particle Photon and build.particle.io. If you'd like to try it out just modify the bpm variable to your desired beats per minute. songbpm.com is an interesting option if you'd like to figure out what the BPM is for a favorite tune.
@kristianjaeger
kristianjaeger / Program.cs
Created November 30, 2017 16:44
A utility to check the .NET Framework version instead of manually checking the registry and comparing the key value (use .NET 4 target framework)
// Note: this is a slightly modified version of an example from - https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed
using System;
using Microsoft.Win32;
namespace GetDotNetVersion
{
public class GetDotNetVersion
{
public static void Main()
{
@kristianjaeger
kristianjaeger / email.go
Created January 7, 2022 00:20
Simple example of grabbing stock quote data from a text file and then sending an email
package main
import (
"bytes"
"fmt"
"io/ioutil"
"log"
"net/smtp"
"os"
"strconv"