var Browser = (function(){ var na = window.navigator, ua = na.userAgent.toLowerCase(), browserTester = /(msie|web...
分类:
其他好文 时间:
2014-07-16 23:08:48
阅读次数:
164
服务器上的一些统计数据:1)统计80端口连接数netstat -nat|grep -i "80"|wc -l2)统计httpd协议连接数ps -ef|grep httpd|wc -l3)、统计已连接上的,状态为“establishednetstat -na|grep ESTABLISHED|wc -...
分类:
其他好文 时间:
2014-07-10 13:05:18
阅读次数:
164
因为我在View1中import了View2,又在View2中的ViewA里import了View1,而ViewA和ViewB是包含在View2中的。1.两个类的头文件相互引用是会报错误的,因为.h文件他是接口,在预编译的时候就会报错的,你可以在报错的那个类中加上@Class ***2.我自己使用了...
分类:
其他好文 时间:
2014-07-02 00:16:21
阅读次数:
324
http://stackoverflow.com/questions/7991086/iphone-core-animation-drawing-a-circle// Set up the shape of the circleint radius = 100;CAShapeLayer *circl...
分类:
移动开发 时间:
2014-07-01 22:36:06
阅读次数:
679
Unsupported major.minor version 51.0at java.lang.ClassLoader.defineClass1(Native Method)at java.lang.ClassLoader.defineClassCond(Unknown Source)at jav...
分类:
其他好文 时间:
2014-07-01 21:34:11
阅读次数:
275
一、前言——
大家一定在百度音乐上在线听过歌,有没有注意到那个旋转唱片——
就上面那个,当音乐在播放的时候,那个光碟轮子在转,就想旋转木马一般。感觉好好玩啊。
碰巧想起前阵子做音乐播放器,哎,那这个也可以做在手机的音乐播放器上,这样就代替了进度条了。
一想到,就兴奋,于是,首先画圆形,然后放置背景图片,然后使用动画旋转。当音乐播放时,同时
开始播放圆形图片的动画,当音乐暂停时,暂...
分类:
移动开发 时间:
2014-06-29 22:32:09
阅读次数:
317
#include
#include
#include
#include
#include
#include
#include
using namespace std;
int line=1,row=1;
char c;
mapma;
struct kind
{
string na; //单词
int num; //内码
string type; //类型
...
分类:
编程语言 时间:
2014-06-29 20:37:12
阅读次数:
195
KM 构图求最小权值匹配
保证最小的权值,所连的边一定是可以不相交的.
Ants
Time Limit: 3000MS
Memory Limit: Unknown
64bit IO Format: %lld & %llu
[Submit]
[Go Back] [Status]
Description
...
分类:
其他好文 时间:
2014-06-28 09:23:16
阅读次数:
235
经典的稳定婚姻匹配问题
UVALive - 3989
Ladies' Choice
Time Limit: 6000MS
Memory Limit: Unknown
64bit IO Format: %lld & %llu
[Submit] [Go Back] [Status]
Description
Prob...
分类:
其他好文 时间:
2014-06-28 08:35:28
阅读次数:
209