Digging into TFS Deployer and MSBuild

Check this out:

TFS Deployer links:
http://notgartner.wordpress.com/2006/12/16/getting-started-with-tfs-deployer/

http://www.richard-banks.org/2008/04/deploying-web-sites-using-tfs-deployer.html 

 
MS Build link: http://blog.gfader.com/2010/12/do-you-automate-your-deployment-process.html

 

 

jQuery Selector tip – two classes or :not a class?

Haha, what a confusing tittle, isn’t it.

Ok, tip of the day.

How to select an element with jQuery by two classes?
$(‘.class1.class2’)

But, how to select an element with jQuery with a class1 but without  class2?
$(‘.class1:not(.class2)’)

It’s sometimes is quite trick to figure out but is really straightforward.

Vote contra a cobrança da taxa telefônica

Pessoal, tem um projeto de lei que proíbe a combrança das taxas telefonicas (R$ 40,37 (residencial) e R$ 56,08 (comercial)). Esse é o Projeto de Lei é o de n.º 5476, do ano de 2001.

O mais interessante que ele pode ser votado por telefone. Eu fiz isso e realmente funciona e não demorou nem um minuto para votar. Se puder vote também.

Como votar:
Ligue 0800-619619.

Você ouvirá a mensagem que vc está ligando para a camara dos deputados e que sua ligação será gravada, e então vc receberá as opções.
Então digite: 1 (um), 1 (um), 1 (um).
Pode ouvir as opções para ter certeza que isso não é um golpe ou algo do gênero 🙂

Assim você votou a favor ao cancelamento da cobrança da taxa mínima de telefone.

Vote agora, é bem rápido e não custa nada.

How to verify and to change the collation of some objects in our SQL Server DB

It’s a simple tip how to solve some issues caused by Collation inconsistences.

/*Selecting your DB*/
USE YOURDB
GO

/*Select all object which are different from SQL_Latin1_General_CP1_CI_AS – Put here what collation you are looking for. */
SELECT name, collation_name, *
FROM sys.columns
WHERE OBJECT_ID IN (SELECT OBJECT_ID
FROM sys.objects
WHERE type = ‘U’ )
and collation_name ‘SQL_Latin1_General_CP1_CI_AS’

/* Change the database collation */
ALTER TABLE TableName
ALTER COLUMN ColumnName NVARCHAR(6)
COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
GO

Easy, isn’t it?

Sorry but I’m so lazy now to format those SQL scripts 😛