上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 39 下一页
摘要: git rm -r --cached a/2.txt //删除a目录下的2.txt文件 删除a目录git rm -r --cached a git commit -m "删除a目录下的2.txt文件" git push Note: 用-r参数删除目录, git rm --cached a.txt 删 阅读全文
posted @ 2017-10-26 16:09 wangmo 阅读(2273) 评论(0) 推荐(0) 编辑
摘要: 1.登录gitbash命令端进入本地git库目录 Administrator@PC201601200946 MINGW32 /d/gitrespository/crmweb (master) 2.创建.gitignore 3.修改文件,添加忽略正则 .idea //忽略.idea文件夹及文件夹下文件 阅读全文
posted @ 2017-10-26 15:37 wangmo 阅读(149159) 评论(2) 推荐(9) 编辑
摘要: 使用re模块将下面的表达式计算出来expression='1-2*((60+2*(-3-40.0/5)*(9-2*5/3+7/3*99/4*2998+10*568/14))-(-4*3)/(16-3*2))' 1 # -*- coding:utf-8 -*- 2 import re 3 4 # expression='1-2*((60+2*(-3-40.0/5)*(9-2*5/... 阅读全文
posted @ 2017-10-26 14:44 wangmo 阅读(299) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python # -*- coding:utf-8 -*- """ 该计算器思路: 1、递归寻找表达式中只含有 数字和运算符的表达式,并计算结果 2、由于整数计算会忽略小数,所有的数字都认为是浮点型操作,以此来保留小数 使用技术: 1、正则表达式 2、递归 执行流程如下: ******************** 请计算表达式: 1... 阅读全文
posted @ 2017-10-23 17:55 wangmo 阅读(395) 评论(0) 推荐(0) 编辑
摘要: Pycharm用鼠标滚轮控制字体大小的 一、pycharm字体放大的设置 File —> setting —> Keymap —>在搜寻框中输入:increase —> Increase Font Size(双击) —> 在弹出的对话框中选择Add Mouse Shortcut 在弹出的对话框中同时 阅读全文
posted @ 2017-10-23 16:51 wangmo 阅读(881) 评论(0) 推荐(0) 编辑
摘要: 前言:从mysql 5.5版本开始,mysql源码安装开始使用cmake了,编译安装跟以前的版本有点不一样了。 一,安装步骤: 1.安装前准备工作 a.下载mysql源代码包,到mysql下载页面选择MYSQL Community Serve Source Code 版本 注意:不要选择Linux- 阅读全文
posted @ 2017-10-23 14:34 wangmo 阅读(2016) 评论(0) 推荐(0) 编辑
摘要: 常用模块 阅读目录 一 time与datetime模块 二 random模块 三 os模块 四 sys模块 五 shutil模块 六 json&pickle模块 七 shelve模块 八 xml模块 九 configparser模块 十 hashlib模块 十一 suprocess模块 十二 log 阅读全文
posted @ 2017-10-22 22:24 wangmo 阅读(443) 评论(0) 推荐(0) 编辑
摘要: 1. 首先,假定我们应用的名字叫helloworld(可以参考简单 RPM 包制作来创建两个版本helloworld安装RPM包,helloworld-1.0.0-1.el6.x86_64.rpm和helloworld-1.0.0-2.el6.x86_64.rpm,其中第二个rpm包是第一个的升级包 阅读全文
posted @ 2017-09-27 18:02 wangmo 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 阅读全文
posted @ 2017-09-19 16:32 wangmo 阅读(806) 评论(0) 推荐(0) 编辑
摘要: JetBrains 授权服务器(License Server URL):http://idea.imsxm.com 使用方法:激活时选择License server 填入http://idea.imsxm.com 点击Active即可。 how-to-active: when active,type 阅读全文
posted @ 2017-09-11 17:33 wangmo 阅读(723) 评论(0) 推荐(0) 编辑
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 39 下一页