git学习记录 //首先新建一个文件夹作为仓库,在命令行下进去该文件夹,之后运行git init命令初始化为仓库Press enter to submit commands $ git init $ git add octocat.txt Nice job, you've added octocat.txt to the Staging Area$ git status$ git commi
面试题 1. 简述从浏览器中输入网址到得到网页的过程中发生了什么2. DNS 是如何将 url 转化成 ip address 的?简述其缓存机制3. http 和 https 的区别?通过 http 和 https 两种方式请求网页中间发生了什么?4. 虚拟地址空间是什么?5. 进程间通信的方法?共享内存是什么?
Cannot find the declaration of element 'beans' 错误:Spring 报 :Cannot find the declaration of element 'beans'解决方法:修改了XML中 XSD的版本,从3.0修改为了2.0 因为使用的是Spring 2.x ,应该是XSD和Spring版本不一致导致的详见:http://stackoverflow.com/questions/4972034/maven-spring-can
ClassPathXmlApplicationContext无法加载XML 原因:ClassPathXmlApplicationContext 只能加载classes下的XML文件解决方法:把存在XML的文件夹加入到 classpath or resources链接参见:http://stackoverflow.com/questions/3765998/add-a-properties-file-to-intellijs-classpath方法一:设置po
java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal 背景:从github获得项目,首次运行时,提示错误:java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal原因:I found out that it is the apache poi-ooxml 3.9 jar that I'm using for processing xlsx files which caus
Installing Jenkins on Centos 7 So guide how to get jenkins up and running on centos 71. First install it !yum install -y wgetsudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.reposudo rpm -
vi编辑器 为什么要学vi所有的Unix Like 系统都会内建 vi 文书编辑器基本上 vi 共分为三种模式,分别是『一般模式』、『编辑模式』与『指令列命令模式』。 这三种模式的作用分别是:一般模式:以 vi 打开一个档案就直接迚入一般模式了(这是默认的模式)。在这个模式中, 你可以使用『上下左右』按键来移劢光标,你可以使用『删除字符』或『删除整行』来处理档案内容,
Linux的一些命令 cd:变换目录pwd:显示当前目录(路径) ,加 -P 参数,显示完整路径mkdir:建立一个新的目录rmdir:删除一个空的目录ls -la :以list形式显示目录下的所有文件df :列出磁盘系统的整体磁盘使用量 ,-h 以较为容易阅读的单位显示du:评估文件系统的磁盘使用量(常用在评估目录所占容量)
虚拟机 android 唤醒 virtualbox 安装了最新版的android x86 ,版本4.2.2系统设置,显示中,默认30分钟无操作休眠,唤醒的方式,按一下键盘最下面,空格键边上的打印键,即可唤醒系统。
Python使用xlrd处理Excel 原文地址:http://blog.sina.com.cn/s/blog_63f0cfb20100o617.htmlhttp://pypi.python.org/pypi/xlrd简单使用导入import xlrd打开exceldata = xlrd.open_workbook('demo.xls') #注意这里的workbook首字母是小写查看文
在Ubuntu系统中设置everpad sudo add-apt-repository ppa:nvbn -rm/ppa sudo apt-get update ##这步是系统更新,应该是为了防止缺少安装的某些依赖。 sudo apt-get install everpad
在Ubuntu系统 设置Python+selenium On Ubuntu/Debian systems, this will install pip (and dependencies) and then install the Selenium Python bindings from PyPI:$ sudo apt-get install python-pip$ sudo pip install selenium
Lubuntu 安装输入法有黑块问题的解决方法 #lubuntu fcitx bugsudo add-apt-repository ppa:richardgv/comptonsudo apt-get updatesudo apt-get install compton安装成功之后,za
Ubantu 安装VMWare Tools 背景: ubantu 14.04 (麒麟?) , VMware8按照 http://www.cnblogs.com/sunev/archive/2012/03/16/2400887.html 操作,对部分不同的地方进行记录1、按照教程,把安装文件复制到桌面上 2、在终端上切换到Root 用户输入 sodu su输入当前登录用户的密码3、解压按照教程,要进入桌
Python:使用suite执行unit-test用例 转自:http://stackoverflow.com/questions/1732438/run-all-unit-test-in-python-directory