使用VPN上网的技巧
Read more »
It would be a major understatement to say that the Internet has affected how the world operates. Most of our lives and livelihoods are in many ways impacted by trends that affect how we use the Internet. As much as use of the internet has made things like financial transactions, educational pursuits, and staying in […]
BOTW (Best of the Web) is one of the best web directories. The regular price for submitting websites to BOTW is pretty high. However, BOTW occasionally offers coupon promo codes that users can use to submit websites at a discount price. A Huge ONE DAY SALE Featuring 50% Off All BOTW Products and Services Use […]
Recently, I found Godaddy.com was advertising a new hosting package called “4GH Web hosting” and it was claimed to be the “4th generation hosting”, which is cloud-based, “revolutionary”, even better than Rackspace, GoGrid etc. I was intrigued and signed up. The result? It’s been quite disappointing. If you’ve been using other hosting services and familiar with […]
1. preg_match(): if (preg_match("/php/i", "PHP is the web scripting language of choice.")) { echo "A match was found."; } Note: $matches[0]will contain the text that matched the full pattern, $matches[1] will have the text that matched the first captured parenthesized subpattern, and so on. $str = http://www.php.net/index.html; if (preg_match('@^(?:http://)?([^/]+)@i', $str, $matches) { $host = […]
1. Retrieving a Path’s Filename: $path = '/home/www/data/users.txt'; $file_nm = basename($path); // "users.txt" $file_nm_1 = basename($path, ".txt"); // "users", no extension. 2. Retrieving a Path’s Directory: $path = '/home/www/data/users.txt'; $dir_nm = dirname($path) // "/home/www/data" 3. Learning More about a Path: $pathinfo = pathinfo('/home/www/htdocs/book/chapter10/index.html'); echo $pathinfo['dirname']; // "/home/www/htdocs/book/chapter10" echo $pathinfo['basename']; // "index.html" echo $pathinfo['extension']; // "html" […]
1. Checking Whether a File Exists: if (file_exists("testfile.txt")) echo "File exists"; 2. Reading from Files: Method 1: Using fgets() to read one line a time: $fh = fopen("testfile.txt", 'r') or die("Cannot open file."); while (!feof($fh)) { $line = fgets($fh); $out .= $line; } fclose($fh); Method 2: Using file_get_contents() to read the entire content: […]
Before registering a new Facebook application, you need to make sure you have verified your Facebook account. There’re two ways to verify your developer account: 1. You can confirm your phone number at the fololowing URL: http://www.facebook.com/confirmphone.php 2. You can verify your Facebook account by adding your payment (credit card information) at here: https://secure.facebook.com/cards.php Once […]
If you have an iPod Touch (for example, iPod Touch 4), you might know that it’s more or less like an iPhone without the capability of making phone calls. You might wonder: how nice would it be if I can make phone calls from my iPod Touch? Yes, since an iPod Touch is much cheaper […]
Below are steps to allow Kindle to display Chinese characters (汉化). It should work for the most current versions of Kindle 2 and Kindle DX. The one I used myself is Kindle DX Graphite International Version 2.5.5.
Recently I bought a new Kindle. It's pretty cool and easy to use. However, there's one question that puzzled me: Should I turn my Kindle off when not using it?
最近发现了一个免费的网络工具——Dropbox。这个工具可以用来为电脑上的文件进行网络备份,还可以当作一个文件同步工具使用。 假如你同时拥有好几台电脑,你可以在每台电脑上都安装一个Dropbox软件,当你在其中任意一台上把文件存在Dropbox指定的文件夹里时,这些文件就会自动在Dropbox的服务器上备份,并且可以显示在你其它的电脑上,这样一来,你就不需要很费力气地使用U盘在不同电脑间复制、传输文件了。 Dropbox可以实现很多有用的功能,比如:同步文件夹、同步MSN和QQ聊天记录、同步文档、同步桌面、同步IE收藏家、网站自动备份等等。 Dropbox是一个免费的软件,目前为每个账户提供2G的免费空间。下载、注册Dropbox请按这里。
图书封面设计是一项看似容易实则很难的工作。一个好的封面设计不但可以吸引读者的眼球,还能通过一个画面传达那本书的涵义。而且,更困难的是,封面设计师为了能让读者过目不忘,他需要让封面具有独特性和创造性。 下面是一些国外的的图书封面设计的例子,供大家学习、参考。
最近一年以来电子书开始流行,网上书店Amazon.com推出的Kindle(Kindle 2和Kindle DX)很受读者欢迎。最近美国的另一家大书店Barnes & Noble宣布推出另一款电子书,名叫Nook。圣诞节快到了,本来用户可以开始订购Nook作为圣诞礼物送给朋友,但Barnes & Noble最近说发货要推迟到2010年初。 到底是Kindle好还是Nook好? 据说Nook最大的优势之一就是支持“借阅”功能。但最近Amazon的老板出来讽刺这种功能,称“Barnes & Noble所提供的借书服务,其实仔细去看,是受到狠大限制的。你一次只能借一个朋友,不可以找两人,也不可以轮流借。所以只要借出去了,就没有别种可能性了。” 前几天有看了纽约时报上的一篇文章,这篇文章的作者批评Nook功能太差,速度慢,触屏反应慢等等。 到底是买Nook还是买Kindle?看来还是等等再说。
Small_biz_green is an elegent 2-column, professional looking free WordPress theme. It’s a perfect theme for small business blogs and persnal blogs. This WordPress theme can be downloaded from here for free. Features: Tested on Latest WordPress version 2 columns Right sidebar Fixed Width Widget ready Demo: Click here Download: Click Here Created by: AccountingHelper
Flower4u is an elegent 2-column, professional looking free WordPress theme. This WordPress theme can be downloaded from here for free. Features: Tested on Latest WordPress version 2 columns Right sidebar Fixed Width Widget ready Demo: Click here Download: Click here Created by: florist4us
作为使用WordPress的博客作者,为了提高自己博客的访问量,应该掌握最基本的SEO技术。 SEO的全称是Search Engine Optimization,就是“搜索引擎优化”的意思。SEO的目的是让搜索引擎更好的发现你的WordPress博客,并且在关键字的搜索结果中使你的Wordpress博客排名靠前。 最近出现了一个很好的针对SEO的Wordpress插件,名叫“All in One SEO Pack”,就是“一揽子SEO”的意思。这个插件可以自动优化博客的Title(标题),自动生成META tags;还能避免Wordpress博客常见的内容重复(Duplicate contents)问题。 如果你使用WordPress写博客,并且对WordPress SEO感兴趣,建议你去下载、试用 一下这个“All in One SEO Pack”WordPress插件。
我写了一个WordPress的中文主题(Theme),取名叫 Basic_R。 Basic_R这个WordPress主题有以下几个特点: 完全中文界面。 两栏式界面。 界面简洁,几乎没有用到任何图像。 适用于WordPress 2.5以上的版本。 作者: ColorWalk 演示:DEMO 下载:Click Here
你好!欢迎来到 Colorwalk.com!这个网站/博客主要以网页设计、网络编程为核心内容(也可能会有一些无关的扯淡内容)。 自我介绍一下,我是 Colorwalk,一个网络工程师兼网页设计师。这个网站的内容将会包括英文和中文两部分。相信大部分中文读者都能应付基本的英语,所以,语言不是大问题,呵呵。 如果需要和我联系,请使用我的这个邮箱: