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
| import org.springframework.context.annotation.Bean; | |
| import org.springframework.context.annotation.Configuration; | |
| import org.springframework.oxm.jaxb.Jaxb2Marshaller; | |
| @Configuration | |
| public class SOAPConfig { | |
| @Bean | |
| public Jaxb2Marshaller marshaller() { | |
| Jaxb2Marshaller marshaller = new Jaxb2Marshaller(); | |
| // this is the package name specified in the <generatePackage> specified in |
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
| import io.netty.bootstrap.Bootstrap | |
| import io.netty.channel.ChannelHandlerContext | |
| import io.netty.channel.SimpleChannelInboundHandler | |
| import io.netty.channel.nio.NioEventLoopGroup | |
| import io.netty.channel.socket.nio.NioDatagramChannel | |
| import io.netty.util.CharsetUtil | |
| import io.netty.util.concurrent.DefaultThreadFactory | |
| import kotlinx.coroutines.experimental.async | |
| import kotlinx.coroutines.experimental.newFixedThreadPoolContext |
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
| task copyTask << { | |
| println "copy" | |
| copy { | |
| from "src/main/resources" | |
| from "build/libs" | |
| include "**/*.jar" | |
| include "**/*.yml" | |
| include "**/*.sh" |
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 | |
| if [[ -z $1 ]]; then | |
| echo "Please provide the target environment. ex: dev or prod" | |
| exit 1 | |
| fi |
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
| <html> | |
| <head> | |
| <title>this is a title</title> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| <link rel="stylesheet" href="https://necolas.github.io/normalize.css/3.0.2/normalize.css"> | |
| <!-- react --> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.1/react.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.1/JSXTransformer.js"></script> | |
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
| Reactjs, ie8 相容 | |
| ================== | |
| - <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| - <script src="/js/react/es5-shim.js" language="javascript" /> | |
| - <script src="/js/react/es5-sham.js" language="javascript" /> | |
| - 不能用 /js/react/JSXTransformer-0.12.1.js |
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 | |
| .idea | |
| talkevent.ipr | |
| talkevent.iws | |
| talkevent.iml | |
| /bin/ | |
| .classpath | |
| .project | |
| .settings/ | |
| build/ |
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
| buildscript { | |
| repositories { | |
| maven { url "https://repo.spring.io/libs-release" } | |
| mavenLocal() | |
| mavenCentral() | |
| } | |
| dependencies { | |
| classpath( "org.springframework.boot:spring-boot-gradle-plugin:1.2.3.RELEASE" ) | |
| } | |
| } |
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
| systemProp.http.proxyHost=www.somehost.org | |
| systemProp.http.proxyPort=8080 | |
| systemProp.http.proxyUser=userid | |
| systemProp.http.proxyPassword=password | |
| systemProp.http.nonProxyHosts=*.nonproxyrepos.com|localhost | |
| systemProp.https.proxyHost=www.somehost.org | |
| systemProp.https.proxyPort=8080 | |
| systemProp.https.proxyUser=userid | |
| systemProp.https.proxyPassword=password |
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
| apply plugin: 'eclipse' | |
| apply plugin: 'groovy' | |
| repositories { | |
| mavenCentral() | |
| } | |
| dependencies { | |
| compile "org.codehaus.groovy:groovy-all:2.3.6" | |