About

I work as a Consultant for Altran Italia S.p.A. in Milan (Italy).
I recently moved to a project at Bnp Paribas in Milan and I’m proud to be part of an excellent Agile environment.

I’m an enthusiast of .Net Framework and I like to share my experience as soon as I learn something new.

I live in Milan (Italy) with my wonderful wife and, in few months, with a wonderful baby!

If you want to contact: email

Advertisements

7 responses

31 03 2008
Esteban

Matteo,

I was wondering what you use for syntax highlight on your code samples. It looks really good, and I’d like to use it as well.

Thanks,
Esteban

31 03 2008
ilmatte

Hello Esteban,

for syntax highlight I use the wordpress tag:
[ sourcecode language=”csharp”]…[/sourcecode].

Note that I added a space between the leading bracket and the word sourcecode ([ sourcecode) just to let it be visible in this comment. You should write it with no spaces to make it work.

It takes care of formatting, syntax highlight and even adding those three links a the top of each sample (view plain, copy to clipboard, print).

I wrote a post about it. You can find it at:
https://ilmatte.wordpress.com/2008/01/17/wordpress-sourcecode-tag-and-themes/

Remember that it doesn’t work with the default wordpress theme: Kubrick.
I’m using freshy theme and it works well.

Following is a sample usage in csharp:

[ sourcecode language=”csharp”]
using System;
using NUnit.Framework;
using NUnit.Framework.SyntaxHelpers;

namespace ProjectName
{
[TestFixture]
public class Class1Tests
{
[Test]
public void TestMethod1()
{
bool testValue = true
// Post-interaction assertion
Assert.That(testValue, Is.True);
}
}
}[/sourcecode]

Hope this answers your question,

Matteo

4 08 2010
iuttam

Hi Matteo ,
Currently i am using iTech theme for my website and the tag doesn’t work in it. Do you have any ideas about how to make it work?
iuttam

9 06 2011
ilmatte

No, I’m sorry I don’t know why some of them don’t work.

11 11 2010
Kebin Wen

Hi Metteo
Where can I find CruiseControl.Net Tutorial – Part 3?

Thanks
Kebin

29 11 2010
ilmatte

I’m sorry I didn’t publish it yet. I started working on the draft in these days. Hope to publish it quickly.

3 01 2012
Matteo

I miei complimenti per l’articolo “Guide to Versioning…” in mezza giornata grazie alla tua chiarezza sono riuscito a metterne in piedi uno!

Many thanks 😉

Matteo

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




%d bloggers like this: