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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
<title>Learn More About Mental Health</title> | |
</head> | |
<body> | |
<h1>Mental Health</h1> | |
<h2>What Is Mental Health?</h2> |
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
{ | |
"PAM":{ | |
"identifier":"PAMIdentifier", | |
"prompt":"Select the photo that best captures how you feel right now:", | |
"summary":{ | |
"identifier":"PAM Summary Identifier", | |
"title":"Thanks", | |
"text":"Thank you for participating in PAM" | |
}, | |
"affects":[ |
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
{ | |
"effective_time_frame": { | |
"time_interval": { | |
"start_date_time": "2014-09-10T00:47:00.000Z", | |
"duration": { | |
"value": 1, | |
"unit": "min" | |
} | |
} | |
}, |
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
"header": { | |
"id": "123e4567-e89b-12d3-a456-426655440000", | |
"creation_time": "2013-02-05T07:25:00Z", | |
"schema": { | |
"namespace": "omh", | |
"name": "calories_burned", | |
"version": "1.1.RC1" | |
"code-url": //new suggestion -- to pull out all data indexed with a SNOMED code? | |
}, | |
"acquisition_provenance": { |
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
@Configuration | |
@EnableAutoConfiguration | |
@ComponentScan("internal.sandbox") | |
public class Application { | |
public static void main(String[] args) { | |
new SpringApplicationBuilder(Application.class).run(args); | |
} | |
} | |
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 internal.sandbox.configuration; | |
import org.springframework.boot.autoconfigure.EnableAutoConfiguration; | |
import org.springframework.boot.builder.SpringApplicationBuilder; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.ComponentScan; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.web.client.RestTemplate; | |
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
apply plugin: 'java' | |
apply plugin: 'maven' // used for deploying artifacts to Maven repositories | |
apply plugin: 'spring-boot' | |
group = 'internal' | |
version = '1.0-SNAPSHOT' | |
description = "" | |
sourceCompatibility = 1.7 | |
targetCompatibility = 1.7 |
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 tv.nativ.mio.publish.common.controller; | |
import org.springframework.http.HttpHeaders; | |
import org.springframework.http.HttpStatus; | |
import org.springframework.http.MediaType; | |
import org.springframework.http.ResponseEntity; | |
import org.springframework.stereotype.Controller; | |
import org.springframework.web.bind.annotation.RequestMapping; | |
import org.springframework.web.bind.annotation.RequestParam; |
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 | |
if [ $# -ne 2 ]; then | |
echo "Usage: $0 file partSizeInMb"; | |
exit 0; | |
fi | |
file=$1 | |
if [ ! -f "$file" ]; then |
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
import com.excilys.ebi.gatling.core.Predef._ | |
class Foo(val a:Int, val b:Int) | |
class TestSimulation extends Simulation { | |
val scn = scenario("testScenario") | |
.exec(session => session.setAttribute("foo", new Foo(1, 2))) | |
.exec(session => { | |
println(session.getAttribute("foo.a")) |