to find out which type of memory installed you can use this free utility:
1.download CPUZ from >here
2.Run and open memory tab :
Saturday
listen podcast audio book faster (timesaving tip) with mplayer
First download mplayer player from http://www.mplayerhq.hu/design7/dload.html
Other Mplayer command line samples
play shuffle-music from directory
Play shuffle winamp/text file list
more...
mplayer.exe -cache 1024 -speed 1.77 %1\*.*
Other Mplayer command line samples
play shuffle-music from directory
mplayer.exe -cache 1024 -shuffle %1\*.*
Play shuffle winamp/text file list
mplayer.exe -cache 1024 -shuffle -playlist %1
more...
Tuesday
DateTime to string with milliseconds
string resTime = DateTime.Now.ToString("yyyy.MM.dd HH:mm:ss:ffff");
Console.WriteLine(resTime);
more...
Wednesday
C# linq transfer data between linq object and business layer object sample
public class myClass
{
public int RecordID { get; set; }
public string Field1 { get; set; }
}
public void GetDataAndCallBusinessMethod()
{
using (DBDataContext db = new DBDataContext)
{
IEnumerable<myClass> Recs =
from tab in db.table
select new myClass
{
RecordID = tab.RecordID,
Field1 = tab.Field1
};
BusinessLayer.Businessmethod(Recs);
}
}
Monday
c# initialize new hashtable
Hashtable ht = new Hashtable() {
{"key1", "value1"},
{"key2", "value2"}
};
Subscribe to:
Posts (Atom)
test smtp server with powershell
Send-MailMessage -SMTPServer smtp.domain.com -To [email protected] -From [email protected] -Subject "This is a test email" -Body ...
-
Here is instruction how to make blinking text in rainmeter: 1.right click and select " Edit skin " 2.add following code to temp...
-
Error:The element 'Schedule' has invalid child element 'RecurrenceRule'. List of possible elements expected: 'Occurring...
-
If you use Visual Studio to open a Web project that was developed for the .NET Framework 2.0, the .NET Framework 3.0, or the .NET Framework...