Skip to Content

脚本代码

  • strict warning: Non-static method view::load() should not be called statically in /var/www/drupal_module/views/views.module on line 906.
  • strict warning: Declaration of views_handler_argument::init() should be compatible with views_handler::init(&$view, $options) in /var/www/drupal_module/views/handlers/views_handler_argument.inc on line 0.
  • strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /var/www/drupal_module/views/handlers/views_handler_filter.inc on line 0.
  • strict warning: Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /var/www/drupal_module/views/handlers/views_handler_filter.inc on line 0.
  • strict warning: Declaration of views_handler_filter_node_status::operator_form() should be compatible with views_handler_filter::operator_form(&$form, &$form_state) in /var/www/drupal_module/views/modules/node/views_handler_filter_node_status.inc on line 0.
  • strict warning: Declaration of views_plugin_style_default::options() should be compatible with views_object::options() in /var/www/drupal_module/views/plugins/views_plugin_style_default.inc on line 0.
  • strict warning: Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /var/www/drupal_module/views/plugins/views_plugin_row.inc on line 0.
  • strict warning: Declaration of views_plugin_row::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in /var/www/drupal_module/views/plugins/views_plugin_row.inc on line 0.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Non-static method view::load() should not be called statically in /var/www/drupal_module/views/views.module on line 906.
  • strict warning: Non-static method view::load() should not be called statically in /var/www/drupal_module/views/views.module on line 906.
  • strict warning: Non-static method view::load() should not be called statically in /var/www/drupal_module/views/views.module on line 906.
  • strict warning: Non-static method view::load() should not be called statically in /var/www/drupal_module/views/views.module on line 906.
  • strict warning: Declaration of views_handler_field_comment::init() should be compatible with views_handler_field::init(&$view, $options) in /var/www/drupal_module/views/modules/comment/views_handler_field_comment.inc on line 0.
  • strict warning: Declaration of views_handler_filter_boolean_operator::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /var/www/drupal_module/views/handlers/views_handler_filter_boolean_operator.inc on line 0.

vim匹配查找重复的行

原来对文件中重复行的处理就是用Vim的命令sort u进行删除,不过有个缺点是不知道具体哪些内容有重复,其实Vim中可以直接查找匹配重复的行,那么对文件中重复的内容就一目了然了。

Yahoo实时汇率API

Yahoo提供实时汇率的API,用下面的2行代码可以很方便的得到所有币种的实时汇率值。

多个CSV转换成一个Excel

遇到一个问题,很多CSV文件要合并为一个excel文件,手工操作基本没问题,不过费时费力,容易出错,找了一下,有VBA可以直接搞定,和大家一起分享。

基于jQuery的网页图片延迟显示插件Lazy Load

网页中图片太多会降低网页的加载速度,影响用户体验。jQuery是目前用的最多的JavaScript框架,基于jQuery的Lazy Load插件可以很方便的实现网页图片延迟显示,提升用户体验。

SED和AWK电子书下载

Sed和Awk是Linux下面容易被忘记的命令,但是一旦你学会了Sed和Awk,你会发现很多事情原来是这么容易。分享一下Sed和Awk经典书籍,书名就叫做《Sed & Awk》,这里给大家分享的是Sed和Awk的chm格式的电子书,英文版的。

新浪微博t.cn网址缩短工具

现在互联网上最炙手可热的服务就是微博了,短网址是随着微博的兴起而为人们熟知的。新浪微博使用的是t.cn短网址服务,我们在发微博的时候,系统会自动将url转换为t.cn的短网址。

程序员的工具:编程语言

CoolShell对程序员的工具编程语言进行了总结,挺有意思的,转载一下。

对于这个图,最好不要解释,意会就好。不过,我却有点想不解风情,忍不住想解释一下。

auto ftp upload and download

Sometimes we need to upload and download files from ftp, waiting a file complete is a terrible thing. Let's do ot automatically!

FTP自动登录上传下载文件

有时候需要上传下载文件到ftp,老要等到程序运行完成后再用ftp上传,等得是很麻烦,所以找了个自动ftp上传下载的脚本,和大家一起分享。

让代码更美:10大编程字体

日复一日的编写代码,有没有感到审美疲劳?也许些许的改变就能让我们感到生活更美好。换一种编程字体吧!体验一种新的代码感觉。 下面我眼中的十大编程字体: