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
export HTTP_PROXY=localhost:10809 | |
./cloud_sql_proxy $* |
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
package com.hiczp.example.spring.security.webflux.google.iap | |
import org.springframework.boot.context.properties.EnableConfigurationProperties | |
import org.springframework.cloud.gcp.autoconfigure.security.IapAuthenticationProperties | |
import org.springframework.context.annotation.Bean | |
import org.springframework.context.annotation.Configuration | |
import org.springframework.security.config.Customizer | |
import org.springframework.security.config.annotation.method.configuration.EnableReactiveMethodSecurity | |
import org.springframework.security.config.annotation.web.reactive.EnableWebFluxSecurity | |
import org.springframework.security.config.web.server.ServerHttpSecurity |
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
gradle.taskGraph.whenReady { taskGraph -> | |
tasks.signMavenJavaPublication.onlyIf { taskGraph.hasTask tasks.publish } | |
} | |
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
dispatch: | |
- url: "*/api/*" | |
service: api | |
- url: "*/api" | |
service: api | |
- url: "*/*" | |
service: front-end |
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
service: default | |
runtime: java11 | |
#https://cloud.google.com/appengine/docs/standard | |
instance_class: F4 | |
env_variables: | |
JAVA_TOOL_OPTIONS: "-Xmx1024m -XX:TieredStopAtLevel=1 -Xverify:none" | |
automatic_scaling: | |
max_concurrent_requests: 80 |
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
service: front-end | |
runtime: nodejs12 | |
instance_class: F1 | |
handlers: | |
- url: /(.*\.(.*))$ | |
static_files: dist/\1 | |
upload: dist/.*\.(js|js\.map|css)$ | |
secure: always | |
redirect_http_response_code: 301 |
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
update mysql.user set authentication_string=PASSWORD("yourpassword") where User='root'; | |
update mysql.user set plugin='mysql_native_password' where User = 'root'; |
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
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope LocalMachine |
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
mp0: /mnt/bindmounts/shared,mp=/shared |
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
auto lo | |
iface lo inet loopback | |
# lan1(left) | |
auto eno1 | |
iface eno1 inet manual | |
# bridge to lan1 | |
auto vmbr0 | |
iface vmbr0 inet static |
NewerOlder