Monday, July 12, 2010
How can I update my user interface from a thread that did not create it?
Friday, March 19, 2010
Getting data from HTML
Monday, March 8, 2010
Easy way to scale images
- Installed Imagemagick ( exe
- I have cygwin to script, you'll need it.
- create script in directory with images:
- Run script.
Monday, March 1, 2010
AJAX JSON Information Fetch
Need a web page which fetches information given some arguments from a web service? here you go.
- Web Service reference
- JavaScript
- Web Service
| Address: | |
| City: | |
| State: | |
| Zip: |
Friday, February 5, 2010
IE + Flash + SSL = $%$#%@
Wednesday, February 3, 2010
Create App Pools via Command Line
You can create app pools via cmd line.
C:\Windows\System32\inetsrv>appcmd add apppool /name:NewAppPool
Done.
ref:http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe/
Tuesday, January 26, 2010
Throttling the Internet
Found out you can do this in Fiddler (http://www.fiddler2.com/fiddler2/).
To enable this you
- Click 'Rules'
- Click 'Performance'
- Enable 'Simulate Modem speeds'

What this does will download a KB of data and add a delay of 150ms by default. This downloads 10KB of every 1.5 seconds.
You can adjust this. If you want 100KB downloaded every second you need to change this delay setting to 10ms.
To adjust this:
- Click 'Rules'
- Click 'Customize Rules'
This will allow you to adjust the settings. NOTE: You can change all of fiddler's settings in the that opens, so save a backup of this. Click "Save As", close and reopen.
Find "if (m_SimulateModem)" in this file. The first occurrence will be for the upload delay, the second for the download delay. Changing the second to 'oSession["response-trickle-delay"] = "10"; '. This will deliver approximate speed of 100KB/sec.
Thought this would help.
Monday, January 25, 2010
Error 1001. The specified service has been marked for deletion.
Here's an FYI on deleting a windows service. If you have problems completely removing the service.
And get the error:
Error 1001. The specified service has been marked for deletion.
Make sure you don't the services MMC open.
After I closed the services MMC the service was deleted and I could continue installing again.
