1 / 3
Caption Text
2 / 3
Caption Two
3 / 3
Caption Three margin testing

Wednesday, April 6, 2011

Top 10 Sites for Note Taking by David Kapuler

Link: http://www.techlearning.com/article/38184 (via shareaholic.com)
April 5, 2011

Taking notes is an everyday skill in education but often overlooked. Technology -- and more specifically, the Internet -- has rendered paper and pencil passé and allowed educators and students to raise note-taking to the next level. Most of the following sites use some form of the "post-it" or "sticky," but with the integration of Web 2.0 technologies.
  1. Wall Wisher - One of the most popular "post-it" note style sites on the web. These notes can includes all type of media, such as text, photos, and music. Fun and very easy to use.
  2. Primary Wall - A sticky note site designed for teachers and students to post notes in real time. Filtering of notes can be done for a fee-based subscription.
  3. Zendo - A great site for students. Takes notes and turns them into flash cards for studying.
  4. Thoughtboxes - Create organized notes in color coordinated boxes and then share with others.
  5. Lino - A wonderful site for creating online sticky notes similar to Wall Wisher. These notes can be emailed to others individually. Also, a nice site to use on mobile devices such as the iPhone or iPad.
  6. Catch - A nice site for capturing notes in different types of media. Ideal to use on mobile devices.
  7. Corkboard.Me - Create a bulletin board full of sticky notes and share with others via a unique URL.
  8. Edistorm - A very user-friendly site to create collaborative sticky notes for brainstorming.
  9. Pindax - Create public or private boards filled with notes that can be commented on by other users. This unique online community also has a nice chat feature.
  10. Scrumblr - A simple, easy-to-use site for creating color-coded notes.
David Kapuler is an educational consultant with more than 10 years of experience working in the K-12 environment. For more information about his work, contact him at dkapuler@gmail.com and read his blog at cyber-kap.blogspot.com.

Friday, April 1, 2011

Debug Logging - PayPal

http://www.zen-cart.com/forum/showthread.php?t=61199

In Zen Cart v1.3.7 and newer you can enable debug logging of PayPal transaction activity.

The debug logs do NOT contain your PayPal password or API certificate information. This sensitive information is masked so that it cannot be stolen and used unscrupulously.
Further, in the default configuration, there are protections in place to prevent snoops from finding and obtaining your log files, as they are named with some degree of randomness, making it virtually impossible to guess.

1. Ensure you are using Zen Cart v1.3.7 or newer, and any published PayPal patches are installed.
2. Go to Admin->Modules->Payment ... and choose your PayPal module (either IPN or Express Checkout, Payments Pro, etc). Click Edit.
3. Choose "Log to File" for your debug option. (recommend to NOT use log-to-email option)
4. Use your FTP program to mark the /includes/modules/payment/paypal/logs folder writable (ie: chmod 777). If given a "recursive" option, select "no". If asked about altering files "and" folders, say "no".
5. do some test transactions to simulate the problems you're encountering or reporting.
6. Once you've duplicated a problem with logging enabled, grab the log files related to that transaction (ie: look at the date/time on the files) and download and zip them for analysis ... ie: you may be asked to provide a link to where the zip file can be downloaded from when talking to DrByte, Ajeh, Kim or wilt. You might alternatively post the link directly in the support thread where you're discussing a reported problem.

Shocker from Redmond: Microsoft turns to Linux

http://www.infoworld.com/t/misadventures/shocker-redmond-microsoft-turns-linux-020
April 01, 2011

Based on Ubuntu, the company's homegrown 'Winux' distribution will run native Windows applications through emulation


Microsoft has ceased development of the Windows operating system and will be releasing its own Linux distribution, the company revealed in an SEC filing yesterday.

The annual 10-K report disclosed plans for the development of the "Winux" operating system and detailed special costs related to terminating the Windows business -- including costs associated with supporting current versions of Windows through 2020.

The move signals that Windows -- once the world's most popular operating systems -- is no longer strategically important to Microsoft. Company officials acknowledged that switching to Linux will result in significant cost savings without compromising performance, scalability, reliability, or security. Further, compatibility with most Windows applications will be maintained, the officials said.

In a call with reporters, Steven Sinofsky, president of the Windows and Windows Live division at Microsoft, downplayed the significance to customers.

"It's not a big deal," Sinofsky said. "Most Windows users won't even know the difference."

Sinofsky explained that, although Winux is based on Linux, it would run native Windows applications using an emulation layer that Microsoft is developing. Although emulation introduces additional software overhead, Sinofsky said any performance differences would be "imperceptible" on today's hardware.

"The user experience will be nearly identical [to running Windows] today," Sinofsky emphasized. "The GUI will be the same. Performance will be the same. Security will be better."

Sinofsky declined to provide a timeframe for the Winux release or indicate what the licensing terms would be. He confirmed that Microsoft would continue to maintain Windows at least through 2020.

Departing Microsoft CEO Steve Ballmer [link to Ted's Ballmer bumped story ] said in an interview with CNBC earlier today that the switch to Linux would deliver huge cost savings and put Microsoft in a better position to compete against Apple and Google in consumer and mobile technologies, as well as Oracle and IBM in business computing.

"The operating system is no longer the key to winning in the technology business," Ballmer said. At the same time, Ballmer noted that the demise of Windows saddened him personally. Ballmer said he planned to devote much of his time during retirement to helping Windows users. He had created a weblog of Windows tips and technical advice, called My Windows Pony, that will soon be re-introduced as My Winux Pony.

Doug Dineley is executive editor of the InfoWorld Test Center.

Sunday, March 27, 2011

How do I Upgrade My Zen Cart site?

http://tutorials.zen-cart.com/index.php?article=108

3 EASY STEPS TO UPGRADE ZEN CART™


NOTE: For each new release, there are important documents in the /docs folder of the Zen Cart ZIP file. Please check the /docs/2.readme_how_to_upgrade.html file for any special notes about the version you are upgrading from/to.

Getting Started ...


This is a basic guide to upgrading Zen Cart™. If you have not yet installed Zen Cart™, please see the /docs/1.readme_installation.html file for installation instructions.

To upgrade Zen Cart™, you'll need the same basic tools you used to install and customize it in the first place: An FTP program, a text editor friendly to HTML/PHP code, phpMyAdmin or equivalent access to your MySQL database, and your Control Panel for managing your webspace.

Additionally, you will find a file-comparison tool (see here for a list of recommended tools: http://www.zen-cart.com/wiki/index.php/Useful_Tools ) is invaluable. (The free tools offer 2-way comparison. The more advanced paid-for tools offer 3-way comparisons which can be very handy, but costly.)

Upgrading follows 3 easy steps. We suggest you take your time going through each stage carefully and methodically. Don't rush the process. And as always, be sure you keep good backups first.

We highly recommend you pay special attention to getting familiar with the demo data in the new version, so that you can become comfortable with the many new features contained in the new release.

1. Preparation


Unzip a copy of the new version of Zen Cart™, upload it to your webserver into a "demo" folder, and install the new version into a separate database, and include the Demo products. This is just for a place for you to play with the new version and get used to its new features. These can be deleted after conversion is complete.

Study the new features, and the documented changes to the template structures, as well as the "changelog". Use the demo products in the demo shop as examples. See also the supporting documentation provided with the new release.

Make a full backup of your database (dump to SQL file). Store this file on your PC for later reference.

Make a full backup of your site files (ftp to your PC and zip it up for safe-keeping).
Keep the backup on your PC to use in next steps. Perhaps call this folder "\zen_backup".

Now let's find out the differences/customizations details between your site and the original Zen Cart™ files. (You can find older versions here:http://sourceforge.net/projects/zencart/files/ )

Unzip a copy of the original Zen Cart™ files for the version you originally installed or last upgraded from (ie: perhaps v1.1.3 or even 1.2.0). This should be placed in a separate working folder on your PC (perhaps "\zen_orig").

Make a list of any add-ons you have installed, for later reference.

Run a tool like WinMerge to compare the "Original" Zen Cart™ files in "\zen_orig" against your working backup files in "\zen_backup".
Note all the files that are "different". In WinMerge, double-click on each file and note what the differences are.
If the differences are just language defines for display text, those will be simple to carry forward.
If the differences are actual programming/code differences, you will need to make detailed notes in order to carry over those changes to the new new new version.
Any mods/add-ons you've installed will likely contain many programming changes, and may not be fully compatible with the newer Zen Cart™ release.

Your list of add-on's may help you narrow down the source of any differences you're finding between versions. You may have to download the add-on again to take a look at the readme or code contained in it. You may have to contact the author to ask for an updated version.

As you make your list of changed files, etc, at this stage, you may want to move things into the Zen Cart™ template-override structure, if you haven't already done so. See the Template System Documentation for help on the template system.

2. Execution


Download and unzip the latest Zen Cart™ version to your PC. This will be in a 3rd directory (perhaps "\zen_new"), separate from the other two folders compared above.

Using the list of files you made earlier, go through each "changed" file, and make your changes from the old version into the new version.
Simple language edits will be just a matter of copy-and-paste.
Programming changes to core components will be more difficult and require significant testing.
You may find WinMerge handy at this stage to apply edits as well. However, you will see many extra differences that may not be related to your own customizations, or that may conflict. Be careful making changes to program code.

Note that there will be several changes you will have to make to files that you have overridden using the template overrides system. Thus, you'll want to compare files from /includes/templates/MYTEMPLATE/* to /includes/template/template_default/* ... and the same with language file overrides, sideboxes, etc.

3. Testing


Make a NEW database to install the new version of Zen Cart™ into.

If the last backup you made of your data is older than the last order that might have been processed or customer registration, make a fresh database backup.
Restore your database from the backup in step #1 earlier into your NEW database just created.

If your /zen_new folder doesn't have "/includes/configure.php" and "/admin/includes/configure.php" files, copy them from your old store folder.

EDIT your "/zen_new/includes/configure.php" file and ensure that the DIR_FS_CATALOG and DIR_WS_CATALOG and DIR_FS_SQL_CACHE (and other path settings too) correctly match your NEW directory structure on the server.

EDIT your "/zen_new/includes/configure.php" file and ensure that your DATABASE_NAME matches your NEW database. Also verify database username and password in case that information has changed. Save this file, and be sure to upload it as part of the next step:

Upload the files from your modified "new version" (created in step 2) to your server, into an alternate folder, perhaps called "/store_new".

Run /zc_install/index.php and choose "Upgrade" when prompted. (Don't select "Install", or you will overwrite your database.) (If "Upgrade" is not offered, then the installer was unable to connect to your database to confirm what version its structure is at. Check your configure.php settings.)

Test your customizations. Edit as needed. Compare with the test/demo install performed earlier, as needed.

When satisfied that all is OK, go live.
If significant time has passed since you did your last backup, you may want to repeat the steps in this "Testing" section again, using a fresh backup from your live shop. You don't need to re-upload files again ... simply do the database restore, and run the installer to do the database upgrade again.

To go live, put your shop into "Down for Maintenance" mode in the admin area. Be sure to add your IP address to the list of allowed addresses to get into the site for previewing.
This can be done easiest by renaming "store_new" to "store". (You'll have to rename "store" to something else first.)
Test it to be sure that things are operating as desired. If you have small problems to repair, turn "Down for maintenance" on and off again as necessary.

NOTES

Remember that your "configure.php" files on your server are typically set to read-only, and thus in order to upload them will require that you mark those files read-write before uploading. Be sure to put them back to read-only after uploading.

Saturday, March 26, 2011

升级到 Zen Cart v1.3 的步骤

http://www.zen-cart.cn/forum/topic967.html
: Zen Cart 中文支持 : 新手上路

由 Jack » 2006-04-06 2:14

假设现有的商店安装在/shop

1 新建目录/new_shop

2 复制文件
/shop/includes/configure.php 到 /new_shop/includes/configure.php
/shop/admin/includes/configure.php 到 /new_shop/admin/includes/configure.php

如果是从1.3.8 以下版本升级 ,这两个文件中需要增加一行 define('DB_CHARSET', 'utf8');

3 备份现有的商店数据库

4 新建一个数据库

5 将备份的商店数据库导入新建的数据库中

6 修改新建目录中的两个 configure.php 文件, 设置好新的数据库名、用户名、密码等

7 将所有Zen Cart v1.3的文件上传到 /new_shop

8 运行 /new_shop/zc_install

注意: 当提示升级时,从最早版本开始升级,一次选中一个升级选项

测试新的 /new_shop v1.3 商店 ...

接着,备份你的现有商店中的模板文件以及替代文件,上传到 /new_shop 下的相应目录 ...

用文件比较工具,例如WinMerge,来比较你的替代文件与zen cart新版本中文件的不同,并做修改

这要花一些时间了 ...

一切都正常后,测试各种功能 ...

1 新建帐号
2 添加商品到购物车
3 结帐
4 电子邮件
5 购物记录
6 订单
等等

一切正常,那么可以切换现有的商店了 ...

1 将现有商店设置为“商店维护中” ...

2 备份现有商店数据库 (在你开始安装/new_shop后,也许现有的商店数据库内容已经有了变化)

3 清空新建的数据库内容,导入刚备份的最新数据库

4 运行 /new_shop/zc_install

说明: 因为刚导入了新的数据库,所以要再执行一次升级过程 ...

升级后,再次检查网站正常

说明: 升级后,使用的是新建的数据库,你可以保留旧的数据库作为备份

修改两个 configure.php 文件,将 /new_shop 改为 /shop

再次说明,不要改动这两个文件中新的数据库的设置。

将现有商店 /shop 改名为 /old_shop

将新商店 /new_shop 改名为 /shop

测试新的商店 ...

关闭“商店维护中” 的设置 ...

升级结束!

Thursday, March 24, 2011

中国道家32字保健诀

Clipped from: http://www.okpsy.net/zhuanyuan/ShowArticle.asp?ArticleID=2563

老庄的道家人生哲学与我国另一大哲学派系即孔孟的儒家人生哲学是人生不同侧面的反映,前者适合于身处逆境者,后者更宜于一帆风顺者,二者互补,构成完整的人生。然后逐字逐句讲解道家认知疗法的四条原则,即32字保健诀 。
(一)利而不害,为而不争。
此条由《老子》二十二章中的"不争之德"引伸发展而来。利而不害,意思是说只做利己利人利天下之事,不为害己害人害社会之举。为而不争是指做事要尽力而为,且不争名争利,不与人攀比,不妒贤嫉能。前句属起码要求,应从现时做起,后句为崇高境界,需长期修养。
(二)少私寡欲,知足知止。
《老子》十九章、四十四章、四十六章,及《庄子?逍遥游》中反复强调了少私寡欲、知足知止的思想。人要生存、要发展,总是有欲望的,但老庄认为欲海难填。要减少私心、降低过高的物质欲望和对名誉地位的追求,只有知足,才会常乐;只有知止,才能避免危险。
(三)知和处下,以柔胜刚。
知和处下,是由《老子》四十一章中"上德若谷"的思想演化而来,和谐是天地万物的根本规律,谦恭是中华民族的传统美德,知和处下能减少人际冲突、维持安定团结。以柔胜刚的思想则出于《老子》第四十三章和七十八章。老子以水为例,天下柔弱莫过于水,随圆而圆,随方而方,但大家都知道滴水穿石和水容万物的道理。
(四)清静无为,顺其自然。
此句是老庄哲学的核心思想之一。老子崇尚"静",即所谓"非宁静无以致远",老子的"无为",不是什么都不做,这里的"无为"是与"妄为"的对抗。顺其自然,就是说不要勉强去干那些有悖于自然规律的事情,不要强迫蛮干、不要倒行逆施、不要急于求成。要了解和掌握事物发展的客观规律,因势利导,循序渐进,才能事半功倍、游刃有余。否则的话,就是拔苗助长、劳命伤财、费力不讨好。

Featured Post

Windows和Ubuntu双系统完全独立的安装方法

http://www.ubuntuhome.com/windows-and-ubuntu-install.html  | Ubuntu Home Posted by Snow on 2012/06/25 安装Windows和Ubuntu双系统时,很多人喜欢先安装windows,然...