Skip to content

Instantly share code, notes, and snippets.

View ghstwhl's full-sized avatar
💭
Coding in Rivendell

Chris Knight ghstwhl

💭
Coding in Rivendell
View GitHub Profile
@ghstwhl
ghstwhl / viscosity-to-openvpn.py
Created September 1, 2024 02:55 — forked from reneklacan/viscosity-to-openvpn.py
script to convert visz to ovpn - python3 viscosity-to-openvpn.py file.visz
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Converts viscosity export files into an open vpn package
Usage: viscosity-to-openvpn.py <input> <output>
"""
import io
import os
import sys
import tarfile
@ghstwhl
ghstwhl / Pacifica.ino
Created January 25, 2024 03:20 — forked from kriegsman/Pacifica.ino
Pacifica: gentle, blue-green ocean waves. For Dan.
//
// "Pacifica"
// Gentle, blue-green ocean waves.
// December 2019, Mark Kriegsman and Mary Corey March.
// For Dan.
//
#define FASTLED_ALLOW_INTERRUPTS 0
#include <FastLED.h>
FASTLED_USING_NAMESPACE
@ghstwhl
ghstwhl / rainbling.ino
Last active May 10, 2016 04:23 — forked from devries/rainbling.ino
Rainbling: A Total Control Lighting Arduino Sketch for rainbows with flashes.
/**************************************************************
* rainbling.ino
*
* An idea for having rainbow colors appear in groups (totems)
* with occasional flashes.
***************************************************************/
#include <SPI.h>
#include <TCL.h>
const int REPEATS = 24;