Skip to content

Instantly share code, notes, and snippets.

View darconeous's full-sized avatar
🦀

Robert Quattlebaum darconeous

🦀
View GitHub Profile
@darconeous
darconeous / robert-quattlebaum.crt
Last active August 29, 2015 14:09
Robert's Certificate #Security
-----BEGIN CERTIFICATE-----
MIIGPzCCBSegAwIBAgIDC93CMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJ
TDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0
YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3Mg
MSBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0EwHhcNMTQxMTExMTEyMDUx
WhcNMTUxMTEyMTkwNjA0WjBbMRkwFwYDVQQNExBtbWRLMzdNMlJIOUJscWdiMRsw
GQYDVQQDDBJkYXJjb0BkZWVwZGFyYy5jb20xITAfBgkqhkiG9w0BCQEWEmRhcmNv
QGRlZXBkYXJjLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAN5J
iGNW4GbtsCJYzBqDgmiCkeP15Idpe/dcDzca0BWhbn/pdZOFfbrMJi3sFe1EFQNB
AWi2/x3Er9WBvYXD6LnoRwZw5+jaySRdkddf7T97BfQcHA9mmqzOhMNcxBuAFbC1
@darconeous
darconeous / openid.txt.md
Last active August 29, 2015 14:10
Robert's OpenID URLs #Security
@darconeous
darconeous / secdebug.sh
Last active August 29, 2015 14:11 — forked from drewbug/secdebug
`securityd` debug logging #Security
# trace debug-log macro
sudo dtrace -qn 'security_debug*:::log { printf("[%s] %s\n", copyinstr(arg0), copyinstr(arg1)); }'
# restart securityd
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.securityd.plist &&
sudo launchctl load /System/Library/LaunchDaemons/com.apple.securityd.plist
@darconeous
darconeous / lcg.csv
Last active August 29, 2015 14:13
Linear congruential generators
mod a c
2^6 37 13
2^8 109 47
2^32 1664525 1013904223
@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 / sf2email.sh
Created April 21, 2011 20:45
'authors-prog' for git-svn when importing subversion repositories from SourceForge
#!/bin/bash
# sf2email v0.2 (2011-05-11)
# By Robert Quattlebaum <darco@deepdarc.com>
#
# PUBLIC DOMAIN
#
# This shell script was originally designed to be used as the 'authors-prog'
# for git-svn. It takes the sourceforge username as an argument, and outputs
# the name and email address of the individual to stdout.
@darconeous
darconeous / 4-1-balun.txt
Last active September 26, 2015 20:48
4:1 Balun Circuit (for Circuit Simulator) #Ham-Radio #Hardware
$ 1 5.0E-6 10.20027730826997 50 5.0 43
T 416 192 480 256 0 4.0 1.0 0.018164359747977105 -0.016010881850760782 0.999
w 416 192 464 144 0
w 528 240 480 192 0
w 480 256 592 144 0
171 208 192 416 192 0 0.1 75.0 64 0.0
r 160 192 208 192 0 75.0
g 208 256 208 320 0
R 160 192 160 144 0 1 40.0 5.0 0.0 0.0 0.5
r 464 144 592 144 0 300.0
@darconeous
darconeous / gist:1247488
Last active September 27, 2015 09:27
TRAKR mod ideas #Ideas #Hacking #Hardware
possible trakr mods:
* Add a gyro for more accurate turning
* Add recharging capability for NiMH batteries
* Add proximity sensors
* Make the camera tilt controlled by a servo
* Modify the controls on the remote to be analog instead of on/off
* Add a wide-angle lens.
* use USB port on remote for computer control of the robot
* Make a recharging "base station" that the robot can drive into
@darconeous
darconeous / trakr-remote-startup.txt
Last active September 27, 2015 09:47
TRAKR SPI Sniffing #Hardware #Hacking #Reverse-Engineering
# TRAKR Remote Startup Radio SPI Traffic #
This is about 1.5 seconds of SPI traffic starting at the moment
the remote is powered up. It is hoped that this information will
be useful for reverse engineering the radio protocol being used.
The following was logged by Robert Quattlebaum.
He does interesting stuff at <http://www.deepdarc.com/>.
## Timeline Summary ##