git是一个分布式的版本控制系统,本地有一套完全独立的代码库控制方式,同时又能通过pull和push和远程代码库进行协同开发和合并。gitinit用于初始化本目录为一个本地代码库,之后该目录下所有文件的改动都会被git记录。git remote add repositoryname sshlink_...
分类:
其他好文 时间:
2014-10-17 21:50:59
阅读次数:
263
source :http://bbs.kafan.cn/thread-1391429-1-1.html注册机使用说明:Install Instructions: (Read carefully!)安装说明(仔细阅读!)1. Disable your Network card or pull the ...
分类:
其他好文 时间:
2014-10-16 19:22:13
阅读次数:
287
操作镜像使用 docker 命令行操作 docker 镜像获取镜像使用「docker pull +镜像名称」从网络上下载image镜像core@localhost ~ $ docker pull
Usage: docker pull NAME[:TAG]
Pull an image or a repository from the registry
core@localhost ~/php ...
分类:
其他好文 时间:
2014-10-15 18:52:01
阅读次数:
276
git push origin bug_huiyuan:mobile_attribution 把bug_huiyuan(本地分支) 推送到 远程mobile_attribution分支git push origin master:master 把当地分支master 推送到远程master ...
分类:
其他好文 时间:
2014-10-15 15:06:20
阅读次数:
211
tomcat 服务器是目前比较流行的开源中间件服务器,下面介绍如何使用 docker 来做一个 tomcat 数据库服务。官方的仓里没有标 OFFICIAL 的 tomcat 的镜像,不过 「tutum」的镜像做的非常好,我们可以直接 pull 他们的镜像来完成我们的操作。core@localhost ~/base $ docker pull tutum/tomcat:8.0
Pulling r...
分类:
其他好文 时间:
2014-10-15 11:22:40
阅读次数:
220
mysql 服务器是目前比较流行的开源数据库服务器,下面介绍如何使用docker来做一个mysql数据库服务从网站直接 pull 一个 mysql 的镜像core@localhost ~/base $ docker pull dl.dockerpool.com:5000/mysql:5.7
Pulling repository dl.dockerpool.com:5000/mysql
e95cbb...
分类:
数据库 时间:
2014-10-14 19:26:09
阅读次数:
269
下载官方镜像core@localhost ~ $ docker pull ubuntu:14.04
#如果官方下载较慢,可到www.dockerpool.com下载标准镜像
core@localhost ~ $ docker pull dl.dockerpool.com:5000/ubuntu:14.04
core@localhost ~ $ docker tag dl.dockerpool.co...
分类:
系统相关 时间:
2014-10-14 13:21:18
阅读次数:
316
1. git branch -l 查看本地branch
2. git reset --hard 回滚所有改动
3. git status 查看本地改动
4. git pull 更新代码
5. git commit -a 提交代码
6. git push 提交到服务器
7. git fetch origin xxxxxx 把服务器拉下某个branch
8. git checko...
分类:
其他好文 时间:
2014-10-13 23:41:17
阅读次数:
189
XML解析有传统的dom方法还有Jsoup,SAX,PULL等,这里讲的是比较省内存的SAX和PULL方法。Android中极力推荐用PULL的方式来解析,我个人觉得pull确实比较简单,但其内部的逻辑性不是很分明。所以今天做了个类来将其中的多个步骤进行了分割,以后直接拿来用即可。1.SAX:首先先...
分类:
其他好文 时间:
2014-10-12 12:56:18
阅读次数:
198
1. XML的解析方式都有哪些? 每一种解析方式的执行流程?
设XML为:abcc1
Dom SAX Pull
2.abcc1 以树的方式展现应该是什么样子的
根节点 在上面
子节点和文本在下面
3. 设现有3个Activity,A1, A2, A3,如何实现 A1 启动 A2, A2启动A3后,由A3进行返回操作,直接可以返回到 A1? 举出两种方式?
...
分类:
移动开发 时间:
2014-10-11 15:10:05
阅读次数:
217