Skip to content

Instantly share code, notes, and snippets.

@abythell
abythell / configure.xml
Last active Nov 7, 2016
Ant script to download and configure the Netbeans platform, which enables Netbeans platform applications to be built without the IDE
View configure.xml
<!--
Netbeans Platform Download-and-Config
Copyright 2013, 2016, Andrew Bythell <abythell@ieee.org>
http://angryelectron.com/
This Ant script is used to download and configure the Netbeans platform,
allowing Netbeans platform applications to be built without the IDE.
-->
<project name="configure-platform" default="configure" basedir=".">
@abythell
abythell / Password.java
Last active Jul 2, 2020
Using Unbound LDAP and JCIFS, create SMB/NTLM and LDAP password hashes from plaintext, then update LDAP.
View Password.java
/*
* Change passwords stored in LDAP
* Copyright Andrew Bythell, abythell@ieee.org
*/
package com.angryelectron.ldap;
import com.unboundid.ldap.sdk.*;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
@abythell
abythell / arduino-firmware-stk500.diff
Created Jan 8, 2013
Patch for Arduino firmware for programming via STK500
View arduino-firmware-stk500.diff
diff --git a/hardware/arduino/firmwares/atmegaxxu2/arduino-usbdfu/makefile b/hardware/arduino/firmwares/atmegaxxu2/arduino-usbdfu/make
index 1fb4ed3..a2782ac 100755
--- a/hardware/arduino/firmwares/atmegaxxu2/arduino-usbdfu/makefile
+++ b/hardware/arduino/firmwares/atmegaxxu2/arduino-usbdfu/makefile
@@ -116,7 +116,7 @@ OBJDIR = .
# Path to the LUFA library
-LUFA_PATH = ../..
+LUFA_PATH = ../../LUFA