2011-06-20

行动起来 怎么做 你知道的

文化部监督电子邮箱:wlwh@vip.sina.com

2011-06-14

占卜:猜 下班出门遇到的第一个男人穿什么颜色的上衣

8,78,878,888788

阴,少阴,坎,雷地豫


应该是黑色吧

天都黑了

占卜: 猜 地毯

8,88,788,877877

8,88,震,巽 

 The blueprint or the seal that one carries, decides all what one is or does. It penetrates every action like wind or roots can enter anything. It has no name, often its existence is not even known, but it is always there and directs everything one does or thinks. It decides the way one listens or looks to the world. 
   The emperor bestowed a seal to those who were able to carry out his ideas, and whom he trusted. The seals one carries inside come from Gods or devils, from parents or heredity, from muses or experiences with nature. Some seals can destroy a life, other seals can influence the world.

根基 之象
有地毯之意

但震似乎无法解释 和地毯扯不上

2011-06-13

Re: 占卜:猜下班路上碰到的第一个女人穿什么颜色的上衣

答案:上衣是白色


8,78,777,787887

乾,山火贲

为什么是贲呢?解释不清


   Beauty is Qi showing. When life-energy is present, colors become living and warm, proportions become like the golden section, balance will be created. All coming from out the inner life. A beautiful face or a rich fur, lustrous leaves and flowers, a splendid stream or forest or landscape, they all talk about their inherent health. 
    Energy and beauty belong together.  

贲和噬瞌 说的应该是跟健康有关

贲说的是内在健康 散发外在光彩 
足够健康不需要装饰 有白色之意吧
噬瞌说的是嗑药吗 

山火贲  壁炉之象 封炉子之象 充满内在能量 热量 


占卜:猜玻璃水杯


7
77
878  坎为水
878887 山水蒙


2011-06-10

占卜 妹在做什么


分析:

蛊的含义是 
Working on what has been spoilt (Decay)
Correcting

也就是整治弊端 ,所以妹刚才做的正是整治弊端的事情

我猜测是清理什么腐坏之类的东西

泽地萃 甚至直接就是泳池的形象 当然这也可能是个巧合
萃这个字 有按照人的地位规范其行为的含义 从卦象上看 有澄清的含义
萃卦的真正含义 还需要通过实践进一步理解

�有说服 强力引导 牵引的含义 这是变化的结果  
但为什么这卦选择�这个字弄不清楚


=== Fri Jun 10 2011 17:38:09 GMT+0800 (CST) ===

---     XOR   - -   =   ---
- - x   XOR   ---   =   ---
- - x   XOR   ---   =   ---
---     XOR   - -   =   ---
---     XOR   - -   =   ---
- -     XOR   - -   =   - -

山��(18) XOR[异或] �地萃(45) = 天��(44)

本次占卜ID:
1->877667<-6

本次占卜链接:

以上由i-ching-mouse-caster生成:


7=(2+3+2)   ---    ->   ---
6=(2+2+2)   - - x  ->   ---
6=(2+2+2)   - - x  ->   ---
7=(2+3+2)   ---    ->   ---
7=(2+3+2)   ---    ->   ---
8=(2+3+3)   - -    ->   - -

2011-06-09

火天大有(14) XOR[异或] 水雷屯(3) = 天風姤(44)



=== Thu Jun 09 2011 11:17:56 GMT+0800 (CST) ===

---     XOR   - -   =   ---
- - x   XOR   ---   =   ---
---     XOR   - -   =   ---
---     XOR   - -   =   ---
---     XOR   - -   =   ---
--- o   XOR   ---   =   - -

火天大有(14) XOR[异或] 水雷屯(3) = 天風姤(44)

本次占卜ID:
1->977767<-6

本次占卜链接:

以上由i-ching-mouse-caster生成:


7=(2+3+2)   ---    ->   ---
6=(2+2+2)   - - x  ->   ---
7=(2+3+2)   ---    ->   ---
7=(2+3+2)   ---    ->   ---
7=(3+2+2)   ---    ->   ---
9=(3+3+3)   --- o  ->   - -

2011-06-04

twitterfeed 好东西 打通任督二脉 让世界更混乱

twitter
facebook
blogger
weibo
163blog
......


how can I feed them?

one by one?

NO

using email only!

how?

凑凑洋人的热闹(任脉--任意写):
wirte blog via email -> blogspot or 163 blog --(auto)--> twitterfeed  --(auto)--> twitter/facebook

凑凑国人的热闹(督脉--有监督):
wirte blog via email -> 163 blog --(auto)--> sina weibo(set in sina weibo settings,binding 163 blog)


You can use any smartphone that support email to do that, enjoy!

鹦鹉学舌 金刚怒目 有点乱



Ara_ararauna_%28Linnaeus_1758%29.jpg

Fwd: email to blog to twitter test




can I twitter me?

2011-06-03

If ime on, keypress,keydown,keyup can not work well on Webkit based browser.


hi everyone

There will be an important defect on the keypress,keydown,keyup events , if users open their IMEs, because ime will eat  these key events. 

Try this example on Webkit based browser:
If ime off, the example work well.
If ime on, the example can not work.


<input id='castId' size="6" type="text" maxlength="6" onkeyup="checkCastId(this)" style="ime-mode: disabled;" />
<button id="openCastIdBtn" disabled="disabled">Open Cast</button>
<script>
function checkCastId(me){
console.log(me.value);
if(/[6-9]{6}/.test(me.value)){
document.getElementById("openCastIdBtn").disabled = "";
}
else{
document.getElementById("openCastIdBtn").disabled = "disabled";
}
}
</script>

Fwd: 每日一占




=== Fri Jun 03 2011 13:42:19 GMT+0800 (CST) ===

---     XOR   - -   =   ---
- -     XOR   - -   =   - -
- -     XOR   - -   =   - -
---     XOR   - -   =   ---
- - x   XOR   ---   =   ---
---     XOR   - -   =   ---

山火賁(22) XOR[异或] 地水師(7) = 山天大畜(26)

本次占卜ID:
1->767887<-6

本次占卜链接:

以上由i-ching-mouse-caster生成:



2011-06-01

无妄参照大蓄

无妄 天性自由伸展 自然而然

大蓄 压制天性 获取自然力 (蓄水 牲畜)

2011-05-10

nodejs 大呼过瘾!!

javascript 真的要火!


这个网页爬虫类库集成多个优秀的类库 可见一斑
http://www.slideshare.net/sylvinus/web-crawling-with-nodejs


目前的类库


比python的命令行还好用
支持高亮 和tab成员枚举 爽呆了

通过ubuntu的ppa安装最新版


安装npm费了点事 需要一点准备工作
主要是npm需要系统用node来执行nodejs 而上面的ppa只建立了nodejs 命令

我现在还搞不清楚 linux的好几种link方式
用了硬link 可能不是最好的方案
link nodejs node

然后执行 curl http://npmjs.org/install.sh | sh  需要切换到root

sudo su

-------------------------------------------------------------------------


下午写了一个豆腐块 呵呵 

var url=require('url');
var get = require('get');
var htmlparser = require("htmlparser");
var select = require('soupselect').select;


download.proxy=url.parse(process.ENV.http_proxy);

download.asString(function(err, wp) {
    var handler = new htmlparser.DefaultHandler(function (error, dom) {
select(dom, "area").forEach(function(element) {console.log(element);});
    });
    var parser = new htmlparser.Parser(handler);
    parser.parseComplete(wp);
});

how to get a element's eventlistener


发展真快啊 几个月前找这个问题还没有答案 现在chrome和firebug都给了答案

http://stackoverflow.com/questions/4672301/getting-an-elements-eventlisteners
In safari's (and chrome's) element inspector there's an "Event Listeners" section (in the right frame of the elements tab) that show's the Event Listeners in the document. Is there anything similar in firebug? Also, is it possible to get an element's event listeners using javascript (like elmnt.onclick, but should work for events added with addEventListener() as well)?    

This is available for firebug:

http://getfirebug.com/wiki/index.php/Firebug_Extensions#Eventbug

For your second question, is it possible to get the events added via addEventListener in javascript? Generally it is not. That add-on uses eventlistenerservice you would need elevated privileges, a signed script and it would still only work in Firefox.

Eventbug

Eventbug

Eventbug is a Firebug extension that lists all of the event handlers on the page grouped by event type...

2011-03-28

wangyi blog reciept has come: Fwd: 邮件博客发表成功



---------- Forwarded message ----------
From: <blogmail@188.com>
Date: 2011/3/28
Subject: 邮件博客发表成功
To: xxxxx@126.com


尊敬的xxxxx@126.com:

您的邮件内容已成功发送至个人博客: http://blog.163.com/ccfstt@126

该日志地址: http://blog.163.com/ccfstt@126/blog/static/139024878201122862241754

网易博客


网易 wangyi blog support writing blog through email! (FIX STEP 6)


wangyi only support their own email address  (such as 126.com , 188.com ...)

But  I find a method using Gmail to get it work .

Because Gmail can use other email (such as 126.com...) as avatar to send emails.

So configure steps are:
1. create a new wangyi  email account ( if you had one skip this step)
2. Go to  Gmail Mail settings (at top-right corner) , click  Accounts and Import
3. click  the button Send mail from another address
4. input your wangyi email and  follow the wizzard...
5. Select the radio button with label:  Send through XXXX SMTP servers (recommended for professional domains – Learn more)
6. when you finish the wizzard, you can write a test blog :  compose mail in Gmail  - TO: blogmail@188.com  , write a blog like a mail 
IMPORTANT: You must select From your wangyi email address (not your gmail address) , then send !
7. Go to your wangyi blog and check if your new mail blog has already been published.

BTW, you can set wangyi mail  auto forward all incoming mails to your Gmail inbox in wangyi mail setting , thus your Gmail can receive the wangyi blog's receipt
enjoy yourself : )


网易 wangyi blog support writing blog through email!

wangyi only support their own email address  (such as 126.com , 188.com ...)

But  I find a method using Gmail to get it work .

Because Gmail can use other email (such as 126.com...) as avatar to send emails.

So configure steps are:
1. create a new wangyi  email account ( if you had one skip this step)
2. Go to  Gmail Mail settings (at top-right corner) , click  Accounts and Import
3. click  the button Send mail from another address
4. input your wangyi email and  follow the wizzard...
5. Select the radio button with label:  Send through XXXX SMTP servers (recommended for professional domains – Learn more)
6. when you finish the wizzard, you can write a test blog :  compose mail in Gmail  - TO: blogmail@188.com  , write a blog like a mail  then send .
7. Go to your wangyi blog and check if your new mail blog has already been published.

BTW, you can set wangyi mail  auto forward all incoming mails to your Gmail inbox in wangyi mail setting , thus your Gmail can receive the wangyi blog's receipt
enjoy yourself : )

所见所闻所思