This file contains hidden or 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
{ | |
"Queue": "arn:aws:mediaconvert:ap-northeast-1:77959xxx7093:queues/Default", | |
"UserMetadata": {}, | |
"Role": "arn:aws:iam::779598xxx7093:role/service-role/MediaConvert_Default_Role", | |
"Settings": { | |
"TimecodeConfig": { | |
"Source": "ZEROBASED" | |
}, | |
"OutputGroups": [ | |
{ |
This file contains hidden or 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
//Response when token ts does not match. | |
var response403 = { | |
statusCode: 403, | |
statusDescription: 'Unauthorized', | |
headers: { | |
'cache-control': { | |
'value': 'max-age=1296000' | |
} | |
} | |
}; |
This file contains hidden or 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
# An example of ClusterConfig object with highly available NAT gateways | |
--- | |
apiVersion: eksctl.io/v1alpha5 | |
kind: ClusterConfig | |
metadata: | |
name: cluster-fargate | |
region: ap-northeast-1 | |
vpc: |
This file contains hidden or 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
function handler(event) { | |
var response = event.response; | |
var request = event.request; | |
var ua = request.headers['user-agent']['value'].toLowerCase(); | |
var headers = response.headers; | |
if (ua.indexOf('chrome') > -1) { | |
// Set the cache-control header | |
headers['content-type'] = {value: "application/vnd.android.package-archive"}; | |
} | |
else if (ua.indexOf('firefox') > -1){ |
This file contains hidden or 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
添加opentuna国内源 | |
```shell | |
sudo tee /etc/yum.repos.d/mysql-community.repo<<EOF | |
[mysql-connectors-community] | |
name=MySQL Connectors Community | |
baseurl=https://opentuna.cn/mysql/yum/mysql-connectors-community-el7-aarch64/ | |
enabled=1 | |
gpgcheck=1 | |
gpgkey=https://repo.mysql.com/RPM-GPG-KEY-mysql |
NewerOlder