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> | |
<html lang="en"> | |
<head> | |
<title>Social Business Playground</title> | |
<script type="text/javascript"> | |
dojoConfig = { | |
parseOnLoad: true | |
}; | |
</script> | |
<script type="text/javascript" src="http://localhost:8080/sbt.dojo180/dojo/dojo.js.uncompressed.js"></script> |
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
<%String blogId = "Wd361f673ec26_43d4_b13a_5aa47d694352"; | |
String url = "/blogs/roller-ui/rendering/feed/" + blogId + "/entries/atom?lang=en_us"; | |
Endpoint ep = EndpointFactory.getEndpoint("smartcloudOA2"); | |
Response response = ep.xhrGet(url); | |
%> |
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
# DEMONSTRATION PURPOSES CODE ONLY | |
# Run | |
# - python demo.py EMAIL_LOGIN PASSWORD COMMUNITY_UUID | |
# demo.py | |
# Demonstrates the process of getting information from the IBM SmartCloud for Social Business | |
# 1 - access to the contacts lists | |
# 2 - access to the community membership list | |
# 3 - from an access list converting it to a comma separate value |
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
# DEMONSTRATION PURPOSES CODE ONLY | |
# Run | |
# - python demo.py EMAIL_LOGIN PASSWORD COMMUNITY_UUID | |
# demo.py | |
# Demonstrates the process of getting information from the IBM SmartCloud for Social Business | |
# 1 - access to the contacts lists | |
# 2 - access to the community membership list | |
# 3 - from an access list converting it to a comma separate value |
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 json.demo; | |
import com.ibm.commons.util.io.json.JsonException; | |
import com.ibm.commons.util.io.json.JsonJavaFactory; | |
import com.ibm.commons.util.io.json.JsonJavaObject; | |
import com.ibm.commons.util.io.json.JsonParser; | |
import com.ibm.sbt.services.client.base.datahandlers.JsonDataHandler; | |
public class Main { |
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
#YAML Demonstration | |
swagger: '2.0' | |
info: | |
title: Demonstration of Swagger Yaml with Enumeration | |
description: Simple Demonstration of Enumeration | |
version: "1.0.0" | |
host: api.bastide.org | |
schemes: | |
- https | |
basePath: /1 |
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 COMPUTE MODULE CreateData_Compute | |
CREATE FUNCTION Main() RETURNS BOOLEAN | |
BEGIN | |
DECLARE Source CHARACTER 'Production' ; | |
DECLARE DBSchema CHARACTER 'DB2ADMIN'; | |
DECLARE Table CHARACTER 'EMPLOYEE'; | |
SET OutputRoot = InputRoot; | |
DECLARE EMPNO1 REFERENCE TO InputRoot.JSON.Data.EMPNO; |
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 DATABASE MODULE Test2_Database | |
CREATE FUNCTION Main() RETURNS BOOLEAN | |
BEGIN | |
SET Environment.Variables = | |
THE (SELECT T.* FROM Database.EMP AS T); | |
RETURN TRUE; | |
END; | |
END MODULE; |
OlderNewer