使用 Docker 搭建 Java Web 运行环境原料前提条件首先,您要准备一个 CentOS 的操作系统,虚拟机也行。总之,可以通过 Linux 客户端工具访问到 CentOS 操作系统就行。需要说明的是,Ubuntu 或其它 Linux 操作系统也能玩 Docker,只不过本文选择了以 Cen...
分类:
编程语言 时间:
2015-04-08 16:18:29
阅读次数:
175
Centos配置本地yum源1、将系统镜像安装的光驱中2、挂载镜像第一步:cd/media第二步:在meida目录下mkdircdrom第三步:mount/dev/cdrom/media/cdrom3、cd/etc/yum.repos.d该目录下有以下4个文件CentOS-Debuginfo.repoCentOS-fasttrack.repoCentOS-Media.repo//本地源配置文件Cen..
分类:
其他好文 时间:
2015-04-07 19:55:00
阅读次数:
141
uva 674 Coin ChangeSuppose there are 5 types of coins: 50-cent, 25-cent, 10-cent, 5-cent, and 1-cent. We want to make changes with these coins for a given amount of money.For example, if we have 11 cen...
分类:
其他好文 时间:
2015-03-11 19:43:09
阅读次数:
142
原文:10分钟学会理解和解决MySQL乱码问题 在阅读本文之前,强烈建议对字符集编码概念还比较模糊的同学 阅读下博主之前对相关概念的一篇科普:十分钟搞清字符集和字符编码 本博客已经迁移至: http://cenalulu.github.io/ 为了更好的体验,请通过此链接阅读: http://cen...
分类:
数据库 时间:
2015-03-10 13:50:05
阅读次数:
257
Best SequenceTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 5135Accepted: 2040DescriptionThe twenty-first century is a biology-technology de...
分类:
其他好文 时间:
2015-02-09 21:25:27
阅读次数:
216
原文 Centos7系统配置上的变化(三)为网络接口添加多IP实验的方法有 nmtui, 编辑ifcfg-*文件,ip addr 指令,子连接配置文件。一、nmtui手工添加IP看一下当前网络设备的IP,为了精简指令输出,指令就要复杂一些了:view sourceprint?01.[root@cen...
分类:
其他好文 时间:
2015-01-29 23:48:12
阅读次数:
324
Background from Wikipedia: \Set theory is abranch of mathematics created principally by theGerman mathematician Georg Cantor at the end ofthe 19th cen...
分类:
其他好文 时间:
2015-01-24 22:36:39
阅读次数:
240
Problem G. Birthday Cake
Background
Lucy and Lily are twins. Today is their birthday. Mother buys a birthday cake for them.Now we put the cake onto a Descartes coordinate. Its cen...
分类:
其他好文 时间:
2015-01-22 18:18:05
阅读次数:
171
这里我直接上代码吧需要引入jquery或者zepto1、CSS主要是简单的加载进度样式<!--css-->
.loadPage{background:#007CC2;z-index:9999;width:100%;position:fixed;top:0;bottom:0;}
.loading{position:absolute;width:100%;left:0%;top:30%;margin:20pxauto;text-align:cen..
分类:
Web程序 时间:
2015-01-08 15:40:39
阅读次数:
145