This file contains hidden or 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
svn co https://repo.dev.bbc.co.uk/libraries/python/AWS-CloudFormation/trunk AWS-CloudFormation | |
svn co https://repo.dev.bbc.co.uk/tools/BBC-CloudFormation/Common/trunk/src/BBC/AWS/CloudFormation/Common/ AWS-CloudFormation/src/BBC/AWS/CloudFormation/Common | |
export PYTHONPATH=`pwd`/AWS-CloudFormation/src/ |
This file contains hidden or 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
svn co https://repo.dev.bbc.co.uk/libraries/python/AWS-CloudFormation/trunk AWS-CloudFormation | |
svn co https://repo.dev.bbc.co.uk/tools/BBC-CloudFormation/Common/trunk/src/BBC/AWS/CloudFormation/Common/ AWS-CloudFormation/src/BBC/AWS/CloudFormation/Common | |
export PYTHONPATH=`pwd`/AWS-CloudFormation/src/ |
This file contains hidden or 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
class Bottles | |
def initialize | |
@verses = Hash.new { |h, num_bottles| Verse.new(num_bottles) } | |
@verses[6] = SixPackVerse.new(6) | |
@verses[7] = SixPackVerse.new(7) | |
end | |
def song | |
verses(99,0) |
This file contains hidden or 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 com.develogical.camera; | |
import org.jmock.Expectations; | |
import org.jmock.Mockery; | |
import org.jmock.integration.junit4.JMock; | |
import org.junit.Test; | |
import org.junit.runner.RunWith; | |
@RunWith(value = JMock.class) | |
public class TestCamera { |
This file contains hidden or 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
class Encoder | |
def initialize(algorithm) | |
@algorithm = algorithm | |
end | |
def encode(line) | |
tokens = line.split(" ") | |
results = [] | |
for word in tokens do |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.develogical</groupId> | |
<version>1.0-SNAPSHOT</version> | |
<artifactId>aepfacts</artifactId> | |
<dependencies> | |
<dependency> |
This file contains hidden or 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
<project name="SimpleProject"> | |
<property name="build.dir" value="build"/> | |
<property name="build.prod.dir" value="${build.dir}/prod"/> | |
<property name="build.test.dir" value="${build.dir}/test"/> | |
<property name="build.jar.dir" value="${build.dir}/jar"/> | |
<property name="src.dir" value="src"/> | |
<property name="unit.test.dir" value="unit-test"/> | |
<property name="system.test.dir" value="system-test"/> |
NewerOlder