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
{ | |
"command": 0, | |
"data": [ | |
{ | |
"address": "51200 Kuala Lumpur", | |
"age": 60, | |
"birth": "", | |
"bodyTemperature": "36.50", | |
"certificateNumber": "590703106243", | |
"certificateType": 111, |
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
{ | |
"command" : 0, | |
"data" : [ | |
{ | |
"address" : "", | |
"age" : 0, | |
"birth" : "", | |
"bodyTemperature" : "36.33", | |
"certificateNumber" : "", | |
"certificateType" : 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
{"command":0,"data":[{"address":"","age":0,"birth":"","bodyTemperature":"36.33","certificateNumber":"","certificateType":0,"country":"","deviceid":"0500209E","email":"","gender":"0","groupId":"","id":2,"name":"","nation":"","personId":"","phone":"","respirator":0,"timestamp":"2020-05-2311:20:33.894","userid":""}],"detail":"success","recordCount":1,"status":0,"transmit_cast":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
{ | |
"name" : "jeremy", | |
"data" : "kepung@gmail.com", | |
"temperature" :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
using Newtonsoft.Json; | |
using System; | |
using System.IO; | |
using System.Linq; | |
using System.Net.Http; | |
using System.ServiceProcess; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Timers; | |
using System.Drawing; |
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
def overrides(interface_class): | |
def overrider(method): | |
assert(method.__name__ in dir(interface_class)) | |
return method | |
return overrider | |
class MySuperInterface(object): | |
def my_method(self): | |
print('hello world!') |
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: Service | |
metadata: | |
name: mysql | |
spec: | |
ports: | |
- port: 3306 | |
selector: | |
app: mysql | |
clusterIP: None |
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: apps/v1 | |
kind: Deployment | |
metadata: | |
name: azure-vote-back | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: azure-vote-back | |
template: |
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
<?xml version="1.0" encoding="utf-8"?> | |
<!-- This file is used in azure-pipelines.yml --> | |
<configuration> | |
<packageSources> | |
<clear/> | |
<add key="local" value="NugetPackage" /> | |
</packageSources> | |
</configuration> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<!-- This file is used in azure-pipelines.yml --> | |
<configuration> | |
<packageSources> | |
<clear/> | |
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" /> | |
</packageSources> | |
</configuration> |