Microsoft Word remove line breaks

DeliciousDiggPrintStumbleUponShare

If you are copying some text from a web page or a pdf to a Microsoft Word document, it may happen that it is not well formatted and you see many line breaks at the end of every single line. In order to remove the line breaks, you just need to do a simple find and replace as follows

Find: ^p

Replace: " " (a simple space without the quotes)

I find it very useful so I wanted to share it. I hope it helps.

DeliciousDiggPrintStumbleUponShare

Working with services on Redhat or CentOS

DeliciousDiggPrintStumbleUponShare

If you want a given service to start or stop at any given runlevel then chkconfig is your tool on Redhat or CentOS.

To get a list of all the services and at which runlevel they start, use this command

[root@localhost ~]# chkconfig --list

In order to stop a service from starting at boot time use this command

[root@localhost ~]# chkconfig service_name off

Replace service_name by the service you want to modify.

If a service is not enabled, then you can turn it on to start after the next reboot as follows

[root@localhost ~]# chkconfig service_name on

Replace service_name by the service you want to modify.

You can then verify your service modifications again with the –list command.

I hope that helped.

DeliciousDiggPrintStumbleUponShare

How to use Mobipocket Creator to convert pdf ebooks to Kindle format

DeliciousDiggPrintStumbleUponShare

Mobipocket Creator is a great piece of software to convert any pdf and read it in your Kindle device. Be sure to install the Publisher Edition.

Open Mobipocket Creator and select Adobe PDF from Import From Existing File.

In the new window, browse for the pdf file you want to convert, then select the language of the ebook like English, Spanish… and click on Import.

Once done, you will be presented with another window and click on build at the top.

When the build finishes, select Open folder containing eBook and search for a file with the extension .prc. Copy that .prc file to your Kindle and happy reading :) .

DeliciousDiggPrintStumbleUponShare

How to convert a pdf or epub to Amazon Kindle format like prc

DeliciousDiggPrintStumbleUponShare

I have just bought a new Kindle and I wanted to read some pdf ebooks. I tried copying the ebooks directly to my Kindle, but the text was too small and there was no way to read it without forcing my view. To convert any document and read it on your Kindle as if it were an .azw format (Amazon’s proprietary format) you will need two great pieces of software (both are free)

Calibre is the best option to convert any format except pdf ebooks and to send them directly to your Kindle.

So if you need to convert pdf ebooks to read them on your Kindle, then you should use Mobipocket Creator, but the publisher edition.

The are also other ways to convert and send ebooks to your Kindle through Amazon’s website, but I find these simpler.

I hope this helped.

Update: Calibre can now also convert pretty well pdf files to .mobi

DeliciousDiggPrintStumbleUponShare

Creating partitions with fdisk on Linux Red Hat

DeliciousDiggPrintStumbleUponShare

In this post I will create a new partition of size 500 MB on disk /dev/sdb.

First of all we run fdisk on the disk we want to partition, in my case it is /dev/sdb and you should replace by yours appropriately. We create it as a primary partition by entering p at the prompt, then 1 as the first cylinder and +500M for the size

# fdisk /dev/sdb

Command (m for help): n
Command action
 e   extended
 p   primary partition (1-4)
p
Partition number (1-4):

First cylinder (1-256, default 1): 1
Last cylinder or +size or +sizeM or +sizeK (2-256,def 256): +500M

To see what you have done so far, you can type p (for print) at the command prompt

Command (m for help): p

Once we are sure of what we have done we type w (for write) at the command prompt

Command (m for help): w

and now we have a new partition, easy, isn’t it? :)

You can also format that partition to the ext3 filesystem as follows

# mkfs -t ext3 /dev/sdb5

You can now mount the partition and add it to /etc/fstab so that it is persistent after reboots.

DeliciousDiggPrintStumbleUponShare

Deleting partitions with fdisk on Linux Red Hat

DeliciousDiggPrintStumbleUponShare

In this short post I will show you how to delete partitions on Redhat or any other Linux system with fdisk.

First of all we run fdisk with the disk we want to delete, in my case it is /dev/sdb, then type d for delete and then write 1 for the partition of of disk /dev/sdb.

# fdisk /dev/sdb
Command (m for help): p
Disk /dev/sdb: 255 heads, 63 sectors, 525 cylinders
Units = cylinders of 16065 * 512 bytes

Device    Boot    Start       End    Blocks   Id  System
/dev/sdb1   *         1       525   4217031    6  FAT16
Command (m for help): d
Partition number (1-1): 1

Before confirming the deletion, be sure you are not deleting the wrong disk. If you want to change your mind, exit from fdisk with the q command.

Once you are sure, proceed with the w command

Command (m for help): w

You don’t have to reboot, just run the partprobe command which rereads the partition table.

# partprobe

You can verify your work with fdisk again

# fdisk /dev/sdb

Be sure to delete the partition from /etc/fstab if it was there.

Hope that helped.

DeliciousDiggPrintStumbleUponShare

How to install Chromium Browser in Ubuntu from PPA

DeliciousDiggPrintStumbleUponShare

Chromium is the open-source project behind Google Chrome. It is very fast and reliable and pretty easy to install in Ubuntu thanks to the PPA.

You can add to the Chromium Browser any extension that you like.

To install Chromium Browser, just open a terminal and write the following

sudo add-apt-repository ppa:chromium-daily/ppa
sudo apt-get update
sudo apt-get install chromium-browser

To open it, just go to Applications > Internet > Chromium Web Browser and enjoy ;) .

DeliciousDiggPrintStumbleUponShare

How to share and store video or files online with 4shared

DeliciousDiggPrintStumbleUponShare

There are many websites where you can store files for free, but not many allow you to register as easily as with 4shared.com and not many are as practical as 4shared.com.

If you have a Google account, then you can use it to login in 4shared.com by just clicking on it on the login page.

With 4shared.com you can share files publicly or privately. There are many options for the folders you create, just try them out ;) .

One of the best things is that you get 10 GB with a free account in 4shared.

Try it and I hope you’ll enjoy it.

DeliciousDiggPrintStumbleUponShare

How to make free internet phone calls with VOIP

DeliciousDiggPrintStumbleUponShare

There are many voice IP companies on the net. Each one has its advantages and disadvantages, but what most of us would like to find is cheap or even free calls. I found a table that just gives me what I was looking for and I thought about sharing it.

The table is updated frequently and you can find it right here

It is very easy to use. Just chose a country you would like to call, look for it on the left of the table, then find the cheapest rate and on the top of the table you will find the voice IP (VOIP) provider that gives you that price.

Now it is time to make free calls and enjoy ;) .

DeliciousDiggPrintStumbleUponShare

Read or open .chm files in Ubuntu

DeliciousDiggPrintStumbleUponShare

I usually like to have an electronic format for all the books I buy or find on the net. Many of these books come in pdf or chm format.

If you are using Windows, you should not have any problem with these formats, but if you are a Linux user, then you need to install the xchm program to be able to read chm files.

Microsoft Compiled HTML Help (chm) is a proprietary format for online help files.

This is what you need to read chm files in Ubuntu

sudo apt-get install xchm

Now you are ready to open any chm file in Ubuntu ;) .

DeliciousDiggPrintStumbleUponShare