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

Monday, November 23, 2009

How to view CHM (Microsoft Compiled HTML Help) files in Ubuntu

How to view CHM (Microsoft Compiled HTML Help) files in Ubuntu | Ubuntu Geek
(I used xchm, HL)
Microsoft Compiled HTML Help is a proprietary format for online help files, developed by Microsoft and first released in 1997 as a successor to the Microsoft WinHelp format.

You can use either kchmviewer or gnochm or xchm.

kchmviewer from KDE

kchmviewer is a CHM (Winhelp) files viewer written in Qt/ KDE. It can be build as a stand-alone Qt-based application or a KDE application. The main point is compatibility with non-English CHM files, including most international character sets. It has the features set of standard viewer: search (including non-English CHMs), bookmarking, font size changing, index/content browsing, codepage support, and more.

Install kchmviewer Using the following command

sudo aptitude install kchmviewer

gnochm from Gnome

GnoCHM is a CHM file viewer for GNOME. It is implemented in Python, using the PyCHM bindings for chmlib.

Install gnochm Using the following command

sudo aptitude install gnochm

xchm

xCHM is a cross-platform GUI front-end to chmlib, with borrowed bits from Pabs' chmdeco project.
Originally written for UNIX systems (Linux, *BSD, Solaris), xCHM has been since ported to Mac OS X and Windows.

xCHM can show the content tree if one is available, print pages, change font face and size, remember bookmarks, display a searchable index, and search for words in the current page and the whole book.

Install xchm Using the following command

sudo aptitude install xchm

Opera 10.10 with Unite and Turbo now available

Opera 10.10 with Unite and Turbo now available

Paul O'Brien (RSS feed) Nov 23rd 2009 at 12:00PM


Opera have released version 10 of their browser, now with Opera Unite and Opera Turbo included.

Opera Unite gives your web browser the ability to deliver content as well as consume it. The standard download includes a number of Unite applications, with more available for download from the application directory. The bundled applications include a file sharing server that allows you to make files available to the world (as well as allowing the world to upload content to your machine), a virtual fridge door for you to share notes with friends and family (pictured), a media player that allows you to play content from your Unite equipped machine remotely, an instant messaging server, a photo sharing application and a web server for serving your own web content.

The inclusion of Opera Turbo in the new browser marks the migration to the desktop of a technology that has long been a key feature of Opera's Mini product. Opera Turbo speeds up your browsing session by compressing content at Opera proxy servers before delivering it to your machine - particularly useful for those on low bandwidth connections.

Opera 10.10 is available free from www.opera.com for Windows, Mac OS X and Linux.

Friday, November 20, 2009

Copy MySQL database from one server to another remote server

Copy MySQL database from one server to another remote server

by Vivek Gite · 22 comments

Usually you run mysqldump to create database copy:
$ mysqldump -u user -p db-name > db-name.out

Copy db-name.out file using sftp/ssh to remote MySQL server:
$ scp db-name.out user@remote.box.com:/backup

Restore database at remote server (login over ssh):
$ mysql -u user -p db-name < db-name.out

How do I copy a MySQL database from one computer/server to another?

Short answer is you can copy database from one computer/server to another using ssh or mysql client.

You can run all the above 3 commands in one pass using mysqldump and mysql commands (insecure method, use only if you are using VPN or trust your network):
$ mysqldump db-name | mysql -h remote.box.com db-name

Use ssh if you don't have direct access to remote mysql server (secure method):
$ mysqldump db-name | ssh user@remote.box.com mysql db-name

You can just copy table called foo to remote database (and remote mysql server remote.box.com) called bar using same syntax:
$ mysqldump db-name foo | ssh user@remote.box.com mysql bar

This will not just save your time but you can impress your friend too ;). Almost all commands can be run using pipes under UNIX/Linux oses.

Thursday, November 19, 2009

Handle rar Files on Ubuntu

Handle rar Files on Ubuntu : MAYUonline.com

(I did it this way on my Ubuntu 8.10, HL)

Have u ever tried to open RAR files on Ubuntu??? I did and found that Ubuntu Archive manager can't handle RAR files. Reason is by default it is not activated in Ubuntu as it has proprietary issue.

To activate RAR support in Ubuntu run the following command on terminal (Applications → Accessories → Terminal)

sudo apt-get install unrar-free

Now try and open rar files in ubuntu, it'll work like magic

Google ChromeOS: It's basically a modified browser that runs web apps

Google ChromeOS: It's basically a modified browser that runs web apps

by Brad Linder (RSS feed) Nov 19th 2009 at 1:37PM

Google ChromeOS
Google is holding a press event to talk about the upcoming Google Chrome Operating System. The company is not ready to release the OS yet, and won't actually have a finished product ready for another year. But Google announced that starting today the project is open source, which means that you can download the source code today.

So what exactly is Chrome OS? It's an operating system based on a web browser called... Google Chrome. The idea is that you won't have to (or be able to) install a single application directly on your PC. Rather, all of your apps will be run from the web and all of your data will be stored in the cloud.

That doesn't mean the computer won't be able to play games or interact with USB peripherals. For instance, Google demonstrated that you can plug in a camera and watch videos using a web-based video player or copy files to cloud-based storage. And because Google has been working to give web apps access to your PC's hardware, even video games with 3D graphics should be possible as long as you have a video card that's supported by ChromeOS.

The version of ChromeOS that Google demonstrated today is still a work in progress, and we were told that the user interface could change significantly before the final product is released. But the OS already boots in just 7 seconds, and Google says it takes another 3 seconds to launch applications.

The screenshot above shows an app menu that you can use to launch some web apps. You can create permanent shortcuts to these programs by "pinning" them to the ChromeOS toolbar. See those tiny tabs at the top? Those are pinned tabs.

There will also be persistent "panels" that pop up and stay on top even when you flip between browser tabs. For instance you can bring up a Google Talk panel, a music player, or a notepad.

ChromeOS will be automatically updated each day by connecting to the web and making sure that you have all the latest updates.

What do you think? Are you ready for an OS that's effectively useless without an internet connection? While the operating system stores some data on a local storage partition, Google says it's basically just a user cache area and that data will all be synced with the web. That means if you lose your netbook or buy a new one, you should be able to pick up where you left off without missing a beat.

Stay tuned for details. The news conference is still underway. In the meantime, you can check out a few more photos after the break.

Update: You will be able to perform some tasks while offline. For instance, you can cache movies, music, or eBooks and access them while you're on a plane. But the OS is primarily designed for interacting with web services.

Update 2: If you have absolutely no intention of picking up a machine with Google Chrome OS, there's good news: All of the new features that show up in Chrome OS will be able to work with the Google Chrome browser for Windows, Mac, and Linux.

Wednesday, November 18, 2009

Google to show off Chrome OS Thursday, release it in 2010

Google to show off Chrome OS Thursday, release it in 2010

by Brad Linder (RSS feed) Nov 17th 2009 at 6:30PM

Google Chrome mockup
Remember that rumor last week about how Google was going to unveil the first beta release of its upcoming Chrome operating system this week? Yeah, it's looking like that's not going to happen. But the company is holding an event Thursday morning to talk about Chrome OS and show some honest-to-goodness demos for the first time so that we can all stop using conceptual mockups with every blog post on the topic.

Google Chrome OS is expected to be available sometime next year, although it's still possible that a beta could be launched before the end of 2009. From what we know, the operating system, which will be initially aimed at netbooks is designed to blur the lines between desktop and cloud by essentially treating an always-open browser as the desktop. For instance, that will make it just as easy to save documents to Google Docs as to your desktop, if not easier.

Tuesday, November 17, 2009

Duplicate a website like Teleport on Ubuntu Jaunty Linux

Duplicate a website like Teleport on Ubuntu Jaunty Linux | Tech Mix

(I also installed GWget, a GUI to wget through Synaptic Package Manager, HL)

If you are a Windows user, you probably know about Teleport to download or create a copy of a website on your hard-disk

What about on Linux? Well, you have another alternative powerful option: using wget

- To mirror your website:

wget --convert-links -r http://www.yoursite.com

- To download specific file types:

wget –accept=.html,.doc,.docx,.pdf,.xls,.xlsx,.ppt,.pptx –recursive –no-clobber –page-requisites –convert-links –restrict-file-names=windows –domains yoursite.com –no-parent http://yoursite.com/path

Is there any better alternatives? Please share with me.

-------------------

KWebGet provides a graphical interface for wget.
Khttrack is an offline web browser that could be a good Teleport alternative.

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