AppZ/
共617个网摘 [
1 2 3 4 5 6 ...
21 ]
下一页 |
访问AppZ的个人空间
AppZ收录,使用标签:apache, rewrite, collect,时间:2008-10-6 9:19:03 | 相关网摘,我也收藏
RewriteCond %{REQUEST_URI} ^/allow1
RewriteRule ^.*$ - [L]RewriteBase /
RewriteCond %{REQUEST_FILENAME} \.swf$ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !blogsdiy\.org [NC]
(……其他允许访问来源)
RewriteRule (.*) /allow1/leech.swf [R,NC,L]
本文来源于 冰山上的播客 http://xinsync.xju.edu.cn , 原文地址:http://xinsync.xju.edu.cn/index.php/archives/583
http://xinsync.xju.edu.cn/index.php/archives/583
AppZ收录,使用标签:collect, gmail, google,时间:2008-9-28 0:17:31 | 相关网摘,我也收藏
Gbridge is a free software that lets you sync folders, share files, chat and VNC securely and easily. It extends Google's gtalk service to a VPN (Virtual Private Network) that connects your computers and your close friends' computers directly and securely. Gbridge has many unique features.
http://www.gbridge.com/
AppZ收录,使用标签:bash, substring, function, collect, learn,时间:2008-9-18 16:10:33 | 相关网摘,我也收藏
A snippet from the man page for bash:
${parameter:offset:length}
Substring Expansion. Expands to up to length char-
acters of parameter, starting at offset. If length
is omitted, expands to the substring of parameter,
starting at the character specified by offset.
length and offset are arithmetic expressions (see
ARITHMETIC EVALUATION below). length must evaluate
to a number greater than or equal to zero. If off-
set evaluates to a number less than zero, the value
is used as an offset from the end of the value of
parameter. If parameter is @, the result is length
positional parameters beginning at offset. If
parameter is an array name indexed by @ or *, the
result is the length members of the array beginning
with ${parameter[offset]}. Substring indexing is
zero-based unless the positional parameters are
used, in which case the indexing starts at 1.
http://www.cygwin.com/ml/cygwin/1999-07/msg00269.html
AppZ收录,使用标签:php, good_blog,时间:2008-9-17 11:11:56 | 相关网摘,我也收藏
用gettext来实现PHP的国际化编程
2007年10月05日 09时26分
本站文章如未特殊注明,均为原创,严禁转载。
通常人们写程序时都是将文字写死在程序里的,比如:echo "Hello World!"; ,假如要改成它国语言,写国际化程序,就要逐个打开进行修改,程序较短时还行,若程序有上万甚至更多,改起来就不是那么容易了。近来随着i18n的逐渐标准化,我也来讲一讲在PHP中如何实现国际化支持。跟其他程序语言一样,在 PHP 也可以利用 gettext 套件写作 i18n 程序,实现 NLS(Native Language Support) 国际化支持,具体请参考官方文档
http://www.openphp.cn/blog.php?blog_id=9
AppZ收录,使用标签:数学之美,时间:2008-9-17 10:39:40 | 相关网摘,我也收藏
在日常生活中,包括在设计计算机软件时,我们经常要判断一个元素是否在一个集合中。比如在字处理软件中,需要检查一个英语单词是否拼写正确(也就是要判断它是否在已知的字典中);在 FBI,一个嫌疑人的名字是否已经在嫌疑名单上;在网络爬虫里,一个网址是否被访问过等等。最直接的方法就是将集合中全部的元素存在计算机中,遇到一个新元素时,将它和集合中的元素直接比较即可。一般来讲,计算机中的集合是用哈希表(hash table)来存储的。它的好处是快速准确,缺点是费存储空间。当集合比较小时,这个问题不显著,但是当集合巨大时,哈希表存储效率低的问题就显现出来了。比如说,一个象 Yahoo,Hotmail 和 Gmai 那样的公众电子邮件(email)提供商,总是需要过滤来自发送垃圾邮件的人(spamer)的垃圾邮件。一个办法就是记录下那些发垃圾邮件的 email 地址。由于那些发送者不停地在注册新的地址,全世界少说也有几十亿个发垃圾邮件的地址,将他们都存起来则需要大量的网络服务器。如果用哈希表,每存储一亿个 email 地址, 就需要 1.6GB 的内存(用哈希表实现的具体办法是将每一个 email 地址对应成一个八字节的信息指纹 googlechinablog.com/2006/08/blog-post.html,然后将这些信息指纹存入哈希表,由于哈希表的存储效率一般只有 50%,因此一个 email 地址需要占用十六个字节。一亿个地址大约要 1.6GB, 即十六亿字节的内存)。因此存贮几十亿个邮件地址可能需要上百 GB 的内存。除非是超级计算机,一般服务器是无法
http://www.cnblogs.com/vagerent/archive/2007/07/03/804072.html
AppZ收录,使用标签:tools, 有用的, collect,时间:2008-9-17 10:37:29 | 相关网摘,我也收藏
推荐两个开发用的浏览器插件
IE Developer Toolbar和Web Developer对网站开发人员有很大的帮住,可以帮我们分析dom,检查CSS、html,页面结构分析、JavaScript控制、Cookies控制等等。
IE Developer Toolbar
地址:
http://www.microsoft.com/downloads/details.aspx?familyid=E59C3964-672D-4511-BB3E-2D5E1DB91038&displaylang=en
Web Developer(for Firefox)
地址:
http://chrispederick.com/work/web-developer/
http://www.cnblogs.com/vagerent/archive/2007/08/21/864278.html
AppZ收录,使用标签:php, collect, learn,时间:2008-9-13 17:52:15 | 相关网摘,我也收藏
Features of TightURL:
Written in PHP, uses MySQL to store URL table. May be adapted in the future to allow use of PostgreSQL and SQLite also.
Highly customizable by editing configuration variables and HTML templates.
All browser output is template-based. (except the fatal error screens)
Checks submitted and accepted URLs against SURBL and URIBL to prevent abuse by the Bad People of the Internet. Please consider making a donation to these well-run and important Internet resources.
TightURL is Free Software, licensed under the GNU GPL.
http://tighturl.com/project/
AppZ收录,使用标签:collect, php, flex,时间:2008-9-12 14:09:28 | 相关网摘,我也收藏
Note: This article was created based on Flex 2. Minor changes in the description and code may be necessary before it can be applied to Flex 3.
As a PHP and HTML developer you may be wondering, "How do I start using Flex?" Adobe Flex is a very powerful set of tools but "...with great power comes great responsibility."
http://www.adobe.com/devnet/flex/articles/php_getstarted.html
共617个网摘 [
1 2 3 4 5 6 ...
21 ]
下一页