分类目录
文章索引模板

Category: Soft

TOOLS 0.04 - 八月 19, 2009 by yippee

0.04版本升级内容:
增加模块: 文章分类记录保存发布
采用SQLITE数据库
支持无限分组
支持HTML编辑
支持关键词搜索
支持时间段搜索
支持WORDPRESS发布

标签:
20090617 TOOLS 0.03 - 八月 18, 2009 by yippee

TOOLS 0.03
      新增串口调试

标签:
20090518 TOOLS 0.02 - 八月 18, 2009 by yippee

新增功能
      增加PDU批量转换窗口

两个多行文本框
输入
+CMGL: 1,1,,68
0891683108501905F0040D
+CMGL: 2,1,,46
0891683108501905F0040D

输出
号码CR
内容CRCR

标签:
20090430 PDU SMS - 八月 18, 2009 by yippee

标签:
20090730 wordpress c# xml rpc info - 八月 18, 2009 by yippee

WordPress 2.7 XML-RPC wrapper for .Net
http://www.orbifold.net/default/?p=1721
XML-RPC.Net
http://www.xml-rpc.net/
WordPress 2.5 XML-RPC wrapper for .Net
http://www.orbifold.net/default/?p=1003
Using Wordpress XMLRPC services | PHP Made Simple
http://www.phpmadesimple.info/2009/07/05/using-wordpress-xmlrpc-services/
Weblog Client « WordPress Codex
http://codex.wordpress.org/Weblog_Client
3.4. C# XML-RPC Tutorial
http://www.wordtracker.com/docs/api/ch03s04.html
CodeProject: Coding Blog Engine with MetaWeblog API Support and Using it with Windows Live Writer. Free source code and programming help
http://www.codeproject.com/KB/XML/MetaWeblogAPI.aspx?display=Print
WP-XML-RPCLib2 – SharpLab.
http://blog.sharplab.net/computer/cprograming/wp-xml-rpclib/3015/
WP-XML-RPCLib2 – SharpLab.
http://blog.sharplab.net/computer/cprograming/wp-xml-rpclib/computer/cprograming/wp-xml-rpclib/3015/
CodeProject: Coding Blog Engine with MetaWeblog API Support and Using it with Windows Live Writer. Free source code and programming help
http://www.codeproject.com/KB/XML/MetaWeblogAPI.aspx
MetaWebLog API and Blog Writers – Rick Strahl’s Web Log
http://www.west-wind.com/WebLog/posts/23858.aspx
Windows Live Writer Beta 2 Now Available
http://www.gtrifonov.com/blog/2007/06/06/Windows_Live_Writer_Beta_2_Now_Available.aspx
Coding blog engine with MetaWeblog API support and using it with Windows Live Writer
http://www.gtrifonov.com/blog/2006/11/27/Coding_blog_engine_with_MetaWeblog_API_support_and.aspx
15 Seconds : Programming for the Palm Part 2 – The Synchronization Process
http://www.15seconds.com/Issue/030722.htm
C# blog client
http://www.aspcode.net/C-blog-client.aspx
The MetaBlog API (Creating and Editing Posts)
http://geekswithblogs.net/Tariq/archive/2009/07/05/133264.aspx
public string wp_slug;

XML-RPC Request Format
http://www.tutorialspoint.com/xml-rpc/xml_rpc_request.htm
3.4. C# XML-RPC Tutorial
http://www.wordtracker.com/docs/api/ch03s04.html

标签:, , , , ,
20080806 YippeeSoft@pick xpi - 七月 7, 2009 by yippee

20080806 YippeeSoft@pick xpi

http://www.yippeesoft.com

经常查看很多网站,习惯作个记录
因此在COPY MENU的基础上做修改

完成功能
右键菜单
状态栏图标
点击状态栏图标弹出窗口

将选择的文本+当前页面的URL+当前页面的TITLE保存在弹出窗口的文本框内
进行累计

通过文本框右键菜单进行剪切 从而清空

好些POPUP出来的窗口中的文本框不能编辑、响应键盘

不想用侧边栏、或者另外弹出对话框

参照DOWNLOADBAR进行FF内在状态栏上方显示窗口

·············
感觉还不错··········

在状态栏增加一个“收藏”按钮。左键点击将复制如下内容:

add a button at statusbar.when click it with left button,it will record:

1、当前URL地址 current url address

2、当前网页TITLE current html title

3、用户选择内容 and user select area text

and you can click again.all will be record at a window,when right click button,you can see the texts

可以多次反复点击,这些内容记录在一个窗口里面。鼠标右键点击按钮,可以查看记录的内容

并剪切、复制出来。

该日志未加标签。
20071022 bayes 垃圾邮件 becky - 七月 20, 2008 by yippee

20071022 bayes 垃圾邮件 becky
http://www.yippeesoft.com

慢慢的发现新的东西好玩的越来越多,对B2的兴趣也小了很多
现在才发现居然已经到了2.40了 :)

foxmail不支持MAPI,支持RSS和BAYES,这个倒无所谓。只是垃圾邮件。。。。

找了找资料:

如果我想作个BAYES插件,那么除了熟悉BAYES应用之外,还需要进行分词。。。。。

注册时间: 2004-三月-20
在线状态: 离线
点击: 40  
发表于: 2004-四月-12 1:45下午 &line; IP已记录  引用 ayaya

1.     Spampal可以通过插件支持贝叶斯算法,在http://www.spampal.org/plugins.html下载Bayesian Plugin,拷贝到plugin目录下即可,与一般的Bayesian设置方法一样。Bayesian插件与Spampal本身的过滤结合的非常好,我现在就是这样用的。

K9最新版本1.27,主页地址http://keir.net/k9.html ,77K。支持黑白名单过滤、sbl垃圾IP地址过滤(主要是对国外的IP地址有效),支持贝叶斯过滤。它的工作原理是作为Be cky!和邮件服务器中间的过滤代理,首先对服务器上的邮件收取,分析之后,对垃圾邮件会加上标识,而Becky!则从K9处收 取邮件,由于垃圾邮件已经被标识过了,因此可以通过一个简单的邮件分拣规则把这些邮件直接送到垃圾油箱中去。

 BkBogofilter v1.1.1

BkBogofilter is a port of Bogofilter v1.1.1 as a plugin for Becky! Internet Mail version 2.

Bayes++ is a library of C++ classes that implement numerical algorithms for Bayesian Filtering. They provide tested and consistent numerical methods and the class hierarchy represents the wide variety of Bayesien filtering algorithms and system models.

叶斯过滤器为什么能够工作得这么好呢?因为贝叶斯过滤器纯粹根据统计学规律运作,比起那些需要分析邮件句法或内容含义的过滤器来显然要简单的多,而且可计算性强得多。更重要的是,这些标记完全可以由用户根据自己所接收的垃圾邮件和非垃圾邮件来创建,因而可以获得一种对用户来说独一无二的过滤器。这意味着垃圾邮件发送者根本无法猜测出你的过滤器是如何配置的,从而有效地阻截住各类垃圾邮件。

 贝叶斯介绍

  贝叶斯是基于概率的一种算法,是Thomas Bayes:一位伟大的数学大师所创建的,目前此种算法用于过滤垃圾邮件得到了广泛地好评。贝叶斯过滤器是基于“自我学习”的智能技术,能够使自己适应垃圾邮件制造者的新把戏,同时为合法电子邮件提供保护。在智能邮件过滤技术中,贝叶斯(Bayesian)过滤技术取得了较大的成功,被越来越多地应用在反垃圾邮件的产品中。

二、 贝叶斯过滤算法的基本步骤

  1. 收集大量的垃圾邮件和非垃圾邮件,建立垃圾邮件集和非垃圾邮件集。

  2. 提取邮件主题和邮件体中的独立字符串,例如 ABC32,¥234等作为TOKEN串并统计提取出的TOKEN串出现的次数即字频。按照上述的方法分别处理垃圾邮件集和非垃圾邮件集中的所有邮件。

  3. 每一个邮件集对应一个哈希表,hashtable_good对应非垃圾邮件集而hashtable_bad对应垃圾邮件集。表中存储TOKEN串到字频的映射关系。

  4. 计算每个哈希表中TOKEN串出现的概率P=(某TOKEN串的字频)/(对应哈希表的长度)

  5. 综合考虑hashtable_good和hashtable_bad,推断出当新来的邮件中出现某个TOKEN串时,该新邮件为垃圾邮件的概率。数学表达式为:

  A 事件 —- 邮件为垃圾邮件;

  t1,t2 …….tn 代表 TOKEN 串

  则 P ( A&line;ti )表示在邮件中出现 TOKEN 串 ti 时,该邮件为垃圾邮件的概率。

  设

  P1 ( ti ) = ( ti 在 hashtable_good 中的值)

  P2 ( ti ) = ( ti 在 hashtable_ bad 中的值)

  则 P ( A&line;ti ) =P2 ( ti ) /[ ( P1 ( ti ) +P2 ( ti ) ] ;

  6. 建立新的哈希表hashtable_probability存储TOKEN串ti到P(A&line;ti)的映射

  7. 至此,垃圾邮件集和非垃圾邮件集的学习过程结束。根据建立的哈希表 hashtable_probability可以估计一封新到的邮件为垃圾邮件的可能性。

  当新到一封邮件时,按照步骤2,生成TOKEN串。查询hashtable_probability得到该TOKEN 串的键值。

  假设由该邮件共得到N个TOKEN 串,t1,t2…….tn,hashtable_probability中对应的值为 P1 , P2 , ……PN , P(A&line;t1 ,t2, t3……tn) 表示在邮件中同时出现多个TOKEN串t1,t2……tn时,该邮件为垃圾邮件的概率。

  由复合概率公式可得
  P(A&line;t1 ,t2, t3……tn)=(P1*P2*……PN)/[P1*P2*……PN+(1-P1)*(1-P2)*……(1-PN)]

  当 P(A&line;t1 ,t2, t3……tn) 超过预定阈值时,就可以判断邮件为垃圾邮件。

结合传统贝叶斯算法的数学定理,给出了朴素贝叶斯过滤算法以及该算法在反垃圾邮件中的六个处理步骤,算法通过渐进学习的方式分别建立三个哈希表,并预置相应的阀值来判定收到的邮件是否为垃圾邮件。以实例方式说明了此算法为基础的反垃圾邮件策略,最后指出了朴素贝叶斯算法存在的问题及可能改进的方向,对防范和处理垃圾邮件提供理论依据和实践参考。

BkBogofilter垃圾过滤插件不错,可到[url]http://www.mickeytheman.com/forums/index.php?showtopic=3731[/url]下载。
安装此插件后,在邮件标题上点击右键,出现"Bogofilter: Register as Ham"和"Bogofilter: Register as Spam"选项,前者是表示标记邮件为非垃圾邮件,后者表示标记邮件为垃圾邮件。经过一些邮件的训练,就可以过滤垃圾邮件了,方法如下:
使用此插件后,每封邮件的邮件头会出现类似"X-Bogosity: Spam, tests=bogofilter, spamicity=1.000000, version=1.0.2"的东东,"spamicity="后面的数值代表垃圾邮件的垃圾程度。
我是按照spamicity=1.0设一个过滤条件、spamicity=0.9设一个过滤条件、spamicity=0.8设一个过滤条件、spamicity=0.7设一个过滤条件、spamicity=0.6设一个过滤条件,将符合这些条件的邮件统统都放到废件箱。
用上述方法可过滤绝大部分的邮件,使用效果不错,大家可以试试。

Bogofilter is a mail filter that classifies mail as spam or ham (non-spam) by a statistical analysis of the message\’s header and content (body). The program is able to learn from the user\’s classifications and corrections.

The statistical technique is known as the Bayesian technique and its use for spam was described by Paul Graham in his article A Plan For Spam in August 2002. Gary Robinson, in his weblog Rants (September 2002), suggested some refinements for improved discrimination between spam and ham. Bogofilter\’s primary algorithm uses the f(w) parameter and the Fisher inverse chi-square technique that he describes. Paul Graham\’s new article Better Bayesian Filtering (January 2003) suggests some useful parsing improvements.

Bogofilter is run by an MDA script to classify an incoming message as spam or ham (using wordlists stored by BerkeleyDB). Bogofilter provides processing for plain text and html. It supports multi-part mime message with decoding of base64, quoted-printable, and uuencoded text and ignores attachments, such as images.

Bogofilter is written in C. Supported platforms: Linux, FreeBSD, Solaris, OS X, HP-UX, AIX, RISC OS, SunOS, OS/2 …

Bayesian Filtering is a probabilistic technique for data fusion. The technique combines a concise mathematical formulation of a system with observations of that system. Probabilities are used to represent the state of a system, likelihood functions to represent their relationships. In this form Bayes rule can be applied and further related probabilities deduced.

For discrete systems the Bayesian formulation results in a naturally iterative data fusion solution. For dynamic systems there is a class of solutions, discreate filters, that combine observed inputs to the system with the dynamic model . A filter that iteratively incorporates new information is an estimator. For linear dynamic systems, discrete solutions such as the Kalman filter apply.

Bayes++ is a library of C++ classes. These classes represent and implement a wide variety of numerical algorithms for Bayesian Filtering of discrete systems. The classes provide tested and consistent numerical methods and the class hierarchy explicitly represents the variety of filtering algorithms and system model types.

标签:
20070712 搜索引擎 蜘蛛 捕捉 BLOG - 四月 6, 2008 by yippee

20070712 搜索引擎 蜘蛛 捕捉
http://www.yippeesoft.com

网上下载的一个PHP捕捉,修改了保存路径和搜索引擎蜘蛛类别判断
<?php
/**
 * @author      Tmpbin (tmpbin@163.com)
 * @copyright   Www.Ruanzai.Net
 * @package     ccount.php
 * @version     1.0
 * @lastupdate  2006-12-10
 * @link        http://www.ruanzai.net
 */

$datadir=$_SERVER[SCRIPT_FILENAME];
 //日志所在目录,请用绝对路径如 d:/host/web/log/
$len=strlen($path)-9;
 $datadir=substr($path,0,$len);

 session_start();
 $datafile=$datadir."system_bot.php";
 $lang = $_SERVER[\'HTTP_ACCEPT_LANGUAGE\'];
 $urlhead .= "Accept-Encoding: ".$_SERVER[\'HTTP_ACCEPT_ENCODING\']."&line;";
 $urlhead .= "User-Agent: ".$_SERVER[\'HTTP_USER_AGENT\']."&line;";
 $urlhead .= "Host: ".$_SERVER[\'HTTP_HOST\']."&line;";
 $cookie = $_SERVER[\'HTTP_COOKIE\'];
 $time=time();

 $userip = $_SERVER["HTTP_X_FORWARDED_FOR"];
 If ($userip == "") $userip = $_SERVER["REMOTE_ADDR"];

 $urlPar = $_SERVER["SCRIPT_NAME"];
 if (trim($_SERVER["QUERY_STRING"]) != "")    
 $urlPar = $urlPar."?".$_SERVER["QUERY_STRING"];
 $info_cot=$time."&line;".$userip."&line;".$urlPar."&line;".$urlhead."\\n";
if (empty($cookie)) &leftsign;

if (empty($lang))&leftsign;
 $fnum=@fopen("$datafile","a");
 flock($fnum,LOCK_EX);
 $file_data=fwrite($fnum,$info_cot);
 fclose($fnum);
 &rightsign;
&rightsign;

?>

function get_naps_bot($iee)
&leftsign;
        $useragent = strtolower($iee);
                      
        if (strpos($useragent, \’googlebot\’) !== false)&leftsign;
                return \’Googlebot\’;
        &rightsign;
      
        if (strpos($useragent, \’msnbot\’) !== false)&leftsign;
                return \’MSNbot\’;
        &rightsign;
      
        if (strpos($useragent, \’slurp\’) !== false)&leftsign;
                return \’Yahoobot\’;
        &rightsign;
      
        if (strpos($useragent, \’baiduspider\’) !== false)&leftsign;
                return \’Baiduspider\’;
        &rightsign;
      
        if (strpos($useragent, \’sohu-search\’) !== false)&leftsign;
                return \’Sohubot\’;
        &rightsign;
      
        if (strpos($useragent, \’lycos\’) !== false)&leftsign;
                return \’Lycos\’;
        &rightsign;
      
        if (strpos($useragent, \’robozilla\’) !== false)&leftsign;
                return \’Robozilla\’;
        &rightsign;      
        return $iee;
&rightsign;

$thisprog="log.php";
$_SESSION[\'login\']="ok";
if ($job=="") &leftsign;
$a=2;
$str=file("$datafile");
$count = count($str);
for ($i=0;$i<$count;$i++)&leftsign;
     $file.= $str[$i];
  &rightsign;
$new_info=explode("\\n",$file);
$count=count($new_info);
  for ($i=0; $i<$count-1; $i++) &leftsign;
list($time,$ip,$url,$ae,$ie,$host)=explode("&line;","$new_info[$i]");
$time=date("Y-m-d(H:i:s)",$time);;
$ie=get_naps_bot($ie);
#$iet=get_naps_bot($ie);
$show=$show."<tr class=\’row$a\’><td width=10%>$time</td><td width=5%>$ip
</td><td width=20%>$url</td><td width=30% title=\\"$iet\\">$ie</td><td width=5%>$ae</td><td width=20%>$host</td></tr>\\n";
$a=$a-1;
if ($a<1) $a=2;
&rightsign;

 print <<<EOT
<table width=98% align=center cellSpacing=1 cellPadding=1 style="border-collapse: collapse;background: #E5ECFA; border: 1px solid #5296FF ">
  <tr align=\’center\’>共$count 条日志
     <td style="color: #000000"><b>机器人到访日志查看</b></td>
    </tr>
<tr>
 <td>
 <table width=99% align=center cellSpacing=1 cellPadding=1 style="border-collapse: collapse;background: #E5ECFA; border: 1px solid #5296FF ">
<tr class=\’rowcat\’>
<td width=10%>&nbsp;到访时间
</td><td width=5%>蜘蛛Ip
</td><td width=20%>访问地址
</td><td width=30%>蜘蛛信息
</td><td width=5%>Accept-Encoding
</td><td width=20%>主机
</td></tr>

$show

标签:, , , ,
20070608 YippeeSMSBK mpx220 短信 备份  SMARTPHONE - 四月 1, 2008 by yippee

20070608 YippeeSMSBK mpx220 短信 备份  SMARTPHONE

http://www.yippeesoft.com

YippeeSMSBK mpx220 短信 备份 SMARTPHONE

短信备份的,用过几个人家的,有的是增量备份,每次生成单独的文件,有的是无法解析发件箱里面的收件人,全部显示成发件人

C# VC2005 SQLITE

完成功能

解析 收件人/发件人 时间 内容

读取收件箱 发件箱

收取之后删除短信SMS

存储于SQLITE

退出时备份

分邮箱浏览

按时间浏览

首先是 WINCE MAPI的问题

然后是VC2005作界面的问题

最后是C# SQLITE的问题

断断续续作了快一个星期

效率实在有些差了。

c#的效率的确比VC要差很多

以前用VC查询一个几十万条记录的SQLITE,速度明显飞快

而c#第一次打开数据库就明显延时严重

标签:, , , , , , ,
20070527 SaferRun 1.00 - 十月 29, 2007 by yippee

20070527 SaferRun 1.00
http://www.yippeesoft.com
 
SaferRun:DropMyRights GUI程序
原理+源代码:
http://www.microsoft.com/china/msdn/library/security/ussecure11152004.mspx?mfr=true

CreateProcessAsUser() windowstations 和桌面
http://support.microsoft.com/kb/165194/

CreateProcessAsUser在c#中的调用
http://www.cnblogs.com/liefeng123/archive/2006/10/19/533743.html

The Windows Access Control Model Part 2
http://www.codeproject.com/win32/accessctrl2.asp

SaferRun.xml
<?xml version="1.0" encoding="utf-8"?>
<saferrun>
<menunum>1</menunum>
<menu0 name="IE">D:\\Program Files\\Internet Explorer\\iexplore.exe</menu0> 
</saferrun>

从这里LOAD菜单,显示为NAME 字样
点击后 以普通用户运行指定程序

显示在状态区
需要.NET FRAMEWORK 2.0

本来想都用C#,不过那些函数IMPORT太麻烦,干脆用VC封装DLL,C# 再传递STRING
本来想增加XML编辑,如增加 删除 编辑等,不过那种处理太烦琐了,算了

editplus、ms word等编辑器都可以使用alt选择的方法  切换到 列模式

 xd.Load("E:/test.xml");  
   
  给定编码中有无效的字符。

XML以<?xml version="1.0" encoding="utf-8"?> 编码格式保存

标签:,
0801 smtp becky 550 5.7.1 Requested action not taken: message refused - 一月 10, 2007 by yippee

0801 smtp becky 550 5.7.1 Requested action not taken: message refused

今天邮件发送失败,看看LOG:
>>> Connecting to   [2006-8-1 17:04:13] <<<
220   Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830 ready at  Tue, 1 Aug 2006 17:07:29 +0800
HELO [192.168.7.222]
250   Hello [192.168.7.222]
RSET
250 2.0.0 Resetting
MAIL FROM:< www.yippeesoft.com >
250 2.1.0  www.yippeesoft.com ….Sender OK
RCPT TO:< www.yippeesoft.com >
250 2.1.5  www.yippeesoft.com 
DATA
354 Start mail input; end with <CRLF>.<CRLF>
.
550 5.7.1 Requested action not taken: message refused

找了半天资料 SMTP错误、DNS错误代码表  http://www.arm8.com/cv/1/6/198.html

发现一个 ESMTP ,奇怪的是OE就没有问题,不用验证什么的
把B2设置 验证、ESMTP勾选 OK

>>> Connecting to " www.yippeesoft.com " [2006-8-1 17:11:34] <<<
220  www.yippeesoft.com  Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830 ready at  Tue, 1 Aug 2006 17:14:49 +0800
EHLO [192.168.7.222]
250- www.yippeesoft.com  Hello [192.168.7.222]
250-TURN
250-SIZE 20971520
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250-TLS
250-STARTTLS
250-X-EXPS GSSAPI NTLM LOGIN
250-X-EXPS=LOGIN
250-AUTH GSSAPI NTLM LOGIN
250-AUTH=LOGIN
250-X-LINK2STATE
250-XEXCH50
250 OK
AUTH LOGIN
334 VXNlcm5hbWU6
235 2.7.0 Authentication successful.
RSET
250 2.0.0 Resetting
MAIL FROM:< www.yippeesoft.com >
250 2.1.0  www.yippeesoft.com ….Sender OK
RCPT TO:< www.yippeesoft.com >
250 2.1.5  www.yippeesoft.com 
DATA
354 Start mail input; end with <CRLF>.<CRLF>
.
250 2.6.0  <20060801171125.F7E8. www.yippeesoft.com > Queued mail for delivery
QUIT
221 2.0.0  www.yippeesoft.com  Service closing transmission channel

4.2. SMTP响应 
  对SMTP命令的响应是多样的,它确定了在邮件传输过程中请求和处理的同步,也保证了发送SMTP知道接收SMTP的状态。每个命令必须有且只有一个响应。 
  SMTP响应由三位数字组成,其后跟一些文本。数字帮助决定下一个应该进入的状态,而文本对人是有意义的。三位的响应已经包括了足够的信息,不用再阅读文本,文本可以直接抛弃或者传递给用户。特别的是,文本是与接收和环境相关的,所以每次接收到的文本可能不同。在附录E中可以看到全部的响应码。正规的情况下,响应由下面序列构成:三位的数字,,一行文本和一个,或者也可以是一个多行响应。只有EXPN和HELP命令可以导致多行应答,然而,对所有命令,多行响应都是允许的。 
  
4.2.1. REPLY CODES BY FUNCTION GROUPS 500 格式错误,命令不可识别 
(此错误也包括命令行过长) 
501 参数格式错误 
502 命令不可实现 
503 错误的命令序列 
504 命令参数不可实现 
211 系统状态或系统帮助响应 
214 帮助信息 
220  服务就绪 
221  服务关闭传输信道  
421  服务未就绪,关闭传输信道(当必须关闭时,此应答可以作 
为对任何命令的响应) 
250 要求的邮件操作完成 
251 用户非本地,将转发向 
450 要求的邮件操作未完成,邮箱不可用(例如,邮箱忙) 
550 要求的邮件操作未完成,邮箱不可用(例如,邮箱未找到,或不可访问) 
451 放弃要求的操作;处理过程中出错 
551 用户非本地,请尝试 
452 系统存储不足,要求的操作未执行 
552 过量的存储分配,要求的操作未执行 
553 邮箱名不可用,要求的操作未执行(例如邮箱格式错误) 
354 开始邮件输入,以.结束 
554 操作失败 

标签:, , ,

0525 周润发 MPX220 图片 176*200 - 十一月 7, 2006 by yippee

都是下载人家的,都是年轻人的,想想自己作作,比较土,就是PS修改大小

 图片附件: [阿郎的故事] 阿郎故事.jpg (2006-5-18 20:57, 38.55 K)
图片附件: [等待黎明9.jpg] 等待黎明9.jpg (2006-5-18 21:01, 37.33 K)

图片附件: [喋血双雄.jpg] 喋血双雄.jpg (2006-5-18 21:03, 42.56 K)
&leftsign;
return imgzoom(this);
&rightsign;” onmouseover=”function anonymous()
&leftsign;
if(this.resized) this.style.cursor=\’hand\’;
&rightsign;” onclick=”function anonymous()
&leftsign;
if(!this.resized) &leftsign;return false;&rightsign; else &leftsign;window.open(\’attachments/month_0605/tci0cDowc5_WOZdYs26hfkU.jpg\’);&rightsign;
&rightsign;” src=”http://www.aryaya.com/attachments/month_0605/tci0cDowc5_WOZdYs26hfkU.jpg” onload=”function anonymous()
&leftsign;
if(this.width>screen.width*0.7) &leftsign;this.resized=true; this.width=screen.width*0.7; this.alt=\’点击在新窗口查看全图\\nCTRL+鼠标滚轮放大或缩小\’;&rightsign;
&rightsign;” border=”0″ /> 图片附件: [狙击手.jpg] 狙击手.jpg (2006-5-18 21:04, 44.45 K)
图片附件: [明报8.jpg] 明报8.jpg (2006-5-18 21:06, 42 K)

图片附件: [上海滩-3.jpg] 上海滩-3.jpg (2006-5-18 21:08, 33.88 K)
&leftsign;
return imgzoom(this);
&rightsign;” onmouseover=”function anonymous()
&leftsign;
if(this.resized) this.style.cursor=\’hand\’;
&rightsign;” onclick=”function anonymous()
&leftsign;
if(!this.resized) &leftsign;return false;&rightsign; else &leftsign;window.open(\’attachments/month_0605/wexqDg=_WxONcKQ6BVWE.jpg\’);&rightsign;
&rightsign;” src=”http://www.aryaya.com/attachments/month_0605/wexqDg=_WxONcKQ6BVWE.jpg” onload=”function anonymous()
&leftsign;
if(this.width>screen.width*0.7) &leftsign;this.resized=true; this.width=screen.width*0.7; this.alt=\’点击在新窗口查看全图\\nCTRL+鼠标滚轮放大或缩小\’;&rightsign;
&rightsign;” border=”0″ /> 图片附件: [上海滩-1.jpg] 上海滩-1.jpg (2006-5-18 21:10, 39.21 K)

图片附件: [上海滩-3.jpg] 上海滩-3.jpg (2006-5-18 21:10, 47.51 K)

图片附件: [时代.jpg] 时代.jpg (2006-5-18 21:13, 47.98 K)

&leftsign;
return imgzoom(this);
&rightsign;” onmouseover=”function anonymous()
&leftsign;
if(this.resized) this.style.cursor=\’hand\’;
&rightsign;” onclick=”function anonymous()
&leftsign;
if(!this.resized) &leftsign;return false;&rightsign; else &leftsign;window.open(\’attachments/month_0605/yc+6o8yyo60z_gzKJ4XJD9vXL.jpg\’);&rightsign;
&rightsign;” src=”http://www.aryaya.com/attachments/month_0605/yc+6o8yyo60z_gzKJ4XJD9vXL.jpg” onload=”function anonymous()
&leftsign;
if(this.width>screen.width*0.7) &leftsign;this.resized=true; this.width=screen.width*0.7; this.alt=\’点击在新窗口查看全图\\nCTRL+鼠标滚轮放大或缩小\’;&rightsign;
&rightsign;” border=”0″ /> 图片附件: [手表.jpg] 手表.jpg (2006-5-18 21:13, 38.42 K)

图片附件: [笑傲江湖.jpg] 笑傲江湖.jpg (2006-5-18 21:15, 38.01 K)

图片附件: [英雄本色-2.jpg] 英雄本色-2.jpg (2006-5-18 21:15, 43.58 K)

&leftsign;
return imgzoom(this);
&rightsign;” onmouseover=”function anonymous()
&leftsign;
if(this.resized) this.style.cursor=\’hand\’;
&rightsign;” onclick=”function anonymous()
&leftsign;
if(!this.resized) &leftsign;return false;&rightsign; else &leftsign;window.open(\’attachments/month_0605/0Kawwb2tuv4=_qT25N3bvJQq9.jpg\’);&rightsign;
&rightsign;” src=”http://www.aryaya.com/attachments/month_0605/0Kawwb2tuv4=_qT25N3bvJQq9.jpg” onload=”function anonymous()
&leftsign;
if(this.width>screen.width*0.7) &leftsign;this.resized=true; this.width=screen.width*0.7; this.alt=\’点击在新窗口查看全图\\nCTRL+鼠标滚轮放大或缩小\’;&rightsign;
&rightsign;” border=”0″ /> 图片附件: [英雄本色-1.jpg] 英雄本色-1.jpg (2006-5-18 21:24, 49.83 K)

图片附件: [英雄本色-1j.jpg] 英雄本色-1j.jpg (2006-5-18 21:24, 55.76 K)

图片附件: [英雄本色-1w.jpg] 英雄本色-1w.jpg (2006-5-18 21:32, 50.48 K)

&leftsign;
return imgzoom(this);
&rightsign;” onmouseover=”function anonymous()
&leftsign;
if(this.resized) this.style.cursor=\’hand\’;
&rightsign;” onclick=”function anonymous()
&leftsign;
if(!this.resized) &leftsign;return false;&rightsign; else &leftsign;window.open(\’attachments/month_0605/06LQ27G+yaujrQ==_isMRnu8dcnqj.jpg\’);&rightsign;
&rightsign;” src=”http://www.aryaya.com/attachments/month_0605/06LQ27G+yaujrQ==_isMRnu8dcnqj.jpg” onload=”function anonymous()
&leftsign;
if(this.width>screen.width*0.7) &leftsign;this.resized=true; this.width=screen.width*0.7; this.alt=\’点击在新窗口查看全图\\nCTRL+鼠标滚轮放大或缩小\’;&rightsign;
&rightsign;” border=”0″ /> 图片附件: [莉香2.jpg] 莉香2.jpg (2006-5-18 21:28, 33.92 K)

176*200, , ,

0426 贷款计算器 - 九月 28, 2006 by yippee

顺便做着玩玩

在 mpx220 以及 WINXP 上面运行OK

vs.net 2003 c# smartphone 2003 se

http://www.arm8.com/soft/daikuan.exe

0425 wince vs2003 JavaScript Math.round (2006-9-26)

该日志未加标签。
0411 oe2email 0.1 - 九月 6, 2006 by yippee

目前完成一些基本功能:
 枚举OE文件夹
 选择一个文件夹,枚举文件夹下的EMAIL信息
 选择EMAIL,再重新选择一个新的文件夹,点击复制。
 该新文件夹里面就有EMAIL了。

一个朋友看到DBX2EMAIL要求一个软件:

> > 1.能在dos命令行下运行,不要弹出窗口;
> > 2.能够从dbx文件抽取出特定时间范围的邮件转为eml,或把特定时间范围的邮件抽 取出来生成一个新的dbx文件

昨天试验了一下,完成了一些基本功能

枚举OE文件夹

枚举文件夹下EMAIL信息 收件人 发件人 时间 主题

可以新建文件夹

可以将指定EMAIL复制到指定文件夹

基本上编程技术上没有什么问题了

标签:
0219 BOBLOG HTTP_USER_AGENT - 六月 1, 2006 by yippee

0219 BOBLOG HTTP_USER_AGENT

BOBLOG的在线统计显示IP地址和多少分钟内第一次访问时间,最近被搜索引擎的蜘蛛弄的很烦人,修改了一下看看能不能直接显示来源:

修改:global.php
//得到ip地址
$ip=$_SERVER[\'REMOTE_ADDR\'];
$ip1 = getenv(\’HTTP_X_FORWARDED_FOR\’);
if (($ip1 != "") && ($ip1 != "unknown")) $ip=$ip1;
//ip地址获取结束

获得客户端真实的IP地址
 
function GetIP()&leftsign;
if (getenv("HTTP_CLIENT_IP") && strcasecmp(getenv("HTTP_CLIENT_IP"), "unknown"))
$ip = getenv("HTTP_CLIENT_IP");
else if (getenv("HTTP_X_FORWARDED_FOR") && strcasecmp(getenv("HTTP_X_FORWARDED_FOR"), "unknown"))
$ip = getenv("HTTP_X_FORWARDED_FOR");
else if (getenv("REMOTE_ADDR") && strcasecmp(getenv("REMOTE_ADDR"), "unknown"))
$ip = getenv("REMOTE_ADDR");
else if (isset($_SERVER[\'\'REMOTE_ADDR\'\']) && $_SERVER[\'\'REMOTE_ADDR\'\'] && strcasecmp($_SERVER[\'\'REMOTE_ADDR\'\'], "unknown"))
$ip = $_SERVER[\'\'REMOTE_ADDR\'\'];
else
$ip = "unknown";
return($ip);
&rightsign; 

//在线统计以及计数器防?
$afilename="blog/online.php";
$online_id=@file($afilename);
$nowtime=time();
$found=0;
for($i=0;$i<count($online_id);$i++)&leftsign;
    $oldip=explode("&line;&line;",$online_id[$i]);
    $hasonlinetime=$nowtime-$oldip[2];
 if ($ip!=$oldip[1] && $hasonlinetime<$onlinetime) $nowonline[]=$online_id[$i];
 if ($ip==$oldip[1]) $found=1;
 if($ip==$oldip[1] && $hasonline>$onlinetime) &leftsign;$found=0;&rightsign;
&rightsign;
$nowonline[]="<?die();?".">&line;&line;".$ip."&line;&line;".$nowtime."&line;&line;".$_SERVER[\'HTTP_USER_AGENT\']."\\n";
$total_online=@count($nowonline);
writetofile($afilename, implode("", $nowonline));
if ($found==0) $forcount=1;

ONLINE.PHP就是记录在线的文件,“HTTP_USER_AGENT”
当前请求的 User_Agent: 头部的内容。该字符串表明了访问该页面的用户代理的信息。一个典型的例子是:Mozilla/4.5 [en] (X11; U; Linux 2.2.9 i586)。您也可以使用 get_browser() 得到这个信息。

statistics.php 修改显示

if (!file_exists("blog/online.php")) $putonline="<tr><td align=\\"center\\">No Online Data</td></tr>";
else &leftsign;
 $nowonline=array_slice($nowonline,0,40); 修改了显示行数
 $theseonline=min(sizeof($nowonline), 40);修改了显示行数
 for ($i=0; $i<$theseonline; $i++) &leftsign;
  $tmpdata=explode("&line;&line;", $nowonline[$i]);
  if ($login_status!=1) &leftsign;
   $fullip=@explode(".", $tmpdata[1]);
   $tmpdata[1]=$fullip[0].\’.\’.$fullip[1].\’.\’.\’*.*\’;
  &rightsign;
  $putonline.="<tr><td>".$tmpdata[1].$tmpdata[3]."</td><td>".date($langdatefomat,mktimezone($tmpdata[2]))."</td></tr>";
 &rightsign;
&rightsign;
这边再加上显示

标签:, , , , ,