帐前卒专栏

code, software architect, articles and novels.
代码,软件架构,博客和小说

在宝家乡吃了好多的杨梅,不过杨梅易坏,一般放置一个晚上就彻底不能吃了。所以需要放入冰箱。宝家乡的杨梅颗粒较小,而京城的杨梅颗粒很大。大的杨梅其实不如小的杨梅好吃。另外杨梅里可能有蛆虫,用水泡一下,就可以挑出来。不过那些虫子貌似也无害,可以增加蛋白质。在宝家的第二天就去亲自摘了下杨梅。自己摘的杨梅更好吃些,当然也不管什么干净与否,反正吃了没病。 刚才又改了一下自己的文章,发现语病还是很多的。难怪当初找房打中介电话时,中介问:"你是中国人吗?".听得我一愣一愣的..现在看来..我越来越像外国人了...当然只是像,不是的..

国内的软件业和互联网业还是很歧视女性的。一般招聘者说招点能做事的,这里暗含着就是招点男的。mm们在面试中往往表现相对柔弱,基本上面官都会判为不懂与心虚。只有强势的mm才有可能找到比较好的工作。或者本身能力不错,或者闭月羞花。否则就会打入无限等待队列。 现在在国企,事业单位中找个北京户口的高薪工作..还是比较难的。除非是亲兵,否则带户口的就只有杂役一般的薪水。某事业单位工资少的可怜,结果还要派去荒芜人烟的地方,更诡异的是指明要年轻女性。偶猛然觉得这不是应聘,这是征婚。 本人的北京人脉少的可怜,帮自家的mm找工作都难。真是人到用时方恨少...无奈只好继续宅了。

租房子确实很放心。主要是一群黑中介,将房子隔了再隔。一居变两居,两居变四居。然后每一居中人还不只一个。本人没有啥洁癖,但是和很多人处一起,共用一些设备还是很不爽。另外房子给人的感觉也是非常不爽。每一间都像凶杀现场。 中介一般在网上贴出便宜的租房,然后打电话过去说已经租没了。然后推荐一个比原来价格贵200-400的房子。这是中介的惯用手段。非常不爽的是中介都不是靠谱的人...介绍的房子自己都没有去看过。唉...还是找一个靠谱的中介。

Check Page Rank of your Web site pages instantly:

This page rank checking tool is powered by Page Rank Checker service

I have found this useful tool to check PageRank. The rank of my blog is : PageRank Checking Icon

昨天和宝一起去影院看了加勒比海盗4.3D的效果,其实我觉得..只有字幕的效果出来了。前面的场面比较无聊..只有海上航行时才有点意思。所以这才是海盗片,如果陆地上也有这种效果的话,那就是山贼片了。主角也不是杰克船长,而是王麻子了。 最简单的主题还是恶人game over.不过加勒比的定义是只有最恶的人才会game over.杰克其实根本就不是海盗,充其量只能说是旅者。我觉得这个系列的片子应该叫“国家地理”什么的...不过这部片子还是充满了诙谐、紧张和友情等等事情。不过个人觉得还是比3差些... 两个半小时的电影最后也只是记住了最后一句话:活在当下!

昨天出行顺便看了下加勒比海盗的电影,也顺便吃了下呷哺呷哺。和宝一起点了一大堆东西..最后全部扫光。经验总结:羊肉等带有膻味的东西还是要到最后放进去。面条还是要宝来亲自下才行。昨天宝的hello kitty终于派上用场了,于是免费喝了一杯饮料。以后...全部点面好了...有好吃又节约...

today, I have see a blessing in SQLite:
May you do good and not evil. May you find forgiveness for yourself and forgive others. May you share freely, never taking more than you give.

Good!

I used
euca-describle-keypairs
to see the password first. If there is no password "aa", then use the following command.
euca-add-keypair aa > my.private
else delete password "aa" first or use another password.
euca-delete-keypair aa
you should change my.private file access privilege, like:
chmod 0600 my.private
then use euca-run-instance to run:
euca-run-instance -k aa -n 1 $emi
then I have seen ip of instance. use ssh to login:
ssh -i my.private root@ip
done!

If you do not change my.private file access privilege, then it will report:

privilege 0644 is too open.
If you chmod after the report, ssh will not let you login. So change it before you want access your instance.

如果我的只有一个ip要在同一个机器上有两个或者多个网站,那就需要端口映射了。 例如ip为192.168.1.122 端口号为80,需要有一个网站a.com ip为192.168.1.122 端口号为8080,需要有一个网站b.com 在windows/system32/driver/etc中修改hosts 添加 192.168.1.122 a.com 192.168.1.122 b.com 在apache的conf文件夹中,修改httpd.conf找到Listen关键词 然后照样子修改 Listen 80 Listen 8080 然后去conf\extra文件夹下,修改httpd-vhosts.conf文件。添加: AllowOverride FileInfo Order allow,deny Allow from all

<VirtualHost *:8080>
ServerAdmin [email protected]
DocumentRoot “c:/yoursitedir”
ServerName a.com
ServerAlias www.a.com
CustomLog “logs/a.com-access.log” common
ErrorLog “logs/a.com-error.log”

<Directory “c:/yoursitdir2”>
AllowOverride FileInfo
Order allow,deny
Allow from all

<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot “c:/yoursitedir2”
ServerName b.com
ServerAlias www.b.com
CustomLog “logs/b.com-access.log” common
ErrorLog “logs/b.com-error.log”

注意在DocumentRoot “c:/yoursitedir2"和<Directory “c:/yoursitdir2”>中路径的最后不能有”/".
然后重启apache即可。

why? you don't have php? your php does not start? your apache server is shutdown? (uninstall all apache, mysql and php if you will install xampp. Be careful.) you can download xampp software to solve your problem. But if you are sure that your php is running. put a php file "hello.php" into xampp/htdocs, and type:
http://localhost/hello.php
hello.php is like:
echo "hello";

if the web page presents “hello”, it shows your php is running.
if you want to configure other dir to put your web, you should see my another blog, Here.
Ok, if your php is running. Then config database and wordpress.
Here is instruction.
Then you should open brower and type:

http://ip:port/wp-admin/install.php

if you open install.php in your local computer with brower, it will report

Error: PHP is not running
in your brower, the url address does not prefix with "http://"
0%