Category Archives: techblog

This is where I log my progress with multiple internet website development related categories.

Speeding up Windows Vista file transfers over the network.

Speed up Windows Vista File Transfers over the NetworkVista performs very fast on advanced networking environment, but introduced too much overhead in normal home office environment, you just need to disable some settings to reduce the overhead, all is done in 2 simple steps.

Unless you equipped with advanced PC and networking devices, your can expect performance dropped by 20~50% during files transfer as compare to XP, so lets’ find the reasons and solve the problems now:

  • 1. Remote Differential Compression – This protocol calculates, compress and only transfer files with updated version, hence files synchronization works extremely well on lower bandwidth networking, but slows down normal networking with extra overheads in compression. Using a faster processor can improve Remote Differential Compression as Vista trade processing power over networking bandwidth by compressing the data before transferring it. You should always disable this features on older and slower computer, because you have more bandwidth than processing power!
  • 2. TCP Auto Tuning Features – This feature maximize your gigabit networking by automatic and constantly adjusting itself to adapt to the maximum bandwidth available by your hardware; It performs very well on high bandwidth environment, but not very good on low bandwidth networking due to extra overheads of detection, and also went bad when using unsupported hardware such as firewall or routers.
    You can disable these features and speed up Vista network file transfers  20% to 30%. Just remember to enable them if you upgrade your computer or networking in the future.

To disable Remote Differential Compression, go to Control Panel -> Programs -> Turn Windows Features On or Off, uncheck Remote Differential Compression and then press OK button.

To disable TCP Auto tuning, open run by holding  the Windows key and pressing R.  Then type CMD. exe then hold Ctrl & Shift while pressing Enter to run as Administrator. At the command prompt type netsh interface tcp set global autotuning=disabled  …  Tada!  Now type exit to return to Windows.

If you’re unsure whether or not autotuning is already disabled, use command: netsh interface tcp show global at command prompt.

Autotuning Disabled

Autotuning Enabled






If you decided to turn on this feature after upgraded your hardware, do the same but type netsh interface tcp set global autotuning=normal to turn on the TCP auto tuning feature.

You can try to send some files now, you should notice more improvement on your file transmission, your file is send across network or disk much faster!

Updating timezone information on my VPS

Haha because of having a VPS I cannot set the time on it, from what I can tell.  All though I cannot change the time, i can update the timezone.  This is a very easy to do command:

export TZ=America/Chicago

BAM! After running this command I run the command:  date   to make sure it worked.

Enabling DOMDocument in php

How to enable DOMDocument in php.

Putty SSH Shell Login

Well you can take the time to recompile php, but that’s just a pain. Now if you have SSH Shell access to your linux server running php, this can be pretty easy. I’m running CentOS 5, let me know if this doesn’t work for you. Run the following command in your shell (logged in with root):

BAM! Let it find all the files needed, say YES to download, then let it install and restart your apache to reload all your php and it’s modules.

Using SSH without using or needing a password

Linux SSH keygen -t DSA command executionI’ve tried many methods now of using SSH keys to login without a password.  Needless to say, I had to mix a couple methods to make this work.  This isn’t that hard.

Step 1) You’re on a linux machine (or putty’d into a linux box) trying to SSH into a remote host without having to use a password.   In my case i need to run automated commands to upload files to a remote host.  You need to create a SSH key for both machine.  Do this by running the following command:

The default file should already be set, press enter.

The passphrase will remain empty (since you don’t want to type it every time you log in) Press Enter again.

Then press Enter for a third time to confirm the empty passphrase.

It should look something like the picture above.

Step 2) Upload the SSH Public Key to the remote server.  Use the following command:

This will upload the file to your remote and will place the pub key file in .ssh/authorized_keys.

upload ssh key to remote host

Now type “logout” to get out of your remote host’s SSH.  Then log back in via:

It shouldn’t ask for a password anymore.  If any of this information doesn’t apply to you, or you have any questions please feel free to ask.  Thanks for reading.

Thanks to the 2 sources that I used to come up with my own, thank you:

~Steven Kohlmeyer

WordPress Starter Plugin

Everything you need to write your own plugin. This is the starter solution. It shows how to plugin with your own class to wordpress, already set up custom functions. This is version 1 of this empty plugin. The admin menu (with a submenu), a settings page, another settings page. You can do just about anything your heart desires with wordpress, and plugging into it is pretty easy. Check this out:

WordPress custom menu disappear on home page when using custom post types and/or taxonomies.

Wordpress custom menu disappears on home page.

As you’re developing a theme, you try one of WordPress’s newer options: Custom Post Types.  Searching the internet you stumble upon Justin Tadlock’s blog.  You try his way of showing custom post types on your home page of your wordpress blog.  Then boom. You’re custom menu is not showing on your homepage.  Now what do you do.

I spent about a week going back and forth with my custom taxonomies, and WordPress 3.0’s new custom menu editor trying to figure out why the hell my home page isn’t showing my custom menu.  It shows all on my other pages.

Out of all the code, from all over the internet, that I used.  I had put the following code in my functions.php hoping to show my custom post types.

This code works, unless you’re using a custom menu you’ve made in the back end of wordpress.  This will for whatever reason (to which I have not investigated) make your custom menu’s disappear from your home page faster than a rabbit can crap.  So I’ve spent a whole week investigating my custom taxonomies, and wordpress’s custom menu editor, when the only thing I messed up was using Justin Tadlock’s code.

Here is what you do instead of putting that jargon of a excuse for code into your functions.php:

Pick any of your template files that show your posts or pages: pages, loop, home, index, or whatever single-{taxonomy name}.php you want to edit and add your custom post types to and add the following code above the loop:

or whatever you needs may be:

Happy coding, and careful who’s blog you read 😉 Thanks JustinTadlock I was stuck on that crap for a week.

~Steven Kohlmeyer

Microsoft SuperFetch

Intelligent Security? Or a Demon Service? Here’s an article i strongly agree with…

I suggest stopping superfetch from slowing network file copies down.

Related Posts