Updates from February, 2012 Toggle Comment Threads | Keyboard Shortcuts

  • Shafiul Azam 12:00 pm on February 18, 2012 Permalink | Reply
    Tags: , phpunit, ,   

    Install PHPUnit in Windows, Wamp using PEAR 

    Go to the directory where PHP is located. Typically, this is <PATH-TO-YOUR-WAMP-INSTALLATION>\bin\php\php5.3.8

    We’ll call this path “PHP’s location” throughout this article.

     

    Now, install PEAR following instructions in this tutorial.

     

    Open a command-prompt, go to PHP’s location using cd, and type:

     

    pear channel-discover components.ez.no
    pear channel-discover pear.phpunit.de
    pear channel-discover pear.symfony-project.com
    pear install –alldeps phpunit/PHPUnit

     

    We’re done! type phpunit –version to confirm installation.

     

    Reference:

    http://www.ankara-gtug.org/2011/11/15/phpunit-installation-on-wamp-in-windows-7-and-integration-with-eclipse-2/

     

     
  • Shafiul Azam 11:48 am on February 18, 2012 Permalink | Reply
    Tags: , , ,   

    Installing PEAR in Windows, Wamp 

    Go to the directory where PHP is located. Typically, this is <PATH-TO-YOUR-WAMP-INSTALLATION>\bin\php\php5.3.8

    We’ll call this path “PHP’s location” throughout this article.

    1. Download “go-pear.phar” from this location: pear.php.net/go-pear.phar
    2. Create a folder “pear” in your PHP’s location
    3. Put the downloaded “go-pear.phar” file in this location.

    Open a command prompt with administrative privilege. For this, click on start menu, type “cmd” – you can see the cmd.exe icon. Right-click on this icon and click “Run as administrator”

    Cmd.exe will open. Go to the direcotry of your PHP’s location, by typing “cd” command. For example, my wamp is located in “D:\wamp”, so I write following command:

    D:
    cd wamp\bin\php\php5.3.8
    

    Now run the downloaded file, by typing:

    php .\pear\go-pear.phar
    

     

    Installation will begin! During installation, you’ll need to respond to some prompts, just hit enter/press “Y” when necessary.

    After installing, double-click and instal “PEAR_ENV.reg” found in your PHP’s location.

    Optionally, you can add your PHP’s location in your PATH variable.

     
  • Shafiul Azam 8:44 pm on February 15, 2012 Permalink | Reply  

    Failed to convert @drawable/ into a drawable Error in eclipse 

    If it’s an issue with rendering,

    Close and then restart Ecplise :p

     

     
    • haris 6:09 pm on May 13, 2012 Permalink | Reply

      still an issue after restarting it

  • Shafiul Azam 6:40 pm on February 15, 2012 Permalink | Reply
    Tags: android, code, source, sourcecode, the new boston, thenewboston   

    Source code of Android Tutorials from The New Boston 

    :)

    Get sources of tutorials of individual videos

    I’m  just learning android from the awesome tutorials made by Travis (available for FREE at here) and decided to code them in hand. Just pushing them to this repo if anyone needs them.

    One interesting point, I’ll make a commit after every tutorial! So you can browse the snapsot of each tutorial by selecting a commit from my Github

    Cool, huh? (The initial commit begins with Tutorial 10, though).

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel
Follow

Get every new post delivered to your Inbox.