1. 開啟官網下載Java安裝檔案jdk-7u15-linux-x64.tar.gz 2.開啟終端,根據個人習慣建立目錄sudo mkdir /usr/local/development 3.將下載的檔案移動到這個檔案夾下面並進行解壓。使用如下命令:sudo mv jdk-7u15-linux-x64.tar.gz /usr/local/developmentsudo tar -zxvf jdk-7u15-linux-x64.tar.gz 4.修改環境變數sudo gedit
1. Web發布到IIS為網站假設連接埠為20000。2. 配置HIMI類型: .xaml application/xmal+xml .xap
[一籃飯特稀原創,轉載請註明出處http://www.cnblogs.com/wanghafan/archive/2012/05/10/2493864.html]js指令碼正則判空和數字驗證View Code 1 <script type="text/javascript"> 2 function CheckNullAndType() 3 { 4 var ErrorStr=''; 5
//本地路徑轉換成URL相對路徑View Code 1 private string urlconvertor(string imagesurl1)2 {3 string tmpRootDir = Server.MapPath(System.Web.HttpContext.Current.Request.ApplicationPath.ToString());//擷取程式根目錄4 string imagesurl2 = imagesurl1.Replace(tmpRootDir, “”); //
1 <script language="javascript"> 2 var intIndex=0;arrList = new Array(); 3 arrList[intIndex++] = "www.flyso.net"; 4 arrList[intIndex++] = "flyso@163.com"; 5 arrList[intIndex++] = "b22dsafsdf"; 6 arrList[intIndex++] = "c333asdfsadf"; 7
在WIndowsPhone應用中有時候需要用到進行狀態條,我找到了一個第三方的控制項陳列庫,可以很方便的嚮應用中添加這個狀態條。 一、先決條件下載Coding4Fun Tools(地址:http://coding4fun.codeplex.com/releases/view/92875) 二、建立一個空的WindowsPhone項目 三、在引用中添加對 Coding4Fun.Phone.Controls.dll
C#中有三種常用的Timer,分別是1.System.Windows.Forms.Timer2.System.Threading.Timer3.System.Timers.Timer而在WindowsPhone中,這三種Timer都是停用。遂Google了下,在WindowsPhone中有一個DispatcherTimer類(MSDN介紹:http://msdn.microsoft.com/zh-cn/library/system.windows.threading.dispatchertime
ContactShow.aspx:View Code 1 <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ContactShow.aspx.cs" Inherits="Strongsoft.FloodControl.Web.Contact.ContactShow" %> 2 <%@ Register Assembly="System.Web.Silverlight"
[一籃飯特稀原創,轉載請註明出處http://www.cnblogs.com/wanghafan/archive/2012/05/10/2493799.html]銀光中ComboBox+TreeView構成自訂控制項: 思路1:textbox+button+treeview 缺點:不能跨ChildWindow、零散 [實現] 思路2:ComboBox+TreeView+textbox 優點:可以跨ChildWindow [實現]+[推薦] 思路3:ComboBox+TreeView
1 <html> 2 <head></head> 3 ----------------執行個體1--------------- 4 <script language="javascript"> 5 function add() 6 { 7 var myTable =
MyEclipse 2013myeclipse-pro-2013-offline-installer-windows.exemyeclipse-pro-2013-offline-installer-linux.runmyeclipse-blue-2013-offline-installer-windows.exe MyEclipse
讀取View Code 1 ConfigurationManager.AppSettings["isMail"] 修改View Code 1 public static void SetValue(string path, string KeyName, string AppValue) 2 { 3 XmlDocument xDoc = new XmlDocument(); 4 xDoc.Load(path); 5 XmlNode xNode; 6
調用:View Code 1 int width = 190;2 int height = 190;3 Bitmap source = new Bitmap("c:\\someimage.jpg");4 System.Drawing.Image thumb = source.GetThumbnailImage(width,height,null,IntPtr.Zero);5 thumb.Save("C:\\someimageshot.jpg");6
------------------------------CCNA-----------------------------------《CCNA學習指南》(中文第六版》
[一籃飯特稀原創,轉載請註明出處http://www.cnblogs.com/wanghafan/archive/2012/02/09/2344276.html]--簡單例子: View Code 1 using System.Text;2 using System.Text.RegularExpressions;3 4 string str = "<img>123456789</img>";5 string regexStr =
[一籃飯特稀原創,轉載請註明出自http://www.cnblogs.com/wanghafan/archive/2012/08/03/2621698.html]1.cmd進入控制台2.進入C:\Users\Administrator\.android目錄3.運行keytool -list -alias androiddebugkey -keystore debug.keystore -storepass android -keypass android4.記下密文,比如98:AD:7C:B9:
1 private void Init() 2 { 3 TreeViewItem tvi_0 = new TreeViewItem(); 4 5 CheckBox cb = new CheckBox(); 6 cb.Content = "所有"; 7 cb.Checked += new RoutedEventHandler((sender, e) =>{foreach (TreeViewItem item in tvi_0.Items){
1 架構編程概述 2 一個HTML頁面可以有一個或多個子架構,這些子架構以<iframe>來標記,用來顯示一個獨立的HTML頁面。這裡所講的架構編程包括架構的自我控制以及架構之間的互相訪問,例如從一個架構中引用另一個架構中的JavaScript變數、調用其他架構內的函數、控制另一個架構中表單的行為等。 3 架構間的互相引用 4
Excel匯入 資料庫View Code 1 private void GetExcelData07(string str) 2 { 3 try 4 { 5 strCon = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source='" + str + "';Extended Properties='Excel 8.0;HDR=Yes;IMEX=1'"; 6
WebService:View Code 1 [WebService(Namespace = "http://tempuri.org/")] 2 [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] 3 public class WebService : System.Web.Services.WebService { 4 5 public WebService () { } 6 7