摘要: var http = require("http");var cheerio = require("cheerio");var url = "http://nba.sports.163.com/2014/team/structure/17.html"; download(url, function(... 阅读全文
posted @ 2015-01-19 17:23 Zhaoyier 阅读(199) 评论(0) 推荐(0) 编辑
摘要: c#作为一门强大的编程语言绝对有计时器这样的功能,而且有3钟,unity能用的有2种。System.Timers.Timer t = new System.Timers.Timer(1000);//实例化Timer类,设置间隔时间,单位为毫秒;t.Elapsed += new System.Time... 阅读全文
posted @ 2015-01-07 15:23 Zhaoyier 阅读(2045) 评论(0) 推荐(0) 编辑
摘要: 股票数据的获取目前有如下两种方法可以获取:1. http/javascript接口取数据2. web-service接口1.http/javascript接口取数据1.1Sina股票数据接口以大秦铁路(股票代码:601006)为例,如果要获取它的最新行情,只需访问新浪的股票数据接口:http://h... 阅读全文
posted @ 2014-12-16 14:45 Zhaoyier 阅读(3577) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine; using System.Collections; public class UIDataHandler : MonoBehaviour { public UIInput nameInput; public UIInput psInput; public Gam... 阅读全文
posted @ 2014-12-08 22:27 Zhaoyier 阅读(164) 评论(0) 推荐(0) 编辑
摘要: ABCDE五个位置是固定的,环形算法。if self === 0: 0:c, 1:d, 2:e, 3:a, 4:bif self === 1: 1:c, 2:d, 3:e, 4:a, 0:bif self === 2: 2:c, 3:d, 4:e, 0:a, 1:bif self === 3: 3:... 阅读全文
posted @ 2014-11-20 17:13 Zhaoyier 阅读(212) 评论(0) 推荐(0) 编辑
摘要: underscore:1、合并jsonasync:1、异步编程同步化 阅读全文
posted @ 2014-11-03 18:48 Zhaoyier 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 查看表结构:describe table_name;自增长字段初始值设定:ALTER TABLE 表名 AUTO_INCREMENT = 设定的值 阅读全文
posted @ 2014-10-15 17:27 Zhaoyier 阅读(114) 评论(0) 推荐(0) 编辑
摘要: git创建分支并直接切换到分支:git checkout -b namegit提交分支到远程服务器:git push origin name/git push origin name:name 第一name表示本地分支名字,第二name表示远程服务器分支名称git合并分支:切换到需要合并到的分支:... 阅读全文
posted @ 2014-10-14 12:05 Zhaoyier 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 12个Unity3D游戏源码 -新手必备愤怒的小鸟攻略技巧秘籍NGUI 教程收录大全:http://forum.exceedu.com/forum/forum.php?mod=viewthread&tid=26820小夭的游戏编程教室——(五)初音拼图游戏Vector3 targetPos = ne... 阅读全文
posted @ 2014-10-08 16:24 Zhaoyier 阅读(337) 评论(0) 推荐(0) 编辑
摘要: void doManagerPlayerCard(){ GameObject _object = Resources.Load ("Card/CardSprite", typeof(GameObject)) as GameObject; _testList.Sort (); int cardN... 阅读全文
posted @ 2014-08-26 18:48 Zhaoyier 阅读(291) 评论(0) 推荐(0) 编辑