Total Pageviews

Tuesday, November 22, 2011

Howto make ubuntu 11.10 looks like 10.04 ?!

We are going to make ubuntu 11.10 looks like 10.04 .

Only you have to follow the upcoming steps



First we have to install gnome

Sudo apt-get -y install gnome

it going to download like 120 M.B

after you finish that .

now it going to lead you to configure the GDM

Choose OK
Choose lightdm

it will take mints to config it

then you have to remove the overlay-scroller

sudo apt-get -y remove overlay-scrollbar

sudo apt-get -y install gnome-tweak-tool






After that you can reboot ,then before typing your password Choose


Gnome
or
Gnome Classic

which one you like :) .










for more information you can see this video 


Tuesday, November 15, 2011

How to use the new facebook timeline ?!

hello ,




if you are going to use the new timeline of facebook , then you have to follow those steps :

  • Login Facebook and access the developer app (click on Allow button)
  • Click on Create New App 
    (enter the App display name ,App namespace and captcha code )
    Don't worry nothing going to be published type whatever you want.
  •  On side you new App ,Click on Open Graph tab ,type and thing on the 2 fields and click on Get Start .
  • Go back to your profile ,you will get asked if you want to get the new timeline ,Click on Get It now .
  • Gratz you got it now :) .
  • If you don't like it you can easily reverse By re accessing the developer app and Delete your application .  

Sunday, November 13, 2011

complex systems !!!!


A complex system that works is invariably
found to have evolved from a simple system
that worked. The inverse proposition also
appears to be true: A complex system
designed from scratch never works and
cannot be made to work. You have to start
over, beginning with a working simple system.

Quote


Don’t make something unless it is both
necessary and useful; but if it is both
necessary and useful, don’t hesitate to
make it beautiful.

Thursday, November 3, 2011

Tuesday, November 1, 2011

variables in PHP


Some key points to remember when declaring variables in PHP
  • Remember to always put $ sign in front of variable names. That tells PHP that we're working with a variable.
  • In PHP a variable name must start with a letter or an underscore followed by combination of letters, number or underscores.
  • PHP variables are case sensitive, that means they could be either lower case or upper case or combination of both.
  • You don't have to worry about declaring the type of the variable. For example strings and integers are declared the same way.
  • It's good practice to initialize a variable i.e. assign it a value. Uninitialized variables in PHP have a value of either false, empty string or empty array.

Howto add fonts to Ubuntu 11.10



There is a lot of fonts in Ubuntu 11.10 repository but not enough to maintain the stability of documents created from Windoze environment because you need the same font used for those documents yet some of them were not in the repository at all. Here is what I've done to manage this :

1. Create a .fonts folder in your Home directory
2. Copy the ttf files you have (you can download some free true type fonts or just copy it from Windoze folder.
3. Open your terminal emulator and type sudo fc-cache -fv
4. Done