码迷,mamicode.com
首页 >  
搜索关键字:do it    ( 12356个结果
关于工作
It is no use doing what you like ; you have got to like what you do.——Winston Churchill(British prime minister)不能爱哪行才干哪行,要干哪行爱哪行。——美国首相 丘吉尔. W.
分类:其他好文   时间:2014-07-16 23:21:01    阅读次数:236
GQ Tubular Centrifuge
Cold weather is coming and in some northern states is already here. That means it’s time to winterize your car. Vehicle maintenance is something we do...
分类:其他好文   时间:2014-07-16 23:07:50    阅读次数:177
微软职位内部推荐-SENIOR SDE
微软近期Open的职位:This Job is eligible for the following work arrangements :Flex TimeJob Description:Are you ready to take the next step in your career? Do ...
分类:其他好文   时间:2014-07-10 12:35:31    阅读次数:212
委托的例子,from C# advanced program
class BubbleSorter { static public void Sort(IList sortArray, Func comparison) { bool swapped = true; do ...
分类:其他好文   时间:2014-07-10 12:34:06    阅读次数:159
IOS下WEBVIEW 的javascript数组与json定义 及交互
最近在折腾IOS新闻浏览客户端,当中需要用到webview传递JSON数据到IOS上,然后在IOS上解析。刚入门IOS不久,看了不少的书,但都是囫囵吞枣。在开发过程中,遇到不少问题。开发环境mac mini (IOS端开发)thinkpad x200s(PHP开发)功能实现:在WEBVIEW创建DO...
分类:移动开发   时间:2014-07-10 12:15:14    阅读次数:307
extract specified contents from two files.
src_dir=$(pwd)/All_hdst_dir=$(pwd)/Alldiff_dir=$(pwd)/diffif [ ! -d $diff_dir ]then mkdir $diff_dirfifor src_full_entry in $src_dir/*do src_cat_entry=...
分类:其他好文   时间:2014-07-10 10:07:49    阅读次数:241
linux如何快速切换到某目录
经常使用cd命令切换目录,虽有cd-,历史目录poppush等操作,终究不直观。直接上代码及部署: i=1 HERE=`pwd` VALID_HERE=${HERE//\//\\\/} ALREADY_EXIST=`grep^${HERE}$$1` declare-agodirs whiletrue;do [[$2="a"]]&&[[x${ALREADY_EXIST}="x"]]&&sed-i"/^EOF/..
分类:系统相关   时间:2014-06-28 06:50:25    阅读次数:338
Shell脚本批量创建用户并随机生成密码
要求:批量创建10个系统账号oldboy01-oldboy10,并设置生成密码(密码不同).实现脚本:#!/bin/bash #Question3 foriin$(seq-w10) do useradd-s/bin/basholdboy$i echo"password$i"|md5sum|tee-apasswd.txt|passwd--stdinoldboy$i done脚本执行效果:[root@localhostq4]#shq4.sh Cha..
分类:其他好文   时间:2014-06-28 06:21:21    阅读次数:340
遍历目录中所有文件并统计信息
遍历目录中所有文件,并且统计文件类型。#!/bin/bash #filename:filestat.sh #set-x if[$#-ne1]; then echo$0basepath; echo fi path=$1 declare-Astatarray; whilereadline; do ftype=`file-b"$line"` letstatarray["$ftype"]++; done<<(find$path-typef-print) ech..
分类:其他好文   时间:2014-06-28 00:16:08    阅读次数:224
POJ1026 Cipher 【polya】
This question is not so difficult. First,my thoughts were we should use a lot of code to find out the loop block,but there is no need to do that . you just need to get every new position of char in ...
分类:其他好文   时间:2014-06-27 23:39:44    阅读次数:293
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!