上一页 1 2 3 4 5 6 7 8 9 ··· 17 下一页
摘要: 不使用jquery来处理ajax请求该怎么做? 首先要明确html中的某些数据需要从服务端获得,也就是客户端向服务端请求(request)数据,服务端就响应(response)这个请求,把客户端要的数据给它。服务端返回的数据格式多样,即可以是字符串,也可以是数字,也可以是对象。客户端接到这些数... 阅读全文
posted @ 2015-07-11 23:28 ibg 阅读(325) 评论(0) 推荐(0)
摘要: python编程环境设置涉及到:自动完成、语法检查、虚拟环境。为了不把系统搞乱,在python的虚拟环境中安装相关的插件。一、安装python虚拟环境 virtualenvwrappersudo apt-get virtualenvwrapper然后创建一个虚拟环境:$ mkvirtualenv -... 阅读全文
posted @ 2015-05-26 22:35 ibg 阅读(7113) 评论(0) 推荐(0)
摘要: org-mode中的约会日程有提醒功能,这样设置就行:;; ;;; 提醒;; (require 'appt);; (appt-activate t);启用约会提醒;; (setq appt-display-format 'window);提醒出现的方式;; (setq appt-message-wa... 阅读全文
posted @ 2015-05-16 22:19 ibg 阅读(1617) 评论(0) 推荐(0)
摘要: Linq中怎么用 between…and? var query = from p in context.Parent from c in context.Child.Where(x => p.cob >= x.effective) ... 阅读全文
posted @ 2015-04-01 22:26 ibg 阅读(1105) 评论(0) 推荐(0)
摘要: Windows 7 + VMware 11 VMWare里:编辑-虚拟网络编辑器-VMnet8(NAT模式)-NAT设置...添加主机端口和虚拟机IP地址以及虚拟机端口 Windows7系统:windows-高级安全windows防火墙-入站规则-新建规则-端口 putty设置:注意在保存sessi 阅读全文
posted @ 2015-03-13 15:47 ibg 阅读(2765) 评论(0) 推荐(0)
摘要: 安装ruby:$ sudo apt-get install ruby-full正在读取软件包列表... 完成正在分析软件包的依赖关系树 正在读取状态信息... 完成 将会安装下列额外的软件包: libruby1.9.1 libruby1.9.1-dbg libtcltk-r... 阅读全文
posted @ 2015-02-22 18:20 ibg 阅读(801) 评论(0) 推荐(0)
摘要: blog├── README.md├── requirements.txt├── setup.py├── static├── wsgi│ ├── application│ ├── db.sqlite3│ ├── __init__.py│ ├── manage.py│ ├── myblog│ │ ├─... 阅读全文
posted @ 2015-02-13 11:41 ibg 阅读(274) 评论(0) 推荐(0)
摘要: openshift上用的是django 1.7,数据库选择的是postgresql 9.2本地开发用的是sqlite3数据库,发布到openshift上后是没有数据的(本地的sqlite3数据库里的数据并没有添加到openshift的数据库里,因为服务端的是postgresql数据库)。那么怎么在o... 阅读全文
posted @ 2015-02-12 10:21 ibg 阅读(914) 评论(0) 推荐(0)
摘要: python 3.3 + django 1.7一、创建新应用$ rhc app create -a mynewapp -t python-3.3二、在新建的目录里添加git库$ cd mynewapp$ git remote add upstream -m master git://github.c... 阅读全文
posted @ 2015-02-06 23:29 ibg 阅读(645) 评论(0) 推荐(0)
摘要: 一、安装virtualbox可以从源里安装sudo apt-get install virtualbox也可以下载最新版安装https://www.virtualbox.org/wiki/Downloads二、安装增强功能安装增强功能前先安装这个:#apt-get install build-ess... 阅读全文
posted @ 2015-01-10 16:58 ibg 阅读(637) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 17 下一页