上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 43 下一页
摘要: using UnityEngine;using System.Collections;public class La : MonoBehaviour { float verticalValue=0f; float horizontalValue=0.0f; // Use this for initialization void Start () { } // Update is called once per frame void Update () { } void OnGUI() { vert... 阅读全文
posted @ 2014-02-04 17:13 yufenghou 阅读(215) 评论(0) 推荐(0)
摘要: using UnityEngine;using System.Collections;public class Gui : MonoBehaviour { public Texture2D buttonTexture; private string str; private int frameTime; // Use this for initialization void Start () { str="请您点击按钮"; } // Update is called once per frame void Update (... 阅读全文
posted @ 2014-02-03 19:47 yufenghou 阅读(260) 评论(0) 推荐(0)
摘要: using UnityEngine; using System.Collections;public class Gui : MonoBehaviour {public string str;public Texture imageTexture;private int screenWidth;private int screenHeight; // Use this for initialization void Start () { screenWidth = Screen.width; screenHeight = Screen.height; } // Update is calle. 阅读全文
posted @ 2014-02-03 19:29 yufenghou 阅读(544) 评论(0) 推荐(0)
摘要: 摘要本文以MySQL数据库为研究对象,讨论与数据库索引相关的一些话题。特别需要说明的是,MySQL支持诸多存储引擎,而各种存储引擎对索引的支持也各不相同,因此MySQL数据库支持多种索引类型,如BTree索引,哈希索引,全文索引等等。为了避免混乱,本文将只关注于BTree索引,因为这是平常使用MySQL时主要打交道的索引,至于哈希索引和全文索引本文暂不讨论。文章主要内容分为四个部分。第一部分主要从数据结构及算法理论层面讨论MySQL数据库索引的数理基础。第二部分结合MySQL数据库中MyISAM和InnoDB数据存储引擎中索引的架构实现讨论聚集索引、非聚集索引及覆盖索引等话题。第三部分根据上面 阅读全文
posted @ 2014-01-24 15:30 yufenghou 阅读(265) 评论(0) 推荐(0)
摘要: http://www.aboutcg.com/17075.html早晚我要把这个网站破了http://www.aboutcg.com/17097.html 阅读全文
posted @ 2014-01-13 13:08 yufenghou 阅读(118) 评论(0) 推荐(0)
摘要: java.lang.RuntimeException:Invalidactionclassconfigurationthatreferencesanunknownclassnamed[xxxAction]。在使用SSH进行项目开发时,一不小心就可能出现以上的错误提示。现总结论坛高人的开发经验针对本错误产生的原因做具体分析,希望能帮到出同样问题的各位童鞋们:这样的问题可以简单理解为未找到名字为XXX的action最近在用extjs进行开发,有一个组合框,confidenceType。显示的值是中文也就是string类型,在action当中写的是int类型。当递交的时候会默认的递交显示的值也就是s 阅读全文
posted @ 2014-01-02 18:02 yufenghou 阅读(279) 评论(0) 推荐(0)
摘要: Ext.onReady(function() { Ext.BLANK_IMAGE_URL = '../resources/images/default/s.gif'; Ext.QuickTips.init(); function formatDate(value) { //var date = new Date(value); return value ? date.dateFormat('Y-m-d H:i:s') : ''; } var sm = new Ext.grid.CheckboxSelectionModel({checkO... 阅读全文
posted @ 2013-12-06 12:47 yufenghou 阅读(362) 评论(0) 推荐(0)
摘要: 1本地数据源组合框[plain]view plaincopyExt.onReady(function(){//创建数据模型Ext.regModel('PostInfo',{fields:[{name:'province'},{name:'post'}]});//定义组合框中显示的数据源varpostStore=Ext.create('Ext.data.Store',{model:'PostInfo',data:[{province:'北京',post:'100000'},{provi 阅读全文
posted @ 2013-11-28 17:00 yufenghou 阅读(290) 评论(0) 推荐(0)
摘要: Visualizing String Matching Algorithms Naïve KMP ... 阅读全文
posted @ 2013-11-20 16:32 yufenghou 阅读(378) 评论(0) 推荐(0)
摘要: import java.util.regex.Matcher;import java.util.regex.Pattern;public class test { public static void main(String args[]) { String a="[>>]"; String regEx_script=""; //过滤script标签 Pattern p_script=Pattern.compile(regEx_script,Pattern.CASE_INSENSITIVE); ... 阅读全文
posted @ 2013-11-20 15:26 yufenghou 阅读(2342) 评论(0) 推荐(0)
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 43 下一页