最近感觉时间管理做的特别差,上周末好多事乱成一锅粥。于是借来同事的书来看,发现真的写的特别好!
在这里挑重点和自己的心得总结一下。第1章问题:1. 现代社会的事情不断涌现,已经不是把事情做个列表,先做重要紧急的,这样简单的做法就能应付得了。2.
很多要去做的事情被我们存在了大脑里,只是记得需要去做,...
分类:
其他好文 时间:
2014-05-30 13:04:23
阅读次数:
180
1、报错信息:Counting objects: 3, done.Writing objects:
100% (3/3), 205 bytes | 0 bytes/s, done.Total 3 (delta 0), reused 0 (delta
0)remote: /opt/gitlab-6.9...
分类:
其他好文 时间:
2014-05-30 04:03:34
阅读次数:
289
My original thought was to calculate all the
possible transactions by using nested loop. But got time limit excess error.I
knew it can be done in O(n)...
分类:
其他好文 时间:
2014-05-29 20:44:37
阅读次数:
271
需要读取Web.config/App.config的配置很简单,首先我们需要将配置写入到中,例如:
读取配置语句(需要引入System.Configuration):ConfigurationManager.AppSettings["thumbSize_weight"]Done!
分类:
移动开发 时间:
2014-05-29 15:15:54
阅读次数:
536
early-initwait_for_coldboot_done_actionkeychord_init_actioninitearly-fsfspost-fspost-fs-dataproperty_service_init_actionsignal_init_actioncheck_startu...
分类:
其他好文 时间:
2014-05-26 22:02:14
阅读次数:
233
举例说:脚本名称叫test.sh 入参三个: 1 2 3运行test.sh 1 2
3后$*为"1 2 3"(一起被引号包住)$@为"1" "2" "3"(分别被包住)$#为3(参数数量)如脚本:#!/bin/shfor loop in
"$*" do echo $loop done输出循环一...
分类:
系统相关 时间:
2014-05-24 10:09:30
阅读次数:
304
批量添加用户#!/bin/bashi=1while [ $i -le 20 ]do
useradd stu$i echo "123456" | passwd --stdin stu$i &> /dev/null
i=$(($i+1))done# 删除用户#!/bin/bash# 批...
分类:
其他好文 时间:
2014-05-15 21:11:33
阅读次数:
218
#!/bin/bash
#
Count=0
forUserNamein$@;do
ifid$UserName&>/dev/null;then
echo"$UserNameexists."
else
useradd$UserName
echo"Add$UserNamesuccessfully."
Count=$[$Count+1]
fi
done
echo"Add$Countnewusers."
分类:
其他好文 时间:
2014-05-15 18:52:21
阅读次数:
214
An intent service is similar to regular
service, with two main exceptions: whatever work is to be done in
onHandleIntent() will execute on a separate ...
分类:
移动开发 时间:
2014-05-14 22:53:39
阅读次数:
395
出现no write has been done on this connection解决方案...
分类:
数据库 时间:
2014-05-14 19:42:51
阅读次数:
403