Archive for my.hacks

My Current Desktop

Post by: bingorabbit
Published on July 2nd, 2010
Filed under: miscellaneous,my.hacks
Tags: , ,

I simply love this..based on ubuntu 10.04, which is really an amazing system to use! You should give it a try!

Screenshot


 

bLOG updates

Post by: bingorabbit
Published on September 13th, 2008
Filed under: WordPress,my.hacks
Tags: ,

I have been working on the blog for sometime; I updated the system to the latest version, I have noticed nothing, I think it’s just some minor updates done after the release of the mighty 2.6.

I changed the comments layout, I did hate the last one, with borders every where, and I couldn’t have courage to view it in IE, because I know it was going to look miserable.

Late, but I thought it will look cool, I added the gravatars’ support to the theme’s comments template, it was enabled by default in WP 2.5, but you should hack the theme to add it, but I’m still not convinced with its position.

(more…)


 

parameters with default values

Post by: bingorabbit
Published on June 11th, 2008
Filed under: information.technology,linux,my.hacks,php,web
Tags: , , , ,

It’s known that declaring a php function has the following syntax:

< ?php
function function_name(Parameters_list) {
// function
// code
// block
}
?>

an example of this can be like this:

< ?php
function nameAndAge($name,$age){
echo "Welcome $name, you are $age years old!";
}
?>

When I issue the following statement:

< ?php
nameAndAge("bingorabbit",20);
?>

I will get:
Welcome bingorabbit, you are 20 years old!

Most of us know that, and also we know that to set a default value for any parameter, we can do the following:

< ?php
function function_name($parameter1 = "default value", rest_of_the_parameter_list) {
// function
// code
// block
}
?>

which might take the following form:

< ?php
function nameAndAge($name="bingorabbit",$age){
echo "Welcome $name, you are $age years old!";
}
?>

so when I issue:

< ?php
nameAndAge();
?>

I will get:
Welcome bingorabbit, you are years old!

and when I issue:

< ?php
nameAndAge("Ahmed", 15);
?>

I will get:
Welcome Ahmed, you are 15 years old!

The problems is such declaration is that, you can’t just issue:
(more…)


 

Vinux

Post by: bingorabbit
Published on May 13th, 2008
Filed under: information.technology,linux,my.hacks
Tags: , , , ,

This is what I’m talking about, I just thought of putting screen shots :D , soon I think I will post a tutorial to show you how to reach such Desktop :D

Screen shot taken from my laptop, Fedora 8, using KDE 3.5My Desktop

(more…)


 

wordpress 2.5

Post by: bingorabbit
Published on March 20th, 2008
Filed under: WordPress,information.technology,my.hacks
Tags:

The screen shots is really promising, check it from here, I’m gonna wait for this one. Day after another, it proves that it’s one of the BEST CMSs that have ever been introduced to web.