So be it

Just another WordPress.com weblog

Move everything there

Posted by wanyancan 于 7月 22, 2009

xcopy [destination] /E /C /G /H /R /K /X /Y
/E copies dir and subdir, including empty ones
/C continues even if errors occur.
/G copy encrypted files as well even [destination] may not support
/H copies hidden and system also
/R overwrite read-only files
/K copy attributes
/X copy ownership and ACL information and audit settings
/Y suppresses prompting to confirm to overwrite

Posted in Uncategorized | 2 Comments »

槌击! 槌击!

Posted by wanyancan 于 7月 8, 2009

我凝视着它,
槌击!槌击!
从Q一直到P!一个完美的终结!
从Z一直到M!又一个没有破绽的换行!
QWERTYUIOP
ZXCVBNM
在一阵喧闹过后,
静静的留在了
ASDFJKL;

Posted in Uncategorized | 3 Comments »

test

Posted by wanyancan 于 4月 21, 2009

With windows live writer.

Winter

The winter.

 

 

 

 

S11

S12

S21

S22
地图图片

Posted in Uncategorized | 1 Comment »

He or She?

Posted by wanyancan 于 2月 6, 2009

How to tell the name is a he or she?
http://www.gpeters.com/names/baby-names.php
中文名字性别检测
http://www.chinese-tools.com/tools/gender-guesser.html

Posted in Uncategorized | 1 Comment »

要热爱学习

Posted by wanyancan 于 1月 6, 2009



要热爱学习。

Posted in Uncategorized | 1 Comment »

Set ip address in winxp by using netsh

Posted by wanyancan 于 12月 17, 2008

Some strange thing(s) happened. Network Connections’ properties can’t be opened, and annoying and fucking idiot warning “An unexpected error occurred” pops up.
What to do next ?


netsh interface ip set address name=”Local Area Connection”
static 192.168.0.100 255.255.255.0 192.168.0.1 1

or

netsh interface ip set address name=”Local Area Connection” dhcp

and you need to set the dns as well as the above line will reset it to empty.


netsh interface ip set
dns name=”Local Area Connection” static xx.xx.xx.xx

netsh interface ip set
wins name=”Local Area Connection” static xx.xx.xx.xx

But, if you backup the settings , thins will be much easier.


netsh -c interface dump > c:setting_backup.txt

And to restore:


netsh -f c:setting_backup.txt

Finally, why “An unexpected error occurred” ?

What you need to do is as following:
  1. regsvr32 %systemroot%system32netshell.dll
  2. regsvr32 %systemroot%system32ole32.dll


Posted in Uncategorized | Leave a Comment »

DC Power Regulator

Posted by wanyancan 于 12月 12, 2008

Basic functions of a dc-dc converter:

  • convert a dc input voltage VI to the desired dc output voltage within a tolerance range. (e.g., Vo=1.2V + 1%)
  • regulate output voltage Vo against variation in VI, the load current (or load resistance RL), and the temperature
  • reduce output ripple
  • fast response to changes in VI and Io (or RL)
  • provide dc isolation (protection against short-circuit output leads or connects to another voltage source)
  • multiple outputs (VO1, VO2, …)
  • immune to interference

Posted in Uncategorized | Leave a Comment »

gmail search operators

Posted by wanyancan 于 12月 11, 2008

Operator Definition Example(s)
from: Used to specify the
sender
Example – from:amy

Meaning – Messages from Amy

to: Used to specify a recipient Example – to:david

Meaning – All messages that were sent to David (by you or someone else)


subject:

Search for words in the subject line
Example – subject:dinner

Meaning – Messages that have
the word “dinner” in the subject


OR


Search for messages matching term A or term B*

*OR must be in all
caps

Example – from:amy OR from:david

Meaning – Messages from Amy or from David

(hyphen)


Used to exclude messages from your search
Example – dinner -movie

Meaning – Messages that contain the word “dinner” but do not contain
the word “movie”

label: Search
for messages by label*

*There isn’t a search operator for unlabeled messages

Example – from:amy label:friends

Meaning – Messages from Amy that
have
the label “friends”

Example – from:david label:my-family

Meaning – Messages from David that
have
the label “My Family”


has:attachment

Search for
messages with an attachment
Example –
from:david has:attachment

Meaning – Messages from David that have
an attachment

list: Search for messages on mailing lists

Example – list:info@example.com

Meaning – Messages with the words info@example.com in the headers, sent to or from this list


filename:

Search for an attachment by name or type

Example –
filename:physicshomework.txt

Meaning – Messages with an
attachment named “physicshomework.txt”

Example –
label:work filename:pdf

Meaning – Messages labeled
“work” that also have a PDF file as an attachment


” “

(quotes)


Used to search for an exact phrase*

*Capitalization isn’t taken into consideration

Example –
“i’m feeling lucky”

Meaning – Messages containing
the phrase “i’m feeling lucky” or “I’m feeling lucky”

Example –
subject:”dinner and a movie”

Meaning – Messages containing
the phrase “dinner and a movie” in the subject


( )


Used to group words

Used to specify terms that shouldn’t be excluded

Example –
from:amy(dinner OR movie)

Meaning – Messages from Amy
that contain either the word “dinner” or the word “movie”

Example –
subject:(dinner movie)

Meaning – Messages in which
the subject contains both the word “dinner” and the word “movie”


in:anywhere

Search for messages anywhere in Gmail*

*Messages in Spam and Trash are excluded from searches
by default

Example – in:anywhere
movie

Meaning – Messages in All Mail,
Spam, and Trash that contain the word “movie”


in:inbox

in:trash

in:spam


Search for messages in Inbox, Trash, or Spam
Example – in:trash
from:amy

Meaning – Messages from Amy that
are in Trash

is:starred

is:unread

is:read


Search for messages that are starred, unread or read
Example –
is:read is:starred from:David

Meaning – Messages from David that
have been read and are marked with a star


cc:

bcc:


Used to specify recipients in the cc: or bcc: fields*

*Search on bcc: cannot retrieve messages on which you were blind carbon copied

Example –
cc:david

Meaning – Messages that were cc-ed to David

<font size=”-1″ face=”Arial, Helvetica,

sans-serif”>
after:

before:

Search for messages sent
during a certain period of time*

*Dates must be in yyyy/mm/dd format.

Example – <font face=”Arial, Helvetica,

sans-serif”>
after:2004/04/16 before:2004/04/18

Meaning – Messages sent between April 16, 2004 and April 18, 2004.*
*More precisely: Messages sent after 12:00 AM (or 00:00) April 16, 2004 and before April 18, 2004.

<font size=”-1″ face=”Arial, Helvetica,

sans-serif”>
is:chat

Search for chat messages Example – <font face=”Arial, Helvetica,

sans-serif”>
is:chat monkey

Meaning – Any chat message including the word “monkey”.

Posted in Uncategorized | Leave a Comment »

texhash

Posted by wanyancan 于 12月 1, 2008

When you ask TeX to use a certain class or package, it usually looks for the necessary files in so-called texmf trees. These trees are simply huge directories that contain these files. By default, TeX looks for files in three different texmf trees:

  • The root texmf tree, which is usually located at /usr/share/, c:texmf, or c:Program FilesTeXLivetexmf.
  • The local texmf tree, which is usually located at /usr/local/share/, c:localtexmf, or c:Program FilesTeXLivetexmf-local.
  • Your personal texmf tree, which is located in your home directory.

Finally, you need to rebuild TeX’s filename database. This done by running the command texhash or mktexlsr (they are the same). In MikTeX, there is a menu option to do this.

Posted in Uncategorized | 2 Comments »

Tvants

Posted by wanyancan 于 8月 15, 2008

浙大出品
Tvants
观看奥运视频
为中国队加油~
下载 download 地址
http://tvants.en.softonic.com/

Posted in Uncategorized | 1 Comment »