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
#!/usr/bin/perl -w | |
$n = -10; | |
@files = (); | |
foreach $arg (@ARGV) { | |
if ($arg =~ /^(-\d+)$/) { | |
$n = $1; | |
} else { |
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
package acceptance; | |
import java.util.ArrayList; | |
import java.util.List; | |
public class AcceptanceUtils { | |
public static List<framework.cards.Card> reverseCards( | |
List<framework.cards.Card> pile) { | |
List<framework.cards.Card> reversed = new ArrayList<framework.cards.Card>(); |
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
/* | |
* strlen.asm | |
* | |
* Created: 28/03/2012 6:00:53 PM | |
* Author: Luke | |
*/ | |
/* | |
* strlen.asm |
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
/* | |
* toggle.asm | |
* | |
* Created: 9/05/2012 9:07:24 PM | |
* Author: Luke Cameron (lukecameron) | |
* | |
* Toggle the led's when pb0 is pressed. | |
* wire pb0 to pd0, leds to portc | |
* some code copied from example 3.1 | |
*/ |