using UnityEngine;using System.Collections;[ExecuteInEditMode]public class ControlParticle : MonoBehaviour { public int renderQueue = 30000; ...
分类:
其他好文 时间:
2015-07-01 23:22:08
阅读次数:
146
什么是语义化?其实简单说来就是让机器可以读懂内容。先随便扯扯。对于当前的 Web 而言,HTML 是联系大多数 Web 资源的纽带,也是内容的载体。在 Web 被刚刚设计出来的时候,Tim Berners-Lee 可能不会想到它现在会达到的规模以及深入到我们生活的那么多方面。也许起初的想法很简单:用...
分类:
其他好文 时间:
2015-07-01 23:24:37
阅读次数:
181
怎么把wifidog直接编译进openwrt,让生成的bin文件就带有wifidog,省得再去装ipk文件?openwrt 根目录make menuconfig 搜索 Captive portal/ 看下有没有wifidog选项,如果没有./scripts/feeds update -a./scri...
分类:
其他好文 时间:
2015-07-01 23:21:32
阅读次数:
150
Complete The Pattern #1Task:You have to write a functionpatternwhich creates the following pattern upto n number of rows.If the Argument is 0 or a Neg...
分类:
其他好文 时间:
2015-07-01 23:23:50
阅读次数:
238
BBC:http://www.bbc.co.uk/learningenglish/ VOA:http://learningenglish.voanews.com/? 11个老师,近200个小时的免费英语学习视频:http://www.engvid.com/english-lessons/? 奥巴马每周演讲:https://www.w...
分类:
其他好文 时间:
2015-07-01 22:18:16
阅读次数:
275
LeetCode_Sum Root to Leaf Numbers 解题思路...
分类:
其他好文 时间:
2015-07-01 22:17:28
阅读次数:
146
各位看官们,大家好,上一回咱们说的是GCC优化相关的内容。这一回咱们说说如何使用GCC进行调试,
闲话休提,言归正转。让我们一起talk GCC吧!
看官们,大家都知道,人们写代码时,偶尔也会出错。有的时候造成了编译错误,有的时候造成了逻辑错
误。当然了,有经验的程序员不会造成编译错误这种低级错误,但是逻辑错误,或多或少总会有。程序出
错了,怎么办?肯定是修改错误了,哈哈,这...
分类:
其他好文 时间:
2015-07-01 22:18:52
阅读次数:
137
seqlist.h
#ifndef __SEQLIST_H__
#define __SEQLIST_H__
#include
#include
#include
#define MAX_SIZE 1000
typedef int DataType;
typedef struct seqlist
{
DataType array[MAX_SIZE];
size_t size;
}s...
分类:
其他好文 时间:
2015-07-01 22:18:48
阅读次数:
168
DynSeqlist.h
#ifndef __DYNSEQLIST_H__
#define __DYNSEQLIST_H__
#include
#include
#include
#include
#define SIZE 5
typedef int DataType;
typedef struct seqlist
{
DataType* array;
size_t size; /...
分类:
其他好文 时间:
2015-07-01 22:16:21
阅读次数:
156
git 小tips总结一下最近遇到的一些git问题...
分类:
其他好文 时间:
2015-07-01 22:17:16
阅读次数:
142
atitit.nfc 身份证 银行卡 芯片卡 解决方案 attilax总结
1. nfc(近距离无线通讯技术) 1
2. 工作模式 1
3. NFC 蓝牙 红外具体对比如下表: 2
4. TypeA,TypeB和TypeF,
2
5. 身份证阅读器标准和ISO14443(TypeB)国际标
2
6. 参考 3
1. nfc(近距离无线通讯技术)
锁定
这...
分类:
其他好文 时间:
2015-07-01 22:12:41
阅读次数:
197
今天学习了关于反射的相关知识,通过反射可以找到类中的构造方法和所有的成员方法。而并不了解这个类的构造的人可以很方便的运用反射机制。
掌握发射主要了解这几个类,类位于java.long.reflect包中:
Class类:代表一个 类
Constructor类:代表累的构造方法
Field类:代表类中的成员变量
Method类:代表类的方法
import java.lang.reflec...
分类:
其他好文 时间:
2015-07-01 22:14:16
阅读次数:
211
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.push(x) – Push element x onto stack.
pop() – Removes the element on top of the stack.
top() – Get the...
分类:
其他好文 时间:
2015-07-01 22:14:05
阅读次数:
135
定义:对于一个给定的数列,如果有iAj,则称(i,j)为一逆序对.
要解决的问题是,给出一个数列,求出这个数列包含多少个逆序对。
例如,数组(3,1,4,5,2)的“逆序对”有,,共4个。
解题思路使用归并排序可以用O(nlogn)的时间解决统计逆序对个数的问题 .
逆序对数实质就是插入排序过程中要移动元素的次数。
归并的时候...
分类:
其他好文 时间:
2015-07-01 22:14:02
阅读次数:
203
砝码从小到大放最优,二分答案mid,转化为判定前mid小的砝码能否放完。从大到小考虑砝码,依次扫描每个容器,能放就放。由于砝码重量都成倍数关系,所以最多只有$O(\log n)$种不同的数字,所以总复杂度为$O(n\log^2n)$。#include#include#define N 100010i...
分类:
其他好文 时间:
2015-07-01 22:12:37
阅读次数:
179