:q[uit]
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
/* | |
Copyright (c) 2021, 2023, Oracle and/or its affiliates. | |
This software is dual-licensed to you under the Universal Permissive License | |
(UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License | |
2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose | |
either license. | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. |
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: Pod | |
metadata: | |
name: odsa-spring | |
spec: | |
containers: | |
- name: odsa-spring | |
image: orclacregistry.azurecr.io/odsa-spring:v1 | |
imagePullSecrets: | |
- name: acr-secret |
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.oracle.dev.jdbc; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.sql.Connection; | |
import java.sql.DatabaseMetaData; | |
import java.sql.PreparedStatement; | |
import java.sql.ResultSet; | |
import java.sql.SQLException; | |
import java.util.Properties; |
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.oracle.dev.jdbc; | |
import java.sql.SQLException; | |
import java.util.Map; | |
import java.util.Optional; | |
import com.microsoft.azure.functions.ExecutionContext; | |
import com.microsoft.azure.functions.HttpMethod; | |
import com.microsoft.azure.functions.HttpRequestMessage; | |
import com.microsoft.azure.functions.HttpResponseMessage; |
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
FROM openjdk:17 | |
COPY target/odsa-spring-0.0.1-SNAPSHOT.jar /app.jar | |
EXPOSE 8080 | |
CMD ["java", "-jar", "app.jar"] |
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
{ | |
"@context": "dtmi:dtdl:context;2", | |
"@id": "dtmi:com:example:Thermostat;1", | |
"@type": "Interface", | |
"displayName": "Thermostat", | |
"description": "Reports current temperature and provides desired temperature control.", | |
"contents": [ | |
{ | |
"@type": [ | |
"Telemetry", |
Em Português:
-
Introdução à Ciência da Computação com Python Parte 1 (USP) https://www.coursera.org/…/ciencia-computacao-python-concei…
-
Introdução à Ciência da Computação com Python Parte 2 (USP) https://pt.coursera.org/…/ciencia-computacao-python-conceit…
-
Python Fundamentos para Análise de Dados http://www.datascienceacademy.com.br/…/curso-python-fundame…
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
// Hyperledger Blockchain Smart Contract (chaincode) - PoC | |
// Hackathon 2020 - Team Green Ireland - July 2020 | |
// Project: for Blockchain to Transform the Supply Chain Management for Microsoft Devices | |
// Team members: Farouk Mezghich, Farouk Mezghich, Juarez Barbosa Junior | |
package main | |
import ( | |
"bytes" | |
"encoding/json" |
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
pragma solidity ^0.5.16; | |
contract HelloBlockchain | |
{ | |
//Set of States | |
enum StateType { Request, Respond } | |
//List of properties | |
StateType public State; | |
address public Requestor; |