Archive for the 'Internet' Category

MapQuest adds gas price estimator

Posted in Internet, Unfiled, Web Links  

MapQuest has added a new feature that allows you to estimate how much it’s going to cost to fill up your car for a trip. You enter the miles, how many miles per gallon your car gets, and the cost of gas and the site will show you an estimate of how much it’ll cost you.

mapquestgas_cropped.jpg

I locked myself out of SSH

Posted in Internet, Unfiled  

A few days ago I tried to change the SSH port of a server I'm working on from 22 to something different since that's supposed to help with security. But the port I changed to was blocked by the firewall which means that after a reboot I had effectively locked myself out.

The server had WHM / cPanel on it so I was still able to manage the server, but needed to get back SSH. Fortunately cPanel has a built in script for this mistake.

Put the following into your browser replacing example.com with the domain name of your server.

CODE:
  1. https://example.com:2087/scripts2/doautofixer?autofix=safesshrestart

Presto. SSH will be back on port 22. One thing you'll need to do is go back and fix /etc/ssh/sshd_config so that it's back on port 22 as well. I found out this morning that this fix doesn't actually change the config file.

ForumsBlogsWikis.com

Posted in Blogging, Internet, Programming  

Yup, another blog.

If you read back through the archives here you'll see that I have a real problem with starting new projects. Not that I have a problem starting one. I have a problem starting too many. Right now I've got 2 forums, 1 eCommerce site, and 6 blogs (only 3 of which are regularly updated).

But, I had an idea for a new blog so about 2 hours after I registered the domain name ForumsBlogsWikis.com is live. The idea is to keep up with news on any web programs that allow interaction with your visitors.

Deligio - Search engine for software

Looking for a new program, maybe a free php editor. A new search engine called Deligio may help you out. Enter what you're looking for an it'll bring up every program in its database that matches.

Read the rest of this entry »

5 things you may not know about PHP

Posted in Internet, Programming  

PHP is one of the dominant web languages in use today. If you do any web design work you probably have at least a passing knowledge of PHP. Heck, even if you don't do any web design you've probably noticed web pages ending in .php.

But here are 5 things you may not have known about PHP. If you've been working in PHP for a while you probably already know all these, but they're still there to look at.
Read the rest of this entry »

Goggles Flight Sim

Posted in Internet, Web Links  

In what may be the coolest, albeit not quite as useful as others, use of Google Maps data yet Mark Caswell-Daniels has created a flight simulator where you can fly around several cities using satellite imagery from Google. With a little work you can even fly around your own city.

goggles.JPG

Aliens prefer Firefox

Posted in Internet, Web Links  

Ok, not really. But members of the Oregon State University Linux Users Group made a 260 foot crop circle of the Firefox logo.

mg_5560-sized.jpg

robots.txt for SimpleMachines forum

Posted in Internet  

Wanting to keep pages out of the SERPS that I felt shouldn't be there I started using the following robots.txt file on a SimpleMachines forum site of mine.

CODE:
  1. User-Agent: *
  2. Disallow: /index.php?action=search
  3. Disallow: /index.php?action=calendar
  4. Disallow: /index.php?action=login
  5. Disallow: /index.php?action=register
  6. Disallow: /index.php?action=profile
  7. Disallow: /index.php?action=stats
  8. Disallow: /index.php?action=activate
  9. Disallow: /index.php?action=help
  10. Disallow: /index.php?action=admin
  11. Disallow: /index.php?action=pm
  12. Disallow: /index.php?action=mlist
  13. Disallow: /index.php?action=notify
  14. Disallow: /index.php?action=post
  15. Disallow: /index.php?action=markasread
  16. Disallow: /index.php?action=sendtopic
  17. Disallow: /index.php?action=printpage
  18. Disallow: /attachments/
  19. Disallow: /avatars/
  20. Disallow: /Packages/
  21. Disallow: /sitemaps/
  22. Disallow: /Smileys/
  23. Disallow: /Sources/
  24. Disallow: /Themes/

SEO company sending me spam

Posted in Internet, Programming  

You know, I've pretty well accepted that I'm going to have email spam get through to my inbox. Even with Thunderbird's spam filtering, it still gets through. But today I got a spam message from an SEO company called The Search Doctors and it just hit the wrong nerve. Read the rest of this entry »

Blocking AdSense ads on your own site

Posted in Internet, Programming  

One of the fears of AdSense users is that they will accidentally click on an ad on their own site and get banned by Google. I've always assumed that these fears are a little over-hyped. I just can't see one accidental click causing you to get dropped. Of course you certainly don't want to make a habit out of "accidental" clicks.

But there is another reason to not have AdSense ads shown to you on your own sites. By having them visible you can really skew your stats. So what can you do?

Read the rest of this entry »

« Previous Entries