Saturday, January 10, 2015

An Excerpt from Yasmin Mogahed's Article on SuhaibWebb.com 


Allah gives us gifts, but then we come to love them as we should only love Him. We take those gifts and inject them into our hearts, until they take over. Soon we cannot live without them. Every waking moment is spent in contemplation of them, in submission and worship to them.

The mind and the heart that was created by Allah, for Allah, becomes the property of someone or something else. And then the fear comes. The fear of loss begins to cripple us. The gift—that should have remained in our hands—takes over our heart, so the fear of losing it consumes us. Soon, what was once a gift becomes a weapon of torture and a prison of our own making. How can we be freed of this? At times, in His infinite mercy, Allah frees us…by taking it away.


As a result of it being taken, we turn to Allah wholeheartedly. In that desperation and need, we ask, we beg, we pray. Through the loss, we reach a level of sincerity and humility and dependence on Him which we would otherwise not reach—had it not been taken from us. Through the loss, our hearts turn entirely to face Him.

What happens when you first give a child a toy or the new video game he’s always wanted? He becomes consumed by it. Soon he wants to do nothing else. He sees nothing else. He doesn’t want to do his work or even eat. He’s hypnotized to his own detriment. So what do you do, as a loving parent? Do you leave him to drown in his addiction and complete loss of focus and balance? No.
  ~~You take it away.

Then, once the child has regained focus of his priorities, regained sanity and balance, once things are put in their proper place in his heart and mind and life, what happens? You give the gift back. Or perhaps something better. But this time, the gift is no longer in his heart. It is in its proper place. It is in his hand.


Yet in that process of taking, the most important thing happened. The losing and regaining of the gift is inconsequential. The taking of your heedlessness, your dependence and focus on other than Him, and the replacing it with remembrance, dependence and focus only on Him was the real gift. Allah withholds to give.


See Full Article here : 
http://bit.ly/1kJ7Zgj 

How to Change your Joomla Meta Content Generator



I know a lot of Joomla Developers would want to change this to either say something else or just get rid of it,  and don't want to get into installing a third party extension. 

Here's an easy way to do this, roll up your sleeves lets write just 2 lines of Php code to get the magic done.


--> go to your template index.php file and add this line to your header section.
                   
                   <?php $this->setGenerator(' type what you want to appear here '); ?> 
                  e.g
                           <?php $this->setGenerator(' ALagiboy '); ?>
will appear as 
                           < meta name="generator" content="Alagiboy" />


-----------------------------




Changing your MAC address in 5 easy steps [Linux]

Step 0:  Open your terminal window, Login as root and type the following commands ...

Step 1:
       ifconfig | grep HWaddr   /* This lists your mac addresses eth0 and wlan0 */

Step 2:
      ifconfig wlan0 down   /* Closes your current MAC adddress*/

Step 3: 
      ifconfig wlan0 hw ether  [type preferred address  e.g 00:A0:22:A1:12:DD]

Step 4: 
        ifconfig wlan0 up /* adds new mac address */ 

Step 5: 
        ifconfig wlan0  /* test setup, you should now see the new address you entered */ 

Back to the Manual


Upon Installing Drupal 7 i ran into this error on the installation page:
PHP extensions Disabled
Drupal requires you to enable the PHP extensions in the following list (see the system requirements page for more information):
* gd .
I've enabled gd, I've removed the comment from php.ini enabling the line "extension=php_gd2.so",
I am running Ubuntu 10.10 Maverick, So 
I tried different things and keep hitting a wall. Took a break from it, drank coffee, played some fifa,came back and still couldnt fix the problem.

So I went ahead and hit up a friend (@jjlieza) to see if he could find something I missed (my version of rubber ducking). As I explain the problem I had, he also suggested the same solutions I had tried and didn't work, he then asked if the Installation Manual was no help?  something I almost never really look at.( sure am not alone on this) but since I was already frustrated, I took advice and opened the doc, there it says: "Note: PHP 5.x no longer enables the php extension by default. Please read the links above for installing and enabling your chosen connector"

After reading then I manually install the GD Library sudo apt-get install php5-gd and there my problem was solved.