关于作者

用户名:bin_270
笔名:bin_270
地区:
行业:其他

日历  

快速登录

+ 用户名:
+ 密 码:

在线留言



朋友的Blog

Blog

快速查询

广告

下载Firefox浏览器

访问统计:
文章个数:67
评论个数:9
留言条数:1




Powered by BlogDriver 2.1

雨细梦高

 

文章

有效提高你的写作水平——15个经典英语句型
一 ~~~ the + ~ est + 名词 + (that) + 主词 + have ever + seen (known/heard/had/read, etc)
~~~ the most + 形容词 + 名词 + (that) + 主词 + have ever + seen (known/heard/had/read, etc)
例句:Helen is the most beautiful girl that I have ever seen.
           海伦是我所看过最美丽的女孩。
      Mr. Chang is the kindest teacher that I have ever had.
           张老师是我曾经遇到最仁慈的教师。
二 Nothing is + ~~~ er than to + V
Nothing is + more + 形容词 + than to + V
例句:Nothing is more important than to receive education.
            没有比接受教育更重要的事。
三 ~~~ cannot emphasize the importance of ~~~ too much. (再怎么强调……的重要性也不为过。)
例句:We cannot emphasize the importance of protecting our eyes too much.
            我们再怎么强调保护眼睛的重要性也不为过。
四 There is no denying that + S + V ...(不可否认的……)
例句:There is no denying that the qualities of our living have gone from bad to worse.
           不可否认的,我们的生活品质已经每况愈下。
五 It is universally acknowledged that + 句子~~ (全世界都知道……)
例句:It is universally acknowledged that trees are indispensable to us.
          全世界都知道树木对我们是不可或缺的。
六 There is no doubt that + 句子~~ (毫无疑问的……)
例句:There is no doubt that our educational system leaves something to be desired.
          毫无疑问的我们的教育制度令人不满意。
七 An advantage of ~~~ is that + 句子 (……的优点是……)
例句:An advantage of using the solar energy is that it won't create (produce) any pollution.
         使用太阳能的优点是它不会制造任何污染。
八 The reason why + 句子 ~~~ is that + 句子 (……的原因是……)
例句:The reason why we have to grow trees is that they can provide us with fresh air.
           The reason why we have to grow trees is that they can supply fresh air for us.
           我们必须种树的原因是它们能供应我们新鲜的空气。
九 So + 形容词 + be + 主词 + that + 句子 (如此……以致于……)
例句:So precious is time that we can't afford to waste it.
            时间是如此珍贵,我们经不起浪费它。
十 Adj + as + Subject(主词)+ be, S + V~~~ (虽然……)
例句:Rich as our country is, the qualities of our living are by no means satisfactory.
         (by no means = in no way = on no account 一点也不)
          虽然我们的国家富有,我们的生活品质绝对令人不满意。
十一 The + ~er + S + V, ~~~ the + ~er + S + V ~~~
The + more + Adj + S + V, ~~~ the + more + Adj + S + V ~~~(愈……愈……)
例句:The harder you work, the more progress you make.
            你愈努力,你愈进步。
      The more books we read, the more learned we become.
            我们书读愈多,我们愈有学问。
十二 By +Ving, ~~ can ~~ (借着……,能够……)
例句:By taking exercise, we can always stay healthy.
           借着做运动,我们能够始终保持健康。
十三 ~~~ enable + Object(受词)+ to + V (使……能够……)
例句:Listening to music enable us to feel relaxed.
           听音乐使我们能够感觉轻松。
十四 On no account can we + V ~~~ (我们绝对不能……)
例句:On no account can we ignore the value of knowledge.
            我们绝对不能忽略知识的价值。
十五 It is time + S + 过去式 (该是……的时候了)
例句:It is time the authorities concerned took proper steps to solve the traffic problems.
           该是有关当局采取适当的措施来解决交通问题的时候了。

- 作者: bin_270 2006年10月19日, 星期四 14:11  回复(0) |  引用(0) 加入博采

英语学习-时间表达

1 You can say 'quarter past', (点钟过一刻)'half past'(半点钟), or 'quarter to'(点钟过三刻)

2 How do you say the following time? 3:45
it's three forty five
it's quarter to four
it's quarter to

3 How do you say the following time? 6:02
it's just gone six
时间刚过正点2-3分钟,就可以说,'it's just gone six'.

4 How do you say the following time? 2:57
it's nearly three o'clock
it's just before three o'clock
it's just coming up to three o'clock
英语表达时间概念的说法不拘一格,非常灵活。所以这三个句子都是正确的

5 In the army, they are very exact about time - how would a soldier express the following? 16:00
Sixteen hundred hours
军队对待时间的概念非常严格。 所以用sixteen hundred hours 表达是准确无误的。

- 作者: bin_270 2006年10月16日, 星期一 12:36  回复(0) |  引用(0) 加入博采

MP3批量更名

更名软件多了,用起别人总觉得不合习惯。

环境:需支持.net framework 2.0

Easily to modify ID3 tag. Batch rename for MP3 fils with title,artist,album,year.

下载 http://mumayi1.999kb.com/pic/2006-09-30/8r6du8fdlww01rdfml7f.zip

- 作者: bin_270 2006年09月30日, 星期六 10:03  回复(0) |  引用(0) 加入博采

用Javascript将图片等比例缩小

script:

function resizeimg(ImgD,iwidth,iheight) {
     var image=new Image();
     image.src=ImgD.src;
     if(image.width>0 && image.height>0){
        if(image.width/image.height>= iwidth/iheight){
           if(image.width>iwidth){
               ImgD.width=iwidth;
               ImgD.height=(image.height*iwidth)/image.width;
           }else{
                  ImgD.width=image.width;
                  ImgD.height=image.height;
                }
               ImgD.alt=image.width+"×"+image.height;
        }
        else{
                if(image.height>iheight){
                       ImgD.height=iheight;
                       ImgD.width=(image.width*iheight)/image.height;
                }else{
                        ImgD.width=image.width;
                        ImgD.height=image.height;
                     }
                ImgD.alt=image.width+"×"+image.height;
            }
     ImgD.style.cursor= "pointer"; //改变鼠标指针
     ImgD.onclick = function() { window.open(this.src);} //点击打开大图片
    if (navigator.userAgent.toLowerCase().indexOf("ie") > -1) { //判断浏览器,如果是IE
      ImgD.title = "请使用鼠标滚轮缩放图片,点击图片可在新窗口打开";
      ImgD.onmousewheel = function img_zoom() //滚轮缩放
      {
          var zoom = parseInt(this.style.zoom, 10) || 100;
          zoom += event.wheelDelta / 12;
          if (zoom> 0) this.style.zoom = zoom + "%";
          return false;
      }
     } else { //如果不是IE
            ImgD.title = "点击图片可在新窗口打开";
         }
    }
}

HTML:

<img id="imgDoc" border="0" src="test.jpg" onload="javascript:resizeimg(this,400,300);" >

- 作者: bin_270 2006年09月29日, 星期五 17:45  回复(0) |  引用(0) 加入博采

win2003 DCOM

DCOM or COM+在win2000下调试运行正常,迁入win2003时,程序无法调试报错"拒绝的权限"。

问题解决

1、组件服务添加应用程序,添加COM+组件。

2、应用程序的属性-Tab安全-授权-“对此应用程序强制进行访问权限检查”勾去掉

OK

- 作者: bin_270 2006年09月22日, 星期五 11:17  回复(0) |  引用(0) 加入博采

读中文乱码解决
 System.IO.StreamReader m_fs = new System.IO.StreamReader(url,System.Text.Encoding.GetEncoding("gb2312"));

- 作者: bin_270 2006年09月19日, 星期二 15:20  回复(0) |  引用(0) 加入博采

phpmyadmin ERROR: #1251

版本:
MySQL - 5.0.22-community-nt
php 4.4.2.2
phpMyAdmin 2.8.2.4

架设好了,打开网页报以下错误
#1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client


搜索原因,发现还是一个普遍问题.原因是因为你使用的mysql服务器版本中使用了新的密码验证机制,这需要客户端的版本要在4.0以上,原来的密码函数被改为old_password ();,这样使用password()生成的密码在旧的版本上的客户端就不好使了,而PHP中的MYSQL客户端都是3.23的.

解决方法:

先用root登录MYSQL服务器,执行

mysql>set password for root@"localhost"=old_password('yourPassword');

- 作者: bin_270 2006年08月30日, 星期三 11:33  回复(0) |  引用(0) 加入博采

好男人

什么是好男人

有人告诉我

有钱的才是好男人

没钱的当然不是好男人

然而

有钱的,虽然你从他那不能得不到什么,但他还是好男人,因为他有钱

没钱的,即使给了你他所有的,但还不算好男人,因为他还是没有钱

所以。。。。

没钱的男人悲哀啊

- 作者: bin_270 2006年08月27日, 星期日 22:24  回复(0) |  引用(0) 加入博采

ASP.net - 文本框按回车调用click

第一步
添加onkeypress事件
private void Page_Load(object sender, System.EventArgs e)
  {
   // 在此处放置用户代码以初始化页面
   txtSearch.Attributes.Add("onkeypress","keypress()");
  }
  
第二步
将txtSearch设为AutoPostBack
页面自动生成代码
<input type="hidden" name="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" value="" />

<script language="javascript" type="text/javascript">
<!--
 function __doPostBack(eventTarget, eventArgument) {
  var theform;
  if (window.navigator.appName.toLowerCase().indexOf("microsoft") > -1) {
   theform = document.frmMarketing1;
  }
  else {
   theform = document.forms["frmMarketing1"];
  }
  theform.__EVENTTARGET.value = eventTarget.split("$").join(":");
  theform.__EVENTARGUMENT.value = eventArgument;
  theform.submit();
 }
// -->
</script>


第三步
添加以下script
<script language="javascript" event="onkeydown" for="txtSearch">
if(event.keyCode==13)
{
__doPostBack('btnOk','');
return false;
}

</script>

- 作者: bin_270 2006年08月25日, 星期五 11:22  回复(0) |  引用(0) 加入博采

点击"另存为"按钮,弹出图片保存对话框

<script>
function savepic(){
pic=window.open(imgTest.src,"demo")
setTimeout('pic.document.execCommand("saveas")',0);
}
</script>

<iframe name=demo style="display:none"></iframe>
<img id="imgTest" src=2.jpg >
<a href="#" onclick="SaveAs()">另存为</a>

- 作者: bin_270 2006年07月28日, 星期五 12:10  回复(2) |  引用(0) 加入博采