先下载postgresql的python包,选择合适自己的python版本和平台32位还是64位,http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml下载win环境下postgresql接口,http://www.stickpeople.com/projec...
分类:
数据库 时间:
2014-04-30 04:29:48
阅读次数:
482
Listing 1: Setting up data binding for the
Rating
controlusingSystem.Windows.Controls;usingSystem.Windows.Data;usingMicrosoft.LightSwitch.Threading;na...
分类:
其他好文 时间:
2014-04-30 01:57:00
阅读次数:
517
[uwsgi]socket = 127.0.0.1:3032chdir =
/data/www/yida/pythonpath = ..env = DJANGO_SETTINGS_MODULE=yida.settingsmodule =
django.core.handlers.wsgi:WSGIH...
分类:
其他好文 时间:
2014-04-29 23:26:08
阅读次数:
611
---恢复内容开始---说起lazy_object,首先想到的是django
orm中的query_set、fn.Stream这两个类。query_set只在需要数据库中的数据的时候才 产生db
hits。Stream对象只有在用到index时才会去一次次next。例子: f = Stream(.....
分类:
编程语言 时间:
2014-04-29 21:27:01
阅读次数:
676
eclipse中的maven插件安装之后,window->preference->Maven下的Installation中最好设置成本地的maven路径,然后User
Setting中的setting.xml一般不设置,这样eclipse会直接去~/.m2/下去找本地仓库里面的内容。如果我们已经有了...
分类:
其他好文 时间:
2014-04-29 09:18:47
阅读次数:
988
sudo update-grub运行结果:Generating grub configuration
file ...Warning: Setting GRUB_TIMEOUT to a non-zero value when
GRUB_HIDDEN_TIMEOUT is set is no lon...
分类:
其他好文 时间:
2014-04-28 13:01:32
阅读次数:
1053
系统是ubuntu12.04一、安装apachesudo apt-get install
apache启动:sudo apachectl start (开机默认启动的)重启:sudo apachectl restart关闭:sudo
apachectl stop安装之后在浏览器中访问127.0.0....
分类:
系统相关 时间:
2014-04-27 23:57:43
阅读次数:
742