Archive | Tech Tips RSS feed for this section

How to Sleep, Pause, Wait, or Stop your Python Code

14. March 2009

3 Comments

Here is the function to pause or stop your code in Python for a variable amount of time: PLAIN TEXT PYTHON: span style="color: #808080; font-style: italic;">#will sleep for 5 seconds #will sleep for half a second #will sleep for a tenth of a second This is useful if you are making numerous calls to web […]

Continue reading...

How To Remove Apple Software Update (for Windows)

29. December 2008

13 Comments

It just keeps popping up. How many times do I need to be asked if I want to install Safari? I was almost tempted to just so it it would stop popping up. Here is how you can disable Apple Software Update in Windows. It is set to pop up weekly via Scheduled Tasks. So […]

Continue reading...

Working with Null Characters in C# / .Net

20. December 2008

15 Comments

Here is one method to manipulate Null characters in C#: To Search a String for a Null character: mystring.Contains(Convert.ToChar(0x0).ToString() ); //The hexidecimal 0x0 is the null character To Replace all Null Characters in a String: mystring.Replace(Convert.ToChar(0x0).ToString(), ""); Why Do I Need This? It might help. I needed it when I got a nasty error message […]

Continue reading...

Slow Web Service calls to LocalHost in ASP.NET

5. November 2008

Comments Off on Slow Web Service calls to LocalHost in ASP.NET

Here's a few troubleshooting steps you can use to resolve slow calls to web services that are on your local host. 1. When I googled this issue, I found this link. It reveals a setting you can make in your web.config to force all calls to local web services to bypass your proxy (if you […]

Continue reading...

Resetting Your Password in Vista

16. October 2008

Comments Off on Resetting Your Password in Vista

Sometimes you need to reset your password. Sometimes you're lazy and forget to make a windows password recovery disk (yes I'm guilty). So here is the easiest way I found to get back into your system: http://home.eunet.no/~pnordahl/ntpasswd/ You need to be able burn a CD image or copy the contents on to a USB and […]

Continue reading...