Archive for 八月, 2008

InfoWorld 2008 年度最佳开源软件大奖揭晓 [cnBeta]

08.09.2008 by drivel - 2 Comments
Posted in 水++

类别 项目 获奖产品
存贮类 6个
  Network Backup Amanda
  Storage Server FreeNAS
  Online Backup Free Online Backup
  File Management WinMerge
  Disk Monitoring Smartmontools
  Storage Administration StorageIM
     
安全领域类 8个
  Application Security AppArmor
  Penetration Toolkit Metasploit Framework
  Windows Password Cracker Ophcrack
  Network Firewall SmoothWall Express
  Network Intrusion Detection Snort with BASE
  Security Log Analysis Splunk
  Disk Encryption TrueCrypt
  Gateway Security Untangle Gateway Platform
     
生活应用类 6个
  Sound Editing Audacity
  3D Modeling Blender
  Web Browser Mozilla Firefox
  Image Editing GIMP
  Productivity Suite OpenOffice.org
  PDF Creation PDFCreator
     
平台和中间件类 9个
  Server Operating System CentOS
  Enterprise Service Bus JBossESB
  Database MySQL
  MySQL Administration phpMyAdmin
  Small-Footprint OS Puppy Linux
  Data Migration Jitterbit
  Desktop Operating System Ubuntu
  Desktop Virtualization VirtualBox
  Server Virtualization Xen
     
网络类 8个
  IP Telephony Asterisk
  Log File Analyzer AWStats
  Wi-Fi Network Scanner InSSIDer
  Server Monitoring Nagios
  Wireless Network Interface NDISwrapper
  Router, Firewall, & VPN Vyatta
  VoIP Monitoring Wireshark
  Network Monitoring Zenoss Core
     
企业应用类 10个
  Content Management Alfresco
  Enterprise Resource Planning Compiere
  Project Management dotProject
  Application Monitoring Hyperic HQ
  Business Process Management Intalio BPMS
  Reporting JasperReports
  Enterprise Portal Liferay Portal
  E-Commerce Magento eCommerce
  Business Intelligence Pentaho Open BI Suite
  Customer Relationship Management SugarCRM
     
协作类 5个
  Social Networking Elgg
  Wiki MediaWiki
  Mail and Calendar Scalix
  Remote Control Virtual Network Computing
  Blog Publishing WordPress
     
开发工具类 8个
  Object Database db4o
  Version Control Git
  Web Client Library HttpClient
  Parallel Programming Intel Threaded Building Blocks
  Business Rule Management System JBoss Drools
  Rich Internet Applications Open Flex
  JavaScript Framework Prototype
  Web Services Test Tool soapUI

from http://cnbeta.com/articles/62007.htm

校內,让我怎能说爱你?

08.08.2008 by drivel - 0 Comment
Posted in 水++

  话说 2004 年的某天,Facebook 上线,随之而来的是 Web 2.0 的风潮,一时间 MySpace、YouTube、Facebook 成了互联网的新宠儿。当然,橡果国际没有为我们国内的“山寨风”丢脸,立马一个原封不动,原版拷贝连CSS样式都一样的校内网上线了。
  因为某墙的原因,本以为校内网会如淘宝一样,依照着天时地利人和的特点再加上自身的努力,成为国内 Social 方面的一面旗帜。但是,校内还是令我失望了。下面简述几条原因

1.CSS 涂鸦开放,但是不认真审核这些 CSS 样式的质量,造成大量模板在 firefox 下排列错乱

2.个人日志导入,尝试了N次,也没能正确的从我的 WordPress 中导入,即使是用了 Feedsky 这样的国内 feed 订阅系统

3.应用程序少之又少,好不容易有了开放开发平台,又出来霸王条款(不知道现在改了没)

4.个人主页里无法直接拖拽各个表格,以便自己重新组合个人主页

5.无法与好友分享 YouTube 等 Web2.0 站点上的视频

希望校内网早日 “模有所成” 吧

关于 WordPress 英文半角符号变成中文全角的解决方案

08.03.2008 by drivel - 1 Comment
Posted in 0pen Source, 水++

  WordPress 总是喜欢自作主张的把英文的单引号和双引号 ‘/” 变成中文的全角 ’ “ 。如图:

特别是在贴代码的时候,更是错误连篇。后台编辑发现符号都是没问题,但是显示出来就是有问题,万能的 Google 帮助俺找到了解决方案:

编辑 wp-includes/formatting.php

将如下代码

for ( $i = 0; $i < $stop; $i++ ) {
        
$curl = $textarr[$i];
 
        
if (isset($curl{0}) && '<' != $curl{0} && '[' != $curl{0} && $next && !$has_pre_parent) { // If it's not a tag
            
// static strings
            
$curl = str_replace($static_characters, $static_replacements, $curl);
            
// regular expressions
            
$curl = preg_replace($dynamic_characters, $dynamic_replacements, $curl);
        
} elseif (strpos($curl, '<code') !== false || strpos($curl, '<kbd') !== false || strpos($curl, '<style') !== false || strpos($curl, '<script') !== false) {
            
$next = false;
        
} elseif (strpos($curl, '<pre') !== false) {
            
$has_pre_parent = true;
        
} elseif (strpos($curl, '</pre>') !== false) {
            
$has_pre_parent = false;
        
} else {
            
$next = true;
        
}
 
        
$curl = preg_replace('/&([^#])(?![a-zA-Z1-4]{1,8};)/', '&#038;$1', $curl);
        
$output .= $curl;
    
}

改为

for ( $i = 0; $i < $stop; $i++ ) {
        
$curl = $textarr[$i];
 
        
if (isset($curl{0}) && '<' != $curl{0} && '[' != $curl{0} && $next && !$has_pre_parent) { // If it's not a tag
            
// static strings
            
//$curl = str_replace($static_characters, $static_replacements, $curl);
            
// regular expressions
            
//$curl = preg_replace($dynamic_characters, $dynamic_replacements, $curl);
        
} elseif (strpos($curl, '<code') !== false || strpos($curl, '<kbd') !== false || strpos($curl, '<style') !== false || strpos($curl, '<script') !== false) {
            
$next = false;
        
} elseif (strpos($curl, '<pre') !== false) {
            
$has_pre_parent = true;
        
} elseif (strpos($curl, '</pre>') !== false) {
            
$has_pre_parent = false;
        
} else {
            
$next = true;
        
}
 
        
$curl = preg_replace('/&([^#])(?![a-zA-Z1-4]{1,8};)/', '&#038;$1', $curl);
        
$output .= $curl;
    
}

即可,还有另外的一种解决方法,就是使用插件来解决

Plugin Name: Quotmarks Replacer
Version: 1.2.0
Author: Sparanoid
Author URI: http://blog.sparanoid.com/
Plugin URI: http://blog.sparanoid.com/archive/wordpress/quotmarks-replacer/
Description: 解决 WordPress 的全角引号问题,将全角的单引、和双引号和省略号替换成半角的格式,使后台输入的引号、省略号格式与前台读者浏览的引号格式保持一致。

不过尚未尝试…

Paladin’s Talent Show

08.03.2008 by drivel - 0 Comment
Posted in G@me

  一些圣骑士的天赋方案如下
Read the rest of this entry »