I am in the process of performing some analysis on the posts on Daily Cup of Tech. One of the things that I want to do is a word count and frequency analysis on the entire blog.Now, I could go with good ol’ pen and paper and start counting every single word on the blog. But, that would take me quite a mount of time, not to mention that I would not learn anything in the process.

So, I decided to export the contents of my mySQL database the runs behind the scenes at DCoT to a text file and then download a word and frequency counter. Do you think I could find a word counter that would count all of the words in the file and then count how many times each word appears? No luck.

But, my bad fortune is your lucky day. I decided that since I couldn’t find anything like this, I’d make it myself. So. today I present you with the Daily Cup of Tech Word Counter!

The application is a self contained program that is fully portable to USB devices. You can download the program and the source code if you are interested. The program is written in AutoIt.

Here is a screenshot of my new baby:

Most of the program is self explanatory. You can sort the output alphabetically or by how frequent each word appears. You can also sort in ascending or descending order. You can count the words that you type or paste into the edit box or use a text file.

The delete options may be the only confusion portion. When you are counting words, you need to clean up the rough text a bit. Delete some punctuation, get rid on non-printable letters, or scrub out the non-standard English words. Each of these options selects a different one of these options. Control characters are things like carriage returns and line spacing. Punctuation is your standard punctuation that you will find in most documents. Extended characters are characters that you usually do not see regularly and are often used in some non-English languages.

The Use Spaces option will replace all deleted characters with spaces rather than deleting them. This can modify your outcomes so feel free to experiment.

When you are done counting your words, a complete list of all the words and how often they appeared will be presented in the edit box.

Feel free to play around with this and let me know if you find it to be useful.

If you found this post useful, why don't you buy me a cup of coffee to show your gratitude?

EraserU3 technology is a really awesome way to use your USB drive. It provides menus and the ability to install software quickly and easily on your USB drive.

But, (You knew there was one coming, didn’t you!) what if you want to use your USB drive as a simple file transport? Or you work in a locked down environment that will not allow the U3 software to complete its job? Now what?

I found myself in this situation last week when my boss asked me for a USB drive to take some work home with him. I was rather embarrassed when he came back to me thinking that I gave him a drive infected with a virus!

Fortunately, it is a relatively easy process to remove the U3 software. Simply download the U3 uninstaller and run it against your USB drive.

Caution! You will need to move all of your data off the USB drive before running the uninstaller because it will reformat your drive and all of your data will be lost! Also, you will not be able to reinstall the U3 software if you change your mind later!

If you found this post useful, why don't you buy me a cup of coffee to show your gratitude?

BackTrackIt is always important to know what is going on in your network. And, from time to time, you should perform a simple audit of your network just to determine what is exactly happening.

This is something that I do on a regular basis using an inexpensive network auditor that I built.  (Actually, all I did was install a custom Linux distribution designed for security.)

What You Need

Here are all the tools that you need

  • An old laptop (if you want it to be portable) or desktop
  • BackTrack Linux Distribution

It’s pretty easy to find a computer that will work and BackTrack is available for free as an ISO.  This is something that probably everyone could do with what they have available.

Build The Analyzer

The steps involved to build the analyzer are pretty simple.

  1. Download the ISO.
  2. Burn the ISO to CD.
  3. Boot the computer from the CD.
  4. Log into the BackTrack system with username root and password toor.
  5. Create partitions on the hard drive (Be aware that this will destroy the hard drive so make sure that the drive has no needed data.) using fdisk.
  6. Write the file system using mke2fs.
  7. Mount the devices using mount.
  8. Run the GUI installer (K → System → Backtrack Installer).
  9. Click Install.
  10. Wait for the installation to complete (There is a long pause at about 80% so please be patient.).
  11. Remove the CD and reboot to the new system.

If you are looking for a more complete step by step document, there is one available.

Explore

There is a lot to discover in BackTracks.  Dig through the system and see what you can find, both on the system and in your network.

If you found this post useful, why don't you buy me a cup of coffee to show your gratitude?

AutoPatcherI always dread the question each time I go to my parents’ place. “Can you do the updates on our computer?”. Being a good son, I say “Yes” and then immediately regret my promise.

You see, the problem is that my parents live in the country and all they have is dial-up for Internet connectivity. Pulling down 300 MB of updates over a noisy 56k line with people picking up the receiver every few minutes and asking, “Are you done on the Internet yet?” can get pretty frustrating.

So you can imagine my excitement when I discovered AutoPatcher. Just what does AutoPatcher do for me? Well, here is what the website says:

AutoPatcher is based on the functionality of these special updates, automating their installation process. This way, with only a few mouse clicks and two minutes of your time, AutoPatcher is able to continue with the installation of the items you selected. In short, AutoPatcher combines the advantage of both Windows Update (presentation and description of updates and automated installation), and the special administrative updates (portability and installation without the need of an Internet connection).

That’s right! I can download AutoPatcher back home with my high speed Internet connection and then just run the disk on my parents, computer without taxing their Internet connection (and my patience).

AutoPatcher comes in the following versions:

There is also an Office version in the works but it still needs to be completed.

There are also three different package types, as well, which let’s you download just what you need. The package types are:

  • The Full release, which comes with everything (updates, add-ons, tweaks).
  • The Lite release, which lacks heavy add-ons (such as ’sunjava’).
  • The Update release, which is installed over last month’s Full or Lite.

The only downside (which isn’t really a downside if you know your computer stuff) is that the disks are only distributed via bittorrent. You can download the files as a self-extracting executable or as a bittorrent. (Thanks for the update, Penguin Geek.) If you are not familiar with bittorrent, you can get up to speed. If you are looking for a bittorrent client, I would suggest μTorrent.

There are other users for AutoPatcher other than parents’ computers with slow Internet connections. It is really useful in a corporate environment where you need to update remote systems on a regular basis. You can create the disks and send them out to the remote systems for updating or you can extract the contents of the AutoPatcher files and share them on the network for remote updates, especially if you aren’t interested in installing Windows Server Update Services.

If you found this post useful, why don't you buy me a cup of coffee to show your gratitude?

Remote Computer AccessYour Internet connection’s IP address is like your home mailing address. It is the key to getting access to the contents of the remote computer. If you know your home IP address, it gives you the ability to connect to that IP address from any other computer on the Internet and access resources that you have made available.

One of the problems that many people run across is that their IP address changes so even if they memorize their IP address, it may be different when they go to access it remotely. This is the problem that DCoT reader Shep was having:

Dear Tim,

First of all, I’m a big fan. I check in every day. I think the kid rescue story at Disney is great!

Here’s my tech help question. I realize it’s a bit obscure. Okay, it’s very obscure.

I use TightVNC (which I run off my Cruzer using DCoTMenu) to access my networks at home and at my office. My office network has a static IP but my home network does not. If I am away and the dynamic IP at home changes I can’t access the network (as it did last week while we were on vacation).

I realize that the solution to my problem is to get a static IP, or use one of those web services which assigns a “static” IP, or use Himachi, GoToMyPC, or a similar program.

For the sake of argument, let’s say that I’m not going to do any of those things.

My question is this: Is there a way for my home network to broadcast it’s IP on a regular basis (every 6 hours) to an email account or, preferably, upload the IP via FTP to my personal webspace (which is not hosted on my home or office network)?

Thanks.
Shep

Well, Shep, this has proven to be a worthy challenge but I have come up with a solution. I have written an application called External IP that will e-mail you or upload an HTML file to a web server with your IP address information on whatever schedule you like. This way, you will always know your home IP address.

Please be aware that this is a work in progress and there may still be the odd bug lurking in the code.

External IP is a freeware application and everyone is free to use and download the application as they see fit. But, if you find it useful, a donation would be greatly appreciated!

If you found this post useful, why don't you buy me a cup of coffee to show your gratitude?

« Previous PageNext Page »