Archive for April, 2010

How to make iTune monitor/auto-scan media files in selected folders?

Apple doesn’t support auto monitoring folders for media file. We have to do it manually. iTune Library Updater is an FREE, CLEAN & excellent tool to do this job.

Enjoy!

Change the default printing-output of an item @item

Normally, @(Item) is translated as a concatenation of the identity metadata of the elements in the item list Item – these values are delimitated by comma ‘,’  . We can customize this by using:

@(item->’…%(metaData)…’, ‘delim’ )

E.g., I often use the delimiter is %0A stands for a newline.

Just another song from Don Nguyễn (with NSUT Thành Lộc)

The name is “Geisha song”.

How to open command-line from current folder in Explorer?

Holding Shift and right click, then choose “Open command windows here”. Enjoy ^_^!

The difference between XmlRead vs XmlPeek ?

XmlPeek:
Read inner text.
Built-in support by MSBuild in dotNet Framework.

XmlRead:
Do not read inner text.
Need MSBuild Community Task.

Example:

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="MAIN" ToolsVersion="4.0">
  <!--<Import Project="$(MSBuildExtensionsPath)\MSBuildContrib\MSBuildContrib.Tasks"/>-->
  <!--<Import Project="$(MSBuildExtensionsPath)\ExtensionPack\MSBuild.ExtensionPack.tasks"/>-->
  <Import Project="$(MSBuildExtensionsPath)\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets" />

  <Target Name="MAIN">
    <XmlPeek Namespaces="&lt;Namespace Prefix='msb' Uri='http://schemas.microsoft.com/developer/msbuild/2003'/&gt;"
             XmlInputPath="$(MSBuildProjectFile)"
             Query="/msb:Project/msb:Import">
      <Output TaskParameter="Result" ItemName="Peeked" />
    </XmlPeek>
    <Message Text="111: @(Peeked)"/>

    <XmlRead Prefix='msb' Namespace='http://schemas.microsoft.com/developer/msbuild/2003'
             XmlFileName="$(MSBuildProjectFile)"
             XPath="/msb:Project/msb:Import" >
      <Output TaskParameter="Value" ItemName="Peeked2" />
    </XmlRead>
    <Message Text="222: @(Peeked2)"/>
  </Target>
</Project>

How to copy full-path of a file in Windows OS?

Holding Shift and press right click, then click “Copy as path”. Enjoy ^_^

Insurance terms in English vs. Vietnamese

ENG VIE
Coverage Phạm vi bảo hiểm