Aug 26

Tor 大家都熟了吧,无数的集合版本让它普及的很快。不过 Tor 致命的缺陷就是速度太慢,而且现在有很多“陷阱”节点。

嗯,如果你也觉得 Tor 太慢,可以试试 Your Freedom 。

Your Freedom 是一款类似 Tor (其实我觉得它更像 JAP),是欧洲(德国?)某公司开发的用于穿透防火墙和内容过滤的代理软件。

与 Tor 做简单比较的话,YF 的优点主要体现在绝大多数情况下它比 Tor 要快(深圳电信),而且本身直接支持 HTTP 和 Socks 代理,图形界面设置比较方便,也支持二级代理。

缺点呢,你必须安装 SUN JAVA 1.4.2 +,这东西有 10 几 M ...程序本身倒是不大,1 M 多吧,而且使用前你必须(免费)申请一个帐号(是否通用未知)。

下面介绍如何使用它:

1、在 YF 的网站上 注册 一个用户,需要电子邮件验证,所以不能乱填;
2、下载 并安装YF;
3、运行,使用向导建立最基本的配置,如果上网环境不涉及代理,基本不用改动什么,让它自己查找最合适的节点群;
4、默认参数就能很好的工作,HTTP 代理开在 8080 端口,SOCKS 开在 1080 端口,当然你也可以 DIY

补充下,有防火墙的要允许 JAVAW.EXE UDP/TCP 出站。


Aug 24

唉,我说的没错吧。。。

simple-tagging 也不能用中文做 Tag ,显示乱码,这个改 simpletagging.admin.php 第507行这里:


$res = $wpdb->get_results("CREATE TABLE $tablename "
. $this->sTagObj->tablestruct
." type=myisam default charset utf8");

注意第三行:." type=myisam default charset utf8 这段哦。。

嗯,改好的文件 :


Aug 24

DEF-LINK: XHTML POS MP3 HDMI POS如果不分隔能显示NOS吗?我要赞美金盾工程呼啦啦。。。AvP

The player will show in this paragraph

Animated Collapsible DIV
Author: Dynamic Drive
Note: Last updated June 27th, 07'. Added ability for a DIV to be initially expanded.

Description: This script collapses any DIV on the page and lets users manually toggle its appearance via a smooth "Web 2.0 style" animation. It's a popular effect on social networking/ comment sites such as Digg. Three distinguishing features of this script are:

The ability for the script to work on both DIVs that have an explicit CSS height attribute defined, and without. In the later case, the script will first hide (versus collapse) the DIV until retrieving its true height on page load.
A persistence feature that if enabled will remember if a DIV has been expanded, and upon the user's return to the page within the same browser session, keep it expanded.
The duration of the animation is absolute and user configurable, such as 1.5 seconds. This means regardless of the height of the DIV, the script will take 1.5 seconds to finish revealing it. This creates a uniform period before a DIV is revealed regardless of its height.
By default the script will dynamically collapse the DIV in question when the page loads. You can optionally specify that the script leave the DIV expanded instead.


Aug 24

我感觉这样的东西还要弄不少。。。。

democracy 2.0.1 最新版,后台管理以及前台显示均为中文乱码。先查JS,PHP部分均未发现源头,最后拿PhpMyAdmin查看数据库也是乱码,发现 wp_democracyQ,wp_democracyA均为letin编码而非UTF8,手动改好后,页面显示正常。

反过来再查改源码,只要在插件创建表的时候强制为UT8即可,打开 democracy.php ,第 149 行起:



CREATE TABLE {$table_prefix}democracyQ (
 id int(10) unsigned NOT NULL auto_increment,
 question text NOT NULL,
 added int(10) unsigned NOT NULL default '0',
 allowusers tinyint(1) unsigned NOT NULL default '0',
 current tinyint(1) unsigned NOT NULL default '0',
 active tinyint(1) unsigned NOT NULL default '0',
 multiple tinyint(1) unsigned NOT NULL default '0',
 PRIMARY KEY  (id),
 KEY current (current)
 ) TYPE=MyISAM CHARACTER SET=utf8;

CREATE TABLE {$table_prefix}democracyA (
  aid int(10) unsigned NOT NULL auto_increment,
  qid int(10) unsigned NOT NULL default '0',
  answer text NOT NULL,
  votes mediumint(6) unsigned NOT NULL default '0',
  added_by tinyint(1) unsigned NOT NULL default '0',
  PRIMARY KEY  (aid),
  KEY qid (qid)
) TYPE=MyISAM CHARACTER SET=utf8;

注意添加了最后的 TYPE=MyISAM CHARACTER SET=utf8 这句。

嗯,偷懒的,这里有改好的文件:


Aug 20

以前的数据不可能全部恢复了,我准备把一些我认为有点价值的文章重新抄录过来,主要是软件方面的东西,数码那些现在抄来也过时了没什么意思。

截图是个问题,嗯,唉。。。。很多问题。。


[52/53]  «< 44 45 46 47 48 49 50 51 52 53 >