hello,welcome to my blog.
最近整了个垃圾站 准备放点广告联盟 弹窗
注册了几个,从界面上感觉以下几个还是不错的
广逸传媒 http://www.na7.cc
太极圈 http://ww.tjq.com/
最终用了这两个 最后看看情况吧
注册了几个,从界面上感觉以下几个还是不错的
广逸传媒 http://www.na7.cc
太极圈 http://ww.tjq.com/
最终用了这两个 最后看看情况吧
#!/usr/bin/env python
# -*- coding:utf-8
INLIST=[22,44,12,33,24,34,13,42]
objx=xrange(len(INLIST)-1,-1,-1)
for i in objx:
for j in xrange(i):
if INLIST[j] >INLIST[j+1]:
INLIST[j],INLIST[j+1]=INLIST[j+1],INLIST[j]
#print x
print INLIST
# -*- coding:utf-8
INLIST=[22,44,12,33,24,34,13,42]
objx=xrange(len(INLIST)-1,-1,-1)
for i in objx:
for j in xrange(i):
if INLIST[j] >INLIST[j+1]:
INLIST[j],INLIST[j+1]=INLIST[j+1],INLIST[j]
#print x
print INLIST
参照了
http://bbs.linuxtone.org/viewthread.php?tid=2321&highlight=vsftpd
yum 安装vsftpd
1.yum -y install vsftpd db4-utils
http://bbs.linuxtone.org/viewthread.php?tid=2321&highlight=vsftpd
yum 安装vsftpd
1.yum -y install vsftpd db4-utils
加上了一段代码
<img src="http://dns.iaibi.com/stat.gif" />
呵呵
<img src="http://dns.iaibi.com/stat.gif" />
呵呵
#info date
这里面看到了date -d参数的灵活用法,真是欣喜若狂。好东西要保存,整理整理:
* To print the date of the day before yesterday:
date --date='2 days ago'
* To print the date of the day three months and one day hence:
date --date='3 months 1 day'
* To print the day of year of Christmas in the current year:
date --date='25 Dec' +%j
* To print the current full month name and the day of the month:
date '+%B %d'
But this may not be what you want because for the first nine days
of the month, the `%d' expands to a zero-padded two-digit field,
for example `date -d 1may '+%B %d'' will print `May 01'.
* To print a date without the leading zero for one-digit days of the
month, you can use the (GNU extension) `-' flag to suppress the
padding altogether:
date -d 1may '+%B %-d
* To print the current date and time in the format required by many
non-GNU versions of `date' when setting the system clock:
date +%m%d%H%M%Y.%S
* To set the system clock forward by two minutes:
date --set='+2 minutes'
* To print the date in RFC 2822 format, use `date --rfc-2822'. Here
is some example output:
Fri, 09 Sep 2005 13:51:39 -0700
* To convert a date string to the number of seconds since the epoch
(which is 1970-01-01 00:00:00 UTC), use the `--date' option with
the `%s' format. That can be useful in sorting and/or graphing
and/or comparing data by date. The following command outputs the
number of the seconds since the epoch for the time two minutes
after the epoch:
date --date='1970-01-01 00:02:00 +0000' +%s
date --date='1970-01-01 00:02:00 +0000' +%s
120
If you do not specify time zone information in the date string,
`date' uses your computer's idea of the time zone when
interpreting the string. For example, if your computer's time
zone is that of Cambridge, Massachusetts, which was then 5 hours
(i.e., 18,000 seconds) behind UTC:
# local time zone used
date --date='1970-01-01 00:02:00' +%s
18120
* If you're sorting or graphing dated data, your raw date values may
be represented as seconds since the epoch. But few people can
look at the date `946684800' and casually note "Oh, that's the
first second of the year 2000 in Greenwich, England."
date --date='2000-01-01 UTC' +%s
946684800
这里面看到了date -d参数的灵活用法,真是欣喜若狂。好东西要保存,整理整理:
* To print the date of the day before yesterday:
date --date='2 days ago'
* To print the date of the day three months and one day hence:
date --date='3 months 1 day'
* To print the day of year of Christmas in the current year:
date --date='25 Dec' +%j
* To print the current full month name and the day of the month:
date '+%B %d'
But this may not be what you want because for the first nine days
of the month, the `%d' expands to a zero-padded two-digit field,
for example `date -d 1may '+%B %d'' will print `May 01'.
* To print a date without the leading zero for one-digit days of the
month, you can use the (GNU extension) `-' flag to suppress the
padding altogether:
date -d 1may '+%B %-d
* To print the current date and time in the format required by many
non-GNU versions of `date' when setting the system clock:
date +%m%d%H%M%Y.%S
* To set the system clock forward by two minutes:
date --set='+2 minutes'
* To print the date in RFC 2822 format, use `date --rfc-2822'. Here
is some example output:
Fri, 09 Sep 2005 13:51:39 -0700
* To convert a date string to the number of seconds since the epoch
(which is 1970-01-01 00:00:00 UTC), use the `--date' option with
the `%s' format. That can be useful in sorting and/or graphing
and/or comparing data by date. The following command outputs the
number of the seconds since the epoch for the time two minutes
after the epoch:
date --date='1970-01-01 00:02:00 +0000' +%s
date --date='1970-01-01 00:02:00 +0000' +%s
120
If you do not specify time zone information in the date string,
`date' uses your computer's idea of the time zone when
interpreting the string. For example, if your computer's time
zone is that of Cambridge, Massachusetts, which was then 5 hours
(i.e., 18,000 seconds) behind UTC:
# local time zone used
date --date='1970-01-01 00:02:00' +%s
18120
* If you're sorting or graphing dated data, your raw date values may
be represented as seconds since the epoch. But few people can
look at the date `946684800' and casually note "Oh, that's the
first second of the year 2000 in Greenwich, England."
date --date='2000-01-01 UTC' +%s
946684800







