SVN merging example

The merge command works by taking the difference between two revisions of a file or directory in the repository and applying those differences to a location in your working copy directory.

If you fixed a bug in a branch , you would like to apply the changes into trunk, or even other branches. Without SVN, you have to do a lot of trivial copy and paste, and its error prone. This is what merge can do for you.

If you fixed a bug in a branch , you would like to apply the changes into trunk, or even other branches. Without SVN, you have to do a lot .

How to load a bat file when cmd is started in Win7

On Windows, the terminal didn't have a init file like rc file on Linux. If you have a lot of custom environment variable and favorite settings, its very common that you have to reconfigure them sometimes .

Messed up with system environment is not a good idea, they may lost or be overwrite by reinstall OS or software. It would nice if we can put all these setting in one place and load it when terminal start up , just like bashrc file in Linux.

Messed up with system environment is not a good idea, they may lost or be overwrite by reinstall OS or software. It would nice .

Free Keywords research tool

Google Keyword Research Tool

It belongs to Google Adwords, you have to open an account to use it. One of the best tool I ever used.

Windows hard links

For a very long time I don't know that in Windows OS, there is a technology called 'hard link'. One of the reason is that I usually just use FAT file system and only the NTFS support hard link.

The first time I know about hard link is when looking for information about winsxs folders. All the dll files in System32 are actually hard links point to winsxs folders.

The first time I know about hard link is when looking for information about winsxs folders. All the dll files in .

Visual Studio Version

There are three numbers may cause confusion: Product name, Version name, Compiler version. Here is a handy table

 
 
Product Name                                 Version              Ship Date           Compiler
----------------------------------------------------------------------------------------------
Visual Studio .NET                            7.0.??               02/2002            
Visual Studio .NET 2002 Service Pack 1        7.0.??
Visual Studio 2003                            7.1.??               04/2003
Visual Studio 2003 Service Pack 1             7.1.6030             09/13/2006
Visual Studio 2005                            8.0.5072.42                             14.00.50727.42
Visual Studio 2005 Service Pack 1                                  12/14/2006
Visual Studio 2008                            9.0.21022.8          11/19/2007 
Visual Studio 2008 SP1                        9.0.30729.1
Visual Studio 2010                            10.0.30319.1         04/12/2010         16.0.30319.01
Visual Studio 2010 SP1                        10.0.40219.1         03/03/2011
 
 

Windows winsxs myth

Start from Windows Vista, the WinSXS folder becomes the core component store position. Before that, the familiar System32 paly an important role in Windows OS, for example, Windows XP.

In later version of Windows, all core components are stored in WinSXS, and the old file becomes hard link point to WinSXS.

flex the unistd.h problem

When use generate lexer with flex and compile it as cplusplus file, you will get an error like this:

But when compile as c file it will be no problem, if you see the generated c file , you will see:

Hello World!

This is the first post . Welcome to the site
Previous Page 1 ... 10 11