自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(17)
  • 资源 (13)
  • 收藏
  • 关注

翻译 [it-ebooks]电子书列表v0.1.1

#### 感谢it-ebooks团队 #### it-ebooks电子书质量很好,但搜索功能不太完善 #### 格式说明: [年份] 书名 || 副标题 || 页码 || 链接 ####[2015]:Data Mining Algorithms || Explained Using R || 720 || http://it-ebooks.info/book/4

2015-02-06 00:17:36 11201

原创 python logging 简单使用总结

logging模块简单使用:----1. logging.basicConfig简单设置 filename format datefmt level(默认为DEBUG) eg.    logging.basicConfig(format='%(asctime)s %(levelname)s [%(filename)s:%(lineno)s]: %(message)s', level

2015-01-10 23:38:42 787

原创 [it-ebooks]电子书列表

拉取到it-ebooks.info的所有电子书列表。方便查找

2014-08-20 19:33:41 16055 3

原创 django cms 报 zh-CN/admin/目录错误

问题:部署django-cms时报错/admin/可以正常访问,但是 登录按钮 post到/zh-cn/admin/的地址,但此地址不存在。通过调试,发现是 middleware搞的鬼。在setting.py中屏蔽掉这个。    # 'cms.middleware.multilingual.MultilingualURLMiddleware',从名字看好像是个多语言URL转

2013-03-27 11:53:33 1105

转载 django 复合主键(composit primary key)

【原帖:http://www.yihaomen.com/article/python/252.htm】项目开发中,不是所有表都只有一个主键。如果只有一个主键的情况,django 很容易做,也很好做。在models.py 中定义 class 时,可以直接实现:比如:class Category(models.Model):    catid = models.CharField(

2013-03-26 17:37:08 3123 1

原创 django model 主键自增问题

prize_id = models.IntegerField(primary_key=True, db_column='FId',default=1) 这样写就会出现 save()后  表中数据是update 而不是 insertprize_id = models.IntegerField(primary_key=True, db_column='FId')这样就ok

2013-02-25 15:20:25 12177

转载 找出两个文件之间的不同

【转:http://www.361way.com/comm-diff-awk-file/2112.html】 感谢最近在写一个对比/etc/dhcpd文件的配置IP和arp -n获取的IP比对的脚本。这就要找出两个输出文件之间的差别——即在文件1中有而在文件2中没有部分,或者在文件2中有而在文件1中没有的部分。实现该功能,网上常见的有四种方法,不过在实际测试中发现有一种方法的结果是不准确的

2013-01-06 19:00:32 1240

原创 htmlcomplet.vim 插件bug修复方法 line 304, E121: Undefined

vim中编辑html文件的class=""属性值时报错:line 304, E121: Undefined google出http://udonmai.com/work/htmlcompletec-ompletetags-bug.html 这位老兄的文章此bug修正方法:将310行拷贝到308行的endif之前。具体原因:https://blog.othree.net/log/

2012-12-23 01:58:11 690

原创 git 使用笔记

=== git 使用笔记 ===* 初始化信息# git config user.name "name"# git config user.email [email protected]# git config core.editor vim  # git init  //初始化信息* 从远端pull# git clone git://url # git pul

2012-12-11 17:41:55 496

原创 tiki 中写wiki简单总结

0       两个空格表示背景突出,用来表示 实例/注释 等,其中内容不会被解析  表示换行1  '' 两个'包起来表示斜体字  三个表示粗体  四个表示粗斜体2  == 一个=表示标题最大  六个最小3  ---- 四个-表示插入一个分割线4  [] [http://www.thebuggenie.com The Bug Genie website] 表示超链接(外部)  内部

2012-05-09 23:55:15 1861 1

原创 vim tips

!chrome %:p  [%:p] 表示全路径!chrome %:t  [%:t] 表示文件名参考[http://vim.wikia.com/wiki/Get_the_name_of_the_current_file]

2012-05-08 20:00:33 883 2

原创 我的_vimrc

以前用的_my_vimrc"设置默认主题色20110708colorscheme murphyset nobackup"设置vim IDE 20110902if(has("win32") || has("win95") || has("win64") || has("win16")) "判定当前操作系统类型    let g:iswindows=1else

2012-05-07 22:35:53 853 9

转载 cscope in Windows

下载cscope15.6-win32.zip安装 -----------------------------------安装很简单,只要将cscope的可执行文件放到PATH环境变量包含的目录中即可。(1) 推荐Windows用户将上面下载到的cscope.exe与gvim.exe放在同一个目录下,如D:\Program Files\Vim\vim72下。(2) "我的电脑

2011-11-10 13:11:59 891

原创 xp 下给VIM配置tagList时不能解析.cpp

解析.cpp时出现  "ags” 不是可执行命令肯定是 哪里把ctags命令截断了。 原因未知。调试设置 参考http://forum.ubuntu.org.cn/viewtopic.php?t=276259 由于win下 路径问题,他先把 要执行命令行 放入temp下的临时cmd文件中。然后用system()执行 之前输出命令正确。但是system()执行出错

2011-11-01 19:14:51 678 1

原创 stuff of program

<br />MIT Press - How To Design Programs.pdf<br />Effective C++.chm<br />More Effective C++.chm<br />Effective+STL.pdf<br />Getting_started_with_open_source_development_p2.pdf<br /> <br />ChilkatVC10.zip<br />boost_1_45_pdf<br /> <br />DiveIntoPython-zh-cn

2011-02-10 11:39:00 573 2

原创 glog简单示例

<br />#include "stdafx.h"#include "logging.h"#include <iostream>#include <vector>using namespace std;#pragma comment(lib,"libglog.lib")int _tmain(int argc, char* argv[]){ // Initialize Google's logging library. google::InitGoogleLogging(a

2010-12-07 17:53:00 1409

原创 InstallScript MSI Project中添加License

<br />InstallScript Project的向导中有 Installation Interview一项可以设置License.<br />选择yes。在生成的SetUp.Rul脚本文件中找到相关代码<br />Dlg_SdLicense2: szTitle = ""; szOpt1 = ""; szOpt2 = ""; //{{IS_SCRIPT_TAG(License_File_Path) szLicenseFile = SUPPORTDIR

2010-11-23 15:59:00 1150

MongoDB_Architecture_Guide.pdf

MongoDB Architecture Guide 白皮书 目录: Table of Contents Industry Context 1 Document Model & MongoDB Query Language 2 Multi-Cloud, Global Database 5 MongoDB Cloud with Search, Data Lake, and Mobile 9 Conclusion and Next Steps 10 We Can Help 11 Resources 12

2021-07-20

Linux Productivity Tools.pdf

高效Linux工具使用 • Part 1: Overview and Logistics • Part 2: Basics • Part 3: Streams, pipe and redirection • Part 4: Classic Tools: find, grep, awk, sed • Part 5: Session Management: tmux • Part 6: ssh: config and tunneling • Part 7: Bash Tools • Part 8: Miscellaneous Utilities • Summary • Practice and Exercises (if time permits else Offline)

2020-05-20

GeoServer官网推荐书籍: Mastering GeoServer & GeoServer Beginner's Guide

http://geoserver.org/ 官网推荐书籍, 包含Mastering GeoServer.pdf 和 GeoServer Beginner's Guide.pdf 两本。 文字目录清晰

2017-11-01

R Programming for Data Science

R Programming for Data Science by (Roger D. Peng)

2017-01-16

PostgreSQL Cookbook.pdf

PostgreSQL Cookbook.pdf Over 90 hands-on recipes to effectively manage, administer, and design solutions using PostgreSQL

2016-12-22

Learning PostgreSQL.pdf

Learning PostgreSQL.pdf Create, develop, and manage relational databases in real-world applications using PostgreSQL

2016-12-22

GridMove 窗口划分

1 GridMove安装程序 2 GridMove源代码 3 一个经典的窗口布局文件

2012-09-05

vim的wiki插件 vimwiki

vimwiki 在 vim官网所有插件中 好评排第三。 此包中含有五个文件: vimwiki1.2 包 vimwiki2.0 最新包,刚刚发布的 介绍及文档 Vimwiki1.1.1QR.pdf Vimwiki syntax markup.html vimwiki_Description.txt 感谢vimwiki创作者

2012-05-10

vim plugin (python)

包中包括: python.vim pythoncomplete.vim nerdtree.zip vim-autocomplpop.zip 四个插件及vim官网中对应的说明。 送给那些不能上官网的青年。

2012-05-08

python 读写 Excel 包(xlrd xlwt xlutils)

其中包括三个包和一个文档(en) 1 xlrd-0.7.7.tar.gz 2 xlwt-0.7.4.tar.gz 3 xlutils-1.5.2.tar.gz 4 python-excel.pdf 其中三个包内都有示例文件参考 再加上一个Working with Excel files in Python 的文档。 剩下的就是 coding it 了

2012-05-06

GooglePinyin安装包

谷歌拼音安装包: GooglePinyinInstaller

2012-05-05

windows git 安装(Git-1.7.8 和 TortoiseGit-1.7.6 )

windows下安装乌龟版Git 1. Git-1.7.8-preview20111206.exe 2. TortoiseGit-1.7.6.0-32bit.msi 顺序安装

2012-05-05

CommandBarSetup.msi 命令行工具

CommandBar windows下的cmd增强工具 可以在当前文件夹下嵌入cmd窗口 不用敲一堆堆cd命令 只有200K 小巧便捷

2012-05-05

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除