hello,welcome to my blog.

[置顶] TOR 最新Bridge 今天更新 每日更新 不指定

dennis , 2010/03/04 20:47 , 杂谈 , 评论(4) , 阅读(3178) , Via 本站原创
大中华局域网下的最简单翻墙工具。
由系统自动抓取bridges  ,地址如下
Tor最近Bridges 每日20点更新

py时间转换 不指定

dennis , 2010/08/02 14:10 , python , 评论(14) , 阅读(333) , Via 本站原创
在Python下转换时间格式

我推荐的广告联盟 不指定

dennis , 2010/07/27 22:00 , 自建网站 , 评论(9) , 阅读(272) , Via 本站原创
最近整了个垃圾站 准备放点广告联盟 弹窗
注册了几个,从界面上感觉以下几个还是不错的
广逸传媒  http://www.na7.cc
太极圈 http://ww.tjq.com/

最终用了这两个 最后看看情况吧

mysql 5.5 php  mysqli 无法编译问题 不指定

dennis , 2010/06/22 23:57 , LINUX , 评论(11) , 阅读(332) , Via 本站原创
Tags: ,

python之冒泡排序 不指定

dennis , 2010/06/08 14:19 , python , 评论(11) , 阅读(391) , Via 本站原创
#!/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

VSFTP 虚拟用户配置 不指定

dennis , 2010/05/20 18:13 , LINUX , 评论(19) , 阅读(544) , Via 本站原创
参照了
http://bbs.linuxtone.org/viewthread.php?tid=2321&highlight=vsftpd

yum  安装vsftpd
1.yum -y install vsftpd  db4-utils
Tags: ,

红帽虚拟化指南中文版 不指定

dennis , 2010/05/19 22:29 , 虚拟化 , 评论(8) , 阅读(354) , Via 本站原创
http://www.iaibi.com/docs/Virtualization/今天看到 下载下来放在服务器上 备忘  速度上也快点 呵呵

Nginx SSI 配置一例 不指定

dennis , 2010/05/17 11:42 , python » WEB , 评论(13) , 阅读(641) , Via 本站原创
nginx 配置只需要添加
ssi on;
html内容如下:
Tags: ,
加上了一段代码

<img src="http://dns.iaibi.com/stat.gif" />

呵呵  
Tags: ,

Linux Date 的一些用法【转帖】 不指定

dennis , 2010/05/10 09:34 , python » 小工具 , 评论(11) , 阅读(441) , Via 本站原创
#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
Tags: ,
分页: 1/6 第一页 1 2 3 4 5 6 下页 最后页 [ 显示模式: 摘要 | 列表 ]