Skip to content

Instantly share code, notes, and snippets.

View darconeous's full-sized avatar
🦀

Robert Quattlebaum darconeous

🦀
View GitHub Profile
@darconeous
darconeous / tesla-key-card-protocol.md
Last active May 7, 2024 23:59
Tesla Key Card Protocol

Tesla Key Card Protocol

Researched by Robert Quattlebaum darco@deepdarc.com.

Last updated 2020-02-03.

Image of Tesla Key Card Image of Tesla Model 3 Key Fob

@darconeous
darconeous / os-x-syslog-server.md
Last active May 2, 2024 13:55
Using OS X as a Syslog Server

Using OS X as a Syslog Server

This document describes how to set up an OS X to be a syslog server that logs messages from the local network. It was largely meant for my own purposes so that I don't forget what I did, but feel free to use it for your own purposes.

A problem with just "turning this on" is that you will not see the correct hostname in the syslog entries. What we will do is use

@darconeous
darconeous / kidde-interconnect.md
Last active April 1, 2024 03:02
kidde-interconnect

Original "dumb" smoke detector interconnect sounds the siren on all interconnected smoke detectors when a 9-to-12 volt (referenced to neutral/white) direct-current signal is continuously present on the signal wire (red). This still how pretty much all interconnected smoke alarms indicate a fire condition.

However, modern interconnected detectors are capable of detecting carbon monoxide and other conditions. When these conditions are signaled, they must be identified as something other than a smoke alarm by the other detectors. Ideally, any dumb smoke detectors

@darconeous
darconeous / rect-starlink-cable-hack.md
Last active March 22, 2024 14:45
Hacking the Rectangular Starlink Dishy Cable
@darconeous
darconeous / gecoloreffects.py
Last active October 25, 2023 19:34
PIO-based GE-ColorEffects G35 driver for MicroPython on RP2
# PIO-based GE-ColorEffects driver for MicroPython on RP2
# MIT license; Copyright (c) 2023 Robert Quattlebaum
import array, time
from machine import Pin
import rp2
import machine
# Pin 15 is the default on the [pimoroni plasma stick][1].
#
@darconeous
darconeous / 3d-printing-trimmer-line.md
Last active September 14, 2023 01:03
3D Printing with Nylon Trimmer Line

3D Printing with Nylon Trimmer Line

Disclaimer

All of this information is provided AS IS, with no warranty or guarantee of accuracy. A good-faith effort has been made to ensure this document was accurate at the time it was written, but YOU ASSUME ALL RISK BY FOLLOWING ANY ADVICE BELOW.

Introduction

Nylon is a strong and impact-resistant thermoplastic that is used

@darconeous
darconeous / self-signed-cert.conf
Last active August 9, 2023 20:34
OpenSSL self-signed certificate config
# Use like:
#
# ```
# openssl req -x509 -nodes \
# -days 3650 \
# -newkey rsa:2048 \
# -keyout /etc/ssl/private/host.key.pem \
# -out /etc/ssl/certs/host.crt.pem \
# -config self-signed-cert.cfg
# ```
@darconeous
darconeous / dh.pem
Last active June 23, 2023 11:09
Getting FreeRadius set up on EdgeRouter
-----BEGIN DH PARAMETERS-----
MIIBCAKCAQEAq5/y4YW0hozeF0bQw86uDaDO0o+68DjAch61bc3nwyVC77e6JYUT
5F9x+mn9j25KhbcNGBcZvO/TFHsPf4bx4fojNKD2T5nZATJRtGuepnyjz5XEpPe2
ojAsjYpPg/0HZou/tyPM1OGTi5qlVUHa+GHrpX5419NDdOCU5IRr1kkIOMaT7+co
OFAlGCr8fiLTArGWbZDed3N0EvXE1JaIlOmQmVxLP8EycZsbjnCWB9b7DfQW2TeB
9Qp3PjfpAH/VPc3xrMqrXLlGR3h6PA5FfanN2e1XWISOYQe9N/K5uN6lze+HoAk6
Kusp+bLFxWX5EDxK1XXW+4L5JwNwUDMZCwIBAg==
-----END DH PARAMETERS-----
@darconeous
darconeous / apple-remote-ir.txt.md
Created August 15, 2015 19:09
Apple Remote IR Code #Hacking #Hardware #Reverse-Engineering

Apple Remote IR Code

This document covers the old white apple remote.

  • Carrier: ~38KHz
  • Start: 9ms high, 4.5ms low
  • Pulse width: ~0.58ms (~853Hz)

Uses pulse-distance modulation.

@darconeous
darconeous / gist:c87cb13e35d92f442de6c5d8603698cf
Created May 10, 2023 19:54
converting tab-delimited to pipe-delimited
pbpaste | tr '\t' '|' | sed 's/\(.*\)/|\1|/' | pbcopy