近期温习了下angularjs执行流程,备记下。以便查看。主要的执行流程例如以下:1.用户请求应用起始页。2.用户的浏览器向server发起一次HTTP连接,然后载入index.html页面,这个页面里面包括了模板。3.angular被载入到页面中,等待页面载入完毕 ,然后查找了ng-app指令,用...
分类:
Web开发 时间:
2014-07-31 23:21:40
收藏:
0 评论:
0 赞:
0 阅读:
404
之前做东西接触过表单验证提交,但是都是为了完成工作,做完就做完了,没有注过表单验证提交有几种方法,各方法都有啥区别。今天瞎折腾了一下,对他们研究了一下……
分类:
其他 时间:
2014-07-31 23:21:30
收藏:
0 评论:
0 赞:
0 阅读:
522
1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using System.Linq; ....
分类:
移动平台 时间:
2014-07-31 23:21:20
收藏:
0 评论:
0 赞:
0 阅读:
413
CSS颜色代码 颜色值 颜色名字大全转载处http://flyjj.com/css-colour-code.html颜色值CSS 颜色使用组合了红绿蓝颜色值 (RGB) 的十六进制 (hex) 表示法进行定义。对光源进行设置的最低值可以是 0(十六进制 00)。最高值是 255(十六进制 FF)。从...
分类:
Web开发 时间:
2014-07-31 23:20:50
收藏:
0 评论:
0 赞:
0 阅读:
585
SDL开发库:http://www.libsdl.org/SDL中文开发教程:http://tjumyk.github.io/sdl-tutorial-cn/index.htmlSDL英文版开发教程:http://www.lazyfoo.net/SDL_tutorials/附:以上教程均可在Ecli...
分类:
其他 时间:
2014-07-31 23:20:40
收藏:
0 评论:
0 赞:
0 阅读:
399
1、使用仿制图章工具去除文字这是比较常用的方法。具体的操作是,选取仿制图章工具,按住Alt键,在无文字区域点击相似的色彩或图案采样,然后在文字区域拖动鼠标复制以复盖文字。要注意的是,采样点即为复制的起始点。选择不同的笔刷直径会影响绘制的范围,而不同的笔刷硬度会影响绘制区域的边缘融合效果。2、使用修补...
分类:
其他 时间:
2014-07-31 23:20:30
收藏:
0 评论:
0 赞:
0 阅读:
350
Balanced Binary TreeGiven a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tre...
分类:
其他 时间:
2014-07-31 23:20:20
收藏:
0 评论:
0 赞:
0 阅读:
374
This assignment will help you practice and understand better the Binary Tree and Binary Search Tree data structures, their operations and implementati...
分类:
编程语言 时间:
2014-07-31 23:20:10
收藏:
0 评论:
0 赞:
0 阅读:
340
Convert Sorted Array to Binary Search TreeGiven an array where elements are sorted in ascending order, convert it to a height balanced BST.算法:根据有序数组,生...
分类:
其他 时间:
2014-07-31 23:20:00
收藏:
0 评论:
0 赞:
0 阅读:
330
对于servlet大家应该都很熟悉了,今天再复习一下,如果有哪里写的不好或不对的地点希望广大的网友批评指正。今天只讨论get和post两w种方式,他们之间有很多的不同点,所以解决编码的方式也会不一样,post的乱码问题好解决一点,下面先简单说下http协议,以便我能更好的记忆原理性的东西和他们之.....
分类:
其他 时间:
2014-07-31 23:19:50
收藏:
0 评论:
0 赞:
0 阅读:
360
Part1 文件操作1.打开文件2.新建文件夹,文件3.写入文件(保存数据到指定文件)4.循环遍历文件Part2 路径操作1.当前路径2.增加路径Part3 其他1.如何调用不同文件夹下的模块2.底层函数(硬件层)不能调用上层模块(函数),若非要调用,用register(创建Callback回调)3...
分类:
编程语言 时间:
2014-07-31 23:19:40
收藏:
0 评论:
0 赞:
0 阅读:
392
【阿里云产品评测】小站长眼中的巅峰云PK阿里云论坛用户:昵称-a5lianmeng 笔者是一名小站长,因狂热互联网,而在毕业后由宅男逐渐进入站长队伍,在毕业后的几年间,经营6个流量类网站,身为站长,从注册域名到网站的第一笔收入,其间的酸甜苦辣是经历了数不清的通宵努力,才让那些此起彼伏的流量线条节.....
分类:
其他 时间:
2014-07-31 23:19:30
收藏:
0 评论:
0 赞:
0 阅读:
366
Maximum Depth of Binary TreeGiven a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root ...
分类:
其他 时间:
2014-07-31 23:19:10
收藏:
0 评论:
0 赞:
0 阅读:
363
Problem Description青年歌手大奖赛中,评委会给参赛选手打分。选手得分规则为去掉一个最高分和一个最低分,然后计算平均得分,请编程输出某选手的得分。Input输入数据有多组,每组占一行,每行的第一个数是n(2int main(){ int n,i,j; double a...
分类:
其他 时间:
2014-07-31 23:19:00
收藏:
0 评论:
0 赞:
0 阅读:
424
1.首先要安装编译源码用的编译器gcc&g++,安装方式很简单,先用yum search gcc搜索出包,然后选择适合自己的版本复制全名,用yum intall gcc_XXX来进行安装即可。2.安装openssl以及ncurses-devel。安装方式和1一样。3.从这里http://www.er...
分类:
其他 时间:
2014-07-31 23:18:20
收藏:
0 评论:
0 赞:
0 阅读:
359
Path SumGiven a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the give...
分类:
其他 时间:
2014-07-31 23:18:10
收藏:
0 评论:
0 赞:
0 阅读:
343
在讨论边缘算子之前,首先给出一些术语的定义:(1)边缘:灰度或结构等信息的突变处,边缘是一个区域的结束,也是另一个区域的开始,利用该特征可以分割图像。(2)边缘点:图像中具有坐标[x,y],且处在强度显著变化的位置上的点。(3)边缘段:对应于边缘点坐标[x,y]及其方位,边缘的方位可能是梯度角。二、...
分类:
其他 时间:
2014-07-31 23:17:30
收藏:
0 评论:
0 赞:
3 阅读:
19851
Path Sum IIGiven a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum.For example:Given the below binary tr...
分类:
其他 时间:
2014-07-31 23:17:10
收藏:
0 评论:
0 赞:
0 阅读:
386
http://poj.org/problem?id=1410IntersectionTime Limit:1000MSMemory Limit:10000KTotal Submissions:11329Accepted:2978DescriptionYou are to write a progra...
分类:
其他 时间:
2014-07-31 23:17:00
收藏:
0 评论:
0 赞:
0 阅读:
1018
第一道数位dp,属于基础模板,又自卑小时没学好数数了,只是不清楚为什么大家的dp定义都是相同的,很显然么,难道我写的是怪胎。。。/*ID:esxgx1LANG:C++PROG:hdu3555*/#include #include #include #include using namespace s...
分类:
其他 时间:
2014-07-31 23:16:50
收藏:
0 评论:
0 赞:
0 阅读:
360