Skip to content

Instantly share code, notes, and snippets.

View abythell's full-sized avatar

Andrew Bythell abythell

View GitHub Profile
@abythell
abythell / configure.xml
Last active November 7, 2016 23:49
Ant script to download and configure the Netbeans platform, which enables Netbeans platform applications to be built without the IDE
<!--
Netbeans Platform Download-and-Config
Copyright 2013, 2016, Andrew Bythell <[email protected]>
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 July 2, 2020 14:03
Using Unbound LDAP and JCIFS, create SMB/NTLM and LDAP password hashes from plaintext, then update LDAP.
/*
* Change passwords stored in LDAP
* Copyright Andrew Bythell, [email protected]
*/
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 January 8, 2013 19:50
Patch for Arduino firmware for programming via STK500
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