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 1:32 pm on March 3, 2010 Permalink | Reply
    Tags: google chrome greasemonkey support, greasemonkey enable in chrome, greasemonkey in chrome, how to install greasemonkey script in google chrome, how to use user script in chrome, user script in google chrome   

    How to use Greasemonkey User Scripts in Google Chrome 

    This tutorial is for windows users only!
    

    Most of the Greasemonkey user javascripts run on Google Chrome. We’ll need to go through some easy steps to run these scripts on Google Chrome:

    Change Channel:

    Get the Google Chrome Channel Changer tool from here. Once you’ve finished downloading (several KBs) run the file.

    Select “Dev” like the picture below:

    Download & Place the Script

    Now you need to download your script. If you know the link to download, simply download it.

    BTW, you can get plenty of scripts from here

    Place the Script:

    Open your explorer and go to the following location of your computer:

    Windows XP:

    C:\Documents and Settings\*USER*\Local Settings\Application  Data\Google\Chrome\User Data\Default

    Windows Seven/Vista:

    C:\Users\*USER*\AppData\Local\Google\Chrome\User Data\Default

    Note: Replace *USER* by your username.

    Create the Directory

    After going to the location mentioned above, create a new directory named “User Scripts”

    Put your downloaded scritpts (something.user.js) files in this folder.

    Final Step: Modify the Shortcut

    Go to desktop (or whereever the Google Chrome icon is), right click on the shortcut of Chrome icon, click Properties.

    Make sure you are in the “Shortcut” tab

    put the text -enable-user-scripts right after the text in the "Target" box. Make sure you put a space before -enable-user-scripts

    XP Users : Be sure that -enable-user-scripts is outside the directory’s quotes.
    :)

    You’re done.  Double click on the icon and start browsing. If the script is compatible, you’ll see the effects right now.

     
    • bdhacker 10:46 pm on March 5, 2010 Permalink | Reply

      If you use a Google Chrome version 4.0 or higher, just click on the script, it will be automatically installed
      :)

  • Shafiul Azam 12:26 am on January 27, 2010 Permalink | Reply
    Tags: connect to wifi, create wifi, create wireless network, how to create wifi, how to create wireless in windows seven, how to create wireless network, make a wifi network, own wifi, use internet by wifi, wifi, wifi in windows   

    How to create your own WiFi Network in Windows Vista/Seven 

    Howdy! If you have a laptop or desktop with Wireless adapters, you can create your own Wireless network in 2 Minutes. By using your wireless network, you can connect other PCs/Mobile Phones/Iphones to your network. Furthermore, if you have Internet connection, you can share your internet in your new WiFi network & thus all your devices which are connectied to this new WiFi network, can access Internet!

    Step 1

    Go to Control Panel >All Control Panel Items > Network and Sharing Center

    A windowl like the Image below will Appear. Click on Manage Wireless Networks

    how to create wifi

    how to create wifi

    Step 2

    As on the Image Shown below, first click the Add Button. Then click on Create an Adhoc Network

    Step 3

    A window like picture below will appear after you click the Next button.

    Now, Choose a Name.

    Select “WEP” as security Option

    Finally, choose a 5 character long security key, which acts like a password.

    Put the tick mark on “Save this Network”. When you are done, Click Next

    Congratz! :D You’ve successfully created your WiFi Network!

    How to connect?

    Suppose, I gave my new WiFi network the name “giga”. Now to connect to it, first I’ll have to connect the network in my laptop/pc. For this, click the Network Notification Icon on the right corner of your taskbar (See image below) and click on your network’s name to stablish the connection.

    Now, go to your mobile/Ipod/Other PC and start WiFi. Pick the new network’s name and enter the WEP key to connect to your newly created WiFi network!

    PS> If you wan to share your Internet, let me know in comments. I’ll describe the procedures then. :)

     
    • Enzam 5:08 am on February 10, 2010 Permalink | Reply

      Seven & Vista are different. :(

      • bdhacker 8:37 pm on February 22, 2010 Permalink | Reply

        Didn’t know that :(

        Please provide a solution for vista, whenever u get time to spare :)

    • xyorkgk 8:41 am on July 15, 2011 Permalink | Reply

      Is it free or will your internet provider charge you

    • Denis 11:46 am on August 9, 2011 Permalink | Reply

      what about for windows XP.?

    • michael pollicar 1:16 pm on August 18, 2011 Permalink | Reply

      how can i ceate my wep security key? can you give an example?

      • Shafiul Azam 7:05 pm on August 18, 2011 Permalink | Reply

        Just choose any text of 5 characters length

    • michael pollicar 1:24 pm on August 18, 2011 Permalink | Reply

      how can i hack or enter in a wifi connection if there is a password.?

      • Shafiul Azam 7:05 pm on August 18, 2011 Permalink | Reply

        No idea bro :D this site ain’t about hacking. Try google search, best of luck

    • roberto 6:10 am on September 2, 2011 Permalink | Reply

      i cannt conect

    • shellmb 4:32 pm on December 2, 2011 Permalink | Reply

      I made my wifi network, now how do I share internet from my pc to my laptop?

    • cleansha 5:48 am on March 25, 2012 Permalink | Reply

      The wifi isnt working when i connect i cant go on the internet

    • Jonas 6:03 pm on March 25, 2012 Permalink | Reply

      Vista is different !!!!!!!!!

  • Shafiul Azam 5:39 pm on January 9, 2010 Permalink | Reply
    Tags: connect 2 pc by ethernet, connect 2 pc in vista, connect a pc and laptop, connect two pc by cross-over cable, connect two pc in windows, connecting two pc, networking two pc, share files in two pc, share internet, share internet from pc and laptop, sharing broadband between two computer, sharing internet in 2 computers in windows   

    How to connect Two PC and Share BroadBand Internet in windows Seven/Vista 

    Assume you have two computers running in Windows Vista/Seven:

    • - PC1, already connected with Internet using BroadBand (Ethernet Cable)
    • - PC2, which you want to connect with PC1 and share the internet.

    Well, that’s quite simple in Windows Seven/Vista. All you need is:

    Well, Now let’s begin work. It’s quite simple. First, just install another LAN Card (the card where you plug the cable) in PC1 (just insert the card on your motherborard or use a USB lan card). Now, your PC1 has two LAN cards installed. The first card is connected with the internet. The second card will be used to connect with PC2!

    Now, when you install the new LAN card on PC1, you can find a new Icon on Control Panel\Network and Internet\Network Connections. Just like the one shown in the picture below (I’ve renamed my first lan card as “cityccom” and the second card icon as “gigahome”)

    Now, Double clidk on the icon of new lan card, Click Properties. From the property window, double click on Internet Protocol Version 4 (TCP/IP). A new window will appear, and make everything unchanged like the picgture below:

    Now, Right click on the icon of the old LAN card which is connected to internet (in my case “citycom”) and go to Properties. Now, click on the sharing tab, and put tick on the sharing option.

    You’re almost done! One final step, now go to PC2. Go to Control Panel\Network and Internet\Network Connections. Then Right click on the icon of the LAN card, go to properties, double click on Internet Protocol version 4 (TCP) and set everything default (Obtain IP address, DNS automatically)

    You’re done! Now connect the new lan card of PC1 with PC2 using the cross-over cable, and you can enjoy networking and internet.

    NB: If it troubles, try connecting and disconnecting the cables, or by restarting the computers.

     
    • bdhacker 6:02 pm on January 9, 2010 Permalink | Reply

      Related LInks: Making a Cross-over cable:

      http://www.duxcw.com/digest/Howto/network/cable/cable5.htm
      http://en.kioskea.net/contents/elec/rj45croise.php3

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.