Cacomania: tag


Merging files together with the PowerShell

Guido Krömer - 2156 days ago - Tags: , ,

After playing a round with TypeScript, I needed a way for merging all those single files together. Performing this task with Bash is quite simple. Under Windows there is no Bash, but a thing called PowerShell. The PowerShell has got a large amount of Bash like aliases, which makes the move from Bash to PowerShel really simple, as you can see in the script below.

$TARGET_FILE = "Full.ts"


$FILES = ls -Recurse -Filter "*.ts"

foreach ($FILE in $FILES) {
  cat $file.FullName >> $TARGET_FILE 



TypeScript, why you should fall in love with it

Guido Krömer - 2169 days ago - Tags: , ,

The possibilities with JavaScript are awesome, but the maintainability is sometime really crappy, this is why Microsoft released TypeScript, which is a class based and optionally strictly typed language, as a superset of JavaScript. The Browsers does not need to support TypeScript since it gets compiled into JavaScript, the compilation is still readable, too.

Visual Studio Express 2012 for Web, TypeScript with IntelliSense.

read more TEST