自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 资源 (3)
  • 收藏
  • 关注

转载 Enable/disable a device from the command line

Enable/disable a device from the command lineInstall DevconDisplay all the devices in the systemEnable/disable the deviceOther devic

2011-08-24 08:24:12 1423 1

原创 jquery心得

圖片動態加載    $("#img1").attr("src", "/static/photo/P1050278.JPG"); 頁面跳轉location.href ="/photo_{{ prev }}/"window滾動win

2011-08-22 16:41:31 430

原创 Django Ajax POST请求失败解决办法

Django到了1.2.5版本以上,Ajax POST请求的使用发生了一些改变,我们还记得前些版本1.2,Django加入了CSRF机制,大大增强了网络请求的安全性,正是因为这点,现在的Django对页面任何POST请求的数据进行跨域攻击保护。当你升级到1.2.5或更高版本后,你

2011-08-19 14:14:26 3445

原创 django 使用urllib2碰到的csrf問題的解決

import urllibimport urllib2import contextlibdef login(login_url, username, password): """ Login to site """ cookies = u

2011-08-19 13:15:10 1878

原创 django comments

view代碼: user = request.user initial={} if user.is_authenticated(): initial={'name': user.username, 'email': user.e

2011-08-18 13:18:18 969

原创 resize script for galleria

$(window).resize(function() { var h = $(window).height(); var galleriaHeight = h-54; var w = $(".content").width(); var

2011-08-15 16:47:47 742

原创 How to use Django with Apache and mod_wsgi

edit httpd.confWSGIScriptAlias / /home/liuke/www/django/hello/apache/django.wsgiadd filedjango.wsgiimport osimport syspath

2011-08-10 21:53:20 782

原创 How to use Django with Apache and mod_python

os: ubuntu 10.04django: version 2.5apache: 2python: 2.61. install python, django, apache, mod_pythonapt-get install 2.edit h

2011-08-10 13:33:52 513

原创 win7 自動關機

比如你的电脑要在22:00关机,可以选择“开始→运行”,输入“at 22:00 Shutdown -s”,这样,到了22点电脑就会出现“系统关机”对话框,默认有30秒钟的倒计时并提示你保存工作。如果你想以倒计时的方式关机,可以输入“Shutdown.exe -s -t 3600”

2011-08-06 10:58:18 775 1

原创 Delphi Operaton not applicable 錯誤

個別的電腦在使用Delphi 2009開發的系統時會出現Operaton not applicable的錯誤,經研究發現出現此問題的主要原因是該電腦上有多個版本的midas.dll文件所造成的問題,經測試可以按以下方法解決1、regsver32 /u midas.

2011-08-02 15:10:33 865

Delphi 2010/xe 多点触控及鼠标手势范例

Delphi 2010/xe Touch, multitouch and Gestures Samples 多点触控及鼠标手势范例

2011-04-22

Mastering EJB3.0 - 4th Ed.pdf

Mastering EJB3.0 - 4th Ed.pdf

2009-12-01

The-New-Datasnap-in-Delphi-2009

The-New-Datasnap-in-Delphi-2009 pdf

2009-05-12

空空如也

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

TA关注的人

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