Check out these two links for information on using emacs.
To sum it up:
Save a file:
control+x then control + s
quit emacs:
control + x then control + c
Check out these two links for information on using emacs.
To sum it up:
Save a file:
control+x then control + s
quit emacs:
control + x then control + c
I just discovered this great little tool to help identify fonts. While the trained eye can probably already identify this information, it sure is handy for folks like me!
-Scott
I recently attended the Google Chicago HTML5 Hackathon. I was lucky enough to work with a stellar group, and we put together a real kick butt app.
Using the HTML5 Geolocation we grab your latitude and longitude. Then we calculate the distance to the closest radar station, and immediately pull up some radar imagery. CSS3 transitions allow you to click and hold on the image to pull up another image.
Had a great time and learned a ton. Thanks to my great team, and the Google folks for hosting us.

HTML5 Logo
So you have setup MySQL on your Mac and you need to start MySQL. You fire up the control panel and select MySQL from the “Other” category.
The MySQL preferences pane clearly shows you that the MySQL server is stopped.
You start the server.
![]()
You are prompted for your password and nothing happens. So you start the server again….nothing
![]()
Still nothing…Not to worry. Fire up the terminal and enter the command:
![]()
Press control + z and you are set to go.
Happy Coding,
Scott Krieder
http://smalltowngeeks.net
http://scottkrieder.com
First I want to recap on positional notation.
For example:
The number 78(seventy eight) in decimal(base ten).
The 8 represents the number of ones. And the 7 represents the number of tens.
This is because the first column represents 10^0(the ones), and the second column represents 10^1(the tens).
If this makes sense then we can continue to convert. When you convert, you can always think of the conversion as giving someone change with the smallest amount of bills.
I will convert 78 from decimal(XX) to hexadecimal(XX).
Hexadecimal columns are represented as 16^0(number of ones), 16^1(number of sixteens), 16^2(number of 256′s), 16^3…and so on.
So looking at the number sheet we see that the third column is the number of 256′s in a number. This is too big so we know that there will be nothing in the third column of our hexadecimal number.
Now we can move on to the second column. We see that is the number of 16′s in a number. 16 goes into 78 4 times, with a remainder of 14.
So we can write down a 4 in our left column(16′s column)
(4X)
Now we can take our remainder to the next number, the number of ones. This is the easy part. We see that there are 14 1′s. But we can’t write the number fourteen. Look at the number chart to find the representation for 14. It’s E, so we put an E in the 1′s column.
(4E)
So 78 decimal(base ten) = 4E hexadecimal(base sixteen)
And finally if this still makes sense. You know that you can do this for any base.
So base 5 starts out 5^0(number of ones), 5^1(number of fives), 5^2(number of 25′s)…and so on…
Base 7 is 7^0(number of 1′s), 7^1(number of 7′s), and 7^2(number of 49′s)…and so on…
I got to spend some development time with T.J. Houston this past week. We have several excellent ideas that we are really excited about.
Stay tuned for:
tekfish.net
remembermywarranty.com
A quick post on how to send spam e-mail using a PHP method. Also, don’t use this form as a normal contact form as it has no security built in.
NOTE: First in some cases the client will receive an e-mail that looks spoofed. In this case you can make an e-mail look like it has been sent from someone other than you. Second, in some cases the client will receive an e-mail from your server. In either case DO NOT USE THIS MALICIOUSLY because….it’s very easy to be caught. If someone were to examine the details of the e-mail in either case it would show your server and you would be traceable.
<code>
<!— sampleSpamForm.php
Note: All of this code should be placed on a single page. If you look below you will see that the form will post to itself, after the post if the email field is set then it will send the email. If not then it will display the form.
—>
<?php
if (isset($_REQUEST['email']))
//if “email” is filled out, send email
{
//send email
$to = “email to send to”;
$from = “email you want the email to appear to be sent from”;
$name = $_REQUEST['name'] ;
$email = $_REQUEST['email'] ;
$subject = $_REQUEST['subject'] ;
$message = $_REQUEST['message'] ;
$headers = “From: $from”;
$body = “$message $name”;
mail($to,$subject,$body,$headers);
echo “Thank you $name for using the spam form.”;
}
else
//if “email” is not filled out, display the form
{
echo “<form method=’post’ action=’spam.php’>
Name: <input name=’name’ type=’text’>
<br>
Email: <input name=’email’ type=’text’>
<br>
Subject: <input name=’subject’ type=’text’>
<br>
Message:
<br>
<textarea name=’message’ rows=’15′ cols=’40′> </textarea>
<br>
<input type=’submit’ />
</form>”;
}
?>
</code>
Finally finished my Creighton Calendar RSS feed iPhone Application.
Powered by WordPress