using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography;
namespace RTSP_Digest_Authentication
{
class Program
{
///
...
分类:
其他好文 时间:
2014-08-06 11:53:01
阅读次数:
365
1.取数组最大值,最小值Math.max.apply(null,[1,2,3,32,3]);Math.min.apply(null,[1,2,3,32,3]);2.旧版IE setTimeout(fn,0),延迟太大,可利用image 死链var img = new Image();img.onlo...
分类:
Web程序 时间:
2014-08-06 11:39:41
阅读次数:
207
自从接触java项目测试,发现用IntelliJ看代码真的比其他工具方便太多,但是开始导入项目的时候总是出现报错,现在总结下自己的导入步骤,以备后面再出错时参考。。1. 首先在maven的conf下配置自己的setting;2.在从svn导出的工程中放入pom.xml3. 在IntelliJ导入工程...
分类:
其他好文 时间:
2014-08-06 01:25:50
阅读次数:
200
设置场景(Setting),Setting.h文件代码如下: [html]?view plaincopy ? #ifndef?__Setting_SCENE_H__?? #define?__Setting_SCENE_H__?? ?? ?? #include?"cocos2d.h"?? #include?"SimpleAudioE...
分类:
其他好文 时间:
2014-08-05 23:15:13
阅读次数:
603
2014/08/0508:53:49[alert]13576#0:accept()failed(24:Toomanyopenfiles)方法一:只对root和nodbdy用户增加该值。#vim/etc/security/limits.confrootsoftnofile10240roothardnofile10240nobodysoftnofile10240nobodyhardnofile10240方法二:对所有用户增加该值代码如下 复制代..
分类:
其他好文 时间:
2014-08-05 22:57:10
阅读次数:
485
为了进一步了解背景音乐和音效播放的,我们通过一个实例给大家介绍一下。如图9-2所示有两个场景:HelloWorld和Setting。在HelloWorld场景点击“游戏设置”菜单可以切换到Setting场景,在Setting场景中可以设置是否播放背景音乐和音效,设置完成后点击“OK”菜单可以返回到HelloWorld场景。 我们需要在AppDelegate中实现背景音乐播放暂停与继续函数,App...
分类:
移动开发 时间:
2014-08-05 22:49:00
阅读次数:
281
设置场景(Setting),Setting.h文件代码如下:#ifndef __Setting_SCENE_H__
#define __Setting_SCENE_H__
#include "cocos2d.h"
#include "SimpleAudioEngine.h"
class Setting : public cocos2d::Layer
{
bool isEffect; ...
分类:
其他好文 时间:
2014-08-05 22:47:30
阅读次数:
239
设置场景(Setting),Setting.h文件代码如下:[html]view plaincopy#ifndef__Setting_SCENE_H__#define__Setting_SCENE_H__#include"cocos2d.h"#include"SimpleAudioEngine.h"...
分类:
其他好文 时间:
2014-08-05 22:04:30
阅读次数:
221
为了进一步了解背景音乐和音效播放的,我们通过一个实例给大家介绍一下。如下图所示有两个场景:HelloWorld和Setting。在HelloWorld场景点击“游戏设置”菜单可以切换到Setting场景,在Setting场景中可以设置是否播放背景音乐和音效,设置完成后点击“OK”菜单可以返回到Hel...
分类:
移动开发 时间:
2014-08-05 22:01:20
阅读次数:
212
1.简单模式 这种模式,配置简单,使用简单。 core-site.xml添加 hadoop.security.authorization true hadoop.security.authentication s...
分类:
其他好文 时间:
2014-08-05 22:01:00
阅读次数:
202