摘要: 使用pip安装docker-compose时报 unsupported operand type(s) for -=: 'Retry' and 'int' 错误,经过一番google后,发现使用升级setuptools解决了这个问题: `sudo pip install --upgrade setuptools` From WizNote 阅读全文
posted @ 2018-01-08 16:45 JefferyZh 阅读(1036) 评论(0) 推荐(0) 编辑
摘要: 今天使用的是virtualenvwrapper,相较于使用virtualenv, 好处就是把所有环境都放在同一目录下管理,以便更好的管理及切换。 首先需要确认有 pip 是否已经安装, 若没有需要先安装 pip,因我们所有包都是用pip来安装 。 可使用下面命令去安装: 也可直接从官网下载安... 阅读全文
posted @ 2015-12-03 14:02 JefferyZh 阅读(1421) 评论(0) 推荐(0) 编辑
摘要: 创建Launcher 以创建pycharm的launcher为例 1. 创建文件pycharm.desktop 2. 编辑该文件加入如下行: 3. 设置文件为可执行 4. 在terminal中运行 (可选操作) 阅读全文
posted @ 2015-11-03 16:37 JefferyZh 阅读(678) 评论(0) 推荐(0) 编辑
摘要: 运行 运行 几个关键命令 断点设置 运行 查看 命令集合 | 命令 | 解释 | | | | | break 或 b | 设置断点 | | continue 或 c | 继续执行程序 | | list 或 l | 查看当前行的代码段 | | step 或 ... 阅读全文
posted @ 2015-10-29 11:48 JefferyZh 阅读(30156) 评论(0) 推荐(2) 编辑
摘要: 本例的Jupyter安装在Python3下,以增加Python2内核为例。首先确认在Python3下已安装了内核:ipython kernel install --user#orpython3 -m ipykernel install --user然后确保Python2下安装了ipykernelsudo pip2 install -U ipykernel然后运行如下命令:python2 -m ip... 阅读全文
posted @ 2015-10-08 16:58 JefferyZh 阅读(14306) 评论(0) 推荐(0) 编辑
摘要: 通过继承User类增加一个字段/// 用户信息[Serializable][ModelCheckMode(ModelCheckModes.CheckTableWhenFirstUse)][BindIndex("IX_User_DepartmentId", false, "DepartmentId")][BindRelation("DepartmentId", false, "Department"... 阅读全文
posted @ 2015-06-02 08:59 JefferyZh 阅读(448) 评论(0) 推荐(0) 编辑
摘要: combobox数据加载完后设置默认值 $('#ck').combobox({ url: '/External/GetAllCk', valueField: 'Ddbh', textField: 'Ddmc', onLoadSuccess... 阅读全文
posted @ 2015-03-24 20:03 JefferyZh 阅读(2260) 评论(0) 推荐(0) 编辑
摘要: [C#调用dll时的类型转换总结](http://blog.chinaunix.net/uid-16685753-id-2738234.html "C#调用dll时的类型转换总结 ") 阅读全文
posted @ 2015-03-02 14:38 JefferyZh 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 由于VisualStudio创建类和接口时,默认的是不加public关键字的,而我们大多数时候创建的类都是public的,于是,为了更好工作觉得改之。首先找到在VisualStudio安装目录下路径`C:\Program Files (x86)\Microsoft Visual Studio 12.... 阅读全文
posted @ 2015-01-19 14:13 JefferyZh 阅读(445) 评论(0) 推荐(0) 编辑
摘要: ## **[读懂IL代码就这么简单](http://www.cnblogs.com/zery/p/3366175.html)** #### **[由浅入深CIL系列](http://www.cnblogs.com/chengxingliang/archive/2012/02/13/2342621.h... 阅读全文
posted @ 2015-01-19 11:18 JefferyZh 阅读(212) 评论(0) 推荐(0) 编辑