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.ideas.api.server.services; | |
import com.ideas.dao.LocationDAO; | |
import org.apache.commons.logging.Log; | |
import org.apache.cxf.jaxrs.ext.MessageContext; | |
import redis.clients.jedis.Jedis; | |
import javax.ws.rs.GET; | |
import javax.ws.rs.Path; | |
import javax.ws.rs.PathParam; |
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.kinvey.starter.data.source; | |
import android.app.Activity; | |
import android.content.SharedPreferences; | |
import com.kinvey.KinveyUser; | |
import com.kinvey.starter.data.DataSources; | |
import com.kinvey.starter.entities.UserAuthentication; | |
import com.kinvey.util.KinveyCallback; | |
/** |
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
public class JenkinsController | |
{ | |
public static String METRIC = "m", STANDARD = "s"; | |
@RegisterAsCallback( | |
group = "jenkins", | |
channel = "What is the high today?" | |
) | |
public void checkWeather (Message message) { |
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
public class ServerController extends LiveController | |
{ | |
public ServerController(String group) | |
{ | |
super(group); | |
} | |
@RegisterAsCallback( | |
group = "server-controller", |
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
@GET | |
@Path("/meter-distance-between-locations-with-ids:{origin}:{destination}") | |
@EndpointDescription( | |
name = "Get Distance Between Locations", | |
description = "Get the distance between two saved locations.", | |
signature = "/meter-distance-between-locations-with-ids:{origin}:{destination}", | |
availability = ResourceAvailability.BETA, | |
version = 1.0, | |
returnEntity = "Calculation") | |
public APIResponse meterDistanceBetweenToLocations(@PathParam("origin") Long originId, @PathParam("destination") Long destinationId); |
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
# | |
# Uncrustify Configuration File | |
# File Created With UncrustifyX 0.2 (140) | |
# | |
# Alignment | |
# --------- | |
## Alignment |
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
Good Robots | |
Good Robots is founded on the belief that the worlds population can be feed through the automated stewarding the creation of new ecosystems. Our open platform provides the worlds communities with the information and software to build the tools that will automate these endeavor. We provide robotics kits, hosted software services, and free information to these communities. | |
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 planOptions = [ | |
{ | |
service:"mail", | |
plans: [ | |
{ | |
name: "exchange", | |
plandId: "" | |
} | |
] | |
}, |
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
// First | |
this.frustum = new THREE.Frustum(); | |
this.cameraViewProjectionMatrix = new THREE.Matrix4(); | |
// Second | |
MessageController.sendMessage("app-controller", "add-render-stage", {name: "compute-frustum", stage:function (delta) { | |
MessageController.sendMessage("app-controller", "get-camera", function (camera, frustum, viewProjectionMatrix) { |
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 texture = THREE.ImageUtils.loadTexture(this.data.sun.representation.texture); | |
var shaderMaterial = new THREE.ShaderMaterial( { | |
uniforms: { | |
surface: { | |
type: "t", | |
value: texture | |
}, | |
time: { | |
type: "f", |
OlderNewer