command line

SVN Externals – how to add them

When creating a Zend Framework site, its always best to keep the Zend library as an external source. This way you can keep the branch up-to-date with the release of Zend with a simple text file.

To access the externals file, navigate to the root of your site:

> cd /var/www/mysite

And add the external to the svn:externals file. I am using the latest version of Zend Framework for this, but you can use any SVN source you like. Note, it has to be available as an SVN repository.

> svn propedit svn:externals .

This will open a text editor.

To enter an external, just enter the local folder to download to, and the source SVN.

destination source

So, if I want my Zend Framework files to be saved in /var/www/mysite/library/Zend :


The first part is the local, second part is the URL of the repository.

Save and close.

Next time you do an update, svn will go and fetch the external files and save them for you.

Other externals are available, such as JQuery, various wikis and other JS sources.




CSV file of Windows Process list

If you need a CSV file of the currently running  processes in Windows you can use the task manager command line tool.


This will dump the task list to the screen. But there are several options you can use:

C:> TASKLIST.EXE /V /FO CSV > filename.csv

The above will produce a nicely formatted CSV file with information about the process, such as CPU Time and memory used.

The full list of other options can be found at the Microsoft Technet library, well, until they move the location of it…