Select Page

Author: Darren Cato

Creating virtual hosts in wamp

I’ve recently been tasked with creating a Zend application. Needless to say its been in uphill battle. I quickly realized that i would need to play with several examples before i could tame this beast called Zend. In order to do this I needed to have several testing servers, and hence my need for virtual hosts I could step you through the process but there are already so many tutorials out there. I used the following zend specific video from Zendcasts.com http://www.zendcasts.com/getting-started-with-zend-and-wamp-server/2009/06/ If video isn’t your thing here is a text guide. http://www.infinitedesigns.org/archives/217 * note if using windows vista or 7, remember to edit the host file by running your text editor in administrator mode. Like this:Like...

Read More

Instailling PHPUnit with WAMP

Because this gave me so much trouble  I decided to re-blog it here. Thanks to the original poster. http://jsdoodnauth.wordpress.com/2008/11/05/installing-wamp-and-phpunit-on-windows/ Download and Install WAMP Once you have installed and setup WAMP, open up the command prompt and go to your php directory in WAMP C:\>cd wamp\bin\php\php5.2.5 From here you must run the go-pear.bat file to install PEAR and all the files needed for it C:\wamp\bin\php\php5.2.5>go-pear.bat When executed PEAR will ask you a series of question to set itself up correctly, if you don’t know what your doing then just accept the defaults Once installed you must run the PEAR_ENV.reg which will create the environment variables for the user, so that PEAR can be called in any directory on the command line> C:\wamp\bin\php\php5.2.5>PEAR_ENV.reg For me, it seemed to work no problem, but if you cannot call PEAR from the command prompt, then you must manually add the directory to the path in the Environment Variables list, found in System Properties -> Advanced-> Environment Variables, then add the directory C:\wamp\bin\php\php5.2.5 to the PATH variable Once you have PEAR setup, then you must register the PHPUnit channel with PEAR C:\wamp\bin\php\php5.2.5>pear channel-discover pear.phpunit.de Now you can use the PEAR to install packages from the PHPUnit channel C:\wamp\bin\php\php5.2.5>pear install phpunit/PHPUnit You should now find the PHPUnit source files under the PHP directory …Happy Days Like this:Like...

Read More

Walmart sells Wii for $150

For a limited time walmart will cough up a $50 gift card after the purchase of of a new Wii console, effectively dropping the price to $149. And because its walmart you’re gonna spend that extra $50 anyway. Wii Console with $50 Gift Card Beginning this Saturday, Dec. 5 at 8 a.m. through Dec. 12, Walmart will offer a $50 Walmart Gift Card immediately after the purchase of the $199 Wii console. The card can be used on the very next purchase or at any future purchase at any Walmart store. Shoppers can find more information about Walmart’s weekly holiday savings announcements this season by going to www.walmart.com/holidaysavings. Shoppers can make their video game purchases online by Dec. 20 at www.walmart.com/videogames with guaranteed arrival before Christmas extracted from http://walmartstores.com/FactsNews/NewsRoom/9539.aspx Like this:Like...

Read More

fix to the install issue in DFGallery2

I tried posting this in the DFGallery blog but there was an captha issue that would not let me post. I’m not sure if this as already been resolved or not, but i have a guaranteed fix to the We expected ‘true’ from the url : (mydomain)/api/rest/test_curl issue. The script to  generate the base url is incorrect. Simply hard code your base url and all should be well. this is how. in install.php, comment out or delete line 200 $curl_url = ‘http://’.$_SERVER[‘SERVER_NAME’].substr($_SERVER[‘SCRIPT_NAME’],0,strpos($_SERVER[‘SCRIPT_NAME’],’/index.php’)). ‘/api/rest/test_curl’; then replace with the url where the script is installed. for example $curl_url = ‘http://mydomain/mysubdirectory/api/rest/test_curl’; do the same in line 35 of the app/config/config.php file enjoy. and thanks to the dev, havent used it yet but this seems to be a nice app. Like this:Like...

Read More

Keep that Job!

Last edition of the Tribune, I offered some thoughts on how to land your dream job. In this issue, let’s focus on those already there; here are seven ideas on how to keep that gig! Work smarter not harder. Working night and day is never a good idea — instead, simply try to make sure you work as productively as you can. Make sure to prioritize and manage your time effectively. Don’t watch the clock. If you arrive one minute before the office opens, and then scram one minute after the day officially ends, you could be sending the wrong message. Show your boss you’re interested and passionate in what you do by putting in the extra time when a project calls for it. Also, a few extra minutes each day can really make a big difference to your productivity and deliverables. Dress well. Irrespective of your colleagues’ dress code — which may include old t–shirts and torn jeans — stand out from the pack by dressing well; it will make you look (and often feel) far more professional. Improve your skills. You should be constantly looking at ways to improve your skills. Not just for the job you are in, but future career opportunities. The better skilled you are, the more valuable you are — remember to make sure those around you see the extra effort you are...

Read More
%d bloggers like this: