- 博客(6)
- 资源 (1)
- 收藏
- 关注
转载 python re.search 和 re.match 正则表达式
原文:http://www.111cn.net/phper/157/37171_1.htm一 re.search 和 re.matchpython提供了2中主要的正则表达式操作:re.match 和 re.search。match :只从字符串的开始与正则表达式匹配,匹配成功返回matchobject,否则返回none;search :将字符串的所有字串尝试与正则表达式
2015-09-29 10:49:47 7898
转载 python log
http://kenby.iteye.com/blog/1162698#!/usr/bin/env python# -*- coding: utf-8 -*-import logging# 创建一个loggerlogger = logging.getLogger('mylogger')logger.setLevel(logging.DEBUG)
2015-09-25 15:21:13 323
原创 shell常用快捷键整理
Ctrl-k Kill the text from the current cursor position to the end of the line. Alt-d/M- Kill from the cursor to the end/start of the current word. Ctrl-w Kill from the cu
2015-09-23 14:26:20 432
转载 git 【基本概念】
转载:http://bbs.chinaunix.net/thread-4136014-1-1.html【基本概念】A) git本地由三个部分组成:工作区 和 暂存区 和 本地库。B) .git目录才是仓库的灵魂,.git目录里面包括 暂存区 和 本地库,.git目录外的地方是工作区。C) git中包含4类对象 (commit 提交对象, tree 目录, blob 文件, tag
2015-09-22 15:44:33 632
转载 Git 101
Git 101原文:http://blog.dayanjia.com/2014/03/git-101/ 按:这篇文章原本是写了用作公司内部分享的,现在重新整理了部分内容(好歹写了那么多字呢),放在这里以飨各位:)欢迎来到 Git 101。学习 Git 的第一条规则就是,你不能谈及自己在学习 Git1。因
2015-09-22 15:13:14 1243
转载 30. Resolving Conflicts
http://githowto.com/resolving_conflictsGoalsTo learn to resolve merging conflicts01Merge the master branch with styleLet us go back to the style branch and merge it with a new master
2015-09-18 16:25:25 530
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人