国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
$ make start | |
===========> Starting openim | |
# Begin to start all openim service scripts | |
All binaries have been installed in /Users/fingerart/Workspace/Go/open-im-server/_output/bin/platforms/darwin/amd64。 | |
You need to start the following scripts in order: openim-api.sh openim-rpc.sh openim-push.sh openim-msgtransfer.sh openim-msggateway.sh openim-crontask.sh openim-tools.sh | |
## Pre Starting OpenIM services | |
Preparing to start OpenIM Tools... | |
Starting ncpu... |
# fingerart @ MacBookPro in ~/Workspace/Go/open-im-server on git:release-v3.5 x [0:28:39] | |
$ make check | |
===========> Checking openim | |
# Begin to check all openim service | |
+++ [0306 00:30:27] Check all dependent service ports | |
+-------------------------+----------+ | |
| Service Name | Port | | |
+-------------------------+----------+ |
# Begin to start all openim service scripts | |
## Pre Starting OpenIM services | |
Preparing to start OpenIM Tools... | |
Starting ncpu... | |
Starting PATH: /Users/fingerart/Workspace/Go/open-im-server/_output/bin/tools/darwin/amd64/ncpu... | |
+++ [0306 00:26:28] Starting ncpu... | |
4Starting component... | |
Starting PATH: /Users/fingerart/Workspace/Go/open-im-server/_output/bin/tools/darwin/amd64/component... |
# Clean, simple, compatible and meaningful. | |
# Tested on Linux, Unix and Windows under ANSI colors. | |
# It is recommended to use with a dark background. | |
# Colors: black, red, green, yellow, *blue, magenta, cyan, and white. | |
# | |
# Mar 2013 Yad Smood | |
# VCS | |
YS_VCS_PROMPT_PREFIX1=" %{$fg[white]%}on%{$reset_color%} " | |
YS_VCS_PROMPT_PREFIX2=":%{$fg[cyan]%}" |
一桌菜,十几盘,有荤有素,有凉有热,怎么吃呢?你可以找一盘看起来好吃的,也可以找一盘离自己近的,都行。但是,得动筷子。不管怎么吃,最重要的是得动筷子。学技术也是一样。
有的人死活不动筷子,还不断念叨:“我要开始吃了。我马上就要开始吃了。我只要开始吃就能吃饱。我吃饱了就不饿了。你能不能告诉我该先吃哪一盘?先冷盘后热菜再喝汤这样是不是最好?但是我听说广东人都是先喝汤?这盘菜会不会太远了?这盘会不会太油腻?我吃饱了万一想拉屎你们这里有厕所吗?我真的马上就要开始吃了……为什么我现在还是饿?你能不能帮帮我?”
by tombkeeper @2017-11-28
如需配合目录食用请访问这里
#!/bin/sh | |
# | |
# nginx - this script starts and stops the nginx daemin | |
# | |
# chkconfig: - 85 15 | |
# description: Nginx is an HTTP(S) server, HTTP(S) reverse \ | |
# proxy and IMAP/POP3 proxy server | |
# processname: nginx | |
# config: /usr/local/nginx/conf/nginx.conf | |
# pidfile: /usr/local/nginx/logs/nginx.pid |
import android.support.annotation.NonNull; | |
import android.support.annotation.Nullable; | |
import com.itextpdf.text.Document; | |
import com.itextpdf.text.DocumentException; | |
import com.itextpdf.text.Image; | |
import com.itextpdf.text.Paragraph; | |
import com.itextpdf.text.Rectangle; | |
import com.itextpdf.text.pdf.PdfReader; | |
import com.itextpdf.text.pdf.PdfSignatureAppearance; |
git init # 初始化本地git仓库(创建新仓库) | |
git config --global user.name "xxx" # 配置用户名 | |
git config --global user.email "xxx@xxx.com" # 配置邮件 | |
git config --global color.ui true # git status等命令自动着色 | |
git config --global color.status auto | |
git config --global color.diff auto | |
git config --global color.branch auto | |
git config --global color.interactive auto | |
git config --global --unset http.proxy # remove proxy configuration on git | |
git clone git+ssh://git@192.168.53.168/VT.git # clone远程仓库 |