码迷,mamicode.com
首页 > 其他好文
显示伤害和治疗过程
using UnityEngine;using System.Collections;public class TestHUText : MonoBehaviour { private HUDText text; // Use this for initialization voi...
分类:其他好文   时间:2014-11-27 18:00:20    阅读次数:143
LeetCode
1 class Solution { 2 public: 3 int removeDuplicates(int A[], int n) { 4 int *s=&A[0],*e=&A[0]; //s指向“连续数字”的第一个,e往后遍历相同的 5 int ...
分类:其他好文   时间:2014-11-27 17:58:47    阅读次数:158
易让大脑变迟钝的九中习惯
1、长期饱食:进食过饱后,大脑中被称为“纤维芽细胞生长因子”的物质会明显增多。它能使毛细血管内皮细胞和脂肪增多,促使动脉粥样硬化,出现大脑早衰和智力减退等现象。 2、轻视早餐:不吃早餐会使人的血糖低于正常供给,久而久之对大脑有害。 3、素食早餐:据有关资料显示,一般吃高蛋白早餐的儿童在课...
分类:其他好文   时间:2014-11-27 17:58:26    阅读次数:164
JZs3c2440裸板程序GPIO操作总结
分别用汇编,汇编+C两种方式***************************************汇编编程led_on.s****************************************.text.global _start_start:ldr ro,=0x*** //要操作...
分类:其他好文   时间:2014-11-27 18:00:23    阅读次数:197
简易表格练习
html: 1.我喜欢的歌曲 序号歌曲歌手 1.杨柳范宗沛 2.夜的钢琴曲五石进 3.梦醒了袁惟仁 4.故乡的原风景宗次郎 5.还是朋友张雨生 ...
分类:其他好文   时间:2014-11-27 17:59:51    阅读次数:174
字符串函数,数据类型转换,链接查询,纵向查询
字符串函数:(*=重点) ascii: 是一种编码,将键盘上的键变成一个数字,比如回车键=13,但是只能把第一位改变 char : 将数字转换为ascii码***charindex 查找字符串中对应字符段的开始索引,索引从一开始(12版内置函数)concat: 返回作为串联两个或者更多字符串值的结果...
分类:其他好文   时间:2014-11-27 17:56:40    阅读次数:261
[OpenCV] 4、图像叠加 addWeighted
>__ 2 #include 3 #include 4 5 using namespace cv; 6 using namespace std; 7 8 int main(){ 9 cv::Mat image = cv::imread("fruits.jpg");10 cv:...
分类:其他好文   时间:2014-11-27 17:57:57    阅读次数:291
经典题:求质数
#include#includeint main(){ int n,i; double t; scanf("%d",&n);t=sqrt(n);for(i=2;it){ printf("质数"); } else{ printf("非质数"); } return 0;}
分类:其他好文   时间:2014-11-27 17:56:57    阅读次数:179
ColorMask
【ColorMask】 参考:file:///C:/Program%20Files%20(x86)/Unity/Editor/Data/Documentation/html/en/Manual/SL-Pass.html
分类:其他好文   时间:2014-11-27 17:58:15    阅读次数:87
《霍比特人:五军之战》片尾曲 最后的再见MV
中土世界终章,《霍比特人:五军之战》片尾曲,由《指环王》三部曲中扮演皮平的比利·博伊德参与创作并演唱的“最后的再见”(The Last Goodbye),日前发布MV,博伊德录音画面与中土世界六部影片台前幕后的片段交织剪辑,烘托出深沉哀婉的气氛。 《最后的再见》将随《五军之战》的片尾字幕一同播...
分类:其他好文   时间:2014-11-27 17:56:15    阅读次数:173
破解企业QQ对个人QQ登陆的限制(原创)
运行系统:WIN7破解时间:2014-02-19破解思路:自从2013-11-11的1.85版企业qq更新后,网上流传的破解方法(运行文件BeatQQEIM.bat)已经不起作用了,可以同时登陆,但1分钟后就会被强制退出。原来想的一个办法是制作“定时任务”,每隔30秒运行一次BeatQQEIM.ba...
分类:其他好文   时间:2014-11-27 17:58:33    阅读次数:127
为Fragment增加入新的生命周期,并实现管理
1. 背景知识 ViewPager+Fragment实现滑动标签页时,默认情况下,Fragment的生命周期是由FragmentPagerAdapter和Activity共同管理的。(1) Activity维持在onResume状态时,Fragment的生命周期主要由FragmentPagerAda...
分类:其他好文   时间:2014-11-27 17:58:11    阅读次数:291
LeetCode:Binary Tree Level Order Traversal
题目:Binay Tree Level Order TraversalGiven a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level...
分类:其他好文   时间:2014-11-27 17:56:43    阅读次数:110
Linq101-Restriction
1 using System; 2 using System.Linq; 3 4 namespace Linq101 5 { 6 class Restriction 7 { 8 /// 9 /// This sample use...
分类:其他好文   时间:2014-11-27 17:55:33    阅读次数:143
drools5工作流实例--猜数字
*.javapackage com.sample;public class NumGuessMain{ public static void main(String[] args) { KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newK....
分类:其他好文   时间:2014-11-27 17:56:01    阅读次数:264
LeetCode:Maximum Depth of Binary Tree
要求:求二叉树的深度(二叉树的深度为最远叶子节点到根节点的距离,即根节点到最远叶子节点的距离)Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest ...
分类:其他好文   时间:2014-11-27 17:55:50    阅读次数:145
Day8---------messageGet
//-----------获取用户的回车键码来完成内容的输入 //-----尚未完成-------发现Google,FF,IE的oTextarea.style.background返回值均不一样,时间问题就没有做兼容性. 1 2 3 4 5 messageGet 6 7 12 58 59...
分类:其他好文   时间:2014-11-27 17:55:18    阅读次数:181
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!