lundi 8 février 2010


Model : All Nokia

1 - Switch ON your phone without SIM Card,
2 - Compose #PW+CODE+1#

The letter P appear after press 3 times quickly the button star ( * )
The letter W appear after press 4 times quickly the button star ( * )
The letter + appear after press 2 times quickly the button star ( * )

3 - The phone show "SIM Restriction Off" and was unlocked !

1. 不要插sim卡,开机
2. 输入: #PW+CODE+1#
3.SIM Restriction Off
1.code就是我给你的解锁码,如果解锁码是: 123456789123456 那么只需要输入
2. p w + 这三个字符的输入方法
连续快速的按 * 键 3次----出现 p
连续快速的按 * 键 4次----出现 w
连续快速的按 * 键 2次----出现 +

如果输入错误的解锁码5次,以后显示的是Can Not Undo Restriction或Not Allowed,这种情况下就不能通过解锁码解了(即使你输入正确的解锁码)!


vendredi 5 février 2010

How to install style files in TexShop in Mac OSX Machine

Michael B. Williams wrote:

I am using the mactex distribution with texshop as my front end.

I have started using a package that does not come with the mactex
distribution, namely cleveref. I have the cleveref.sty file, and
currently if I want to use it I have to keep it in the same directory
as the tex file I am working on.

so, I would like to find out how I can install this package so that I
can use \usepackage{cleveref} from any tex document on my computer.

when I compile I see that texshop looks in the directory /usr/local/
texlive/2007/texmf-dist/tex/latex/ for the standard packages, such as
amsmath. so in this directory I created a new directory cleveref, and
dropped the sty file in it. unfortunately when I try to compile it
says it is missing the cleveref.sty file.

anyone know how I can install this package with my current set up?

Don't put packages not coming with the main distribution there. Rather
use /usr/local/texlive/texmf-local; otherwise the added file will
vanish when an update to the main distribution will be done.

From the Terminal, assuming you are in the directory where the
package files are:

% sudo mkdir -p /usr/local/texlive/texmf-local/tex/latex/cleveref
% sudo mv cleveref.sty /usr/local/texlive/texmf-local/tex/latex/cleveref
% ...(do the same for the other files)...
% sudo mktexlsr

Here "%" stands for the shell prompt, which will be different.
You can also navigate to /usr/local/texlive/texmf-local in the Finder
and copy the files this way. However you'll need to give the

sudo mktexlsr

anyway from the Terminal. If you don't know about "sudo", just do
as stated, giving your password when requested. Of course, this
assumes you are an administrator of the machine. The "mktexlsr"
command makes TeX know about the added files.

Another way is to put the package files in


(~ stands for your home directory). Other users of your machine will
not be able to use the added package, though. With this technique the
"mktexlsr" command is not needed.


Cite from:

lundi 1 février 2010

[转] LaTex 注释

1. 用%注释一行文字, 在%后的文字都不予编译;
2. 用\iffalse .... \fi 包含一段文字, 被包含的文字被注释掉了;
3. 用\begin{comment} ... \end{comment} 包含被注释的文字, 但是需要在引言区包括相应的宏包, 即 \usepackage{verbatim}.

[转] LNCS LaTeX style works

I’m writing a paper for a conference. It should be written with conformance to the Lecture Notes in Computer Science style. After visiting the page with information for LNCS authors) I though that it might be a sort of magic for many people.
Springer encourages authors to use LaTeX2e, provides a style file for LaTeX, documentation and samples. The samples and instructions are quite good to start writing a paper immediately if
  • you know LaTeX, and
  • the llncs style is installed.
Springer can’t help with the first issue. But it isn’t important.
The problem is that they don’t provide (or I haven’t found) help on installing the style. The number of people that can do it is much smaller of those who know LaTeX.
Fortunately, I’m one from that small group. Here is my way to use the style locally without putting it into the core LaTeX directories.
The style files are stored in the file I unpacked them into the folder “~/univer/gpce05/springer/texmf/tex/latex/llncs2e“. In fact, the path before “texmf” is not important.
First of all, I decided to check the sample file llncs.dem. As dvi-file already exists, I generated pdf:
$ pdflatex llncs.dem
$ pdflatex llncs.dem
The command was given twice to get correct links. On the first run, the database of links is created, and on the next runs the database is used.
Now goes local installation of the style. I’m not going to comment it. Consider it as magic:
$ export TEXMFLOCAL=~/univer/gpce05/springer/texmf
$ texconfig rehash
$ file ~/univer/gpce05/springer/texmf/ls-R
The first command specifies location of the local TeX repository. The second commands indexes the repository, and the last one just makes sure that the index is created.
To check, use the sample from the file Let me demonstrate a failure first. Open a new window and try to compile the TeX-file:
$ latex typeinst.tex
You get an error like:
LaTeX Error: File `llncs.cls' not found.
The right way is to specify the location of the repository first:
$ export TEXMFLOCAL=~/univer/gpce05/springer/texmf
$ latex typeinst.tex
$ latex typeinst.tex
Again, I’m running LaTeX twice to get correct links.
Original link: