我有一个ZIP文件目录(在Windows机器上创建).我可以手动解压缩它们unzip filename
,但是如何通过shell解压缩当前文件夹中的所有ZIP文件?
使用Ubuntu Linux服务器.
我得到下面的代码,试图将图像从Web加载到Image控件,当我运行它时,我得到一个错误的给定行,不允许网络访问:
private void button1_Click(object sender, RoutedEventArgs e)
{
WebClient webClientImgDownloader = new WebClient();
webClientImgDownloader.OpenReadCompleted += new OpenReadCompletedEventHandler(webClientImgDownloader_OpenReadCompleted);
webClientImgDownloader.OpenReadAsync(new Uri("http://dilbert.com/dyn/str_strip/000000000/00000000/0000000/000000/80000/5000/100/85108/85108.strip.print.gif", UriKind.Absolute));
}
void webClientImgDownloader_OpenReadCompleted(object sender, OpenReadCompletedEventArgs e)
{
BitmapImage bitmap = new BitmapImage();
bitmap.SetSource(e.Result); // ERROR HERE!
image1.Source = bitmap;
}
Run Code Online (Sandbox Code Playgroud)
适用于Windows Phone 7的Silverlight
作为一个爱好我用JavaScript写了一个游戏并且很想将它发布到Facebook,你能用纯HTML和JavaScript编写一个Facebook应用程序吗?
这些新数据类型的目的是什么?我通常会使用"int"或"long",但为什么会存在这些?他们带来了什么新的功能或目的?
c# ×2
.net ×1
asp.net ×1
c++ ×1
c++11 ×1
facebook ×1
google-buzz ×1
html5 ×1
ip-address ×1
java ×1
javascript ×1
jquery ×1
linq ×1
linq-to-sql ×1
linux ×1
shell ×1
silverlight ×1
t-sql ×1
unzip ×1
wildcard ×1