dstelow notes…

Archive for the ‘dev’ Category

Talking about Master-Content in Asp.net – How to set individual Head for each content page

leave a comment »

 How to dynamically add items to the Master page Head region, e.g. stylesheets from the Content page.

Quote

Master-Content in Asp.net – How to set individual Head for each content page – ASP.NET answers
For your scenario, do you think it possible and doable that we use code to
programmatically create and add html items into the <headersections of
content page? If so, you can consider dynamically creating those html
header items (as Clinton has mentioned) and add them into your content
page’s Header. .e.g.

===================================
protected void Page_Load(object sender, EventArgs e)
{ …

Written by dstelow

October 4, 2010 at 12:53 pm

Posted in dev

Talking about Hofstadter’s law – Wikipedia, the free encyclopedia

leave a comment »

 

Quote

Hofstadter’s law – Wikipedia, the free encyclopedia
Hofstadter’s Law is a self-referencing time-related adage, coined by Douglas Hofstadter and named after himself.

Hofstadter’s Law: It always takes longer than you expect, even when you take into account Hofstadter’s Law.

– Douglas Hofstadter, Gödel, Escher, Bach: An Eternal Golden Braid[1]Hofstadter’s Law was a part of Douglas Hofstadter’s 1979 book Gödel, Escher, Bach: An Eternal Golden Braid. It is often cited among programmers, especially in discussions of techniques to improve productivity, such as The Mythical Man-Month or extreme programming.

Written by dstelow

August 26, 2010 at 2:52 pm

Posted in dev

Talking about Mount an ISO image in Windows 7 or Vista – How-To Geek

leave a comment »

 I am trying this out to build out the new dev laptop (Windows 7). 

Quote

Mount an ISO image in Windows 7 or Vista – How-To Geek
The freeware utility from Microsoft to mount ISO Images doesn’t work in Windows 7 or Vista. Thankfully there’s another utility that does.The utility that we will use is called Virtual Clone Drive. This utility will let you mount .ISO, .CCD, .DVD, .IMG, .UDF and .BIN files. Download the utility and start the setup process.

Written by dstelow

August 26, 2010 at 10:19 am

Posted in dev

Changing the Internet Explorer ‘View Source’ editor

leave a comment »

My favorite text editor is the open source SciTE. It has built in Lua scripting support, is highly configurable, and is, of course, small and fast. To make it IE’s ‘View Source’ editor, a registry value must be changed. Put the following into a text file saved as ie-editor.reg and double-click the file in Windows explorer.


Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name]
@="C:\\Program Files\\Scintilla Text Editor\\scite.exe"

Alternatively the key can be editted directly via regedt32. In any case, make sure the path specified matches the location of scite.exe on your machine. If you prefer a different text editor, you can substitute the relevant filename and path info as required.

Written by dstelow

August 9, 2007 at 5:07 pm

Posted in dev