上一页 1 2 3 4 5 6 ··· 22 下一页
摘要: mac 一般使用bash作为默认shellMac系统的环境变量,加载顺序为:/etc/profile /etc/paths ~/.bash_profile ~/.bash_login ~/.profile ~/.bashrc当然/etc/profile和/etc/paths是系统级别的,系统启动就会... 阅读全文
posted @ 2015-07-31 23:14 chunchill 阅读(246631) 评论(2) 推荐(8) 编辑
摘要: (1)首先要知道你使用的Mac OS X是什么样的Shell,使用命令echo $SHELL如果输出的是:csh或者是tcsh,那么你用的就是C Shell。如果输出的是:bash,sh,zsh,那么你的用的可能就是Bourne Shell的一个变种。Mac OS X 10.2之前默认的是C She... 阅读全文
posted @ 2015-07-31 23:06 chunchill 阅读(1945) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Security.Claims;using System.Security.Principal;using System.Text;using S... 阅读全文
posted @ 2014-10-14 10:43 chunchill 阅读(2128) 评论(0) 推荐(0) 编辑
摘要: svn server:1.c:\Program Files\TortoiseSVN\bin>svnserve -d -r C:\Jasper\Repositories2.change the setting under server repository folder "svnserve.conf"... 阅读全文
posted @ 2014-09-19 14:28 chunchill 阅读(194) 评论(0) 推荐(0) 编辑
摘要: JavaProgram StructureC#package hello; public class HelloWorld { public static voidmain(String[] args) { String name = "Java"; // See if an ... 阅读全文
posted @ 2014-09-15 19:29 chunchill 阅读(833) 评论(1) 推荐(0) 编辑
摘要: VB.NETProgram StructureC#Imports System Namespace Hello Class HelloWorld Overloads Shared SubMain(ByVal args() As String) Dim name As String... 阅读全文
posted @ 2014-09-15 19:28 chunchill 阅读(679) 评论(0) 推荐(0) 编辑
摘要: 1.Download the "Gitblit Go" package from the www.gitblit.com2.UnZip the package3.Open the /data/gitblit.properties with your favorate editor4.Set "git... 阅读全文
posted @ 2014-08-22 22:04 chunchill 阅读(651) 评论(0) 推荐(0) 编辑
摘要: he Buffer property specifies whether to buffer the output or not. When the output is buffered, the server will hold back the response to the browser until all of the server scripts have been processed, or until the script calls the Flush or End method.Note:If this property is set, it should be befor 阅读全文
posted @ 2014-03-11 13:58 chunchill 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 目前基于网络应用的架构风格主要有三种:RPC架构风格将服务器看作是由一些过程组成,客户端调用这些过程来执行特定的任务。SOAP就是RPC风格的一种架构。过程是动词性的(做某件事),因此RPC建模是以动词为中心的。分布式对象架构风格认为服务器是由一些对象和对象上的方法组成,客户端通过调用这些对象上的方法来执行特定的任务。并且客户端调用这些对象上的方法应该就像是调用本地对象上的方法一样,这样开发就可以完全按照统一的面向对象方法来做。但是很可惜,这样的抽象并不是很有效,因为分布式对象与本地对象存在着巨大的本质差别,想要掩盖这些差别很多时候甚至是有害无益的。REST架构风格将服务器抽象为一组离散资源的 阅读全文
posted @ 2013-11-16 23:28 chunchill 阅读(1507) 评论(0) 推荐(0) 编辑
摘要: public static class ExceptionExtensions { public static IEnumerable GetAllExceptions(this Exception ex) { Exception currentEx = ex; yield return currentEx; while (currentEx.InnerException != null) { currentEx = currentEx.InnerException; ... 阅读全文
posted @ 2013-10-28 10:10 chunchill 阅读(209) 评论(0) 推荐(0) 编辑
摘要: class Digit{ public Digit(double d) { val = d; } public double val; // ...other members // User-defined conversion from Digit to double public static implicit operator double(Digit d) { return d.val; } // User-defined conversion from double to Digit public stati... 阅读全文
posted @ 2013-10-15 16:05 chunchill 阅读(363) 评论(0) 推荐(0) 编辑
摘要: var vm=(function(){ var name="jasper"; var changename=function(v){ name=v; }; return { name:name, changename:changename };})();vm.changename("sean");alert(vm.name);var vm=(function(){ var person={name:"jasper"}; var changename=function(v){ person.name=v; }; return { per 阅读全文
posted @ 2013-09-07 20:51 chunchill 阅读(239) 评论(0) 推荐(0) 编辑
摘要: Knockout: Getting StartedProducts: 阅读全文
posted @ 2013-09-07 20:10 chunchill 阅读(313) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;namespace MvcApplication1.Controllers{ public class Person { public string Name { get; set; } public int Age { get; set; } //public List Numbers { get; set; } publi... 阅读全文
posted @ 2013-08-26 00:44 chunchill 阅读(266) 评论(0) 推荐(0) 编辑
摘要: class Program { static void Main(string[] args) { Console.WriteLine("=======Start Main!=============="); AsyncMethod(); Console.WriteLine("========End Main!==============="); Console.ReadKey(); } // Async action priva... 阅读全文
posted @ 2013-08-25 23:03 chunchill 阅读(545) 评论(0) 推荐(1) 编辑
上一页 1 2 3 4 5 6 ··· 22 下一页