- 博客(93)
- 资源 (15)
- 收藏
- 关注

原创 web-harvest 采集"腾讯读书“ 小说
web-harvest 是啥就不做介绍了,采集火影漫画的里面有下载链接。http://blog.youkuaiyun.com/wind_324/article/details/6271412样例抓取的是郭敬明的《1995-2005夏至未至》,简单看了下其他书籍的格式,基本上可以通用采集book.qq.com(未测试)。废话少说,下面看配置文件。 http://
2012-01-20 14:59:27
1807

原创 WebHarvest 抓取 火影忍者 漫画
觉得火影更新的慢么?觉得那些漫画网站不让下载很可恶么?看看这个^_^ps: Web-Harvest http://web-harvest.sourceforge.net1、逻辑文件 1 http://www.n
2011-03-23 16:41:00
21629
1
原创 redmine3.3.0安装问题
1.An error occurred while installing rmagick (2.16.0), and Bundler cannot continue.Make sure that `gem install rmagick -v '2.16.0'` succeeds before bundling.>yum install ImageMagick-devel
2016-09-01 17:14:12
3691
原创 linux 查看Yum包安装的位置
比如:php-mbstringrpm -ql php-mbstring结果如下:/etc/php.d/mbstring.ini/usr/lib64/php/modules/mbstring.so
2015-12-22 15:04:08
5936
原创 Laravel5 XX Model not found
composer.jsonmy model files are stored in directory of app\models,therefor "autoload": { "classmap": [ "database", "app/Models" ], "psr-4": { "A
2015-08-19 17:09:09
2823
原创 CentOS6.2 下载安装配置 Mongodb3.0.4
下载地址:wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.0.4.tgz解压安装 tar -zxvf mongodb-linux-x86_64-3.0.4.tgz mv mongodb-linux-x86_64-3.0.4 mongodb cd mongodb
2015-07-22 16:14:21
2614
转载 mysql UNIX时间戳与日期的相互转换
UNIX时间戳转换为日期用函数: FROM_UNIXTIME()select FROM_UNIXTIME(1156219870);日期转换为UNIX时间戳用函数: UNIX_TIMESTAMP()Select UNIX_TIMESTAMP(’2006-11-04 12:23:00′);例:mys
2015-07-08 16:34:54
710
转载 PHP array unset by value
if(($key = array_search($del_val, $messages)) !== false) { unset($messages[$key]);}
2015-05-27 17:19:16
665
原创 Mysql 查询不连续ID
select id from (select id from rt_issue order by id asc) t where not exists (select 1 from rt_issue where id=t.id-1)
2015-03-20 10:59:59
12987
3
原创 word中设置页码从任意页开始
1.在要插入页码的任意页的前一页末定位光标,并页面布局---“分隔符”-----“下一页”,此时光标定位到了下页首;2.执行“视图/页眉和页脚”打开页眉/页脚(或双击页眉或页脚位置),在“页眉和页脚”工具栏上单击“切换到页脚”按钮,将光标切换到该页页脚;3.在“页眉和页脚”工具栏上单击关闭“链接到前一个”按钮(页脚右侧“与上一节相同“消失);4.执行“插入----页码”命令,完成从本页
2014-04-15 10:33:13
2419
翻译 译-PHP rabbitMQ Tutorial-6
Remote procedure call (RPC)(using php-amqplib)In the second tutorial we learned how to use Work Queues to distribute time-consuming tasks among multiple workers.在第二个指导中,我们学习了如何运用工作
2014-04-09 11:32:44
2259
翻译 rabbitmq php tutorial -1
IntroductionRabbitMQ is a message broker. In essence, it accepts messages from producers, and delivers them to consumers. In-between, it can route, buffer, and persist the messages according t
2014-04-03 12:07:38
2384
转载 MySQL时间戳转换
1、将时间转换为时间戳select unix_timestamp('2009-10-26 10-06-07')如果参数为空,则处理为当前时间2、将时间戳转换为时间select from_unixtime(1256540102)有些应用生成的时间戳是比这个多出三位,是毫秒表示,如果要转换,需要先将最后三位去掉,否则返回NULL
2013-01-11 00:41:11
1742
转载 腾讯QQ企业邮箱POP3/SMTP设置
腾讯企业邮箱支持通过客户端进行邮件管理。POP3/SMTP协议收发邮件服务器地址分别如下。接收邮件服务器:pop.exmail.qq.com (端口 110)发送邮件服务器:smtp.exmail.qq.com (端口 25)同时支持SSL加密方式登录,此时需要更改一下端口号。接收服务器端口:995发送服务器端口:465IMAP协议接收邮件服务器:imap.ex
2012-10-24 11:55:06
279066
原创 Ubuntu 安装LAMP
$sudo apt-get install mysql-server mysql-client安装mysql服务$mysql -u root -p登录mysqlmysql>GRANT ALL PRIVILEGES ON *.* TO root@localhost IDENTIFIED BY "ABCDE";修改密码为wind$mysqlshow -u root -p显示
2012-01-31 16:46:02
1070
转载 某日,女秘书神色凝重地说:王总,我怀孕了。 王继续低头看文件,然后...
一、女浴室起火,里面人乱作一团,赤身往外跑,只见大街上白花花一大群,一老者大喊“快捂住”,众裸女突然醒悟,但身上要紧部位有三处,手忙脚乱捂不过来,不知所措。这时老者又大喊:“捂脸就行,下面都一样!” 【此事的重要启示:在特殊情况下抓工作不可能面面俱到,要抓住重点。】二、某日,女秘书神色凝重地说:王总,我怀孕了。 王继续低头看文件,然后淡淡一笑:我早结扎了。 女秘书楞了一会媚笑道:我
2012-01-19 15:12:12
9408
原创 eclipse tomcat 插件下载地址
http://www.eclipsetotale.com/tomcatPlugin/tomcatPluginV33.zip
2012-01-06 15:35:20
1027
原创 linux 查看端口占用进程ID
netstat -nlp | grep 9001| awk '{print $7}' | awk -F "/" '{print $1}'
2011-12-27 18:56:45
7402
原创 记服务器被 ssh-scan 攻击
解决办法:点击查看原文另外,除此之外,更苦恼的是系统命令像top, 都不能用,其他有的各种问题,最后终于发现是被入侵的时候 系统命令文件好多被加了“隐藏属性”root@ubuntu3:/usr/bin# lsattr | grep "^s"s---ia------------ ./md5sum.textutilss---ia---------
2011-12-21 18:39:01
2188
原创 linux 普通用户无法使用crontab
Condition: If the user has existed, (test:test)usermod -G test,cron testIn short, add the user to the group 'cron'. If it still doesn't work, try the code below: chmod u+s /usr/bin/crontab
2011-12-08 16:23:26
3289
转载 Xshell 使用技巧
做为一个Linux系统管理员,xmb经常需要在很多台服务器上做同样的操作,安装软件,修改配置等等。当然很多操作可以写成脚本,但还是登录到每台服务器上执行一下,有没有办法同时在多台服务器上同时执行相同的操作呢?答案当然是有了,必须的。一、XshellXshell是Windows平台下的一款ssh客户端程序,支持标签卡方式打开会话。打开多个会话后,打开"View"菜单,选中"Compo
2011-12-08 15:19:05
38997
原创 alias 永久设置
1, code a shell script(myalias.sh) like below:#!/bin/sh# Time-stamp: alias l48='ssh 172.0.8.248 -lroot'alias l49='ssh 172.0.8.249 -lroot'alias l50='ssh 172.0.8.250 -lroot'alias l51='ssh 1
2011-12-01 18:34:43
2607
原创 衣物洗涤标识图解
【漂洗标识】:可用含氯的洗涤剂洗涤或用氯液漂白。漂白时要用含氯的漂白剂不能使用含氯的洗涤剂洗涤也不能用含氯的漂白剂溶液漂白衣物【洗 涤 标 识】:表示可以干洗表示不能干洗只能水洗可以使用任何干洗剂洗涤
2011-10-31 10:39:35
13623
原创 linux 给用添加sudo 权限
1)切换到root用户(su). 2)添加文件的写权限。也就是输入命令"chmod u+w /etc/sudoers"。3)编辑/etc/sudoers文件。也就是输入命令"vi /etc/sudoers",输入"i"进入编辑模式,找到这一 行:"root A
2011-10-10 10:17:58
850
原创 Eclipse 设置字体,颜色 (*.xml *.txt *.properties 等)
Firstly , windows --- Preferences Then,
2011-09-19 17:11:11
10549
原创 Elipse 设置字体
wiondow--preferences--general--appearance--colors and fonts--java--java editor text font然后点change,在弹出的框里选字号,然后确定就可以了~~
2011-09-13 23:15:41
1085
原创 linux 获取外网地址
There're 2 methods below:1,curl -s http://whatismyip.org2,wget http://whatismyip.org cat index.html
2011-09-05 16:57:54
1385
原创 SSH, SCP ConnectionTimeout
1, man ssh-o option Can be used to give options in the format used in the configuration file. This is useful for specifyi
2011-08-29 16:39:48
5424
poi-bin-3.1-beta2-20080526.zip
2008-07-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人