编程语言[总排行] [月排行] [周排行] [日排行]
1. java命令行的启动首先是gradle build其次是:java -Dabc.appid=1234 -classpath "D:\test\build\lib\*.jar" com.ctrip.oss.MainClass 1>"d:\test\logs\log.txt" 2>"d:\test...
分类:编程语言 时间:2015-05-12 20:35:56 阅读:107
python的简单使用hy@hy:~/Documents/py$ pythonPython 2.7.8 (default, Oct 20 2014, 15:05:19)[GCC 4.9.1] on linux2Type "help", "copyright", "credits" or "licen...
分类:编程语言 时间:2015-05-12 20:32:23 阅读:151
这里有Surface Shader的一些例子。下面的这些例子关注使用内建的光照模型;关于如何使用自定义光照模型的例子参见Surface Shader Lighting Examples。简单 我们将会以一个非常简单的shader作为开始,并在此基础上逐渐完善。下面这个shader会把表面颜色置...
分类:编程语言 时间:2015-05-12 20:32:51 阅读:302
Ioc Unity
分类:编程语言 时间:2015-05-12 20:33:42 阅读:125
理解必包三个基本事实1. JS允许你引用在当前函数以外定义的变量。ex: function makeSandwich(){ var magicIngredient = “peanut butter”; function make(filling){ return magicIngredien...
分类:编程语言 时间:2015-05-12 20:31:45 阅读:166
继承,同样不是真正严格意义上面向对象的继承,而是通过javascript中的原型链关系实现函数之间的属性,方法共享.下面简单分享几种封装的方法.既然说到继承,我们必须有一个基类123456789functionPerson(){this.eat=function(){return'吃食物';}}Pe...
分类:编程语言 时间:2015-05-12 20:28:19 阅读:164
第一种验证方式 Patternp=Pattern.compile("模式"); Matcherm=p.matcher("要验证的信息"); booleanb=m.matches(); 第二种验证方式 booleanb=Pattern.matches("模式","要验证的信息"); 第三中验证方式 booleanb=src.matches("^http://.*")例如:要验证信息Stringsrc是否是http格..
分类:编程语言 时间:2015-05-12 19:18:55 阅读:141
1.Scanner类JDK提供的控制台扫描类,用于读取控制台输入的信息。使用前需要importjava.util.Scanner;(导入包)。使用://创建对象:Scannersca=newScanner(System.in);//获取字符串:Stringstr1=sca.next();//可以以空格、回车符换行符(\r\n)表示结束Stringstr2=sca.nextLine();..
分类:编程语言 时间:2015-05-12 19:18:23 阅读:190
Tabvim/usr/lib64/python2.6/site-packages/tab.py(sys.path查看Python路径,把自定义模块放此) importsys importreadline importrlcompleter importatexit importos readline.parse_and_bind(‘tab:complete‘) histfile=os.path.join(os.environ[‘HOME‘],‘.pythonhistory‘) t..
分类:编程语言 时间:2015-05-12 19:16:21 阅读:212
usingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; namespaceConsoleApplication1 { classProgram { staticvoidMain(string[]args) { //声明一维数组,并输出 Console.WriteLine("ouputarray."); string[]fri..
分类:编程语言 时间:2015-05-12 19:12:40 阅读:114
137621376223762345345
上一页453443下一页
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!