分类目录归档:网络技巧

免费时间戳服务器

有的时候需要使用时间戳服务,但一时找不到免费的时间戳服务器,所以在这里总结一下。

  • http://sha256timestamp.ws.symantec.com/sha256/
  • http://timestamp.comodoca.com/rfc3161
  • http://tsa.wosign.com/timestamp
  • http://tsa.starfieldtech.com
  • http://timestamp.globalsign.com/scripts/timstamp.dll
  • http://rfc3161timestamp.globalsign.com/advanced
  • http://timestamp.digicert.com
  • http://time.certum.pl
  • http://timestamp.verisign.com/scripts/timestamp.dll
  • http://timestamp.entrust.net/TSS/AuthenticodeTS

关于可信时间戳,可以参考维基百科

WordPress常用命令

使用Wordpress总会或多或少的遇到一些小问题,每当重复遇到这些问题时总是要到处寻找答案,浪费时间又浪费精力。所以开了这个贴记录一些使用WP过程中经常会遇到的问题以及解决办法。

  • WordPress 手动更新

1. 下载解压最新的 WordPress 安装包
2. 关闭所有插件
3. 删除旧的 wp-includes 和 wp-admin 目录
4. 上传新的 wp-includes 和 wp-admin 目录
5. 上传覆盖新 wp-content 目录中的文件(切勿删除原有 wp-content 中的任何文件和目录
6. 上传新的根目录文件

  • WordPress 文章版本控制以及自动保存问题

WP自动保存文章的功能实话说还是非常有用的,但是有时保存间隔时间太短十分烦人。我们可以通过修改wp_config文件来实现对这自动保存间隔时间的调整。打开wp_config找到define('AUTOSAVE_INTERVAL', 180);,将里面的180修改为较大的数字即可。
关于文章版本控制的问题,可以在wp_config中找到define('WP_POST_REVISIONS', 3);进行调整。

收拾恶意广告病毒

最近上网,发现浏览器会自己弹出窗口,但内容却无法显示。查看源码发现包含如下网址:
www.buildathome.info
ad.yieldmanager.com
imp.zilionfast.in
bestadbid.com
ad.xtendmedia.com
rewardzone.wwwblogto.com
www.trendsonline.biz
7.rotator.wigetmedia.com

初步已经可以确定是广告网页,上网查询有关资料后发现这是 Buildathome 病毒,Buildathome 是一家病毒广告平台,你跳转的页面正是他们的客户。

查杀方式参见:Remove Buildathome.info virus (Removal Guide) ,只执行 1-3 步就够了。

Advanced Uses for Google’s Site: Operator

You probably know that Google’s site: operator lets you restrict results to a site or domain. Search for [site:cnn.com iran] to restrict the results for “Iran” to CNN’s site, search for [site:googlesystem.blogspot.com gmail tips] to find Gmail tips from this blog. You can also use the site: operator for top-level domains and search for [site:fr debussy] or [site:edu ai].

Google’s site: operator is a lot more powerful than that. You can leave out some components of the address and replace them with asterisks. For example, you can find results from addresses that match this pattern: maps.*.com. Unfortunately, Google doesn’t show all the results that match the pattern.

ad4ea94ajw1e2jhmeasntj.jpg

You can also find results that have URLs which start with “news.” like “news.cnet.com” or “news.discovery.com”. Just search for [site:news.*].

What if you want to search Amazon’s international sites? Instead of typing [site:amazon.com OR site:amazon.co.uk OR site:amazon.ca OR site:amazon.de OR site:amazon.fr], just search for [site:amazon.*].

Google’s site: operator also works for directories. For example, you can find last year’s posts about Gmail by searching for [site:googlesystem.blogspot.com/2012 gmail].

You can even enter URLs that include parameters and leave out the parameters. Here’s a way to search the Google Maps help center: [site:support.google.com/maps/bin/answer.py inurl:”hl=en” 3d]. I’ve used the inurl: operator to restrict the results to English pages, but it’s not necessary to do that.

How to restrict the results for [imap] to answers from Google’s help centers? Search for: [site:support.google.com/*/answer imap]. 继续阅读