./bin/servicemix
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
language: c | |
sudo: false | |
before_install: | |
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh) | |
install: | |
- sudo apt-get install -qq gcc-avr binutils-avr avr-libc | |
- arduino --install-library "aREST" | |
script: | |
- build_platform uno | |
notifications: |
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
#include <SPI.h> | |
#include <Ethernet.h> | |
#include <aREST.h> | |
#include <avr/wdt.h> | |
const int RAIN_D = 2; //Used to get rain sensor information | |
const int RAIN_A = A5; //Used to get rain sensor information | |
const String DIGITAL_MESSAGE_VALUE = "Digital value : "; | |
const String ANALOGIC_MESSAGE_VALUE = "Analogic value: "; | |
int digitalValue = 0; |
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
var myNewChart; | |
var data = { | |
datasets: [{ | |
data: [300, 50, 100], | |
backgroundColor: [ | |
"#F7464A", | |
"#46BFBD", | |
"#FDB45C" | |
] |
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
<!-- Create the HTTP pool --> | |
<bean id="http" class="org.apache.camel.component.http.HttpComponent"> | |
<property name="camelContext" ref="camel" /> | |
<property name="httpConnectionManager" ref="myHttpConnectionManager" /> | |
</bean> |
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 com.test.ldap; | |
import java.util.Properties; | |
import javax.naming.Context; | |
import javax.naming.NamingException; | |
import javax.naming.directory.DirContext; | |
import javax.naming.directory.InitialDirContext; | |
public class LdapConnection { |
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
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Parameters": { | |
"ApplicationBucket": { | |
"Type": "String", | |
"Description": "The bucket name with artifact" | |
}, | |
"ApiKey": { | |
"Type": "String", | |
"Description": "The API key to make requests to server" |
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
{ | |
"AWSTemplateFormatVersion":"2010-09-09", | |
"Metadata":{ | |
"AWS::CloudFormation::Interface":{ | |
"ParameterGroups":[ | |
{ | |
"Label":{ | |
"default":"Application version" | |
}, | |
"Parameters":[ |
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
services: | |
thing-provider-service: | |
image: node | |
working_dir: /usr/src/app | |
volumes: | |
- ./:/usr/src/app | |
command: bash -c "npm install && npm start" | |
ports: | |
- "3002:3002" | |
depends_on: |
OlderNewer