audibleCode

a code repository for codes that you don’t have enough words to describe

Posts Tagged ‘linux

Connecting Nokia 6230 to Ubuntu 7.10 and using it as a gprs/edge connection. 1

without comments

Firstly, let me apologize for not posting for a while, i was finishing up my semester examinations.

Okay let me get on with the post. Connecting Nokia 6230 to Ubuntu 7.10 .

Before you start make sure that the phone you are using has a working gprs connecting and you can browse using the mobile phone. After that is settled make sure that the you have settled all billing issues with your subscriber and you know how the billing is done. Then make sure you get you DKU-2 cable for the nokia 6230.

NB:I have used only DKU-2 and Nokia 6230 and ubuntu 7.10 so i can only vouch for these.

1. Connect the Nokia 6230 to the computer using your cable. After which you type this command.

“lsusb”

Read the rest of this entry »

Written by audiblecode

June 8, 2008 at 4:26 pm

Send emails in PHP-Using PEAR extensions II

without comments

 

In the previous post we looked at managing and installing PHP Extension and Application Repository (PEAR) packages, as well as how to use such a package from a PHP script. Now we will look at some of the other packages in the PEAR library.

The packages required for this column are available from www.pear.php.net.

To install them into your local PHP system, copy all packages from the PEAR site into a temporary directory, then type:

$ pear install

Where <package filename> is the filename of the package you are installing. The packages are stored in tar gzipped format, so you may get an error like this:

The extension ‘zlib’ couldn’t be found.

Read the rest of this entry »

Written by audiblecode

May 24, 2008 at 3:53 pm

Posted in Uncategorized

Tagged with , , , , , , , ,

Send emails in PHP-Using PEAR extensions

with 3 comments

The PHP Extension and Application Repository (PEAR) is an open source structured library of packages for PHP developers. These packages provide routines which solve problems PHP developers regularly face: sending structured e-mail (such as an HTML attachment), interacting with different databases from a single script, error handling, recovery and logging.
The base installation of PEAR is shipped with PHP itself. The programmers working on PEAR have developed a method of installing new packages and keeping your existing installation up-to-date, called the PEAR package manager.

PEAR package manager
If you are using a version of PHP prior to 4.3, you will need to install the PEAR package manager. UNIX users can run the following command:
lynx -source http://go-pear.org/ | /path/to/php

This downloads the source of the page at http://go-pear.org and runs it with the PHP binary (replace /path/to with the path to PHP on your system).

Read the rest of this entry »

Written by audiblecode

May 24, 2008 at 3:43 pm

How to reset MySQL password.

without comments

I am browsing blog and i just found this thing that i didn’t know

Reseting mysql password

 

  1.  
    1.  
      1. Stop the server
      2. #/etc/init.d/mysql stop
      3. Login as root
      4. #mysqld_safe –skip-grant-tables –user=root
      5. #mysql -u root
      6. Enter this command
      7. mysql>update mysql.user set password=password(’newpassword’) where user=’root’;
      8. start the service again
      9. #etc/init.d/mysql start
      10. login again
      11. #mysql -u root -p
The sequence is the same in windows. But the thinks is for the  complete stuff  go to mysql.com aand read the documentation.

Written by audiblecode

May 23, 2008 at 8:37 pm

The Concept Of Intelligent Operating Systems

without comments

As a computer science student i have some experience with operating systems like (our ever famous) Windows, Linux(My personal favorite), Solaris, Apple Mac etc.

The thing is that rather than making operating system just run other programs. Lets make OS’s that have the ability to think,learn,suggest etc. I want the day that OS ceases to become a dumb piece of codes that is executed by the hardware. To the extent that it becomes a complete mother program object.

let me explain. We want to be able to have sentences like the once i have written below

Read the rest of this entry »

Written by audiblecode

May 23, 2008 at 6:34 pm