yum安装Docker及入门使用
一、安装 1、配置yum源 # vim /etc/yum.repos.d/docker.repo [dockerrepo] name=Docker Repository baseurl=https://yum.dockerproject.org/repo/main/centos/$releasever/ enabled=1 gpgcheck=1 gpgkey=https://yum.dockerproject.org/gpg 2、通过yum安装 # yum install docker-eng
Docker搭建Java Web环境(Centos6.8+JDK8+tomcat8)
一、在docker中pull centos 为了与原有的虚拟机区分开来,这里我们下载用centos6.8 64位的环境。 原有虚拟机环境: 利用docker查找一下centos镜像信息: 可以看到,在Docker中,可以pull的centos已经更新到最新的7.3版本了。 我们这里pull一下centos6.8。 相关命令:docker pull daocloud.io/library/centos:6.8 下载完毕后用docker images查看一下。 二、启动centos容器(容器是在镜
9个超绚丽的HTML5 3D图片动画特效
在Web 1.0时代,我们的网页中图片数量非常少,而且都是以静态图片为主。HTML5的出现,推动了Web 2.0的发展,同时也催生出了很多绚丽的HTML5图片动画特效,特别是有些还有3D的动画效果。本文收集了9个非常绚丽的HTML5 3D图片动画特效,分享给大家,希望你们喜欢。 1、纯CSS3 3D旋转图片墙动画 这是一款基于纯CSS3的3D旋转图片墙,这款纯CSS3图片动画非常炫酷,一张张图片不断旋转,组合成一个动画片段。当然这款动画是基于CSS3的,因此你需要更优秀的浏览器,另外动画有3D
jstree的基本使用例子
jstree的基本使用例子
var menu = (function() {
var _menu = {data:{},
initMenu : function() {
$.jstree.defaults.core.themes.variant = "large";
$.jstree.defaults.core.themes.responsive = true;
$.jstree.defaults
clientWidth、offsetWidth等介绍
网页可见区域宽:document.body.clientWidth 网页可见区域高:document.body.clientHeight 网页可见区域宽:document.body.offsetWidth (包括边线的宽) 网页可见区域高:document.body.offsetHeight (包括边线的宽) 网页正文全文宽:document.body.scrollWidth 网页正文全文高:document.body.scrollHeight 网页被卷去的高:document.body.sc
JS 获取浏览器窗口大小clientWidth、offsetWidth、scrollWidth
常用: JS 获取浏览器窗口大小
// 获取窗口宽度
if (window.innerWidth)
winWidth = window.innerWidth;
else if ((document.body) && (document.body.clientWidth))
winWidth = document.body.clientWidth;
// 获取窗口高度
if (window.innerHeight)
winHeight = window.innerHeight;
else if
使用Fiddler进行web抓包
1.浏览器代理设置 (1)IE或360浏览器代理都是自动开启的; 代理查看方式:浏览器菜单栏上:工具—>Internet选项—>连接—>局域网设置—>高级代理。
Fiddler开启之后,代理自动修改;
(2)火狐浏览器 火狐浏览器启动之后,Fiddler没有反应,是因为火狐代理是自己独立的,不会像IE、360那样自动改变;
代理设置:——>选项——>高级——>网络——>连接——>设置——>手动配置代理——>Http代理和端口输入(与Fiddler代
Fiddler工具使用报告
1.测试所需环境 运行环境: Windows8 Fiddier版本:Fiddler V4.4.6.2 浏览器: Google Chrome 2.前期准备 为了在Chrome浏览器上使用Fiddler,我们把Chrome的代理服务器设置成如下所示: 新建一个情景模式,把Chrome的代理设置成Fiddier的网络地址,在这儿是在本地调试,所以设置成127.0.0.1,Fiddier监听的端口号是8888,这里把端口号设置成8888,这样我们就能在Fiddler下监听到Chrome浏览器的会话内容
Fiddler在APP测试工作中的应用实例
1、辅助定位bug 场景:在APP界面输入数据,点击下一步时,提示错误;这时候不能判断问题的根本原因在哪里,是前端页面作限制导致? 1.1、实例–APP抓包 前提:APP、fiddler在同一局域网 1.1.1、fiddler设置 Tools>Options>Connections,勾选Allow remote computers to connect,同时记住fiddler listen on port的端口号。 1.1.2、获取pc端ip 开始菜单>cmd>ipconfig 1.1.3
Windows - How to change default system font in Windows 10
版权声明:欢迎转载并请注明出处,谢谢~~ https://blog.csdn.net/chimomo/article/details/50654411 You can’t change default system font of Windows 10 from settings app or control panel so that you can change the fonts of icons, context menu, properties or dialog box. If
Data Structure - Doubly Linked List (Java)
版权声明:欢迎转载并请注明出处,谢谢~~ https://blog.csdn.net/chimomo/article/details/85071636
package chimomo.learning.java.datastructure;
/**
* @author Created by Chimomo
*/
public class DoublyLinkedList<AnyType> implements Iterable<AnyType> {
private Node<
Data Structure - Array List (Java)
版权声明:欢迎转载并请注明出处,谢谢~~ https://blog.csdn.net/chimomo/article/details/85160095
package chimomo.learning.java.datastructure;
/**
* @author Created by Chimomo
*/
public class ArrayList<T> implements Iterable<T> {
private static final int DEFAULT
Selenium - How does the Selenium WebDriver work?
版权声明:欢迎转载并请注明出处,谢谢~~ https://blog.csdn.net/chimomo/article/details/50903268 Actually, your automation scripts use Selenium commands for emulating user actions on a web page. When the automation script is executed, the following steps happen: 1. The
Data Structure - Binary Search Tree (Java)
版权声明:欢迎转载并请注明出处,谢谢~~ https://blog.csdn.net/chimomo/article/details/85249234
package chimomo.learning.java.datastructure;
/**
* Implements an unbalanced binary search tree.
* Note that all "matching" is based on the compareTo method.
*
* @autho
Data Structure - Binary Heap (Java)
版权声明:欢迎转载并请注明出处,谢谢~~ https://blog.csdn.net/chimomo/article/details/85253138
package chimomo.learning.java.datastructure;
/**
* Implements a binary heap.
* Note that all "matching" is based on the compareTo method.
*
* @author Created by Chimom
Data Structure - AVL Tree (Java)
版权声明:欢迎转载并请注明出处,谢谢~~ https://blog.csdn.net/chimomo/article/details/85265483
package chimomo.learning.java.datastructure;
/**
* Implements an AVL tree.
* Note that all "matching" is based on the compareTo method.
*
* @author Created by Chimomo
Data Structure - Red Black Tree (Java)
版权声明:欢迎转载并请注明出处,谢谢~~ https://blog.csdn.net/chimomo/article/details/85273558
package chimomo.learning.java.datastructure;
/**
* Implements a red-black tree.
* Note that all "matching" is based on the compareTo method.
*
* @author Created by Chi
Data Structure - Splay Tree (Java)
版权声明:欢迎转载并请注明出处,谢谢~~ https://blog.csdn.net/chimomo/article/details/85276098
package chimomo.learning.java.datastructure;
/**
* Implements a top-down splay tree.
* Note that all "matching" is based on the compareTo method.
*
* @author Created b
今日推荐
周排行