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
--- | |
apiVersion: "v1" | |
kind: "List" | |
items: | |
- apiVersion: "v1" | |
kind: "ServiceAccount" | |
metadata: | |
labels: | |
app: "bestseller-toys" | |
version: "1.0-SNAPSHOT" |
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.ryanjbaxter.spring.cloud.ocr.web; | |
import com.netflix.client.RequestSpecificRetryHandler; | |
import com.netflix.client.config.CommonClientConfigKey; | |
import com.netflix.client.config.IClientConfig; | |
import com.netflix.client.http.HttpRequest; | |
import com.netflix.client.http.HttpResponse; | |
import com.netflix.loadbalancer.Server; | |
import com.netflix.niws.client.http.RestClient; | |
import com.sun.jersey.api.client.Client; |
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.example; | |
import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.boot.SpringApplication; | |
import org.springframework.boot.autoconfigure.SpringBootApplication; | |
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker; | |
import org.springframework.cloud.sleuth.sampler.AlwaysSampler; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.stereotype.Component; |
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 host = "quickstart.messaging.internetofthings.ibmcloud.com"; | |
var port = 1883; | |
var SensorTag = require('sensortag'); | |
var mqtt = require('mqtt'); | |
var topic = 'iot-2/evt/lux/fmt/json'; | |
var clientId = 'd:quickstart:sensortag:ryanssensortag'; | |
console.log('running'); | |
var luxListeners = []; | |
SensorTag.discover(function(sensorTag) { | |
console.log('found sensor tag'); |
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 Client = require('ibmiotf').IotfApplication; | |
var app = new Client({ | |
"org" : "quickstart", | |
"id" : "interconnectdemo" | |
}); | |
app.connect(); | |
app.on('connect', function() { | |
console.log('connected'); | |
app.subscribeToDeviceEvents('+','b0b448b87385','+'); |
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 | |
# | |
# This product includes software originally developed by IBM Corporation. | |
# | |
# | |
# Copyright IBM Corp. 2015 | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at |
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
{ | |
"timestamp": 1418224526735, | |
"info": { | |
"remote": true, | |
"serviceId": "reply", | |
"headers": { | |
"request": { | |
"content-type": "application/json;charset=utf-8", | |
"connection": "keep-alive", | |
"accept-language": "en-US,en;q=0.5", |
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
Mon, 01 Dec 2014 15:59:44 GMT yosemite-bindings sendCBMsg: 1, { | |
"kCBMsgArgName": "node-1417449584367", | |
"kCBMsgArgOptions": { | |
"kCBInitOptionShowPowerAlert": 0 | |
}, | |
"kCBMsgArgType": 0 | |
} | |
Mon, 01 Dec 2014 15:59:44 GMT yosemite-bindings xpcEvent: { | |
"kCBMsgId": 6, | |
"kCBMsgArgs": { |
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
Mon, 01 Dec 2014 15:57:59 GMT yosemite-bindings sendCBMsg: 1, { | |
"kCBMsgArgName": "node-1417449479965", | |
"kCBMsgArgOptions": { | |
"kCBInitOptionShowPowerAlert": 0 | |
}, | |
"kCBMsgArgType": 0 | |
} | |
Mon, 01 Dec 2014 15:57:59 GMT yosemite-bindings xpcEvent: { | |
"kCBMsgId": 6, | |
"kCBMsgArgs": { |
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.acme.demo.browserfunction; | |
import org.eclipse.swt.SWT; | |
import org.eclipse.swt.browser.Browser; | |
import org.eclipse.swt.browser.BrowserFunction; | |
import org.eclipse.swt.widgets.Composite; | |
import org.eclipse.ui.part.ViewPart; | |
public class DemoBrowserFunctionView extends ViewPart { | |
NewerOlder