Friday, May 14, 2010

Cool new trick to use to stop system beep

My computer is a Dell inspiron 1521 and the system beep it makes when ever I make an error while typing commands in MySQL are so loud it startles me. I wanted to stop the beeps so I googled it and found this page or here. Hope it helps. All you need to do is use a -b in the mysql sartup command like this:
C:\Documents and Settings\mike>mysql -uuser -ppassword -b
now you can type a bad command and it won't beep at all. Another method to use to stop it until you restart the computer is:
net stop beep
the beeps will now be off.
then use:
net start beep
and the beep starts up again.
If you want it to stop for good then use this line:
sc config beep start= disabled
then use
sc config beep start= auto
to turn it back on

Tuesday, May 11, 2010

Some cool things I may write more about

on newegg 1TB drive is $70 free shipping now

7Gbps wireless coming in ayear or so using the 60Ghz band instead of 5


2TB sd cards coming

connectify allows you to make your computer into a wifi access point but it requires Windows 7
the address to download: http://www.connectify.me/

inSSIDer
is a tool that scans your area and shows all the radios in your area and the channel they use
here is an image of it
great tool for seeing every ones mac address and the security of all the access points











Sunday, February 21, 2010

More Secure Passwords

One thing I have seen alot of among other computer savy friends and most of the people I know is they all use the same user name and password when they sign up for new website accounts. No one wants to have to remember more than one account password. And if we did use more than one password we would just add a number or increment the number by one. This is because humans have a hard time remembering more than one thing at a time when it is something they do all the time. I have found a website I am going to try that will let you type one password and it will make new random passwords for sites without making you remember them. Once you log in to the site that remembers your passwords it will let you log into many of your favorite sites quickly and no one will be able to unlock all your passwords from these sites. It is nice because the more sites you log into the more likely you are to run into one that is storing you password in plain text and someone might figure it out and unlock your other sites.
Here it is:
http://www.passpack.com

Thursday, December 3, 2009

I use google voice with php

I have figured out how to send make a php page use my google voice web widget dynamically! I wanted to pull numbers out of a database to call if I wanted to instead of just using it manually. I could call someone at any time programatically and they would pick up the phone and wonder who was calling them and it would be my voice mail giving them my custom message or I could tell it to call me if I want to talk to them when they pick up. I could use it to talk to someone that has a busy phone and as soon as they actually pick up it will call me. here is the php code I used to make it call someone to call me.

it worked great!! I got it to work with the php code and each time I refresh the page it calls again. This is nice!

$url = 'https://clients4.google.com/voice/embed/webButtonConnect';
//person wanted to call me
$phone = '2089991234';
$postVars = array(
'showCallerNumber' => '1',
'callerNumber' => "$phone",
'buttonId' => '9ea ... 91d3166',
'name' => 'mike'
);
$t = http_build_query($postVars);

$ch = curl_init();
curl_setopt($ch,CURLOPT_URL,$url);
curl_setopt($ch,CURLOPT_POST,count($postVars));
curl_setopt($ch,CURLOPT_POSTFIELDS,$t);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$result = curl_exec($ch);
curl_close($ch);
echo $result;
?>

Tuesday, November 10, 2009

Using Excel to read a database

I am going to make excel get data from a database.
First you need a driver called MyODBC that will interface between excel and the mysql server
http://dev.mysql.com/downloads/connector/odbc/5.1.html#win32

Tuesday, October 27, 2009

Etherpad collaboration for coders

Here is a great tool that lets programmers and other people share their code among anyone in a team.
http://etherpad.com/
I shall try it and report back.

Sunday, October 25, 2009

Lego land on street view

So google is now mapping places like Lego land and not just on the streets.

http://www.google.com/trike

here are some places they are mapping
They are accepting suggestions for places to map until Wednesday October 28, 2009