豆瓣电台下载
下载链接类似 http://douban.fm/j/mine/playlist?r=0.8999408618547022&type=r&sid=501054&h=|364993:p|630475:p|1380740:p|501054:r&channel=2 SID,CHANNEL,type都是必须的。返回个PLAYLIST。JSON数组? {“r”:0,”song”:[{"picture":"http:\/\/img3.douban.com\/mpic\/s1400647.jpg","albumtitle":"Lennon Legend: The V...","company":"Capitol","rating_avg":4.609370,"public_time":"1998-02-24","album":"\/subject\/1395275\/","like":"0","artist":"John Lennon","url":"http:\/\/mr4.douban.com\/201101021105\/0222ce7c85ff473e0d91d8d56305e79d\/view\/song\/small\/p1403051.mp3","title":"Cold Turkey","subtype":"","sid":"1403051","aid":"1395275"},{"picture":"http:\/\/img3.douban.com\/mpic\/s3868617.jpg","albumtitle":"Dangerous","company":"Sony","rating_avg":4.696230,"public_time":"1991","album":"\/subject\/1422152\/","like":"0","artist":"Michael Jackson","url":"http:\/\/mr4.douban.com\/201101021105\/20236647acd3ff11c48b284b6817072e\/view\/song\/small\/p967061.mp3","title":"Dangerous","subtype":"","sid":"967061","aid":"1422152"},{"picture":"http:\/\/img3.douban.com\/mpic\/s2717072.jpg","albumtitle":"Westlife - Unbreakab...","company":"RCA Victor Europe","rating_avg":4.496790,"public_time":"2002-11-26","album":"\/subject\/1452987\/","like":"0","artist":"Westlife","url":"http:\/\/mr4.douban.com\/201101021105\/c105dc2839686ef307a4e175bb2170f1\/view\/song\/small\/p1382426.mp3","title":"Unbreakable (single Remix)","subtype":"","sid":"1382426","aid":"1452987"},{"picture":"http:\/\/img3.douban.com\/mpic\/s3017846.jpg","albumtitle":"It Won't Be Soon Bef...","company":"A&M \/ Octone Records","rating_avg":4.088900,"public_time":"2007-05-22","album":"\/subject\/2032823\/","like":"0","artist":"Maroon 5","url":"http:\/\/mr4.douban.com\/201101021105\/c8a3fa06b4c3a5f7236a7f92d74c2243\/view\/song\/small\/p464284.mp3","title":"Won’t Go Home Without You (acoustic Version)","subtype":"","sid":"464284","aid":"2032823"},{"picture":"http:\/\/img3.douban.com\/mpic\/s1400216.jpg","albumtitle":"The Memory Of Trees","company":"© 1995 Warner Music UK Ltd. \/ Reprise Records","rating_avg":4.402740,"public_time":"1995","album":"\/subject\/1394952\/","like":"0","artist":"Enya","url":"http:\/\/mr4.douban.com\/201101021105\/19678cf350c8b131f5e871ad583cd9e7\/view\/song\/small\/p658204.mp3","title":"From Where I Am","subtype":"","sid":"658204","aid":"1394952"},{"picture":"http:\/\/img3.douban.com\/mpic\/s3142014.jpg","albumtitle":"Dreaming Out Loud","company":"Interscope Records","rating_avg":4.162190,"public_time":"2007-11-20","album":"\/subject\/2285684\/","like":"0","artist":"OneRepublic","url":"http:\/\/mr4.douban.com\/201101021105\/dc07f33a38af5d185e66d38af7b5689c\/view\/song\/small\/p1381621.mp3","title":"Stop And Stare","subtype":"","sid":"1381621","aid":"2285684"},{"picture":"http:\/\/img5.douban.com\/mpic\/s3771905.jpg","albumtitle":"Com Lag (2Plus2IsFiv...","company":"EMI Int'l","rating_avg":4.190890,"public_time":"2004","album":"\/subject\/1401429\/","like":"0","artist":"Radiohead","url":"http:\/\/mr3.douban.com\/201101021105\/04367996e2be40270af518cb4d8ec24e\/view\/song\/small\/p1437167.mp3","title":"I Will [Los Angeles [...]
随笔-MD5悲剧-c#
图书馆对面的2小情侣给了我动力,终于搞定了课设,今晚又尝试了下MD5加解密文件系统密码,网上找了个MD5类如下,结果就悲剧了
string和byte[]的相互(C#)
string类型转成byte[]: byte[] byteArray = System.Text.Encoding.Default.GetBytes ( str ); 反过来,byte[]转成string: string str = System.Text.Encoding.Default.GetString ( byteArray );
app.config-c#读写类
一个APP.CONFIG读写类,2个MD5类
VISUAL C#系列
private void button2_Click(object sender, EventArgs e) {//获取Cmd命令行窗口中显示的内容 Process MyProcess = new Process(); //设定程序名 MyProcess.StartInfo.FileName = “cmd.exe”; //关闭Shell的使用 MyProcess.StartInfo.UseShellExecute = false; //重定向标准输入 MyProcess.StartInfo.RedirectStandardInput = true; //重定向标准输出 MyProcess.StartInfo.RedirectStandardOutput = true; //重定向错误输出 MyProcess.StartInfo.RedirectStandardError = true; //设置不显示窗口 MyProcess.StartInfo.CreateNoWindow = true; //执行DOS命令 MyProcess.Start(); [...]
CrossThreadDemo跨线程安全编程/ORZ
using System; using System.ComponentModel; using System.Threading; using System.Windows.Forms; namespace CrossThreadDemo
微软企业库DAAB4.1试用
下面2个系列讲的都不错 http://www.cnblogs.com/Terrylee/archive/2006/07/03/enterprise_library2_1.html http://www.cnblogs.com/HCOONa/category/172235.html 下面是MSDN的大牛 http://blogs.msdn.com/tomholl/archive/tags/Enterprise+Library/default.aspx 按他的说法搞了到最后也没用起来Enterprise Library Configuration,反倒是直接reference和using了OK
wmi查询管理:c#
调用rundll32等实现各种功能:c#
C#调用打印机信息
private void button1_Click(object sender, EventArgs e)//richTextBox看来很好用啊
keep looking »![如果您自认为是一位忠实的Silverlight-Fans,那么请将此标志放到您的博客中成为一名真正的[银光使者]](http://images.cnblogs.com/cnblogs_com/alamiye010/Silverlighter1.jpg)