摘要: NetworkManger同pppoeconf其沖突,看來wicd才是解決之道啊。
閱讀全文
摘要: 菜鳥在ubuntu中無線網(wǎng)絡的設置
閱讀全文
打開以前的中文文檔,發(fā)現(xiàn)一切亂碼,做如下處理:
a. 按下 Alt+F2,打開“運行應用程序”對話框。在文本框中鍵入“gconf-editor”,并按下回車鍵,打開“配置編輯器”。b.展開左邊的樹節(jié)點,找到 /apps/gedit-2/preferences/encodings 節(jié)點并單擊它。c.
雙擊右邊的 auto_detected
鍵,打開“編輯鍵”對話框。單擊列表右邊的“添加”按鈕,輸入“GB18030”,單擊確定按鈕。列表的最底部新增加了一個“GB18030”。單擊選中
它,并單擊右邊的 “向上” 按鈕直到 “GB18030” 位于列表的頂部為止。
For now, I didn't install the Chinese Input software, so using English instead.
It's a fresh system, and it (Ubuntu 10.10) looks great! During my installation, several issues occurred. Keep a note below, hope can help someone else interested in.
-1> Issue One:
When installing the system using USB drive, it had following error and can't log into the install screen:
Unknown Keyword in configuration file.Boot:Solution: change U:/syslinux/syslinux.cfg as following:(i.e. delete
ui in the file)


Restart and now we can enter into the install menu.
2>Issue Two:
When selecting install item, it has following error:
failed due to unknown user id(0)
can't open /dev/sr0: No medium found.
Solution: this is because my laptop has no floppy drive while the floppy drive is enabled in BIOS. Log into BIOS and disable the floppy drive. then try again.
摘要: 轉載,算法的力量
李開復先生越來越成為我的偶像了。。。只恨相識太晚(單方面的相識),現(xiàn)在都已經(jīng)畢業(yè)了啊,一些很有告誡性質的話沒有及早的聽到,不過,也不算晚。
閱讀全文
There are the steps we should going to do...
假設你的gmail帳戶為 accountname@gmail.com,其對應密碼是gmailpassword。先在kmail里面添加gmail帳戶:
1)添加gmail pop。打開kamil,進入 設置-配置kmail-accounts。在‘接收’選項卡里,點添加。然后選擇類型為‘pop’,然后‘確定’。‘登錄名’輸入你的gmail電子郵件地址,比如accountname@gmail.com。‘密碼’輸入gmail密碼。‘主機’輸入pop.gmail.com。‘端口’輸入995。在‘其他’選項卡里,加密方式選擇‘使用安全的ssl連接下載郵件’,驗證方式為純文本。然后‘確定’。
2)添加gmail stmp。打開kamil,進入 設置-配置kmail-accounts。在‘發(fā)送’選項卡里,點添加。傳送方式選擇‘smtp’。然后確定。主機填寫‘smtp.gmail.com’。端口'587'。選中,‘服務器需要驗證’。然后填入你的gmail郵件地址和密碼。在‘安全’選項卡里面,加密方式選擇‘tls’。驗證方式選擇‘login’。
3)測試。你發(fā)送一封郵件到自己的gmail帳戶,看看自己是否能夠下載下來。
最近想開始學習stl,但是利用VC6.0進行編譯的話,總會出現(xiàn)很多警告,而換用VS2005之類的,感覺太繁瑣,為了建立一個空的控制臺程序,要建立那么大一個文件,費得勁比較大,所以想著利用Linux中的gcc來編譯,只要寫一個.cpp的文件就可以了??墒菍@個不是很了解,抄了一個文件進行編譯,卻出現(xiàn)好多的錯誤,可能是需要進行這樣那樣的設置的吧。特此立帖,希望達人能給我一些建議,如果可以能提供更好的編譯器,那是更加的好了。謝謝先了
我用的sample

sample
#include <iostream>
#include <vector>

using namespace std;

main()
{
vector< vector<int> > vI2Matrix; // Declare two dimensional array
vector<int> A, B;
vector< vector<int> >::iterator iter_ii;
vector<int>::iterator iter_jj;

A.push_back(10);
A.push_back(20);
A.push_back(30);
B.push_back(100);
B.push_back(200);
B.push_back(300);

vI2Matrix.push_back(A);
vI2Matrix.push_back(B);

cout << endl << "Using Iterator:" << endl;

for(iter_ii=vI2Matrix.begin(); iter_ii!=vI2Matrix.end(); iter_ii++)
{
for(iter_jj=(*iter_ii).begin(); iter_jj!=(*iter_ii).end(); iter_jj++)
{
cout << *iter_jj << endl;
}
}
}
輸出的錯誤:
[root@localhost Cpp]# gcc SampleVector.cpp
/tmp/ccJVmST1.o(.text+0x1ee): In function `main':
: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char,
std::char_traits<char> >&)'
/tmp/ccJVmST1.o(.text+0x1fe): In function `main':
: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char,
std::char_traits<char> >&)'
/tmp/ccJVmST1.o(.text+0x203): In function `main':
: undefined reference to `std::cout'
/tmp/ccJVmST1.o(.text+0x208): In function `main':
: undefined reference to `std::basic_ostream<char, std::char_traits<char> >::operator<<(std::basic_ostream<char, std::char_traits<char> >& (*)(std::basic_ostream<char, std::char_traits<char> >&))'
/tmp/ccJVmST1.o(.text+0x211): In function `main':
: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'
……
諸如此類的錯誤,我該怎么辦呢?
摘要: 不記得是哪次看書看到這個詞,卻不知道什么意思,后來google后,在Wikipedia中找到這個詞的解釋了,不過國內好像對這個網(wǎng)站采取的是block的政策,偶然的機會我打開了這個網(wǎng)頁,現(xiàn)將之整理一下貼在下面,算是補充點知識吧。
但是對這個詞的翻譯怎么翻呢?希望知道的人給我頂一下
閱讀全文