Arabic,English HTML script created using bidirectional algorithm

Are you struggling with the problem to write Arabic text in a web page correctly, you have looked for solutions on the web but nothing seemed to really help you out, then you might find that this is the place to find your answer. I have had the same problem. My goal was to embed Arabic written text into my English blog, and nothing seemed to work out. The problem that I faced was that my blog is written in the default direction, the left-to-right LTR direction, whereby Arabic script display is right-to-left RTL. The only way that I found to change it was to set up a RTL page within my HTML script and edit the page where I saw it necessary. I had some recipes written in Arabic and English, a great help was presented by Gourmet Recipe Manager (available for Linux and Windows) who let me organize them and export them into html files readily. A great help was that I didn’t need to set up a whole HTML page by myself, most of the layout was ready and I just needed to change a little for my needs to be a ready formatted Arabic HTML script.

There I was editing the HTML file to create an RTL page instead of an LTR page with the help of this website:

It shows you how to set up a RTL page in your html file, and for me it was very helpful. In all I am happy with my results shown in my posts categorized in “International Kitchen” though with minimal display errors.

HTML Table display in webpage made super easy

For 2 of my recent posts it was for me necessary to learn or take a draft to employ my data into an HTML table. I searched along, some resources were too long and i didn’t understand the concept,also there were many tutorials to learn that I didn’t want to use now. I was just interested to find out how to write html tables to my specific needs which made  searching for drafts even harder.

This website is my choice for a total newbie like me and towards the other HTML newbies in the world.

Of course the table was not the right draft to use, so I thought to change and play with the body layout as I learned the meaning of it and leave the general structure as it is.

An important factor for me was to copy the general HTML table structure, see link above into the text editor. I used gedit Text Editor cause I operate on Ubuntu which is based on Linux.

Until I saved it as an html it was all black text, then saving it as an html file made it all coloured as in the shown preview on the above link.

Previewing the changes in the webbrowser after saving the changed data, helped me alot.

This was my first html table                                                                     

Following changes to the reference table have been applied:

  • colgroup span background white defined as 6 Fs
  • 2 columns and 8 rows including header, footer and body table
  • deleted parts: Table Header – Head 3, Table Footer –  Foot 3, Table Body – C, F and corresponding endings (e.g. <td>C</td>)
  • increased row size instead of 2 to 6 rows. This way A(heart health) is defined as column 1, row 2 and D(Detoxification) as column 1, row 3 etc. We can say that every two letters define one row,these just needed to be updated to represent my own. This is an example how to add a row (</tr>  <tr> <td>G</td> <td>H</td>) and fill instead of G,H your own data.

In all it was a worthwhile tutorial session and a new learned experience where I believe that it has helped me a lot in establishing various table layouts and hope that others will benefit as much from it as I did today.

How I recovered deleted data on external hard drive on Ubuntu 9.04

3rd January  2011

I never thought I will be able to do it, but I did. Giving me tonight a headache and a sleepless night of my life but I succeeded to recover my supposedly deleted files, and recovered most of my files. I am really proud of myself because I am not such a computer genius and most what I do leads more to catastrophe than to something good.But today something went right…

Before 6 months I reformatted my PC with the new version of Ubuntu 9.04 from 8.04. I backed-Up all my files and studies into the external Hard drive transcend in the hope I will transfer it to my new formatted PC.But I didn’t.Instead I formattted the Pc again and made a partition between the windows and the linux system.

Yesterday I wanted to bring all data back and deleted the most important backUp.

After searching for several HOW To’s of Data recovery I found this link

It introduces testdisk. Apart from all the other open source programmes that was the most easiest to go through for me as a total newbie in computer issues.
I tried also others like magicrescue, scalpel etc…. It was way too complicated for me.

So as my advice if you use Ubuntu 9.04 and you will ever have this problem of data loss, emptied trash from data as I did. but I would never wish for you this to happen to you.then check out the link. for me it was totally helpful and straight forward.

When exiting you must go backwards so the program testdisk can exit/quit normally.Use arrow keys to cancel selection of partition and move backwards until quit program shows up.

here again the link to testdisk – recovery of lost data files

My first encounter with C++ on Ubuntu

28th January 2009
The past week we finally changed our past operating system of windows XP to the userfriendly operating system of UBUNTU 7.0 which is based on Linux.
I thought the exchange will be difficult for me as I am still a newbie but i am ready to expand my horizont to the world of UBUNTU and learn more about it.
Now i am already getting to like it.

For my new project to get some insights into the C++ world within the UBUNTU operating system and get accustomed with it i learned the following way how to use the sytems terminal to execute my first C++ project,without needing complicating programming systems only used by professionals as Eclipse or KDevelop

Following website helped me to reach my goal:

this will put your source file in the root system where they can get excecuted.
Another possible is to change the directory and create your own folder where you want your sourcefile projects to be saved.

root@root-laptop:~$ cd Desktop/ Enter
(or you just write the first 3 letters and press Tab. In this way it will take off your effort and finish it by itself)

now you can leave all your sourcefiles to be put on the desktop or you have already created a specified folder for them

cd learn C++
root@root-laptop:~$ cd Desktop/