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
| /** | |
| * @author palm | |
| * 解析json获取电影背景图片 | |
| */ | |
| public class Image { | |
| /** | |
| * api接口及token | |
| * api_key: TMDB api key | |
| */ | |
| private final String api_key="{your api key}"; |
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
| #!/bin/bash -ex | |
| sudo yum -y update | |
| amazon-linux-extras install -y lamp-mariadb10.2-php7.2 php7.2 | |
| sudo yum install -y httpd mariadb-server | |
| sudo chkconfig httpd on | |
| sudo service httpd start | |
| cd /home/ec2-user | |
| sudo wget https://aws-tc-largeobjects.s3-us-west-2.amazonaws.com/ILT-TF-200-ACACAD-20-EN/capstone-project/Countrydatadump.sql | |
| sudo chown ec2-user:ec2-user Countrydatadump.sql | |
| cd /var/www/html |
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
| AWSTemplateFormatVersion: "2010-09-09" | |
| Description: cafe S3 template | |
| Resources: | |
| S3Bucket: | |
| Type: AWS::S3::Bucket | |
| ## Attach a deletion policy that will retain the bucket | |
| DeletionPolicy: Retain | |
| Properties: | |
| AccessControl: PublicRead |
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
| # mysql | |
| spring.jpa.hibernate.ddl-auto=update | |
| spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver | |
| # default properties | |
| spring.profiles.active=dev | |
| #spring.jpa.show-sql: true | |
| # MyBatis | |
| mybatis.configuration.map-underscore-to-camel-case=true |
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
| # Block iOS Update | |
| DOMAIN,mesu.apple.com | |
| DOMAIN,gdmf.apple.com | |
| DOMAIN,updates-http.cdn-apple.com | |
| DOMAIN,xp.apple.com |