08 2013 档案

摘要:using Microsoft.Phone.Controls;using Microsoft.Phone.Tasks;using System;using System.Windows;namespace PhoneAppChooser{ public partial class MainPage : PhoneApplicationPage { public MainPage() { InitializeComponent(); } /* * 如何使用 Windows Phone 地址选... 阅读全文
posted @ 2013-08-30 18:53 nil 阅读(211) 评论(0) 推荐(0) 编辑
摘要:http://msdn.microsoft.com/zh-CN/library/gg278408(v=vs.92)#BKMK_Launchersusing Microsoft.Phone.Controls;using Microsoft.Phone.Tasks;using System;using System.Windows;namespace PhoneAppBingRoadMap{ public partial class MainPage : PhoneApplicationPage { // 构造函数 public MainPage() ... 阅读全文
posted @ 2013-08-30 16:40 nil 阅读(452) 评论(0) 推荐(0) 编辑
摘要:/* Copyright (c) 2010 Microsoft Corporation. All rights reserved. Use of this sample source code is subject to the terms of the Microsoft license agreement under which you licensed this sample source code and is provided AS-IS. If you did not accept the terms of the license agreement,... 阅读全文
posted @ 2013-08-30 14:16 nil 阅读(193) 评论(0) 推荐(0) 编辑
摘要:ActivatedEventArgsIsApplicationInstancePreserved如果ApplicationInstancePreserved为 true,则表示该应用程序已休眠,因此其状态自动进行了保留,http://msdn.microsoft.com/zh-CN/library/ff967547(v=vs.92) 阅读全文
posted @ 2013-08-29 13:53 nil 阅读(145) 评论(0) 推荐(0) 编辑
摘要:private void Button_Click_4(object sender, RoutedEventArgs e) { HttpWebRequest request = HttpWebRequest.CreateHttp("http://www.example.com"); //request.Headers["UserAgent"] request.Method = "GET"; request.BeginGetResponse(callback, request);... 阅读全文
posted @ 2013-08-07 09:21 nil 阅读(3113) 评论(1) 推荐(0) 编辑
摘要:块状(Block)类型的元素的width默认为100%,而行内(Inline)类型的元素则是根据自身的内容及子元素来决定宽度。块元素(block element)address - 地址blockquote - 块引用center - 举中对齐块dir - 目录列表div - 常用块级容易,也是CSS layout的主要标签dl - 定义列表fieldset - form控制组form - 交互表单h1 - 大标题h2 - 副标题h3 - 3级标题h4 - 4级标题h5 - 5级标题h6 - 6级标题hr - 水平分隔线isindex - input promptmenu - 菜单列表nofr 阅读全文
posted @ 2013-08-05 13:54 nil 阅读(286) 评论(0) 推荐(0) 编辑
摘要:http://help.aliyun.com/origin?helpId=271 查看已挂在磁盘使用情况 df -h[root@AY121110111722e1c8917 ~]# df -hFilesystem Size Used Avail Use% Mounted on/dev/xvda1 20G 1.2G 18G 6% /tmpfs 245M 0 245M 0% /dev/shm查看磁盘,包括未挂在的,个人理解的是磁盘的个数。[root@AY121110111722e1c8917 ~]... 阅读全文
posted @ 2013-08-03 19:03 nil 阅读(713) 评论(0) 推荐(0) 编辑
摘要:顺便吐槽一下,有道笔记的排版太难用了,啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊============================================================================测试nginx.conf文件配置语法是否错误: /usr/local/nginx/sbin/nginx -tfast shutdown:/usr/local/nginx/sbin/nginx -sstopgraceful shutdown:/usr/local/nginx/sbin/nginx -s quitchanging conf 阅读全文
posted @ 2013-08-03 17:59 nil 阅读(1037) 评论(0) 推荐(0) 编辑