Archive

Archive for March, 2009

Restore Joomla! 1.5 administrator’s password (for dummies)

March 22nd, 2009

I have installed a new Joomla! instance but unluckily I forgot my password :-( .I was seeking for the forget my password link but no way !

Solutions :

  1. Generate a new MD5 hashed / encrypted password, to do this you can visit :  http://pajhome.org.uk/crypt/md5/ type your clear password and then en crypt it using MD5.
  2. illustration

  3. Go to your phpmyadmin or any other MySQL client  and execute the query  below (don’t forget to replace your_new_encrypted_password by your own encrypted  password) or just do it manually through the gui/phpmyadmin interface: 
    UPDATE jos_users SET password='your_new_encrypted_password' WHERE name='Administrator';

    PS : verify your table’s prefix, as here I am using jos_ as a table prefix.

  4. You can now log-in using your new password.
  • Share/Bookmark

Marouan OMEZZINE Tips & Tricks, how-to

Firebug Lite in Google Chrome

March 21st, 2009

You are a Web developer/designer :) , I believe you have used Firebug extension in Firefox to track bugs or to test your hot CSS changes before coding using your favourite editor.

firebug-splash

What about if you ever have tried Google Chrome browser and a new love story starts .. Leave Firefox ? or forget about your new love ?

Sure there is a “solution” and it is named Firebug Lite : a JavaScript file you can insert into your pages to simulate some Firebug features in browsers that are not named “Firefox”.

 Just insert this line of code to load Firebug Lite in a specific page you want to debug :

<script src="http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js" type="text/javascript"><!--mce:0--></script>

For more information visit : http://getfirebug.com/lite.html

Also, you can simply drag the red bug icon below to your bookmark toolbar then you will be able to use FB Lite with any page  :

Track my bug!

 

<a href="javascript:var firebug=document.createElement('script');firebug.setAttribute('src','http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js');document.body.appendChild(firebug);(function(){if(window.firebug.version){firebug.init();}else{setTimeout(arguments.callee);}})();void(firebug);">Firebug Lite</a>

All basic commands of Firebug are supported by this Lite version.  I have tried it with Google Chrome .. It’s not as smooth as in Forefox .. I hope that a native Firebug extension for Google Chrome and others webkit based browsers will see the light soon. As I believe that the Lite version is not a real replacement for the Native Firefox extension.

You can do a lot of funny stuffs like using Firebug Lite offline , changing FB Lite’s CSS style.. So check out http://getfirebug.com/lite.html for more information.

  • Share/Bookmark

Marouan OMEZZINE how-to , , ,

Erlang Cheat Sheet

March 18th, 2009

I am sharing here my Erlang cheat sheet after some lifting :) in order to make it more useful.
Certainly, it’s not an exhaustive list of Erlang commands.
I hope you will find it useful.
ps : If there is any mistake. Please report it and I will be very thankful.


Suggestions / things to be added ? are very welcome.
Erlang CheatSheet

Download : Erlang – CheatSheet v1.0.pdf hits : 1083

  • Update 2009-03-28: Watermark have been removed.
  • Share/Bookmark

Marouan OMEZZINE erlang, snippet , , , , , ,

Who am I ?

March 2nd, 2009

Marouan OMEZZINE

Hi, As this is my first post on my web blog, I want to introduce myself;

I am a Tunisian IT Engineer you may check out my resume here.I believe in God, Islam, peace, love & binary code.

I am a muslim and proud to be :) .

Through this window I will share my experiences, I will blog about my geek & IT life, projects I have worked on, problems I have faced, Technologies I am trying to learn and a lot of other stuffs.

I will also share my hobbies ;) .

PS : English is my third spoken lang :) . So please tolerate possible mistakes.

  • Share/Bookmark

Marouan OMEZZINE personal