bingorabbit’s bLOG - when rabbits rule!..

A trip to Tanta 01

By: bingorabbit, August 19, 2008 @ 2:58 am
Filed under: college, dreams, linux
Tags: , , , ,

Most of you know that my graduation team has been selected with another 239 team to join the MIE - Made in Egypt - competition, I have attended two sessions uptill now, Negotiation Skills and Mind Mapping which both were FASCINATING! The instructors are really great, they know exactly what they are doing and how to deliver it to the audience. I have learned a lot in the last couple of days really, I have been put in more than one situation that required being in action most of time.

For the first day, we were asked to create 9 teams, 12 different members from all universities per team and to start working on a case study which will have the IEEE Code of Ethics document applied to. The team had to choose a presenter to present the answers of the case study in 3 minutes, and to be judged in another 2. I was my team’s presenter and Al-7amdolelah it was really good, except for the last question which was about “my team members’ names” and it was a mess then :D, because I didn’t know anyone except Ahmed Sameh. We had a great show, and I think we were the only team who had a show, other teams had a technical presentation more than a showy one.

Today was another great day, I was sitting in my place when one of the MIE-2009 organizers which was reposnible for the event asked me to have another presentation about anything I can choose, and I chose Linux and it was really a great one, astonshing audience with how easy you can transform Linux’s GUI to a Windows’ and the desktop effects done by compiz-fusion. I had a great feedback about the 10 mins presentation and some folks from there asked to a way to start using linux and I was really happy to guide them.

Al-7amdolelah, Mansoura University has proven its existance in the Training and it’s still doing great stuff up there. :)

May Allah help all teams! :)

Status Report-04

By: bingorabbit, July 17, 2008 @ 9:12 am
Filed under: college, depiak, dreams, linux, php, wordpress
Tags: , , , , , , ,

ICU, My Grandpa, Family! Al-7amdolelah

2008-07-17 :) , wemabre7 kan 3omry 20 :)

I’m waiting for my results..

I will be having an interview after ummmm 5 hours?&!

depiak, good work and a great comeback!

I love Linux!! - Mosh awy -

Wordpress 2.6, again, they always impresses me!

PHP, MySQL, Java and SCJP!

Smileys, again

Ubuntu Set

By: bingorabbit, July 1, 2008 @ 11:49 pm
Filed under: information.technology, linux
Tags: ,

Today I got my requested Ubuntu CDs, I have requested the 32-bit Desktop and Sever Edition on 04-06 and they were here by yesterday and I have recieved them today. The set was covered in a way that you will really like and the whole set looks AWESOME!

Ubuntu Desktop EditionUbuntu Server Edition

I tested the system, through the live CD, but I had what I were expecting. I dun like GNOME, I’m more interested in KDE and I know how does everything can be customized or maintained in KDE - although Red hat’s support goes to GNOME -. I will need a huge motive to switch to Ubuntu, I had feedback from all - Ahmed Soliman, kamasheto, psycho and a lot of guys in CAT -. I believe that GNOME looks really cool, and the applications are more stable up there but it’s just a feeling that KDE is better :D

Anyway, I know that one day the idea will just pop-up and I will install the system, may be then I will be adicted to it like I’m adicted to fedora now :). Maybe I will install ubuntu then replace GNOME with KDE “Kubuntu”. When I get to such step, I will come back here and give my feedback about the system :).

Error Reporting

By: bingorabbit, June 12, 2008 @ 4:09 am
Filed under: information.technology, linux, php, web
Tags: , ,

One of the most amazing features in php is how it shows errors to the developer, you might think of it as a GPS which tells you exactly where you have to go :) ; Line Number, character and the error itself..CHARM!

Through the whole previous 2 years, I didn’t use error reporting at all, because it was off by default on my localhost - I use Fedora with Apache, php and MySQL installed as my localhost,, I even installed phpMyAdmin :) . -. I didn’t even mind to set it on, may be because I didn’t right that HUGE script that I may search for an error in and get lost. I have to tell that this really enhances your skills a bit, because you become more into code trying to figure out the semi-colon that you forgot and it terminated the script with a blank screen. Anyway, today I thought about giving it a try so I had to do it manually so you should do the following:


$ su -

- then enter the root's password and press enter -

# vi /etc/php.ini

Search for “Error handling” (type /Error handling and press enter in vi), this is where the error handling and logging configuration block starts. Try to find the statement where it says:


;error_reporting = E_ALL

If it had a semi-colon (;) in the beginning, just remove it, if there where no semi-colons - the common situation - , go to the next step.

Next, search for “display_error” (type /display_errors and press enter in vi), mostly you will find this equals Off so you will find it saying:


display_errors = Off

Change the “Off” to “On”, save the configuration file ( Shift+ZZ in vi) and issue the following command to restart the web server service:


# service httpd restart

If you had any problems, please report them here. :)

parameters with default values

By: bingorabbit, June 11, 2008 @ 6:24 pm
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:
Read More..

Next Page >>>