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
| diff --git a/src/jtag/drivers/buspirate.c b/src/jtag/drivers/buspirate.c | |
| index 554d3e0..f40abdf 100644 | |
| --- a/src/jtag/drivers/buspirate.c | |
| +++ b/src/jtag/drivers/buspirate.c | |
| @@ -24,6 +24,7 @@ | |
| #endif | |
| #include <jtag/interface.h> | |
| +#include <jtag/swd.h> | |
| #include <jtag/commands.h> |
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
| from base | |
| # Install prerequisites | |
| run apt-get update | |
| run apt-get install -y software-properties-common | |
| # Install java8 | |
| run add-apt-repository -y ppa:webupd8team/java | |
| run apt-get update | |
| run echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections |
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
| system = require('system') | |
| host = system.env.VULCAIN_PORT_8080_TCP_ADDR | |
| port = system.env.VULCAIN_PORT_8080_TCP_PORT | |
| screenshot = casper.cli.get('screenshot') || 'error.png'; | |
| url = casper.cli.get('host') || 'http://'+host+':'+port; | |
| casper.echo("## "+url) | |
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
| from base | |
| run apt-get update | |
| run apt-get install -y curl | |
| run cd /opt && curl -s -L -b oraclelicense=accept-securebackup-cookie http://download.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-linux-x64.tar.gz | tar xvz | |
| run cd /opt && ln -s jdk1.7.0_51 jdk7 | |
| env JAVA_HOME /opt/jdk7 |
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
| from base | |
| run apt-get update | |
| run apt-get install -y curl | |
| run cd /opt && curl -s -L -b oraclelicense=accept-securebackup-cookie http://download.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-linux-x64.tar.gz | tar xvz | |
| run cd /opt && ln -s jdk1.7.0_51 jdk7 | |
| env JAVA_HOME /opt/jdk7 |
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
| #!/bin/bash | |
| #start MongoDB | |
| /opt/mongodb/bin/mongod --noprealloc --quiet -dbpath /data/db --fork --nojournal --logpath /opt/mongodb/mongodb.log 2>/dev/null | |
| echo MongoDB STARTED | |
| #start H2 | |
| #java -jar /opt/h2/h2.jar 2>&1 > /dev/null & | |
| # download and deploy app |
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
| #!/bin/sh | |
| #start MongoDB | |
| /usr/bin/mongod -dbpath /data/db --fork -journal --logpath /opt/mongodb.log | |
| #start H2 | |
| java -jar /opt/h2/h2.jar 2>&1 > /dev/null & | |
| # download and deploy app | |
| cd /opt/tomcat/webapps/ |
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
| #!/bin/sh | |
| /usr/bin/mongod -dbpath /data/db --fork -journal --logpath /opt/mongodb.log | |
| cd /opt/projects/NabAlive | |
| git pull | |
| mvn clean install | |
| mvn -f web/pom.xml exec:java -DfrenchTtsUrl=http://localhost/ |
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.vidal.bo.monoviewer.util; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import java.util.regex.Pattern; | |
| /** | |
| * Created with IntelliJ IDEA. | |
| * User: jcheype | |
| * Date: 02/08/13 |
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
| is_end_of_tag = (char)-> char is '>' | |
| is_start_of_tag = (char)-> char is '<' | |
| is_whitespace = (char)-> /^\s+$/.test char | |
| is_tag = (token)-> /^\s*<[^>]+>\s*$/.test token | |
| isnt_tag = (token)-> not is_tag token | |
| class Match | |
| constructor: (@start_in_before, @start_in_after, @length)-> | |
| @end_in_before = (@start_in_before + @length) - 1 | |
| @end_in_after = (@start_in_after + @length) - 1 |
NewerOlder