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
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
情况是这样的,我的程序里有一个参数,数值不超过1000,我要保存到EEPROM中,那就要分两个字节存放。我用下面的方式保存是正常的: BASE = 0x4000; param = 999; eeprom_write(BASE+0x01, param/256); eeprom_write(BASE+0...
分类:
其他好文 时间:
2014-07-10 13:44:53
阅读次数:
193
多重性关系可以是Optional(一个属性可拥有一个单个实例或没有)Required(一个属性必须拥有一个单个实例)Many很多的(一个属性可以拥有一个集合或一个单个实例)。Has方法包括如下几个:? HasOptional? HasRequired? HasMany在多数情况还需要在Has方法后面...
分类:
其他好文 时间:
2014-07-10 12:53:30
阅读次数:
241
Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integers in each row are sorted from l...
分类:
其他好文 时间:
2014-07-10 12:37:21
阅读次数:
189
微软近期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
经常使用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
在上一篇中,我们配置好了RemoteApp程序,也可以客户端中正常打开运行,但是看到类似下面的窗口时,总觉得不爽,而且会因为证书校验,连接的时间会很长引起这个问题原因就是证书问题分两部分来处理一.WEB1.在CA颁发机构中,右键-证书模板2.在证书模板制台中,右键选WEB服务器-..
分类:
移动开发 时间:
2014-06-28 06:23:09
阅读次数:
3415
要求:批量创建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