Recently I had to create a table to convert from lb to kg.

The way I did it was to start spreadsheet program – Excell or OpenOffice.org and fill up the conversion formula and desired data range.

1. In a cell fill the conversion in my case 1 lb = 0.453592 kg I used cell B1

2. Fill up a column with desired data

3. in next column type the formula =A3*$B$1

4. Copy the formula to other rows

5. Done

This method could be used for other conversions just by changeng the value in B1

The root password is the key to any Unix/Linux system and the person who knows it is with full rights. But there is a simple way to crack root password.

Just type at terminal:

echo '82 43/25 43+65P80P82P73P76P32P70P79P79P76P10P' | dc

After updating my Windows machine I found that few folders with cryptic names are created in root directory.

They look like this:

28/12/2006  07:33 PM    <DIR>          1822a56c32dc8dbcf5
11/02/2009  09:42 PM    <DIR>          89b3b50a7b1b96838a89
30/08/2007  06:19 PM    <DIR>          a8ccd1e2d466bc402f

I’m used to the folders created after update in \WINDOWS and after I’m sure that there is no problems with the update they could be safely erase, but this was something new.

After browsing the contens my initial thougths were confirmed those were temporary folders from windows update.

So I erased them…

In FreeBSD by default you do not have bash as shell prompt.

Here is the procedure to install it:

  1. type whereis bash
  2. cd to that folder
  3. type make configure
  4. make all install clean
  5. take a cofee 😉
  6. type chsh -s /usr/local/bin/bash root to change the shell for root or replace root with username you want to change the shell.
  7. Then relogin (logout and login) to enjoy bash shell

I had a strange problem when trying to list all files i a folder.

I typed:

 find . *.gz

And received:

-bash: /usr/bin/find: Argument list too long

After searching on internet I saw a lot of similar problems, but then I remembered one of my old posts

bash: /bin/rm: Argument list too long – How to fix it

After reviewing it for on more time I found my mistake

Correct syntax is:

find . -name "*.gz"

There are different ways of saving ink/toner, but SPRANQ has different approach – punching holes in the font.

Here is a sample:

ecofont

The good news is that it is available under GPL.

Take it from here.

The problem i had with recaptcha plugin is solved and it is back for second trial.

In the era of e-mail and internet less and less people use regular mail, but sometimes you need to send a letter to someone.

Typing the address can be annoying and sometimes unclear so let’s put your computer to work.

To print your and recipient address on an envelope you can use manual formatting on a page, but if you follow the instructions here the process will be more automated.

So what we need:

  1. Printer – you want to print with something
  2. Envelopes – and something to print on
  3. OpenOffice.org (OO) – and some tools

Note: If you have MS Office you can use it too. See at the end…

1. Start OO and create empty document in writer

2. Go to Insert -> Envelope

You will see similar window:

step1

Add your address (if it is not already filled in) and Recipient address.

3. Select envelope format

Next click on Format tab

step2

Choose your envelope format and addresses positioning

4. Setup your printer

It is not done you need also to setup your printer. Click on Printer tab:

step3

Select correct envelope orientation and setup your printer to use envelope as paper and correct paper source (usually manual feed).

6. Ready to Print?!

When you are ready click on New Doc.:

step4

Here you can add your logo and preview how the envelope will look like.

When you are sure it is OK just print it.

First few times you will be on trial and error, until you correctly print, but after will be straightforward.

For Microsoft Office users:

If you have Office it is not obligatory to download ind install OpenOffice.org.

The procedure is similar, but on step 2 you go (at least in MS Office 2003) to Tools -> Letters and Mailings -> Envelopes and Mailings…

Or the benefits of upgrade…

As already mentioned in my previous post Adobe added 2D acceleration in Acrobat reader in version 8. Unfortunately for me that feature was not available for the card in my laptop.

Today I’ve decided to upgrade to v 9 and for my surprise 2d acceleration was available and turned on by default.gpu-accelleration-acrobat-take-ii

In case your arrow keys do not work as usual when you enter in “insert” mode try this:

:set nocompatible

And if this fixes the problem add:

set nocompatible

to your ~/.vimrc file.

I had this problem in FreeBSD 7.0 and this fixed it.

Found here.

← Previous PageNext Page →