This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
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="."> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/hardware/arduino/bootloaders/atmega/ATmegaBOOT_168.c b/hardware/arduino/bootloaders/atmega/ATmegaBOOT_168.c | |
index 2b9fefa..046de0c 100755 | |
--- a/hardware/arduino/bootloaders/atmega/ATmegaBOOT_168.c | |
+++ b/hardware/arduino/bootloaders/atmega/ATmegaBOOT_168.c | |
@@ -580,7 +580,7 @@ int main(void) | |
/* if ((length.byte[0] & 0x01) == 0x01) length.word++; //Even up an odd number of bytes */ | |
if ((length.byte[0] & 0x01)) length.word++; //Even up an odd number of bytes | |
cli(); //Disable interrupts, just to be sure | |
-#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega1281__) | |
+#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega1281__) || defined(__AVR_ATmega328P__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Setup and configure Xen DomU | |
# Run as root/sudo on a fresh Ubuntu Server 12.04 LTS install. Reboot when complete. | |
# Update | |
apt-get update | |
apt-get upgrade | |
# Install Xen hypervisor | |
apt-get install xen-hypervisor-amd64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script to download, configure, and install Ubuntu as a Xen domU | |
# Uses existing LVM Volume Group. Must be run as root/sudo. | |
# Based on instructions at https://help.ubuntu.com/community/Xen | |
# User Configurable Settings | |
NAME=ubuntu # name of Domain to create | |
VG=/dev/domU # existing volume group in which to create a logical volume | |
LV=$NAME # name of the new logical volume to create | |
LV_SIZE=5G # size of the new logical volume |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Set system date using gphoto2 camera | |
# | |
# Make sure a root user is running this script | |
# | |
if [[ $EUID -ne 0 ]]; then | |
echo "Must run as root/sudo" | |
exit -1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Automatically download, build, and install CamDate, a tool | |
# to set the System Time on a Raspberry Pi using a gphoto2-suppored | |
# camera. | |
# | |
# | |
# Check if root | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### BEGIN INIT INFO | |
# Provides: udisks-glue | |
# Required-Start: $local_fs | |
# Required-Stop: $local_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: udisks-glue automounter | |
# Description: Automounts removable media |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
rxtx.xml | |
Copyright 2013 Andrew Bythell <abythell@ieee.org> | |
Ant tasks for distributing Java applications with platform-specific RXTX | |
libraries as zip files. To use: | |
1. Get and unzip RXTX - http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip into your project directory. | |
2. Copy this file (rxtx.xml) into the RXTX directory. | |
3. Include rxtx.xml in your build.xml. |
OlderNewer