码迷,mamicode.com
首页 >  
搜索关键字:mapreduce_shuffle do    ( 12392个结果
脱离SVN的控制
在桌面创建一个记事本文件,然后吧这句话复制进去for /r . %%a in (.) do @if exist "%%a\.svn" rd /s /q "%%a\.svn" 然后保存,再把记事本文件重命名 叫 删除SVN信息.bat ,这时候要注意后缀名不是txt而是bat 了,然后双击这个批处理文...
分类:其他好文   时间:2014-06-28 22:33:55    阅读次数:217
Leetcode: Rotate Image
You are given an n x n 2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?抠细节的题,题目思想如下:to...
分类:其他好文   时间:2014-06-28 22:11:37    阅读次数:214
LeetCode解题报告:Reorder List
Reorder ListGiven a singly linked listL:L0→L1→…→Ln-1→Ln,reorder it to:L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes' val...
分类:其他好文   时间:2014-06-28 20:42:16    阅读次数:265
lua 函数练习
1 --逻辑表达式 2 3 --1+2+3+...+n 4 function fun1(n) 5 local sum = 0 6 for i=1,n do 7 sum = sum + i 8 end 9 return sum 10...
分类:其他好文   时间:2014-06-21 08:04:22    阅读次数:292
[LeetCode] Remove Duplicates from Sorted Array
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not allocate extra space for...
分类:其他好文   时间:2014-06-20 21:48:33    阅读次数:254
转换Word headings、元数据、超链接等元素为等同的PDF元素控件activePDF DocConverter
activePDF DocConverter使你能够很容易地扩展PDF转换功能到你的网内的每个用户,在安装了产品之后,简单地配置转换器扫描到的文件夹,用户就可以开始通过直观的拖拉操作进行文件转换了。具体功能:拖拉转换PDF:控件通过目录扫描进行即时的批量转换,只需要在网络上定义一个监视文件夹用于Do...
分类:其他好文   时间:2014-06-20 20:47:40    阅读次数:251
kernel编程规范
1. 制表符8个空格2. 每行最长80字符3. 代码块的{放在首行,但是函数的{放在次行4. 只有一行的if块,不加{}5. 不在()前后加空格6. 正常关键字后加一个空格,if, switch, case, for, do, while7. 但是不要在sizeof、typeof、alignof或者...
分类:其他好文   时间:2014-06-18 10:33:56    阅读次数:204
shell使用for循环完成100以内累加
#100以内整数和 #!/bin/sh declare-iSUM=0 for((i=1;i<=100;i+=1)) do letSUM+=$i done echo$SUM #!/bin/sh declare-iSUM=0 foriin{1..100} do letSUM+=$i done echo$SUM #100以内偶数和 #!/bin/sh declare-iSUM=0 for((i=2;i<=100;i+=2)) do letSUM+=$i done echo$SUM..
分类:其他好文   时间:2014-06-17 17:46:32    阅读次数:232
Android中将xml布局文件转化为View树的过程分析(下)-- LayoutInflater源码分析
在Android开发中为了inflate一个布局文件,大体有2种方式,如下所示: // 1. get a instance of LayoutInflater, then do whatever you want LayoutInflater inflater = (LayoutInflater) context.getSystemService(Context.LAYOU...
分类:移动开发   时间:2014-06-17 16:42:35    阅读次数:360
Palindrome Number
题目 Determine whether an integer is a palindrome. Do this without extra space. Some hints: Could negative integers be palindromes? (ie, -1) If you are thinking of converting the integer to ...
分类:其他好文   时间:2014-06-17 16:12:39    阅读次数:226
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!