Technology Insights

Do Not Save Output Of wget Post Data

If you are putting together a script that uses wget to post data to various URL’s it is likely that you do not want wget to save the response back from the server in files. You can easily get around this by specifying the output file that wget save to with the -O switch. Below is an example of what would happen when the -O switch is not used followed by an example of using wget with the -O switch outputting the results to /dev/null.

Technology Insights

Create MySQL User With mysqladmin

When setting up a server or group of servers for the first time you may find yourself wanting to create MySQL users without having to login to MySQL. It would make sense for the mysqladmin command to offer this functionality but it does not. Instead you can create the MySQL user with the mysql command as shown in the below example performed on a server running Ubuntu Linux 12.04  also known as Precise Pangolin.

Technology Errors

WordPress database error Duplicate entry X for key yarpp_content for query UPDATE wp_posts SET, MySQL Error

Today I was adding a note to a WordPress article I had written a couple of days ago and it appeared to POST without issue after I clicked the Update button in the WordPress admin. I went to the front-end of the site to verify the new content formatted correctly and to my surprise it wasn’t displaying so I figured I must have left a HTML tag or something open since I didn’t get any errors within the WordPress admin when I clicked the Update button for the Post. After further review the content didn’t exist and it appeared that the article had not posted the update at all since there were zero revisions from today. Fixing the problem is easy by using the below information that describes where I located the error, the error itself, and how to resolve it by issuing a single MySQL command.

Technology Insights

Speed Up Indexing In Windows 7, Disable Windows 7 Search Indexer Throttling

A couple weeks ago I was testing some things on my Windows 7 laptop and needed to make sure that all of the data on my hard drive was included in Windows Search. After adding a large amount of data it seemed as though Windows Search was taking forever to index everything so I started investigating how to speed up the index process. There is a configurable option called “Disable Indexer Backoff” which can be disabled to allow Windows Search to index without any limitations though by default the Indexer Backoff is enabled and thus depending on the speed of your Windows 7 computer it can take quite awhile to index everything on the hard drive. Follow the directions below to speed up Windows Search indexing process by disabling Indexer Backoff.

Technology Insights

Windows 7 Indexing, Speed Up Windows Indexing Process

I have written some articles in the past related to Windows 7 Indexing though the articles have typically been about how to disable Windows Indexing or to not include specific directories, etc. Last night I was playing around with Windows 7 Indexing because of an issue I noticed with Microsoft Visio 2007 and one of the things I have noticed is how long it takes to complete the indexing process. Below is information on how to speed up the Windows 7 Indexing process.