HTML5 LOGO

7:08 AM

(0) Comments

i found today the officially html5 logo
actually i hated it its not so good as html5 technique , that is the official link from w3c

eslam

, ,

[tip] solve "You do not have sufficient permissions to access this page." in wordpress

3:29 AM

(0) Comments

hi all
i tried to change my wordpress table prefix to add more secure to my blog and i done alter sql command to alter the table prefix and then i changed the table prefix in  wp-config.php

but i surprised that i couldnt log to my wp-admin panel it shows me an error
You do not have sufficient permissions to access this page.

after digging a while i discover that the issue is the wordpress store the user meta data and roles with the old prefix and so i have to replace the old prefix with the new one i found couple of tips to do such things thx dealasite

you have to fire two sql statement to do fix that

UPDATE `prefix_usermeta` SET `meta_key` = REPLACE( `meta_key` , 'wp_', 'prefix_' );

UPDATE `prefix_options` SET `option_name` = 'prefix_user_roles' WHERE `option_name` ='wp_user_roles' AND `blog_id` =0;

just replace the prefix_ with your new wordpress prefix
and all should be working now
thx all see you in next tip

eslam

,

[tips] css3 transform rotating - works in IE too

3:13 AM

(0) Comments

hi all , we here now with a small design tip
did you wished before that you have the ability to rotate a html element image or div or even paragraph that was impossible in css 2 but here with css3 that is extremely easy
here is snippet to do it


div {
   -webkit-transform: rotate(-90deg);
   -moz-transform: rotate(-90deg);
   transform: rotate(-90deg);
   position: absolute;
   filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}


and if you notice the last line
filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
here we used the filter property in ie and use the DXImageTransform filter to do such effect :)
see you in another tip

eslam

, , ,

rails 3 cheat sheets

9:23 AM

(0) Comments

Gregg Pollack lunches rails 3 cheat sheets

Indian numerals converter

5:42 AM

(1) Comments


hi all
i was building a project and i wanted to display the numbers on the browsers in many unicode forms
like Indian numerals or Hindu or even Thai numerals but i couldnt do that through simple output unicode on the browser and when i digit i found that the best way to do so is to convert each number into unicode html entity
and i build a simple tool to do that with php

eslam

,

best office on the world

12:51 PM

(0) Comments

we all dreams about best office and the working environment that is comfortable enough to make us motivated
and i found it in Inventionland company one of the biggest invention company in USA
i will let you with the images

eslam