A friend is one who knows you and loves you just the same. 朋友就是懂你并爱你的人。 Leave nothing for tomorrow which can be done today. 今天能做的,就不要拖到明天。 Remember th ...
分类:
其他好文 时间:
2016-11-23 07:19:22
阅读次数:
144
官方文档Providers Each web application you build is composed of objects that collaborate to get stuff done.(每一个web应用都是由一些对象“组装”成的,这些对象共同合作,来完成特定的任务)These ...
分类:
其他好文 时间:
2016-11-21 23:19:32
阅读次数:
332
题目:数值N累加到M(N<M)以下实例中,是以1到100作为例子,完全可以自行带入N和M(N<M)for循环实现sum=0
for((i=1;i<=100;i++))
do
sum=$((i+$sum))
done
echo$sum通过变量运算实现echo$[$(echo+{1..100})]
echo$(($(echo+{1..100})))
echo$[(100+1)*(100/2)]知识点:..
分类:
系统相关 时间:
2016-11-21 20:48:34
阅读次数:
229
2 days passed, and I finally find it done with samba server.. with utube to set up a samba server: 1. install samba; 2. add /etc/samba/smb.conf to the ...
分类:
其他好文 时间:
2016-11-18 21:36:10
阅读次数:
136
1:使用stat命令查看一个文件的访问时间(Access)、修改时间(modify)、状态改变时间(Change)#statindex.php2:批量解压.tar.gz方法1:#fortarin*.tar.gz;dotarzxvf$tar;done方法2:#ls*.tar.gz|xargs-itarzxvf{}3:查看根目录下大于1G的文件#find/-size+1024M4:查看服务器IP..
分类:
系统相关 时间:
2016-11-17 02:25:21
阅读次数:
227
画一个不规则的边框,有半圆形状,导致边框不封闭,无法使用Z-COPY命令,下边是解决办法: 1 画好Outline后,选择 shape -> Compose Shape , options选项卡中 设置如下 设置好后,选中画好的Outline , 右键Done。就生成了相应的shape。 2 删除 ...
分类:
其他好文 时间:
2016-11-15 19:34:34
阅读次数:
3718
一、while的特殊用法一:一直循环,永不退出while:;do...done#!/bin/bash#showfile.shwhile:;doread-p"Filespath:"FILEPATH[$FILEPATH==‘quit‘]&&breakif[-e$FILEPATH];thenecho"$FILEPATHexists."elseecho"No$FILEPATH."fidoneecho"Quit..."[root@localhostyum.repos...
分类:
系统相关 时间:
2016-11-14 16:00:02
阅读次数:
238
1, install pip 2,install powerline-status 3,set env PATH 4,set vimrc 5,done ...
分类:
系统相关 时间:
2016-11-14 15:09:06
阅读次数:
198
随笔- 15 文章- 1 评论- 115 <!--end: blogStats --><!--end: navigator 博客导航栏 --><!--end: header 头部 --> <!--done--> HTML5表单及其验证 HTML表单一直都是Web的核心技术之一,有了它我们才能在Web ...
分类:
Web程序 时间:
2016-11-11 07:31:39
阅读次数:
233
Then what's really happening is TWO different sections of memory are being allocated. It's done at one time, but it's two "logical" blocks. One is the ...
分类:
编程语言 时间:
2016-11-08 19:36:58
阅读次数:
334