本日志由 feng 于 2010-01-21 13:22:03 发表到 Life 中,目前已经被浏览 82 次,评论 1 次;

install:

  1. sudo apt-get install mysql-server 

support php:

  1. sudo apt-get install php5-mysql 

done!

remove?

  1. apt-get autoremove --purge mysql-server-5.0 

also

  1. sudo apt-get autoremove mysql-server 
  2. sudo apt-get autoremove mysql-client 

also

  1. apt-get remove mysql-common 

install Django

download from http://www.djangoproject.com/download/ and then extrac

  1. sudo python setup.py install 

cd into a directory where you’d like to store your code, then run the command:

  1. django-admin.py startproject mysite 

This will create a mysite directory in your current directory.change into mysite directory and run the command:

  1. python manage.py runserver 

 now open "http://127.0.0.1:8000" with your firefox.You'll see a "Welcome to Django" page, It worked!

you can change the port with the following command:

  1. python manage.py runserver 8080 

install mysqldb(this command "sudo sh MySQL_python-1.2.3c1-py2.6-linux-i686.egg" does not work?):

  1. sudo apt-get install python-mysqldb 

use:

  1. django-admin.py startproject blog 

but NOT:

  1. python django-admin.py startproject blog 

install ulipad:

  1. sudo apt-get install python-wxgtk2.8 

本日志由 feng 于 2010-01-19 11:50:59 发表到 Reading 中,目前已经被浏览 65 次,评论 2 次;

作者添加了以下标签: mysqlubuntu

刚刚颁奖典礼听到的,阿sa,二缺一

 

目前为止,joey已经第四次上台了。

千桦最受欢迎女歌星,恭喜,果然很能笑frisk

本日志由 feng 于 2010-01-16 22:23:43 发表到 Life 中,目前已经被浏览 68 次,评论 0 次;

作者添加了以下标签: 二缺一2009年度十大劲歌金曲

换了个asp.net空间,imfeng.net也由typecho转换到Bitrac。

评论和附件数据不再进行转换。

本日志由 feng 于 2010-01-15 14:29:05 发表到 Life 中,目前已经被浏览 88 次,评论 1 次;

作者添加了以下标签: bitractypecho

Invite others to Google Wave

Google Wave is more fun when you have others to wave with, so please nominate people you would like to add. Keep in mind that this is a preview so it could be a bit rocky at times.

Invitations will not be sent immediately. We have a lot of stamps to lick. Happy waving!

20

invitation left

本日志由 feng 于 2009-12-10 14:11:51 发表到 Life 中,目前已经被浏览 55 次,评论 0 次;

话说上次办公室天花板的死老鼠被清理之后。没两天又发现天花板出现老鼠吱吱的叫声。没办法只有把害虫防治公司再叫过来全面检查一遍。结果找到了几个外墙洞,估计老鼠是通过这些外墙洞钻入办公室的。最后决定在天花板上放置老鼠药来诱捕这些老鼠。

可是吃了药的老鼠到处乱跑然后再死掉怎么处理呢?呃,这是个大问题。

想起以前是怎么对付老鼠的。

往用笼子抓住的老鼠的“patpat”塞一些黄豆,然后用订书机把屁眼订起来,当然你要是不怕恶心多一会想用针线缝起来也是可以的,然后放生。

Google一下,发现也有不少人推荐这种方法。

本日志由 feng 于 2009-11-25 14:10:56 发表到 Life 中,目前已经被浏览 89 次,评论 3 次;

公司天花板有只老鼠。估计这两天天气转凉冻死了。恶臭恶臭的。

跑题了。罪过。

遭到投诉把标题改了。

本日志由 feng 于 2009-11-17 14:23:54 发表到 Life 中,目前已经被浏览 71 次,评论 0 次;

天气突然转凉了。轻微感冒。

新家很好,很干净很舒服 代码写多了。

沟通能力退步了。 很长很长时间都没有写过文字了。

评级报告也没写过。只知道心里很抗拒。

十月份败了好多书。其中有一套鸟伯伯的《龙珠》。

本日志由 feng 于 2009-11-06 09:08:56 发表到 Life 中,目前已经被浏览 58 次,评论 0 次;

 图片已经被删除....

本日志由 feng 于 2009-10-16 14:08:09 发表到 Life 中,目前已经被浏览 39 次,评论 0 次;

炙热的8月,收到两个炸弹,都在月底。

一个是同事,在附近;一个是朋友,在家乡,也就5个小时的车程。

朋友都来电邀请两次了,我说忙,他说工作是做不完的。然后是我的沉默。

其实我不忙,反倒很清闲,清闲得自己觉得有点害怕。

这份友情放在那里,我看了很久想了很久,始终不敢想说点什么,不那么重要但也有一定分量。

没完成的报告,就好象背上了沉重的道德包袱,做什么都没劲,想得多了,近乎抑郁。

一件事情想得太多了,就开始变得畏首畏尾了。

倒不如一开始就理性的冲动去干。

昨天跟老大的谈话让我想起袁朗对许三多说的那句话,跟人争论的时候要坚持立场。

其实,你并不像自己想象中的那么重要。

疯子越来越不疯了,只是希望,不那么畏首畏尾。

本日志由 feng 于 2009-09-27 21:06:49 发表到 Life 中,目前已经被浏览 28 次,评论 0 次;

302/3