scm002
码龄13年
关注
提问 私信
  • 博客:106,407
    106,407
    总访问量
  • 195
    原创
  • 1,543,181
    排名
  • 8
    粉丝
  • 0
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:北京市
  • 加入CSDN时间: 2011-07-08
博客简介:

scm002的博客

查看详细资料
个人成就
  • 获得21次点赞
  • 内容获得0次评论
  • 获得82次收藏
创作历程
  • 31篇
    2017年
  • 36篇
    2016年
  • 15篇
    2015年
  • 14篇
    2014年
  • 10篇
    2013年
  • 89篇
    2012年
TA的专栏
  • Python
    88篇
  • Shell
    14篇
  • Makefile
    4篇
  • Tkinter
    10篇
  • PyQt4
    25篇
  • Linux
    5篇
  • Perl
  • Android
    1篇
  • Git/Gerrit
    29篇
  • Tool
    6篇
  • Jenkins
    3篇
  • Mysql
    1篇
  • Jira
    2篇
  • json
  • Docker
    1篇
  • KODExplorer
    1篇
创作活动更多

如何做好一份技术文档?

无论你是技术大神还是初涉此领域的新手,都欢迎分享你的宝贵经验、独到见解与创新方法,为技术传播之路点亮明灯!

342人参与 去创作
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

Ubuntu setup kodexplorer

1. Setup XAMPPDownload XAMPP:https://www.apachefriends.org/index.html Install XAMPPhttps://www.apachefriends.org/faq_linux.html 2. Setup KODExplorerDownload:http://www.kalcaddle.com...
原创
发布博客 2017.06.28 ·
311 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Copying files from host to Docker container

The cp command can be used for that. For example:docker cp foo.txt mycontainer:/foo.txtdocker cp mycontainer:/foo.txt foo.txt https://docs.docker.com/engine/reference/commandline/cp/http:...
原创
发布博客 2017.06.26 ·
293 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

lxml.etree

http://www.cnblogs.com/bluescorpio/archive/2013/06/09/3127964.htmlhttp://blog.csdn.net/u012063703/article/details/51754665http://www.jianshu.com/p/f446663c970f 1. 判断是否有子元素或子节点使用len(element...
原创
发布博客 2017.06.21 ·
340 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

How to modify existing, unpushed or pushed commits?

https://stackoverflow.com/questions/179123/how-to-modify-existing-unpushed-commits Amending the most recent commit messagegit commit --amendwill open your editor, allowing you to change the c...
原创
发布博客 2017.06.20 ·
333 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

How to modify existing, unpushed or pushed commits?

https://stackoverflow.com/questions/179123/how-to-modify-existing-unpushed-commits Amending the most recent commit messagegit commit --amendwill open your editor, allowing you to change the c...
原创
发布博客 2017.06.20 ·
333 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

git diff提示filemode发生改变(old mode 100644、new mode 10075)

今天在提交代码之前 git status了一下,发现一片红啊~每个git库下的所有文件都飘红了,抽什么疯啊? 我不可能修改那么多~~git diff 了一下,发现都是diff --git a/Android.mk b/Android.mkold mode 100644new mode 100755原来是filemode的变化,文件chmod后其文件某些位是改变了...
原创
发布博客 2017.06.10 ·
461 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

Playing With Gerrit Jira Plugin

Playing With Gerrit Jira PluginAug 5th, 2014Build and Setup1. Clone the Gerrit source:1$ git clone https://gerrit.googlesource.com/gerrit2. Checkout to version 2.8 (2....
原创
发布博客 2017.06.09 ·
534 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Gerrit mysql error: Communications link failure

fatal: DbInjector failed fatal: Unable to determine SqlDialect fatal:   caused by com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure fatal: fatal: Th...
原创
发布博客 2017.05.24 ·
410 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

mysql卸载重装 invoke-rc.d: initscript dkimproxy, action "start" failed. dpkg:处理 dkim

invoke-rc.d: initscript dkimproxy, action "start" failed.dpkg:处理 dkimproxy (--configure)时出错: 子进程 已安装 post-installation 脚本 返回了错误号 2dpkg:依赖关系问题使得 dtc-toaster 的配置工作不能继续: dtc-toaster 依赖于 dkimproxy...
原创
发布博客 2017.03.29 ·
1262 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

ubuntu12.04下OpenLDAP的安装部署

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取决于本机域名,...
原创
发布博客 2017.03.29 ·
214 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

查看什么进程占用了3000端口

查看什么进程占用了3000端口fuser -n tcp 3000结果为:3000/tcp:              941 然后kill -9 941
原创
发布博客 2017.03.24 ·
2377 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Gerrit replication.config

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/he...
原创
发布博客 2017.03.16 ·
1472 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

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...
原创
发布博客 2017.03.10 ·
1986 阅读 ·
0 点赞 ·
0 评论 ·
6 收藏

Make Gerrit look for new repositories

Command line alternativeCopy bare Git repository into ~/gerrit_testsite/git/myproject.gitMake Gerrit look for new repositories:$ ssh -p 29418 alexadmin@localhost gerrit flush-caches --cache pro...
原创
发布博客 2017.03.08 ·
138 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Python dictdiffer模块比较两个字典

http://dictdiffer.readthedocs.io/en/latest/ Dictdiffer    Dictdiffer is a helper module that helps you to diff and patch dictionaries.InstallationDictdiffer is on PyPI so all you need i...
原创
发布博客 2017.03.04 ·
4765 阅读 ·
3 点赞 ·
0 评论 ·
5 收藏

gitlab 项目迁移

gitlab项目迁移: 一: 场景    目前有2个gitlab server,需要将gitlab-A server项目迁移到另外一个gitlab-B server.二: 步骤    1. 在gitLab-B上新建组和项目,组和项目名称和gitlab-A的组合项目名称一一对应。    2. 将gitlab-A项目clone到本地       git clone htt...
原创
发布博客 2017.03.04 ·
878 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Gerrit reviewer plugin

https://gerrit.googlesource.com/plugins/reviewers/+doc/master/src/main/resources/Documentation/config.md ConfigurationGlobal configuration of the @PLUGIN@ plugin is done in the reviewers.config...
原创
发布博客 2017.02.20 ·
921 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

One or more refs/for/ names blocks change upload

One or more refs/for/ names blocks change uploadversion v2.12.7Table of ContentsWith this error message Gerrit rejects to push a commit for code review if the remote git repository ...
原创
发布博客 2017.02.16 ·
390 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Python的高级Git库 Gittle安装使用方法

本文为大家讲解的是Python的高级Git库 Gittle安装使用方法,Gittle是一个高级纯python git 库。构建在dulwich之上,提供了大部分的低层机制。Install itpip install gittleExamples :Clone a repositoryfrom gittle import Gittle repo_path = '/tm...
原创
发布博客 2017.02.15 ·
685 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

GitPython 库

GitPython is a python library used to interact with git repositories. It provides abstractions of git objects for easy access of repository data, and additionally allows you to access the git reposit...
原创
发布博客 2017.02.15 ·
593 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多