Move everything there
Posted by wanyancan 于 7月 22, 2009
Posted in Uncategorized | 2 Comments »
槌击! 槌击!
Posted by wanyancan 于 7月 8, 2009
槌击!槌击!
从Q一直到P!一个完美的终结!
从Z一直到M!又一个没有破绽的换行!
QWERTYUIOP
ZXCVBNM
在一阵喧闹过后,
静静的留在了
ASDFJKL;
Posted in Uncategorized | 3 Comments »
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 »
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” ?
- regsvr32 %systemroot%system32netshell.dll
- 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 |
OR |
*OR must be in all |
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 |
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 Example – from:david label:my-family Meaning – Messages from David that |
has:attachment
|
Search for messages with an attachment |
Example – from:david has:attachment Meaning – Messages from David that have |
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 – Meaning – Messages with an
Example – Meaning – Messages labeled |
(quotes)
|
Used to search for an exact phrase* *Capitalization isn’t taken into consideration |
Example – Meaning – Messages containing
Example – Meaning – Messages containing |
( )
|
Used to group words Used to specify terms that shouldn’t be excluded |
Example – Meaning – Messages from Amy
Example – Meaning – Messages in which |
in:anywhere |
Search for messages anywhere in Gmail* *Messages in Spam and Trash are excluded from searches |
Example – in:anywhere movie Meaning – Messages in All Mail, |
in:inbox in:trash in:spam |
Search for messages in Inbox, Trash, or Spam |
Example – in:trash from:amy Meaning – Messages from Amy that |
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 |
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”> 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”> Meaning – Messages sent between April 16, 2004 and April 18, 2004.* |
<font size=”-1″ face=”Arial, Helvetica,
sans-serif”> |
Search for chat messages | Example – <font face=”Arial, Helvetica,
sans-serif”> 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 »