audibleCode

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

Posts Tagged ‘hack

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

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

Custom CSS for Internet Explorer 6 & 7

with one comment

I was working on my mini-project. The project was  a CMS for a school. I finished everything about it. I mean the php, mysql javascript, flash, and all that. But i had a small problem with the theme.

To be specific the CSS was different in Internet Explorer. I mean that i had to give internet explorer a different code to get the same effect in the various browsers. Firefox(my all time favorite), Safari and the rest. 

IT was only internet explorer that gave me the issues.

Let me get to it.

Read the rest of this entry »

Written by audiblecode

May 23, 2008 at 7:15 pm

Repairing Crashed MySQL Database tables. “table ‘employee’ has crashed.”

with 2 comments

Hi all,

Today i just want to start by sharing an experience that i had with MySQL Database. I was a project for a friend. The project was a CMS for a movie site and all of a sudden an error message started appearing, that the

table “employee” has crashed.

This made the admin page inaccessible. The true is if you have been working with MySQL for sometime you might have seen this error. I want to share with you i i fixed this error. 

Before that i want to ask “Does anyone what causes MySQL table to crash” if you do please leave a comment as to how.

Read the rest of this entry »

Written by audiblecode

May 23, 2008 at 6:15 pm

Using G-Mail as a virtual harddrive on your local computer

with one comment

The two gigabytes of storage you get with a Gmail account seems like an enormous waste of space for just e-mail. You’re not likely ever to fill it; were you to come close, Google would no doubt have doubled the space by then. Wouldn’t it be nice to be able to use some of that storage for something other than mail?

Well, you can. A free piece of software and the know-how to change a few Gmail settings are all you need to turn your Gmail storage into a virtual hard drive you can access any time you’re connected to the Internet. (If you don’t yet have a Gmail account, ask someone you know who has one, or anyone who sends you a message from one, for an invite. Gmail is still technically beta and invitation-only.)

First, get the GMail Drive shell extension fromhttp://www.viksoe.dk/code/gmail.htm and install it. Download the ZIP file, extract all the files into a folder, then run setup.exe. (Note: The GMail Drive shell extension works only with Internet Explorer, Version 5 or above.)

Read the rest of this entry »

Written by audiblecode

May 22, 2008 at 9:13 pm