原地址:http://www.davebost.com/2013/08/30/creating-a-unity-game-for-windows-8Therecent
release of Unity 4.2brings with it full-support for deploying Unit...
(一)javascript中的数组index属性——获取数组的索引值例如:要做到这样的效果点击每个选项时,会显示不同的div。我们的做法:在javascript中,先把所有的div的display设置为none,然后在根据当前的数组里的索引值进行一个显示div的过程。下面的例子就是:首先,把妙味课堂...
分类:
编程语言 时间:
2014-05-05 22:03:52
阅读次数:
378
#include #include #include using namespace std;int
n,leap;int vis[12];void dfs(int index,int num){ if(leap) return ; if(index>n)
{ ...
分类:
其他好文 时间:
2014-05-05 22:01:05
阅读次数:
593
1.默认的路由 -
base_routerhttp://test-server//index.php/{$app_name}/{$ctl_name}/{$act_name}/{$param_k1}/{$param_v1}/{$param_k2}/{$param_v2}/}app:
$app_name...
分类:
其他好文 时间:
2014-05-05 21:44:38
阅读次数:
235
xampp-linux-1.8.2
之前的版本不支持64位系统哦哦。首先,安装32位支持包下载地址:https://www.apachefriends.org/zh_cn/index.html解压压缩包到/opt/lampp下,启动LAMPP时提示不支持64,跟改方法如下:sudo
vi /opt/...
分类:
系统相关 时间:
2014-05-04 12:29:55
阅读次数:
405
Linux网络服务之HTTP(1)实验要求:1、主机名设为:www.zhy.com,默认首页包括:index.html、index.php,开启保持连接,确认默认httpd是否支持php2、只允许192.168.1.1访问www.zhy.com,允许所有用户访问www.zhy.com/user/index.html3、客户端访问/var/www/html/admin/需要输..
分类:
系统相关 时间:
2014-05-03 20:41:33
阅读次数:
546
给定一个单链表,只给出头指针h:
1、 如何判断是否存在环?
证明:
slow首次在A点进入环路时,fast一定在环中的B点某处。设此时slow距head长为x,B点距A点长度为y,环周长为s。因为fast和slow的步差为1,所以slow前行距离为y的时候,恰好会被fast在M点追上。因为y
//判断单链表是否有环
public static boolean hasCyc...
分类:
其他好文 时间:
2014-05-03 16:38:30
阅读次数:
325
本文出自:http://blog.csdn.net/svitter
原题:http://acm.hrbust.edu.cn/index.php?m=ProblemSet&a=showProblem&problem_id=1053
题意:完全背包不解释。。直接贴代码。。
#include
#include
#include
using namespace std;
#defi...
分类:
其他好文 时间:
2014-05-03 16:06:14
阅读次数:
324
生成树协议里常见的4个guard:bpduguard,rootguard, loopguard & UDLD; 3个Fast:portFast,uplinkFast & backboneFast; 还有一个filter:bpdufilter。
这篇文章一起总结一下。...
分类:
其他好文 时间:
2014-05-03 15:24:46
阅读次数:
513