How To Enable GNOME Classic Mode in Fedora / CentOS / RHEL Linux

Posted on

GNOME 3.8 introduces the classic mode: Classic mode is a new feature for those people who prefer a more traditional desktop experience. Built entirely from GNOME 3 technologies, it adds a number of features such as an application menu, a places menu and a window switcher along the bottom of the screen. Each of these
Read more

Common Operations of Symbolic Links on Linux

Posted on

Symbolic link or soft link files are very common and useful on Linux/Unix systems. It works as a alias file for a file. You can create a symbolic links and it can operate transparently for most operations just as normal files. Programs that read or write to files named by a symbolic link behaves as
Read more

C++ Reference and Styles

Posted on

C++ References Reference of the C++ Language Library, with detailed descriptions of its elements and examples on how to use its functions: http://www.cplusplus.com/reference/ C++ reference: http://www.cppreference.com/w/ C++ Styles I compile a list of C++ styles on the Internet. http://geosoft.no/development/cppstyle.html http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml http://www.mactech.com/articles/develop/issue_02/C%2B%2B_Style_Guide_v007.html http://www.cs.uga.edu/~dkl/1302/Fall99/style.html

Outlook-style Email Reply Header in Thunderbird

Posted on

Thunderbird’s email reply header is short and not like the ones in Outlook and other email clients. Thunderbird provides several integrated reply headers. However, the Outlook-style reply header with sender, receiver, date, and other information are clear and useful (e.g. my boss cc’ed an email to me to let me handle a request and I
Read more

How to Activate Windows 7 using MAK Activation

Posted on

The Windows 7 Multiple Activation Key (MAK) can be used to activate Windows 7 Enterprise installed with the Windows 7 Volume Licence DVD provided by Microsoft to enterprise/university customers. How to activating Windows 7 with MAK: Make sure your system is connecting to the Internet. During Windows 7 activation, Windows will connect to Microsoft.com for
Read more

How to Print Notes on a PDF File with Acrobat, Adobe Reader and Foxit Reader

Posted on

Print PDF with notes is not that straightforward, especially when you want specific styles of the printed notes/comments. In this post, we introduce how to print notes on a PDF file with Acrobat, Adobe Reader and Foxit Reader. Acrobat The detailed method is posted on Adobe’s blog: Printing Sticky Notes on a PDF. Excerpt of
Read more

HP Compaq BIOS Crisis Recovery from a Failed BIOS Flashing Using a USB Flash Disk

Posted on

I tried to flash my HP Compaq CQ35-240TX’s BIOS to F.15 but unfortunately failed. The computer turned to white screen. When I restarted (powered off then boot again), this is no response any more: the hard disk and caps lock’s LED keep blinding. I thought “Oh my God! I must send it to HP to
Read more

Latex Cheat Sheet

Posted on

Latest has many commands and it is not easy to quickly remember them all. Then, a cheat sheet will be very useful. Here is a collection of cheat sheets for Latex that I collected from the Web. Latex cheat sheet Latex cheat sheet by Winston Chang: Download latex cheat sheet. LaTeX Math Symbols https://web.archive.org/web/20190707092927/http://web.ift.uib.no/Teori/KURS/WRK/TeX/symALL.html

Setting Up POP3/IMAP Email Box on Nokia E71

Posted on

The software in Nokia E71 already support POP3 and IMAP email box. But we may lead to install Nokia messaging and setting up account of Nokia messaging. Storing our emails in remote servers isn’t a secure way. And why not use IMAP directly if it is supported by the system software? How to set up
Read more

Thunderbird Tips: Default Descending Email Sort Order and Inline Quote When Reply

Posted on

Thunderbird is a great email client and what make it special is deeply configurable like Firefox. For me, I like to view email in the descending sort order and inline quote relied email content when replying emails. Let’s look at how to set the default order as descending sort order and quote mode as inline
Read more

Set Up SSH Server on Windows XP

Posted on

It is useful sometimes to set up a sshd server on a Windows. One example is using remote forwards tunnel to pass through the firewall. My platform is Windows XP SP3. The sshd server is sshwindows. It can be dowloaded from here: http://sshwindows.sourceforge.net/ . The version I use here is 3.8p1-1 20040709. It is really
Read more

Essential Firefox Add-ons to Make Firefox Better

Posted on

Firefox is highly configurable and there are lots add-ons for it. Addons make Firefox to be good. In this post, I list a set of the best add-ons that I use daily and make my life easier and happier. Essential Firefox addons Screengrab! to make screenshots and save to files or to clipboard. Foxy Gestures
Read more

Java与C++在语言方面上的不同

Posted on

1,Java抛弃了头文件、预处理机制、goto语句和多维数组。 2,Java不支持指针。 3,Java抛弃了联合体和结构体。 4,Java不支持独立函数。所有函数必须在类中声明。 5,Java不支持多重继承,可以使用接口模拟多重继承。 6,Java不支持运算符重载。 7,Java中布尔型不再用整数来代替。 8,Java中主函数必须有一个字符串类型的参数。 Java抛弃的C++中的这些机制和结构多数都是“危险”的,减少了语言的复杂性,增强了安全性,虽然在一定程度上减少了其灵活性。

Hashing Library for C

Posted on

I try to find some Hashing libraries for C and find several good ones. The hsearch function in the GNU C library. There are other methods to organize information which later should be searched. The costs of insert, delete and search differ. One possible implementation is using hashing tables. The following functions are declared in
Read more

Makefile Tutorials

Posted on

Make is a utility that automatically builds executable programs and libraries from source code by reading files called makefiles which specify how to derive the target program. Make is widely used, especially in Unix/Linux world. More introductions to Make and it’s history can be found on Wikipedia. In this post, I list articles for Makefile
Read more

Floating Point in Bash Shell

Posted on

Integers are natively supported in Bash shell. However, what if we use floating point in Bash shell? The short and direct answer is using ‘bc‘ command – “An arbitrary precision calculator language.” Just run bc  and enter some floating point calculation expression, such as “1.2+8.2”, bc will give the result. In a script, we certainly
Read more

GNU C Reference Manual

Posted on

When we program in C, a C reference by hand is usually useful. The GNU C Reference Manual provides us a good reference for the C programming language implemented by the GNU C Compiler. “This manual is strictly a reference, not a tutorial. Its aim is to cover every linguistic construct in GNU C.” GNU
Read more

Inline Assembly with GCC on Linux

Posted on

One cool feature of gcc is that it can inline assembly into C code. With inline assembly, the programmer can precisely control the execution of the processor, such as forcing variables to use registers, getting special processor state efficiently, and writing critical efficient code in assembly by hand. I compile a list of tutorials from
Read more