首页 > 2014年08月01日 > 全部分享
低版本浏览器常轮训
$("#ajax").on("click",{btn:$(‘#ajax‘)},function(evdata){ $.get("pull",{id:13},function(data){ console.info(data); evdata.data.btn.click(); },"json"); });@RequestMapping(value={"pull"},produces={"application/json"},method={RequestMethod.GET}) pub..
分类:其他   时间:2014-08-01 07:02:01    收藏:0  评论:0  赞:0  阅读:466
perl 抓取网页内容
抓取乐彩网历年排列5数据useLWP::Simple;useFileOperate;my$src=‘http://www.17500.cn/p5/all.php‘;my$FileOperate=FileOperate->new();my$FilePath="C:\\DocumentsandSettings\\Administrator\\桌面\\PrelTest\\保存的模块\\文本处理";#获取文件夹下所有内容#http://www.17..
分类:Web开发   时间:2014-08-01 07:01:51    收藏:0  评论:0  赞:0  阅读:2898
我来了
内心很激动,开始学习php每天记录学习心情。哈哈
分类:其他   时间:2014-08-01 07:01:42    收藏:0  评论:0  赞:0  阅读:321
javascript 获取函数形参个数
分享下javascript获取函数形参个数的方法。/** * 获取函数的形参个数 * @param {Function} func [要获取的函数] * @return {*} [形参的数组或undefind]* @site www.jbxue.com */function getFun...
分类:编程语言   时间:2014-08-01 06:59:01    收藏:0  评论:0  赞:0  阅读:359
.NET特性-Attribute
两篇文章有助于学习Attribute特性的概念。http://blog.csdn.net/byondocean/article/details/6802111http://www.cnblogs.com/JimmyZhang/archive/2008/01/27/1055254.html
分类:Web开发   时间:2014-08-01 06:58:41    收藏:0  评论:0  赞:0  阅读:273
JQuery中serialize()、serializeArray()和param()用法举例
在javascript中,serialize()方法也是作用于一个JQuery对象,它能够将DOM元素内容序列化为字符串,serializeArray()方法不是返回字符串,而是将DOM元素序列化后,返回JSON格式的数据。服务器端的jsp代码: "+username+" : "+content+....
分类:Web开发   时间:2014-08-01 06:58:31    收藏:0  评论:0  赞:0  阅读:365
Sum Root to Leaf Numbers leetcode java
题目:Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.An example is the root-to-leaf path 1->2->3 w....
分类:编程语言   时间:2014-08-01 06:57:21    收藏:0  评论:0  赞:0  阅读:334
重拾算法(5)——最小生成树的两种算法及其对比测试
求解最小生成树(Minimum Cost Spanning Tree,以下简写做MST)是图相关的算法中常见的一个,本篇介绍两种求解MST的算法:Prim和Kruskal,然后测试之。
分类:其他   时间:2014-08-01 06:57:11    收藏:0  评论:0  赞:0  阅读:446
LeetCode "Pow(x,n)"
Next time you see a numeric problem has a too straightforward solution, think about optimized one.Like this one: recursion\iteration is tooo slow. SoD...
分类:其他   时间:2014-08-01 06:57:01    收藏:0  评论:0  赞:0  阅读:353
Construct Binary Tree from Inorder and Postorder Traversal Traversal leetcode java
题目:Given inorder and postorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.题解:这道题跟pre....
分类:编程语言   时间:2014-08-01 06:56:51    收藏:0  评论:0  赞:0  阅读:395
Construct Binary Tree from Preorder and Inorder Traversal leetcode java
题目:Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.题解: 1 ...
分类:编程语言   时间:2014-08-01 06:56:41    收藏:0  评论:0  赞:0  阅读:359
快速高斯滤波函数[修正完善版]
int gauss_blur( byte_t* image, //位图数据 int linebytes, //位图行字节数,BMP数据在windows中是4字节对齐的。否则在处理非二次幂的图像时会有偏差 int width, //位图宽度 int height, //位图高度 int cbyte, //颜色通道数量 float sigma //高斯系数 ) {...
分类:其他   时间:2014-08-01 04:55:01    收藏:0  评论:0  赞:0  阅读:385
Convert Sorted List to Binary Search Tree leetcode java
题目:Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST.题解:之前做过一道是从sorted array转换到BinarySearc....
分类:编程语言   时间:2014-08-01 04:54:21    收藏:0  评论:0  赞:0  阅读:336
卡特兰数应用
下面应用转自Wikipedia(http://zh.wikipedia.org/wiki/%E5%8D%A1%E5%A1%94%E5%85%B0%E6%95%B0):组合数学中有非常多的组合结构可以用卡塔兰数来计数。在Richard P. Stanley的Enumerative Combinato....
分类:其他   时间:2014-08-01 04:54:01    收藏:0  评论:0  赞:0  阅读:420
Ubuntu 下使用BeagleBone Black(一)
Ubuntu 下使用BeagleBone Black(一) planck@planck-Ubuntu:/dev$ sudo apt-get install ckermit [sudo] password for planck: Reading package lists... Done Buildi...
分类:其他   时间:2014-08-01 04:53:51    收藏:0  评论:0  赞:0  阅读:2193
Ubuntu上安装与使用putty
Ubuntu上安装与使用putty 下面便是小弟学习安装和是用Putty的过程: 首先,输入如下命令,并按下Tab键,发现库中存在三个与Putty 相关的文件,直接使用Putty便可: planck@planck-Ubuntu:/dev$ sudo apt-get install putty put...
分类:其他   时间:2014-08-01 04:53:41    收藏:0  评论:0  赞:0  阅读:714
Unique Binary Search Trees II leetcode java
题目: Given n, generate all structurally unique BST's (binary search trees) that store values 1...n.For example,Given n = 3, your program should return....
分类:编程语言   时间:2014-08-01 04:53:31    收藏:0  评论:0  赞:0  阅读:364
可用版本的host
http://blog.csdn.net/ljphhj/article/details/11939591http://my.oschina.net/lvkun0223/blog/282356两者的综合版# Copyright (c) 1993-2009 Microsoft Corp.## This ...
分类:其他   时间:2014-08-01 04:53:21    收藏:0  评论:0  赞:0  阅读:484
Unique Binary Search Trees leetcode java
题目:Given n, how many structurally unique BST's (binary search trees) that store values 1...n?For example,Given n = 3, there are a total of 5 unique B....
分类:编程语言   时间:2014-08-01 04:53:11    收藏:0  评论:0  赞:0  阅读:296
关于传值的小问题
#include #include int* fun(int* a){ std::cout << *a << std::endl;//这样有问题吗???? int temp = 100; return &temp;//这个是典型的错误}int main(){ int a = ...
分类:其他   时间:2014-08-01 04:52:59    收藏:0  评论:0  赞:0  阅读:290
1926条   上一页 1 ... 83 84 85 86 87 ... 97 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!