码迷,mamicode.com
首页 >  
搜索关键字:do    ( 12356个结果
[leetcode]Rotate Image
Rotate ImageYou are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?CC上的原题,...
分类:其他好文   时间:2014-08-14 03:45:17    阅读次数:192
VRRP协议具体解释
转帖:http://blog.chinaunix.net/space.php?uid=11654074&do=blog&id=2857384Contents Page文件夹入木三分学网络第一篇--VRRP协议具体解释... 11. VRRP产生背景及应用环境... 21.1为什么要用VRRP. 22...
分类:其他好文   时间:2014-08-13 22:18:47    阅读次数:785
cgroup子系统4_memory子系统
memory子系统设定cgroup中任务使用的内存限制,并自动生成那些任务使用的内存资源报告。memory子系统是通过 linux的resource counter机制实现的,在进程进行内存分配、释放时对进程进行charge、uncharge操作。 charge操作进行点: 1.分配新页框时(请求调页、copy on write),在do_falut,do_anonymous_pag...
分类:其他好文   时间:2014-08-13 19:01:27    阅读次数:199
do not back up IOS被拘处理
看到发的应用被拒了,还是很郁闷的,下图为证: 发过一些IOS项目,但没发过需要从服务器下载大数量文件的项目。  ios验证人员认为我的应用在icloud上存储了近20M ,在浪费用户空间, 对此我深表遗憾。 查阅资料,发现自己确实没搞懂IOS的存储规则,http://www.cocoachina.com/bbs/simple/?t86244.html  这篇博文(规范翻译)讲...
分类:移动开发   时间:2014-08-13 18:55:37    阅读次数:280
No mapping found for HTTP request with URI [/login.do] in DispatcherServlet with name 'spring'
No mapping found for HTTP request with URI [/account/login.do] in DispatcherServlet with name 'spring'...
分类:移动开发   时间:2014-08-13 18:51:57    阅读次数:234
Lua 常用数据结构
Lua中的table不是一种简单的数据结构,它可以作为其它数据结构的基础。如数组、记录、线性表、队列和集合等,在Lua中都可以通过table来表示。 一、数组    在lua中通过整数下标访问表中的元素即可简单的实现数组。并且数组不必事先指定大小,大小可以随需要动态的增长。a = {} for i = 1,100 do a[i] = 0 end print("The length of arra...
分类:其他好文   时间:2014-08-13 18:48:17    阅读次数:216
The square chest
The square chestSophia pressed the button in front of her, slamming her fist against it. The door rumbled and appeared to do nothing.“Oh man, that’s n...
分类:其他好文   时间:2014-08-13 18:13:26    阅读次数:274
hdu 4709
求三角形的面积 利用向量点乘得到三角形的面积 三个for循环嵌套即可 #include #include #include #include using namespace std; const double INF = 1e9+50; double x[1000]; double y[1000]; double area(int i, int j, int k) { do...
分类:其他好文   时间:2014-08-13 14:56:26    阅读次数:198
服务器中设置.do等为首页的方法
服务器中设置.do等为首页的方法众所周知,在java web程序中,可以利用web.xml设置网站首页,如: index.jspindex.html这样设置就不行了,如配置:index.doindex.do是自己实现的一个Action或者controller。这样访问时会提示404错误。并不会按照我...
分类:其他好文   时间:2014-08-13 14:52:06    阅读次数:264
bash批量去前缀
#!/bin/shfor aFile in *; do oldfile=`basename "$aFile"` newfile=${oldfile:28:40} echo ${oldfile} echo ${newfile} mv "${oldfile}" "${ne...
分类:其他好文   时间:2014-08-13 12:52:36    阅读次数:209
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!