国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
<portlet> | |
<portlet-name>demo</portlet-name> | |
<display-name>demo</display-name> | |
<portlet-class>xyz.fanqi.demo.portlet.DemoPortlet</portlet-class> | |
<init-param> | |
<name>view-template</name> | |
<value>/portlet/demo/view.jsp</value> | |
</init-param> | |
<init-param> | |
<name>add-process-action-success-action</name> |
package xyz.fanqi.jsoup; | |
import org.jsoup.Connection; | |
import org.jsoup.Connection.Response; | |
import org.jsoup.Jsoup; | |
import org.jsoup.nodes.Document; | |
public class JsoupLoginTest { | |
public static void main(String[] args) throws Exception { |
//resolve the problem of "java.net.SocketTimeoutException: connect timed out" | |
xuggler.jar.url=https://files.liferay.com/mirrors/xuggle.googlecode.com/svn/trunk/repo/share/java/xuggle/xuggle-xuggler/5.4/ | |
//resolve the problem of "JVM Crash" | |
xuggler.jar.file[64-win]=xuggle-xuggler-arch-x86_64-w64-mingw32_LIFERAY-PATCHED-1.jar |
package xyz.fanqi.java; | |
public class LogicalOperator { | |
public static void main(String[] args) { | |
//长路与运算 | |
System.out.println("长路与运算:" + (b1() & b2())); | |
//短路与运算 | |
System.out.println("短路与运算:" + (b1() && b2())); | |
//长路或运算 | |
System.out.println("长路或运算:" + (b3() | b4())); |
<p>昆明正在上映的电影: <select id="movie"><option value="">请选择。。。</option> </select></p> | |
<hr /> | |
<p id="intro"> </p> | |
<script> | |
YUI().use('aui-io-request','node',function(Y){ | |
Y.io.request( | |
'https://api.douban.com/v2/movie/in_theaters?city=%E6%98%86%E6%98%8E', | |
{ | |
dataType: 'json', |
# Get Sudo. | |
if [ $EUID != 0 ]; then | |
sudo "$0" "$@" | |
exit $? | |
fi | |
# Install Xcode first - https://itunes.apple.com/us/app/xcode/id497799835?ls=1&mt=12 | |
# Install Xcode command line tools. | |
xcode-select --install |
scopeGroupId | |
expandoRowLocalService | |
reserved-article-id | |
unicodeLanguageUtil | |
serviceLocator | |
reserved-article-author-email-address | |
userGroupPermission | |
userPermission | |
staticFieldGetter | |
Images |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+