摘要: ([^ ].+[^ ]) 阅读全文
posted @ 2012-01-04 21:24 snowlueng 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 分为client和server#clientcd ~/.ssh/ls #看看有没有xxx和xxx.pub#有#就复制xxx.pub的内容发送给server#无ssh-keygen#复制生成后的xxx.pub内容给server#serversudo apt-get install openssh-serversudo apt-get install git-coresudo add user gitsu gitcdmkdir git/gitproject1mkdir git/gitproject1#需要推多少个项目就生成多少个空文件来管理cd ~/git/gitproject1git --bar 阅读全文
posted @ 2012-01-02 13:17 snowlueng 阅读(315) 评论(0) 推荐(0) 编辑
摘要: python的这个问题。sudo apt-get installpython-imaging python-setuptools python-dev 阅读全文
posted @ 2011-12-13 21:58 snowlueng 阅读(252) 评论(0) 推荐(0) 编辑
摘要: from:http://www.mikechambers.com/blog/2011/11/11/clarifications-on-flash-player-for-mobile-browsers-the-flash-platform-and-the-future-of-flash/I have worked with Flash and been part of the Flash community for about 12 or 13 years (over 10 of those with Macromedia and Adobe). Over that time there hav 阅读全文
posted @ 2011-11-14 21:17 snowlueng 阅读(198) 评论(0) 推荐(0) 编辑
摘要: function GetRequest() { var url = location.search; //获取url中”?”符后的字串 var theRequest = new Object(); if (url.indexOf("?") != -1) { var str = url.substr(1); strs = str.split("&"); for(var i = 0; i < strs.length; i ++) { theRequest[strs[i].split("=")[0]]=unescape(str 阅读全文
posted @ 2011-10-12 16:27 snowlueng 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 这个系列,全都是。目前正在细化每一个节 阅读全文
posted @ 2011-10-07 23:00 snowlueng 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2011-10-07 21:36 snowlueng 阅读(189) 评论(0) 推荐(0) 编辑
摘要: #sudo apt-get install apache2 php5 libapache2-mod-php5#sudo apt-get install mysql-server mysql-client php5-mysql安装LAMP ............安装python-mysql#sudo apt-get install python-mysqldb安装djangohttps://www.djangoproject.com/download/以上网址有!/Files/snowleung/Django-1.3.1.rar方便大家,这里上传!安装方法tar xzvf Django-1.3 阅读全文
posted @ 2011-10-04 20:24 snowlueng 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 希望大家可以在评论中帮忙指出错误,这文是 用来翻译如下链接的。https://docs.djangoproject.com/en/1.3/ref/templates/api/The Django template language: For Python programmersThis document explains the Django template system from a technical perspective – how it works and how to extend it. If you’re just looking for reference on the l 阅读全文
posted @ 2011-09-27 14:08 snowlueng 阅读(1219) 评论(0) 推荐(1) 编辑
摘要: 其实有两个情况,1是完全重复。(设计时没有设定identity)完全重复:select distinct 字段,字段[,..] from table --找到不重复的记录……--这类重复需求通常是需要添加一个identity字段部分重复,指定字段重复,其他字段重复忽略不计(保留)(已经有identity的id了)select max(id) as id ,重复字段,重复字段 from table group by 重复字段,重复字段 having count(*)>1--找到重复的字段删除和保留操作。仅仅说第二种情况select max(id) as id ,重复字段,重复字段 i... 阅读全文
posted @ 2011-09-20 17:54 snowlueng 阅读(417) 评论(0) 推荐(0) 编辑