Showing posts with label display. Show all posts
Showing posts with label display. Show all posts

Thursday, 10 September 2015

Windows (7) CMD prompt Run as Administrator Dims Display

No comments:
Windows (7) CMD prompt Run as Administrator Dims Display

I have a Run As Administrator CMD prompt which works fine (no dimming), however, even with UAC set to  "Never Notify", 
 
when I spawn a subsequent (child) cmd session, 
i.e. c:\LocalData> runas /user:{domain}\{adminusername}"cmd /k color 0E & echo ... etc"
... UAC would kick in and dim my display ... MOST annoying!

Copious searching failed to uncover a solution.

On a whim I tried moving UAC back just one level ...
 
... viola! No more screen dimming!

Sunday, 20 April 2014

How to Display HTML code on a Blogger blog post

No comments:
The seemingly simple task of showing someone a string of HTML or JavaScript code to use on their blog/web site can be a challenge because the blog compiler interprets the string to be displayed on the page as something it should process and turn into a web function.

One way around this is to enclose the code in a <textarea> 

To do this in Blogger, switch to the HTML view of your post and find where you want to display the code snippet.
insert a <textarea cols="70" rows="1"> tag followed by your code string and completed by the </textarea> tag so your post looks like this ...



Another way is to replace all actual < and > characters with their ASCII code equivalents &#60 ; and &#62 ; or &lt ; and &gt ; so your post looks like this ...