首页 > 其他
leetcode----------Climbing Stairs
You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb...
分类:其他   时间:2015-01-08 13:14:15    收藏:0  评论:0  赞:0  阅读:223
easyui-textbox回车事件
$('#id').textbox('textbox').keydown(function (e) { if (e.keyCode == 13) { alert('enter'); } ...
分类:其他   时间:2015-01-08 13:14:05    收藏:0  评论:0  赞:0  阅读:1364
鼠标滚轮改变图片大小
分类:其他   时间:2015-01-08 13:13:45    收藏:0  评论:0  赞:0  阅读:157
(三) 支持Nor Flash
修改include/configs/mini2440.h 头文件/*-----------------------------------------------------------------------*FLASHandenvironmentorganization*/#if0#define...
分类:其他   时间:2015-01-08 13:13:35    收藏:0  评论:0  赞:0  阅读:202
后台服务端接口验证项目实例~~
前言: 在当前开放互联的大环境下,接口互通成了最最普通常见数据通讯与交互的一种方式;接口测试的重要性也是不言而喻,但却成了普通功能测试人员的一道屏障;特别是服务端的接口验证更是麻烦;这里抛砖引玉希望更多童鞋参与多多讨论。场景&描述: c1->s1->s2 s1 ...
分类:其他   时间:2015-01-08 13:13:05    收藏:0  评论:0  赞:0  阅读:288
基本概率分布Basic Concept of Probability Distributions 7: Uniform Distribution
PDF versionPDF & CDFThe probability density function of the uniform distribution is $$f(x; \alpha, \beta) = \begin{cases}{1\over\beta-\alpha} & \mbox{...
分类:其他   时间:2015-01-08 13:12:35    收藏:0  评论:0  赞:0  阅读:256
[LeetCode#106]Construct Binary Tree from Inorder and Postorder Traversal
The problem:Given inorder and postorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.My...
分类:其他   时间:2015-01-08 13:12:05    收藏:0  评论:0  赞:0  阅读:237
为什么用strlcpy取代strncpy
为什么用strlcpy取代strncpy标签:C,C语言,strlcpy,strncpy标题: 为什么用strlcpy取代strncpy作者: Demon链接:http://demon.tw/copy-paste/strlcpy-replace-strncpy.html版权: 本博客的所有文章,都遵...
分类:其他   时间:2015-01-08 13:11:45    收藏:0  评论:0  赞:0  阅读:384
usb枚举(2)
1. 枚举是什么? 枚举就是从设备读取一些信息,知道设备是什么样的设备,如何进行通信,这样主机就可以根据这些信息来加载合适的驱动程序。调试USB设备,很重要的一点就是USB的枚举过程,只要枚举成功了,那么就已经成功大半了。USB架构中, hub负责检测设备的连接和断开,利用其中断IN端点(Inter...
分类:其他   时间:2015-01-08 13:11:25    收藏:0  评论:0  赞:0  阅读:254
nginx不支持pathinfo模式解决方法
错误描述:1,打开网页,页面提示不支持pathinfo 2,类似 index.php/hellworld 会提示找不到页面解决办法:1,修改nginx.conf的server{} 中的内容下: 备注: 如果是在vhost配置下可单独添加在vhost配置文件下,如果没有vhost则在nginx.co....
分类:其他   时间:2015-01-08 13:09:55    收藏:0  评论:0  赞:0  阅读:181
Version 1.6.0_13 of the JVM is not suitable for this product. Version: 1.7 or greater is required.[Solved]
[OS] kaliwhen I use eclipse for luna, I got the message as below:Version 1.6.0_13 of the JVM is not suitable for this product. Version: 1.7 or greater...
分类:其他   时间:2015-01-08 13:09:25    收藏:0  评论:0  赞:0  阅读:826
input keyevent 数字对应的操作
adb shell input text "ANDROID" 支持的KEYCODE0 --> "KEYCODE_UNKNOWN"1 --> "KEYCODE_MENU"2 --> "KEYCODE_SOFT_RIGHT"3 --> "KEYCODE_HOME"4 --> "KEYCODE_BACK"...
分类:其他   时间:2015-01-08 13:08:35    收藏:0  评论:0  赞:0  阅读:346
w3wp.exe已附加有调试器,但没有该调试器配置为调试此未经处理的异常,若要调试此异常,必须分离当前的调试器。
之前通过使用VS2010附加进程调试项目后,今天开机发现调试本机的项目报错如下图:到网上到处查看无果,经过反复实验找到解决方法,我的项目是发布到IIS的1、首先删除IIS上面的项目2、在VS右击项目->属性->Web->点击创建虚拟目录(也就是重新创建一个)OK问题解决,这个问题折腾了我2小时,试过...
分类:其他   时间:2015-01-08 13:08:15    收藏:0  评论:0  赞:0  阅读:641
针对MyISAM锁表的解决方案
最近服务器上经常出现mysql进程占CPU100%的情况,使用show processlist命令后,看到出现了很多状态为LOCKED的sql。使用show status like 'table%'检查Table_locks_immediate和Table_locks_waited,发现Table_...
分类:其他   时间:2015-01-08 13:07:55    收藏:0  评论:0  赞:0  阅读:211
模拟Post
string d = "http://search.anccnet.com/searchResult2.aspx"; //name="__VIEWSTATE" value="/wEPDwULLTEzODQxNzY5NjNkZEc4gDy0wp5ERjILg2b7lTTH3F+w...
分类:其他   时间:2015-01-08 13:07:45    收藏:0  评论:0  赞:0  阅读:363
DirFile
using System;using System.Text;using System.IO;namespace MyListen{ /// /// 文件操作夹 /// public static class DirFile { #region 检测指...
分类:其他   时间:2015-01-08 13:06:55    收藏:0  评论:0  赞:0  阅读:180
tcpdump使用
首先介绍下ifconfig: ifconfig - configure a network interface (ifconfig if意思是interface)通常会输出:eth0,eth1,eth2……代表网卡一,网卡二,网卡三……lo代表127.0.0.1,即localhost参考:http:...
分类:其他   时间:2015-01-08 13:06:45    收藏:0  评论:0  赞:0  阅读:251
Leetcode:Palindrome Partitioning II
Given a strings, partitionssuch that every substring of the partition is a palindrome.Return the minimum cuts needed for a palindrome partitioning ofs...
分类:其他   时间:2015-01-08 13:06:35    收藏:0  评论:0  赞:0  阅读:316
server日志的路径分析
什么是路径分析:通过对日志文件中目录结构的分析,并统计每个目录出现的次数,最终形成次序的路径数量统计。web服务器包括很多,iis,apache,nginx等等。首先要搞清楚什么是服务器日志,因为今天小伙伴问我,日志是什么来的,是不是从数据库中来的?我想很多不懂技术的人对这个都不是很清楚,他是搞数据...
分类:其他   时间:2015-01-08 13:06:25    收藏:0  评论:0  赞:0  阅读:213
jvm参数设置 -vmargs -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M
-vmargs -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M 这里有几个问题: 1. 各个参数的含义什么? 2. 为什么有的机器我将-Xmx和-XX:MaxPermSize都设置为512M之后Eclipse可以启动,而有些机器无...
分类:其他   时间:2015-01-08 13:06:15    收藏:0  评论:0  赞:5  阅读:937
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!