`
scm002
  • 浏览: 309309 次
社区版块
存档分类
最新评论
文章列表
1. Setup XAMPP Download XAMPP: https://www.apachefriends.org/index.html   Install XAMPP https://www.apachefriends.org/faq_linux.html   2. Setup KODExplorer Download: http://www.kalcaddle.com/download.html   sudo cp -r kodexplorer/ /opt/lampp/htdocs/ chmod 777 kodexplorer chmod -R 777 ko ...
The cp command can be used for that. For example: docker cp foo.txt mycontainer:/foo.txt docker cp mycontainer:/foo.txt foo.txt   https://docs.docker.com/engine/reference/commandline/cp/ http://blog.csdn.net/yangzhenping/article/details/43667785  

lxml.etree

http://www.cnblogs.com/bluescorpio/archive/2013/06/09/3127964.html http://blog.csdn.net/u012063703/article/details/51754665 http://www.jianshu.com/p/f446663c970f   1. 判断是否有子元素或子节点 使用len(element),这更清楚,也不容易犯错。 >>> print(etree.iselement(root))  # test if it's some kind of Element T ...
https://stackoverflow.com/questions/179123/how-to-modify-existing-unpushed-commits   Amending the most recent commit message git commit --amend will open your editor, allowing you to change the commit message of the most recent commit. Additionally, you can set the commit message directly in the ...
今天在提交代码之前 git status了一下,发现一片红啊~每个git库下的所有文件都飘红了,抽什么疯啊? 我不可能修改那么多~~ git diff 了一下,发现都是 diff --git a/Android.mk b/Android.mk old mode 100644 new mode 100755 原来是filemode的变化,文件chmod后其文件某些位是改变了的,如果严格的比较原文件和chmod后的文件,两者是有区别的,但是源代码通常只关心文本内容,因此chmod产生的变化应该忽略,所以设置一下: 切到源码的根目录下, repo forall -c ...
Playing With Gerrit Jira Plugin Aug 5th, 2014 Build and Setup 1. Clone the Gerrit source: 1 $ git clone https://gerrit.googlesource.com/gerrit 2. Checkout to version 2.8 (2.8 is the latest stable version), include to update submodules: 1 2 3 $ cd gerrit $ gi ...
fatal: DbInjector failed   fatal: Unable to determine SqlDialect   fatal:   caused by com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure   fatal:   fatal: The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any ...
invoke-rc.d: initscript dkimproxy, action "start" failed. dpkg:处理 dkimproxy (--configure)时出错: 子进程 已安装 post-installation 脚本 返回了错误号 2 dpkg:依赖关系问题使得 dtc-toaster 的配置工作不能继续: dtc-toaster 依赖于 dkimproxy;然而: 软件包 dkimproxy 尚未配置。 dpkg:处理 dtc-toaster (--configure)时出错: 依赖关系问题 - 仍未被配置 由于已经达到 ...
1、ldap server OS:ubuntu server 12.04 2、ldap 软件: OpenLDAP 2.4.28 一、ldap服务的配置与使用 1、修改主机域名  Java代码   vi /etc/hosts    127.0.1.1 ldapserver.my.com.cn ldapserver   安装软件时默认创建的base DN取决于本机域名,根据实际情况修改域名。 2、软件安装  Java代码  
查看什么进程占用了3000端口 fuser -n tcp 3000 结果为: 3000/tcp:              941   然后kill -9 941
replication.config [remote "slave "] #   url = ssh://user@172.16.2.35:29418/${name}.git    url = ssh://gerrit2@172.16.2.35/home/gerrit2/review_site/git/${name}.git    push = +refs/heads/*:refs/heads/*    push = +refs/tags/*:refs/tags/*    mirror = true    threads = 2    createMissi ...

Gerrit命令

查看可见的群组 ssh -p 29418 admin@localhost gerrit ls-groups #创建新的项目,--owner需要的群组必须要在Gerrit已经定义好的  ssh -p 29418 admin@localhost gerrit create-project "test/helloworld" --description "'Tools used by build system'" --owner "user/admin" --parent "All-Projects" #修改项目配 ...
Command line alternative Copy bare Git repository into ~/gerrit_testsite/git/myproject.git Make Gerrit look for new repositories: $ ssh -p 29418 alexadmin@localhost gerrit flush-caches --cache project_list   创建或copy了新的.git库到gerrit server上后,如果想要在gerrit页面看到,必须重启gerrit才能生效。 运行此命令后,即可在gerrit页面看到,不 ...
http://dictdiffer.readthedocs.io/en/latest/   Dictdiffer   

gitlab 项目迁移

 
gitlab项目迁移:   一: 场景     目前有2个gitlab server,需要将gitlab-A server项目迁移到另外一个gitlab-B server. 二: 步骤     1. 在gitLab-B上新建组和项目,组和项目名称和gitlab-A的组合项目名称一一对应。     2. 将gitlab-A项目clone到本地        git clone https://github.com/group/hello.git     3. 进入项目hello, 执行一下命令        cd hello        git remote set-url ...
Global site tag (gtag.js) - Google Analytics