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

Monday, November 9, 2009

OneRoom – Another free Wordpress Theme by Web-Kreation

Web-kreation - OneRoom – Another free Wordpress Theme by Web-Kreation

Finally, it is here!

I am very pleased to release my new Wordpress theme, "OneRoom", a three columns theme with fixed width and widget-ready.

I wanted to design a new theme months ago but actually never had time to work on it. And then, I was moving to Thailand and another couple of weeks past. But now I have settled in Thailand and had no reasons to postpone that job any longer.

I hope you will like this theme as much as I do.

Preview

You can view the theme here »

Download
Download (367.4 KiB, 16,782 hits)

This theme has been tested in all the major Web browsers (Firefox, IE6+, Opera, Google Chrome, Safari). However, if you notice a bug, report it by leaving a comment below. Thanks!

Features
  • Widgetized Sidebars
  • Built-In Author Section in Sidebar
  • Built-in Gravatar Support for Comments
  • Custom 404 error page
  • Built-In Banner Ad Blocks
  • Left Sidebar for PostMetadatas
  • And more.
Requirements

- Wordpress 2.7+

Usage

If you need help with editing this theme or logo, consult the Usage page.

License

Read about it here »

I would like to hear from you

So, what do you think about this theme? Do you like it? Do you hate it? Is there something you would like to be changed or improved?

Changelog

See it here »

Sunday, November 8, 2009

Installing Proprietary ATI Drivers in Ubuntu 8.10

Installing Proprietary ATI Drivers in Ubuntu 8.10 | Logical Insanity

( I used this article as a guideline to install ATI Catalyst Control Center on FoxU, a Ubuntu 8.10 machine, HL)

Because the s-video out of my Mobility Radeon 9600 wouldn't work with the open source drivers in Ubuntu 8.10, I decided to install ATI's proprietary driver. There was nothing listed in Ubuntu's Restricted Driver Manager for my card - so I downloaded the Catalyst Package directly from ATI's website.

After several failed attempts using ATI's automatic driver installer (which resulted in a black or garbled screen after rebooting), I eventually found a manual installation guide outlined at the Unofficial ATI Linux Driver Wiki that worked for me.

I've duplicated these steps below with adjustments made for my particular setup, in addition to extra commenting that would hopefully assist someone completely new to Linux (like myself).

This walk-through makes the assumptions outlined below. If any of this information is different for you - then update the steps to reflect your particular environment. I didn't include extra instructions for a 64-bit system, but the Wiki does.

  • The filename of the ATI driver is:
    ati-driver-installer-9.2-x86.x86_64.run
  • The ATI driver was downloaded to your desktop
  • We are installing this on a 32-bit system

Step 1: BEFORE YOU BEGIN

This may not be a necessary step for you, but because I had messed around so much with the ATI drivers before finally getting them to work, I performed the following Terminal commands to reset my graphics driver back to the original, open source ones so I could be working with a clean slate.

Open Terminal and enter the following command to remove any previously installed restricted fglrx drivers:

$ sudo apt-get remove --purge xorg-driver-fglrx

Now enter the following command to reconfigure the X server. This will put your xorg.conf file back to how it was originally with the open source drivers. WARNING: this will overwrite any customizations you made to the xorg.conf file.

sudo dpkg-reconfigure -phigh xserver-xorg

Ok, with that done - now we need to make sure a few necessary programs are installed before we begin manually installing the ATI proprietary drivers. Open your terminal and enter the following command:

sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms

Step 2: DOWNLOAD ATI DRIVER

Go to ATI's Support and Driver page and use their search tool to get the Linux driver for your particular video card. This guide assumes it is being downloaded to your Desktop

Step 3: CREATE .DEB PACKAGE

Open terminal and enter the following commands to make your desktop the working directory and create the .deb package for Ubuntu Intrepid

Make the desktop your active working directory (replace 'username' with your username):

cd /home/username/Desktop

Now build the driver package for Ubuntu Intrepid:

sudo sh ./ati-driver-installer-9.2-x86.x86_64.run --buildpkg Ubuntu/intrepid

You'll now see a handful of additional files unpacked to your desktop. These are what we'll use to install the driver.

Step 4: INSTALL .DEB PACKAGE

sudo dpkg -i ./xorg-driver-fglrx_8.582-0ubuntu1_i386.deb ./fglrx-kernel-source_8.582-0ubuntu1_i386.deb ./fglrx-amdcccle_8.582-0ubuntu1_i386.deb

NOTE:
I think the instructions from the wiki assume the user understands how to properly reference files in Terminal, which - being brand new to Linux - I did not. Following their instructions exactly failed for me with 'file not found' errors. Instead I added the extra steps of first making my desktop the active working directory and then referencing the unpacked files with './' added before each filename in the command - which worked.

Step 5: UPDATE XORG.CONF FILE

Now we need to make sure the xorg.conf file has the fglrx driver setting added. In terminal, enter the following to open and edit your xorg.conf file:

sudo nano /etc/X11/xorg.conf

Scroll down to the 'Device' section and add the following line of code to that section:

Driver "fglrx"

So the section would look something like this ([...] being the other settings possibly listed in that section):

Section "Device"
[...]
Driver "fglrx"
[...]
EndSection

Save your changes:
On your keyboard, press Ctrl + X to exit nano and then press 'y' to confirm saving your changes. Press your enter key to return to the terminal prompt.

NOTE:
The wiki used gedit to open the xorg.conf file, which I apparently don't have on a fresh Ubuntu 8.10 install…so I used nano instead.

Step 6: INITIALIZE THE DRIVER

Use the following Terminal command to initialize the driver:

sudo aticonfig --initial -f

Step 7: (optional?) ENSURE DRIVER IS USING XORG.CONF

Ok - so I don't know if this step was absolutely necessary and the wiki seemed to indicate not all people would need to do this. Even so, I followed it just in case and it didn't seem to hurt anything.

To ensure the driver is using the changes made to the xorg.conf file, enter the following Terminal command:

sudo aticonfig --input=/etc/X11/xorg.conf --tls=1

Step 8: REBOOT AND CONFIRM

Reboot your system. Afterward, open Terminal and enter the following command to confirm the driver is installed properly:

fglrxinfo

You should now see the following:

OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 4670
OpenGL version string: 2.1.8494 Release

That's it! The ATI driver is now installed. If, like me, you are doing this to enable s-video out on your card - follow the remaining steps if you aren't getting a signal yet on your s-video display or if it is in black and white.

Step 9: S-VIDEO DISPLAY

After installing the ATI drivers above and rebooting, the s-video display should be now working - or at least it was for me. If it isn't for you - then you'll have to do some additional troubleshooting. There is a lot of s-video specific settings for the xorg.conf file you can find from other users on the Ubuntu Forums.

My problem with s-video was that the display was in black and white. To fix this, I had to go into Catalyst Control Center and change the display type for the TV2 display to 'M/NTCS' instead of the 'United States' location option.

To launch Catalyst Control Center, open Terminal and enter the following command:

amdcccle

Saturday, November 7, 2009

ICT for Language Teachers: Using presentation software and online communites in the classroom

ICT for Language Teachers: Using presentation software and online communites in the classroom

Two useful videos at the Teachers TV site

Improving your presentations
http://www.teachers.tv/video/37335
The Teachers TV website describes the video as follows:
Year One primary teacher Lise Bosher is challenged to improve her presentation skills using ICT. Presenting to pupils is something teachers do on a day to day basis, yet many are still nervous about incorporating ICT into their presentations. Lise meets Joe Dale, a middle school French teacher, who is already using ICT technology to enhance his own presentations. After observing one of his classes, Lise returns to her own classroom to put the presentation technology she has learned into action.

Online Communities in the Classroom
http://www.teachers.tv/video/37336
The Teachers TV website describes the video as follows:
Secondary French teacher Marie Guyomarc'h, investigates how to make use of online communities in her classes. Online communities and social networks are often shunned by teachers because of negative publicity and online safety surrounding certain websites. Marie meets with Lisa Stevens, a primary Spanish teacher, who relishes using social media websites for teaching purposes. Lisa explains the benefits of using websites such as Twitter and Voicethread, and demonstrates how you can use them in the classroom. Later, Marie faces her challenge of taking back what she's learned and using it in the classroom.

Graham Davies
Posted by Graham Davies at 13:28

Ubuntu Tip:How to Play VCD using VLC Player

Ubuntu Tip:How to Play VCD using VLC Player | Ubuntu Geek

This is very simple tutorial how to open VCD using VLC Player

Method 1

Run the following command from terminal

/usr/bin/vlc vcd://

Method 2

Open your VLC Player Go to Media—> Open Disc—> Select SVCD/VCD option

If you have any other idea please shre with us.

Wednesday, November 4, 2009

Using Eclipse to compare two files

Jeff Mesnil » Blog Archive » Using Eclipse to compare two files

On October 7th, 2004 in eclipse

I often need to compare two files to see their differences.
The UNIX geek in me is using diff --side-by-side for that. But sometimes I want something more fancier with bright colors and easier to scroll.

Eclipse provides a handy feature to compare two unrelated files (e.g. not two CVS revisions of the same file) but it's quite difficult to find it first.

To compare two files in Eclipse, select both files (Control click them) and in the contextual menu (right button), chose Compare With > Each Other. Et voila! you got a nicer diff than its CLI counterpart.

Acroread: Adobe Reader now available through APT

Acroread: Adobe Reader now available through APT

We're pleased to announce the availability of the latest version of Adobe Reader (9.1) through APT. Adobe Reader is now hosted on the Canonical Partner Repositories, and can be installed seamlessly using the 'apt-get' command. Please refer the detailed steps below.

  1. Add Canonical Partner Repositories (one-time only)
    This section describes how to manage software repositories in Ubuntu 8.04 (Hardy Heron), Ubuntu 8.10 (Intrepid Ibex), and Ubuntu 9.04 (Jaunty Jackalope).
    • Via the Command Line
      Software sources can be managed by making direct modifications to the /etc/apt/sources.list file using the command line. However, we recommend using the GUI-based repository management (detailed below). If you prefer to use the command line instead of graphical user interface, see Managing Repositories from the Command Line instead.
    • Via the Graphical User Interface
      1. Locate the Software Sources panel
        GUI-based repository management is normally accomplished via the "Software Sources" panel. This panel can be accessed via two menus:
        • Software Sources: System > Administration > Software Sources
        • Synaptic: System > Administration > Synaptic >> Settings >> Repositories
        Note: You will have to enter your password to gain access to the page.

        Software Sources Menu item through the GUI
        Software Sources through the GUI
      2. Switch to the Third-party Software Tab
        The "Third-Party Software" tab is where you will be able to add the Canonical Partner Repositories. Third-party software tab
      3. Enable the Application Partner Repositories entry
        You will see two Canonical Partner repositories listed - one for applications and another for source code (src). Adobe Reader is hosted on the application repository (the first entry) - if this is not enabled on your system, enable the entry and select "Close".
      4. Update the Database
        If you made changes in the previous step, you should be prompted to "Close", "Reload" or "Revert" the changes. Select "Reload" to update the database.
        Update the database
  2. Install Adobe Reader
    To get the latest version of Adobe Reader for Linux, simply type the following command on the terminal:
    apt-get install acroread

Posted by Gaurav Jain on April 22, 2009 4:00 AM | Permalink

Sunday, November 1, 2009

Migrate or create a clone of a ZenCart site on new host

Migrate or create a clone of a ZenCart site on new host | Learn Web Design Online .com

This tutorial will show explain how to migrate a ZenCart shop from one host to another host. This might be necessary when moving to another web host. Or you may want to make a "clone" of a production live shop on a development test server for testing and development work.

"Cloning" is essentially the same a "migrating" except you do not delete the store from the old host.

In either case, to set up a new shop on a new host with all the information and look-and-feel of the old shop on the old host, take a look at this ZenCart article.

The thing you have to remember is that you never overwrite the two configure files that are on the servers. The config files belong to the server in which they were created; they do not move from one server to another. The two configure files are includes/configure.php and admin/includes/configure.php.

If Cloning on a Development Server

Remember that your new host will have all the same database values of your old host. If you are cloning the shop for testing purposes, remember to change the admin email and also the order email notifications of the development shop to your own. And also uninstall all the payment modules on the development shop so that visitors do not accidentally happen upon it and try to buy something.

Testing and Possible Errors

You need to test thoroughly the new shop after the migration, especially going through the checkout process and make a real purchase. Sometimes it may look fine, but have problem in a few pages. If you get warnings like "header already sent", see this thread about possible file corruption. Sometime due to the heavy file transferring back and forth or via webhost web editors, some extra lines or space may got added or deleted. Also check the two config files for that and possible missing PHP end tags.

General Steps for Migrating ZenCart

1. Note the IP addresses of the old host and new host. Sometimes when switching domain name servers, you may need to access the site via the IP.

2. Turn on "Down for Maintenance" for the shop on the old host.

3. Backup the file system and the database on the old host.

4. Setup database in the new host and install default ZenCart of the same version of your shop on the new host. And also use the same database prefix. This gets the installer to write out the two config files correctly on your new host. Test the default ZenCart shop on the new host.

5. Delete all the ZenCart files on the new host, EXCEPT for the two config files. Then copy all the ZenCart files from the old host to the new host, EXCEPT for the two config files.

6. If you had renamed your admin folder as you should have as explained here, then move the admin/includes/configure.php file to the same location in your in renamed admin folder. Edit this configure.php file according to the above link to have path referencing your renamed admin folder.

7. Set the two configure files to be permission 444.

8. Set the directories that is specified in the ZenCart install instructions to 777.

9. Drop all tables of the ZenCart database on the new host. Then import the SQL database file of the old host to the new database on the new host.

10. Run the Fix Cache Key utility

11. Set the new server path of your new host in ZenCart Admin -> Configuration -> Logging.

12. Turn on your new shop and test. If all goes well, do a full-backup. You don't want to lose all the hard work done in the migration.

13. If doing a migration (instead of a clone), delete the ZenCart files and database on the old host. Make sure you are not deleting the ZenCart on your new host. You may need to access the old host via the IP address. If doing a DNS name server change, you may also want to look into the mail system to see if any emails had fallen through the crack during the switchover.

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,然...