Skip to content

Instantly share code, notes, and snippets.

View darconeous's full-sized avatar
🦀

Robert Quattlebaum darconeous

🦀
View GitHub Profile
@darconeous
darconeous / small-merkle.md
Created August 3, 2015 21:54
More Efficient Merkle Signatures

More Efficient Merkle Signatures

Author: Robert Quattlebaum darco@deepdarc.com
Date: 2015-08-03

This document describes a mechanism for achieving a significant improvement in the efficiency of merle signatures, allowing public keys that are 5% smaller and signatures that are 37% smaller.

@darconeous
darconeous / remotizer.txt.md
Last active November 18, 2016 22:14
Remotizer Hacking Notes
@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 / gpib-measure.md
Created August 30, 2015 19:10
Open Source GPIB Board Dimensions

Open Source GPIB Board Dimensions

Looking from the top with the GPIB connector facing toward you...

  • PCB WidthxLengthxHeight: 55.2mmx54.9mmx1.7mm
  • PCB+GPIB Height: 17.52mm
  • GPIB Connector Extension from bottom edge of PCB: 9.47mm
  • USB-B connector extension from top edge of PCB: 6.52mm
  • USB-B connector widthxlengthxheight (same orientation as pcb): 12mmx16.32mmx10.67mm
@darconeous
darconeous / script.sh
Created September 2, 2015 19:45
removing a section from a configuration file using bash
AMAVIS_CONFIG_HEADER="# Amavis - dockermail - start"
AMAVIS_CONFIG_FOOTER="# Amavis - dockermail - end"
function remove_amavis () {
# main.cf
if grep -q "$AMAVIS_CONFIG_HEADER" "$POSTFIX_MAIN_CF"; then
sed "/$AMAVIS_CONFIG_HEADER/,/$AMAVIS_CONFIG_FOOTER/d" "$POSTFIX_MAIN_CF" -i
fi
# master.cf
sed '/^pickup/,/^cleanup/{//!d}' "$POSTFIX_MASTER_CF" -i
@darconeous
darconeous / ham-arngll.txt.md
Last active November 2, 2021 18:38
Amateur Radio Next Generation Link Layer (ARNGLL)
@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 / 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 / engenius-eap600-enable-ssh.md
Last active March 24, 2023 20:02
Enabling SSH on Engenius EAP600

Enabling SSH on Engenius EAP600 (and maybe other models)

This tutorial will walk you through the steps needed to get root SSH access on an Engenius EAP600 dual-band WiFi access point. SSH doesn't come enabled out of the box on these things, so if you want to SSH into the device (which is running an old version of OpenWRT), keep reading.

@darconeous
darconeous / lifx-coap-bridge.md
Last active June 30, 2016 01:09
LiFX CoAP Bridge

LiFX CoAP Bridge

This document is outlining the schema for a CoAP bridge for LiFX devices.

  • /discover - Post to force rediscovery of LiFX equipment.
  • /d/
    • all/
      • raw - Send a raw frame to all devices.
  • power