Tuesday, August 22, 2006
JavaScript Style Attributes
at 10:44 PM 0 comments Posted by roni schuetz
Labels: java script, links
Monday, August 21, 2006
logging on method level: MethodBase.GetCurrentMethod()
if you like to add some information where you located within your code use something like this:
using System.Reflection;
.
.
.
Logger.YourMethodForMessages(
"Validation failed in: " +
((object)MethodBase.GetCurrentMethod()).ToString() + "; it has some invalid data;";
);
cheers
at 9:07 AM 0 comments Posted by roni schuetz
Labels: .net, code sample
Wednesday, August 16, 2006
Tuesday, August 08, 2006
TFSWarehouseDataSourceView is missing - Shit Happens
how to restore tfs warehouse DataSourceView
C:\Program Files\Microsoft Visual Studio 8\VC>
C:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Tools\SetupWarehouse.exe" -o -s SERVERNAME -d TfsWarehouse -c Warehouseschema.xml -a DOMAIN\SERVICEUSER -ra DOMAIN\REPORTUSER
at 9:53 PM 0 comments Posted by roni schuetz
Friday, August 04, 2006
how-to: make a for loop in dos and call websites with console browser wget
here are some FOR loops…
Count and display from 1 to 10:
for /L %i in (1 1 10) do @echo %i
Sequentially get the Microsoft home page 3 times using wget and dump its contents to the console:
for /L %i in (1 1 3) do @wget http://www.microsoft.com/ -O –
Same as above except done in parallel:
for /L %i in (1 1 3) do @start wget http://www.microsoft.com/ -O -
wget - can be get over here:
wget - console browser
thanks to Atif Aziz
at 1:12 PM 0 comments Posted by roni schuetz
Labels: cmd, code sample, tools