自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Coder

商业化产品可能是有用的, 但最好的东西往往是免费的, 空气,水,Vim。

  • 博客(9)
  • 资源 (5)
  • 收藏
  • 关注

原创 python source/working/home directory

working_directory = os.getcwd() home_directory = expanduser("~")

2014-11-25 09:07:36 1021

原创 Linux 帐号管理

useradd usermod userdel

2014-11-14 09:11:35 1070

转载 The Linux user login management (/etc/passwd and /etc/shadow files)

原文cHave you ever thought what happens behind the doors when a user login happens in Linux? Where is the login information for a user is kept in Linux and how the validation of user crede

2014-11-13 22:04:54 1801

原创 linux ctime/mtime/atime

linux使用ctime/mtime/atime 来标记文档时间,ctime: c不代表create而是change的意思,比如文件内容的修改权限的修改都会改变ctimemtime:  m是modify的意思,和ctime唯一的区别是权限的修改对其没有影响atime:   a是文件访问的时间,比如你打开一个文件即使对起没有任何的修改也会对这个时间产生影响为了方便学习

2014-11-12 11:45:06 1476

原创 git alias 设置

过去我们常用下面这样的方式来设置别名git config --global alias.st status

2014-11-11 20:09:41 17061 1

原创 python: class VS instance

在CPP中我们认为class是一个对象的定义,instance就是这个对象的具体实例,所以class没有任何现实的意义不能提供直接的操作。但是在python里面就是完全不一样的世界,python秉承了部分java的every is object的设计理念,那对class本身当然也不能放过,所以这里的class也同样是一个实例,只不过只此一份,不能随便派生,自然我们联想到了CPP中的singlton

2014-11-06 17:16:02 1632

原创 django 带参数的 url

url就像筋络一样把django这个大框架的各个部分紧紧的连接成一个整体,所以要了解django从url开始是一个不错的方向。一般的view template url的关系这里就不讲了,下面会详细介绍下在url中参数的传递的例子。1.  简单的参数调用url(r’^articles/(\d{4})/(\d{2})/$’,’news.views.month

2014-11-05 19:39:37 13875

转载 django_table2

django-tables2Internal APIs Docs » django-tables2 - An app for creating HTML tables Edit on GitHubdjango-tables2 - An app for creating HTML tablesdjango

2014-11-05 12:22:05 5444

原创 sqlite3 脚本的使用

sqlite3的脚本工具详细介绍可以参照: http://www.sqlite.org/cli.html

2014-11-05 07:57:20 4983

magic_byte_for_linux_file

magic byte for linux file

2013-08-23

Effective C++

Scott Meyers' book, Effective C++, Third Edition, is distilled programming experience — experience that you would otherwise have to learn the hard way. This book is a great resource that I recommend to everybody who writes C++ professionally

2009-03-19

Programming Windows with MFC

MFC, as you probably already know, is Microsoft's C++ class library for Windows programming. Programming Windows with MFC isn't a book about C++; rather, it's a book about writing 32-bit Windows applications in C++ using MFC rather than the Windows API as the chief means of accessing the operating system's essential features and services.

2009-03-18

空空如也

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

TA关注的人

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