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 / gist:63354ee5834c0419efe972088328d394
Created August 24, 2018 02:56
terraform newrelic import debug output
$ terraform import newrelic_infra_alert_condition.foo 5885249
2018/08/24 14:55:01 [WARN] Invalid log level: "1". Defaulting to level: TRACE. Valid levels are: [TRACE DEBUG INFO WARN ERROR]
2018/08/24 14:55:01 [INFO] Terraform version: 0.11.8 7a5c1d221ac209bbac66947c369815cd9ca70ed5
2018/08/24 14:55:01 [INFO] Go runtime version: go1.10.1
2018/08/24 14:55:01 [INFO] CLI args: []string{"/opt/local/bin/terraform", "import", "newrelic_infra_alert_condition.foo", "5885249"}
2018/08/24 14:55:01 [DEBUG] Attempting to open CLI config file: /Users/chris.ohalloran/.terraformrc
2018/08/24 14:55:01 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2018/08/24 14:55:01 [INFO] CLI command args: []string{"import", "newrelic_infra_alert_condition.foo", "5885249"}
2018/08/24 14:55:01 [INFO] command: empty terraform config, returning nil
2018/08/24 14:55:01 [DEBUG] command: no data state file found for backend config

IoT Botnets

  • What are they, and how did they take down half the internet?
  • Why can’t we fix it?
  • How do you protect yourself?

IoT- What is it?

Internet of Things is the marketing buzzword for the trend of giving every home appliance a connection to the internet, whether it was a smart idea or not. It was bad before smart phones, but now everyone expects their appliances to have an app, because who can live with a regular coffee maker that won't let them start their coffee from bed?

@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;

Keybase proof

I hereby claim:

  • I am ghstwhl on github.
  • I am ghostwheel (https://keybase.io/ghostwheel) on keybase.
  • I have a public key whose fingerprint is F304 888A DF82 CE4B 4594 D721 FC8B 4C7E 8A32 EB6E

To claim this, I am signing this object: