Archive | March, 2009

How to Manually Uninstall a Broken Silverlight

28. March 2009

3 Comments

I couldn’t run the latest Silverlight because an older beta version was installed. I kept getting an error during the install process that vaguely suggested removing the old version. So I went to Add/Remove Programs and I got an error when trying to remove it. After some research I found some instructions on how to […]

Continue reading...

Taking Shortcuts with Internal Style Sheets

22. March 2009

Comments Off on Taking Shortcuts with Internal Style Sheets

As simple as it is, I can never remember the syntax for defining a block of css within html. It is of course better practice to put your css in a seperate file and reference it. However, here is sample snippet to define internal style(s): PLAIN TEXT HTML: <style type="text/css"> body {color: blue} a {color: […]

Continue reading...

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: import time time.sleep(5) #will sleep for 5 seconds   time.sleep(.5) #will sleep for half a second   time.sleep(.1) #will sleep for a tenth of a second This is useful if you are making numerous […]

Continue reading...