<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>mahp</title>
	<atom:link href="http://epham.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://epham.wordpress.com</link>
	<description>...</description>
	<lastBuildDate>Thu, 25 Oct 2007 16:48:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='epham.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>mahp</title>
		<link>http://epham.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://epham.wordpress.com/osd.xml" title="mahp" />
	<atom:link rel='hub' href='http://epham.wordpress.com/?pushpress=hub'/>
		<item>
		<title>meld &#8211; syntax coloring</title>
		<link>http://epham.wordpress.com/2007/10/11/meld-syntax-coloring/</link>
		<comments>http://epham.wordpress.com/2007/10/11/meld-syntax-coloring/#comments</comments>
		<pubDate>Thu, 11 Oct 2007 21:27:11 +0000</pubDate>
		<dc:creator>tpham</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://epham.wordpress.com/2007/10/11/meld-syntax-coloring/</guid>
		<description><![CDATA[meld is a visual diff/merge tool for Linux. To enable syntax for some other extensions/mime types, edit file /usr/lib/meld/filediff.py def set_highlighting_enabled(buf, fname, enabled): extmap = { ... "pl": "application/x-perl", "pm": "application/x-perl", "Makefile": "text/x-makefile", "mk": "text/x-makefile", "js": "application/x-javascript", "sql": "text/x-sql"<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=epham.wordpress.com&amp;blog=482795&amp;post=24&amp;subd=epham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://meld.sourceforge.net/" target="_blank">meld</a> is a visual diff/merge tool for Linux. To enable syntax for some other extensions/mime types, edit file /usr/lib/meld/filediff.py</p>
<pre>
def set_highlighting_enabled(buf, fname, enabled):
extmap = {
...
  "pl": "application/x-perl",
  "pm": "application/x-perl",
  "Makefile": "text/x-makefile",
  "mk": "text/x-makefile",
  "js": "application/x-javascript",
  "sql": "text/x-sql"</pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/epham.wordpress.com/24/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/epham.wordpress.com/24/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/epham.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/epham.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/epham.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/epham.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/epham.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/epham.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/epham.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/epham.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/epham.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/epham.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/epham.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/epham.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/epham.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/epham.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=epham.wordpress.com&amp;blog=482795&amp;post=24&amp;subd=epham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://epham.wordpress.com/2007/10/11/meld-syntax-coloring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/429ca6033018ec2872b49f1111ffbef0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tpham</media:title>
		</media:content>
	</item>
		<item>
		<title>remote desktop/vnc in kubuntu</title>
		<link>http://epham.wordpress.com/2007/10/11/remote-desktopvnc-in-kubuntu/</link>
		<comments>http://epham.wordpress.com/2007/10/11/remote-desktopvnc-in-kubuntu/#comments</comments>
		<pubDate>Thu, 11 Oct 2007 16:58:36 +0000</pubDate>
		<dc:creator>tpham</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://epham.wordpress.com/2007/10/11/remote-desktopvnc-in-kubuntu/</guid>
		<description><![CDATA[krfb keeps crashing when I try to VNC to my Kubuntu box. The solution is below. I do it differently but adapt it as needed.  * Install x11vnc:sudo apt-get install x11vnc * Create a vncpassword if you haven't already: mkdir ~/.vnc x11vnc -storepasswd ~/.vnc/passwd * Create your config file in ~/.x11vncrc to look something like [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=epham.wordpress.com&amp;blog=482795&amp;post=23&amp;subd=epham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>krfb keeps crashing when I try to VNC to my Kubuntu box. The solution is below. I do it differently but adapt it as needed.</p>
<pre>
 * Install x11vnc:sudo apt-get install x11vnc

* Create a vncpassword if you haven't already:

mkdir ~/.vnc
x11vnc -storepasswd ~/.vnc/passwd

* Create your config file in ~/.x11vncrc to look something like this:

forever
localhost
rfbauth /home//.vnc/passwd
display :0

#You can use rfbport to specify a different port (default is 5900).
#Remove localhost if you plan on connecting from a second computer
#more info: man x11vnc

* Create a file "~/.kde/Autostart/x11vnc" with the following contents:

#!/bin/bash
/usr/bin/x11vnc &amp;

* Set the executable permissions on the autostart file:

chmod +x ~/.kde/Autostart/x11vnc

At this point you need to log out of KDE and back in to test your setup. I use SSH with port forwarding to establish my remote connections. That topic is beyond the scope of this document though. If you do not use port forwarding you will need to remove the "localhost" line from your .x11vncrc file.</pre>
<p>Source: <a href="https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/39046" target="_blank">https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/39046</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/epham.wordpress.com/23/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/epham.wordpress.com/23/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/epham.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/epham.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/epham.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/epham.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/epham.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/epham.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/epham.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/epham.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/epham.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/epham.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/epham.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/epham.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/epham.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/epham.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=epham.wordpress.com&amp;blog=482795&amp;post=23&amp;subd=epham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://epham.wordpress.com/2007/10/11/remote-desktopvnc-in-kubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/429ca6033018ec2872b49f1111ffbef0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tpham</media:title>
		</media:content>
	</item>
		<item>
		<title>video ram for storage</title>
		<link>http://epham.wordpress.com/2007/10/11/video-ram-for-storage/</link>
		<comments>http://epham.wordpress.com/2007/10/11/video-ram-for-storage/#comments</comments>
		<pubDate>Thu, 11 Oct 2007 16:53:24 +0000</pubDate>
		<dc:creator>tpham</dc:creator>
				<category><![CDATA[Bookmark]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://epham.wordpress.com/2007/10/11/video-ram-for-storage/</guid>
		<description><![CDATA[Interestingly you can use unused video memory as storage (&#8230; for swap) in Linux. Slashdot article pointed out it might be slow for AGP cards. Linky: http://gentoo-wiki.com/TIP_Use_memory_on_video_card_as_swap and http://hedera.linuxnews.pl/_news/2002/09/03/_long/1445.html Source: http://hardware.slashdot.org/hardware/07/10/11/1424247.shtml<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=epham.wordpress.com&amp;blog=482795&amp;post=22&amp;subd=epham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Interestingly you can use unused video memory as storage (&#8230; for swap) in Linux. Slashdot article pointed out it might be slow for AGP cards. Linky: <a href="http://gentoo-wiki.com/TIP_Use_memory_on_video_card_as_swap" target="_blank">http://gentoo-wiki.com/TIP_Use_memory_on_video_card_as_swap</a>  and <a href="http://hedera.linuxnews.pl/_news/2002/09/03/_long/1445.html" target="_blank">http://hedera.linuxnews.pl/_news/2002/09/03/_long/1445.html</a></p>
<p>Source: <a href="http://hardware.slashdot.org/hardware/07/10/11/1424247.shtml" target="_blank">http://hardware.slashdot.org/hardware/07/10/11/1424247.shtml</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/epham.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/epham.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/epham.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/epham.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/epham.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/epham.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/epham.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/epham.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/epham.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/epham.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/epham.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/epham.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/epham.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/epham.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/epham.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/epham.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=epham.wordpress.com&amp;blog=482795&amp;post=22&amp;subd=epham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://epham.wordpress.com/2007/10/11/video-ram-for-storage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/429ca6033018ec2872b49f1111ffbef0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tpham</media:title>
		</media:content>
	</item>
		<item>
		<title>bash/svn stuffs</title>
		<link>http://epham.wordpress.com/2007/08/30/bashsvn-stuffs/</link>
		<comments>http://epham.wordpress.com/2007/08/30/bashsvn-stuffs/#comments</comments>
		<pubDate>Thu, 30 Aug 2007 19:38:07 +0000</pubDate>
		<dc:creator>tpham</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SVN]]></category>

		<guid isPermaLink="false">http://epham.wordpress.com/2007/08/30/bashsvn-stuffs/</guid>
		<description><![CDATA[- remove unknown files $ svn st &#124; grep &#8220;^?&#8221; &#124; while read svnaction file\ do rm -frv $file done - or $ svn st &#124; sed &#8216;s/^? *//&#8217; &#124; xargs rm -frv<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=epham.wordpress.com&amp;blog=482795&amp;post=21&amp;subd=epham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>- remove unknown files</p>
<p>$ svn st | grep &#8220;^?&#8221;  | while read svnaction file\</p>
<p>do</p>
<p>rm -frv $file</p>
<p>done</p>
<p>- or</p>
<p>$ svn st | sed &#8216;s/^? *//&#8217; | xargs rm -frv</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/epham.wordpress.com/21/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/epham.wordpress.com/21/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/epham.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/epham.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/epham.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/epham.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/epham.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/epham.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/epham.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/epham.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/epham.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/epham.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/epham.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/epham.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/epham.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/epham.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=epham.wordpress.com&amp;blog=482795&amp;post=21&amp;subd=epham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://epham.wordpress.com/2007/08/30/bashsvn-stuffs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/429ca6033018ec2872b49f1111ffbef0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tpham</media:title>
		</media:content>
	</item>
		<item>
		<title>emulation, virtualization, for free &amp; more</title>
		<link>http://epham.wordpress.com/2007/01/25/virtualization-for-free-more/</link>
		<comments>http://epham.wordpress.com/2007/01/25/virtualization-for-free-more/#comments</comments>
		<pubDate>Fri, 26 Jan 2007 05:52:08 +0000</pubDate>
		<dc:creator>tpham</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://epham.wordpress.com/2007/01/25/virtualization-for-free-more/</guid>
		<description><![CDATA[Been there, done that  Vmware Player Vmware Server Appliances Qemu OS Images Microsoft Virtual Server Others Xen InnoTek VirtualBox Cooperative Linux<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=epham.wordpress.com&amp;blog=482795&amp;post=18&amp;subd=epham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Been there, done that </p>
<ul>
<li><a href="http://www.vmware.com/products/free_virtualization.html">Vmware Player</a></li>
<li><a href="http://www.vmware.com/products/free_virtualization.html">Vmware Server</a>
<ul>
<li><a href="http://www.vmware.com/vmtn/appliances/index-r.html">Appliances</a></li>
</ul>
</li>
<li><a href="http://fabrice.bellard.free.fr/qemu/">Qemu</a>
<ul>
<li><a href="http://www.oszoo.org">OS Images</a></li>
</ul>
</li>
<li><a href="http://www.microsoft.com/windowsserversystem/virtualserver/default.mspx">Microsoft Virtual Server</a></li>
</ul>
<p>Others</p>
<ul>
<li><a href="http://www.xensource.com/">Xen</a></li>
<li><a href="http://www.virtualbox.org/">InnoTek VirtualBox</a></li>
<li><a href="http://www.colinux.org/">Cooperative Linux</a></li>
</ul>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/epham.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/epham.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/epham.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/epham.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/epham.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/epham.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/epham.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/epham.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/epham.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/epham.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/epham.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/epham.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/epham.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/epham.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/epham.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/epham.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=epham.wordpress.com&amp;blog=482795&amp;post=18&amp;subd=epham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://epham.wordpress.com/2007/01/25/virtualization-for-free-more/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/429ca6033018ec2872b49f1111ffbef0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tpham</media:title>
		</media:content>
	</item>
		<item>
		<title>How to fix Security Validation errors in Sharepoint asp.net page</title>
		<link>http://epham.wordpress.com/2007/01/22/how-to-fix-security-validation-errors-in-sharepoint-aspnet-page/</link>
		<comments>http://epham.wordpress.com/2007/01/22/how-to-fix-security-validation-errors-in-sharepoint-aspnet-page/#comments</comments>
		<pubDate>Mon, 22 Jan 2007 18:02:49 +0000</pubDate>
		<dc:creator>tpham</dc:creator>
				<category><![CDATA[Sharepoint 2003]]></category>

		<guid isPermaLink="false">http://epham.wordpress.com/2007/01/22/how-to-fix-security-validation-errors-in-sharepoint-aspnet-page/</guid>
		<description><![CDATA[Problem: I got &#8220;The security validation for this page is invalid&#8221; when submitting web form For reasons of security, Microsoft Windows SharePoint Services by default does not allow you to make posts from a Web application to modify the contents of the database unless you include security validation on the page making the request. Two [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=epham.wordpress.com&amp;blog=482795&amp;post=17&amp;subd=epham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Problem: I got &#8220;The security validation for this page is invalid&#8221; when submitting web form</p>
<p>For reasons of security, Microsoft Windows SharePoint Services by default does not allow you to make posts from a Web application to modify the contents of the database unless you include security validation on the page making the request. Two kinds of security validation can be used, depending on whether the code on the page applies globally to a virtual server or Windows SharePoint Services deployment, or to a single site or site collection within the deployment.</p>
<p><strong>Security Validation Type 1:</strong></p>
<p>Updating data for a site or site collection. Two steps to be performed.</p>
<p><em><u>Step 1:</u></em></p>
<p>Add a page directive and a FormDigest control to the page making the request. The following directive registers the Microsoft.SharePoint.WebControls namespace:</p>
<p>&lt;%@ Register Tagprefix=&#8221;SharePoint&#8221; Namespace=&#8221;Microsoft.SharePoint.WebControls&#8221;<br />
   Assembly=&#8221;Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral,<br />
   PublicKeyToken=71e9bce111e9429c&#8221; %&gt;</p>
<p><em><u>Step 2:</u></em></p>
<p>Include a FormDigest control within the form as follows:</p>
<p>&lt;form id=&#8221;Form1&#8243; method=&#8221;post&#8221; runat=&#8221;server&#8221;&gt;<br />
   &lt;SharePoint:FormDigest runat=&#8221;server&#8221;/&gt;<br />
   &lt;asp:Button id=&#8221;Button1&#8243; style=&#8221;Z-INDEX: 101; LEFT: 282px; POSITION: absolute;<br />
      TOP: 282px&#8221; runat=&#8221;server&#8221; Text=&#8221;Button&#8221;&gt;&lt;/asp:Button&gt;<br />
&lt;/form&gt;</p>
<p>Inserting this control on an ASPX page generates a security validation, or message digest, to help prevent the type of attack wherein a user is tricked into posting data to the server without knowing it. The security validation is specific to a user, site, and time period and expires after a configurable amount of time. When the user requests a page, the server returns the page with security validation inserted. When the user then submits the form, the server verifies that the security validation has not changed. For more information about this control, see the FormDigest class.<br />
<strong>Security Validation Type 2:</strong></p>
<p>Updating global data</p>
<p>Web applications that use methods of the Microsoft.SharePoint.Administration namespace, such as for creating or deleting sites and for global administrative customizations, require a different security validation. Add the following code to the .vb r .cs file in an application:</p>
<p>SPGlobalAdmin globalAdmin = new SPGlobalAdmin(); <br />
Context.Items[SPGlobalAdmin.RequestFromAdminPort] = true; <br />
Page.RegisterHiddenField(&#8220;__REQUESTDIGEST&#8221;, globalAdmin.AdminFormDigest);</p>
<p>This security validation uses the AdminFormDigest property of the SPGlobalAdmin class to insert a message digest on the page in the browser, registering the digest as a hidden field through the RegisterHiddenField method of the System.Web.UI.Page class. In addition, the RequestFromAdminPort field specifies that the context of the request is through the administrative port</p>
<p>Source: <a target="_blank" href="http://msd2d.com/Content/Tip_viewitem_03NoAuth.aspx?section=Sharepoint&amp;id=15A38A41-F5F1-4FDD-B5D3-6F80E54D988F">MSD2D</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/epham.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/epham.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/epham.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/epham.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/epham.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/epham.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/epham.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/epham.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/epham.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/epham.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/epham.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/epham.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/epham.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/epham.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/epham.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/epham.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=epham.wordpress.com&amp;blog=482795&amp;post=17&amp;subd=epham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://epham.wordpress.com/2007/01/22/how-to-fix-security-validation-errors-in-sharepoint-aspnet-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/429ca6033018ec2872b49f1111ffbef0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tpham</media:title>
		</media:content>
	</item>
		<item>
		<title>Gas &#8211; which is good, tips, etc&#8230;</title>
		<link>http://epham.wordpress.com/2007/01/20/gas-which-is-good-tips-etc/</link>
		<comments>http://epham.wordpress.com/2007/01/20/gas-which-is-good-tips-etc/#comments</comments>
		<pubDate>Sun, 21 Jan 2007 04:15:57 +0000</pubDate>
		<dc:creator>tpham</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://epham.wordpress.com/2007/01/20/gas-which-is-good-tips-etc/</guid>
		<description><![CDATA[Grades of Gasoline So I asked him what&#8217;s the benefit of having midgrade, or 89 octane, gasoline? No cars ask that the minimum octane level should be 89&#8230;most say the car needs a minimum of 87 or 91 octane. He reported two reasons. 1. Psychologically, people think 89 is better than 87 because it has [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=epham.wordpress.com&amp;blog=482795&amp;post=16&amp;subd=epham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Grades of Gasoline<br />
</strong>So I asked him what&#8217;s the benefit of having midgrade, or 89 octane, gasoline? No cars ask that the minimum octane level should be 89&#8230;most say the car needs a minimum of 87 or 91 octane. He reported two reasons.</p>
<p>1. Psychologically, people think 89 is better than 87 because it has a higher octane number. Partially true, but not quite. People think 89 is better because they think it is a cleaner gas and/or will help your car engine run cleaner and smoother. All is false, except the last point, which is semi-true. A higher octane gas does not clean your engine better&#8230;the cleaning agents are due to the additives, which is normally added in all grades. If you car only requires 87 gas, putting in 89 won&#8217;t make your engine cleaner. For the most part, it won&#8217;t even make your car run smoother, unless you have a very old car. This leads to the 2nd point.</p>
<p>2. He added that the ONLY time you ever need to use grade 89 gasoline is if you have a really old car, and the car starts knocking. The engine may need a higher octane to reduce the knocking due to the compression ratio. If 89 doesn&#8217;t get rid of the engine knocking, you will be forced to use 91 octane and above. Most cars these days have knock sensors that prevent knocking if a lower octane is used, so you shouldn&#8217;t experience knocking at all. Since that is the case, using 89 octane will not help your car at all. Only two octanes are needed, 87 and 91.</p>
<p> <strong>Additives<br />
</strong>I wrote about additives in my previous article <a href="http://ramblingnews.blogspot.com/2006/11/how-to-save-gas.html">Tips to Save Gas</a> in point number 1. I wanted to know how important these additives are, and if they really do what they are supposed to do, which is keep your engine clean. This is what he had to say.</p>
<p>The additives are important because they really do clean your engine. Examples are Chevron&#8217;s Techron and Shell&#8217;s V-Power. BUT, it is NOT NEEDED EVERYTIME. This means, you DON&#8217;T have to put in gas with these cleaning additives everytime you fill up. It won&#8217;t hurt your car if you do, but also isn&#8217;t necessary to put it in so frequently. He told me that you only need to use these types of gas every once in a while. For example, you can put in gas from Costco or other gas stations, then every month or two, put in gas from the big companies such as 76, Shell, Chevron, etc. This will ensure that your car engine will stay clean, AND you will save big bucks by not using big gas companies which usually charge more than others.</p>
<h3 class="post-title">How To (Cars): Tips to Save Gas</h3>
<p>3. Instead, let go of the gas pedal and allow your car to coast and naturally slow down due to friction.</p>
<p>4. Have your windows down if you are driving below 40 mph, and use your A/C with the windows up if you are driving over 40 mph.</p>
<p>5. Keep your tires inflated to its proper pressure.</p>
<p>7. Remove all unwanted things in your trunk and back seat. </p>
<p>Sources:<br />
<a href="http://ramblingnews.blogspot.com/2007/01/random-tips-truth-on-gas.html">http://ramblingnews.blogspot.com/2007/01/random-tips-truth-on-gas.html</a><br />
<a href="http://ramblingnews.blogspot.com/2006/11/how-to-save-gas.html">http://ramblingnews.blogspot.com/2006/11/how-to-save-gas.html</a><br />
<a href="http://ramblingnews.blogspot.com/2006/12/how-to-more-ways-to-save-gas-part-ii.html">http://ramblingnews.blogspot.com/2006/12/how-to-more-ways-to-save-gas-part-ii.html</a></p>
<p>Link: <a href="http://www.toptiergas.com/">http://www.toptiergas.com</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/epham.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/epham.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/epham.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/epham.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/epham.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/epham.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/epham.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/epham.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/epham.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/epham.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/epham.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/epham.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/epham.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/epham.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/epham.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/epham.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=epham.wordpress.com&amp;blog=482795&amp;post=16&amp;subd=epham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://epham.wordpress.com/2007/01/20/gas-which-is-good-tips-etc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/429ca6033018ec2872b49f1111ffbef0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tpham</media:title>
		</media:content>
	</item>
		<item>
		<title>Updating webparts in the GAC without using IISReset</title>
		<link>http://epham.wordpress.com/2007/01/18/updating-webparts-in-the-gac-without-using-iisreset/</link>
		<comments>http://epham.wordpress.com/2007/01/18/updating-webparts-in-the-gac-without-using-iisreset/#comments</comments>
		<pubDate>Thu, 18 Jan 2007 19:24:09 +0000</pubDate>
		<dc:creator>tpham</dc:creator>
				<category><![CDATA[Sharepoint 2003]]></category>

		<guid isPermaLink="false">http://epham.wordpress.com/2007/01/18/updating-webparts-in-the-gac-without-using-iisreset/</guid>
		<description><![CDATA[  When deploying new versions of Webparts to the GAC, the general recommendation is to subsequentially run IISReset, since Sharepoint will not reload GAC-dlls as it would, had they been deployed to /bin. However, for a production system this is a bit drastic (as it will cause all users to experience the dreaded &#8220;Service Unavailable&#8221; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=epham.wordpress.com&amp;blog=482795&amp;post=15&amp;subd=epham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>  When deploying new versions of Webparts to the GAC, the <a href="http://www.bluedoglimited.com/SharePointThoughts/ViewPost.aspx?ID=102">general recommendation</a> is to subsequentially run IISReset, since Sharepoint will not reload GAC-dlls as it would, had they been deployed to /bin.</p>
<p>However, for a production system this is a bit drastic (as it will cause all users to experience the dreaded &#8220;Service Unavailable&#8221; while IIS restarts), so I have been looking for alternatives.</p>
<p>It turns out that in order to reload a GAC-dll, all that is needed is to force an <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iissdk/html/d50e564b-0793-48e5-b624-b2c9b4fae087.asp">application pool recycle</a> for the application pool Sharepoint is running within (default is MSSharePointPortalAppPool).<br />
This can be accomplished using the MMC, or by running the following script (useful for webpart installers).</p>
<pre>
 Option Explicit
 '*** spsapppoolrecycle.vbs
 '*** Script to recycle Sharepoint Portal Server application pool
 '*** For use when deploying updated version of Webparts in the GAC
 '*** Author: Michael Christensen, mac@landscentret.dk
 '*** Provided AS IS with no warranties
 '*** Heavily based on this posting by David Wang:
 '*** http://tinyurl.com/4k26n
 Const WEBSITEID = 1
 Dim objApp
 Dim AppPoolId
 Dim objAppPool
 Set objApp = GetObject("IIS://localhost/w3svc/" &amp; WEBSITEID  &amp; "/root")
 AppPoolId = objApp.AppPoolId
 WScript.Echo "AppPoolID: " &amp; AppPoolId
 Set objAppPool = GetObject( "IIS://localhost/w3svc/AppPools/" + AppPoolId )
 objAppPool.Recycle()
 WScript.Echo "AppPool recycled."</pre>
<p>The script assumes that Sharepoint is installed on the virtuel server with ID 1. This will usually be the case, otherwise the actual ID could probably be determined programmatically.</p>
<p>Source: <a href="http://dotnetforum.dk/blogs/mac/archive/2005/07/18/65920.aspx">http://dotnetforum.dk/blogs/mac/archive/2005/07/18/65920.aspx</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/epham.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/epham.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/epham.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/epham.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/epham.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/epham.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/epham.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/epham.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/epham.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/epham.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/epham.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/epham.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/epham.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/epham.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/epham.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/epham.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=epham.wordpress.com&amp;blog=482795&amp;post=15&amp;subd=epham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://epham.wordpress.com/2007/01/18/updating-webparts-in-the-gac-without-using-iisreset/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/429ca6033018ec2872b49f1111ffbef0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tpham</media:title>
		</media:content>
	</item>
		<item>
		<title>Manage windows services with sc</title>
		<link>http://epham.wordpress.com/2006/12/06/manage-windows-services-with-sc/</link>
		<comments>http://epham.wordpress.com/2006/12/06/manage-windows-services-with-sc/#comments</comments>
		<pubDate>Wed, 06 Dec 2006 23:41:58 +0000</pubDate>
		<dc:creator>tpham</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://epham.wordpress.com/2006/12/06/manage-windows-services-with-sc/</guid>
		<description><![CDATA[Create/remove/list windows services http://support.microsoft.com/kb/251192<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=epham.wordpress.com&amp;blog=482795&amp;post=14&amp;subd=epham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul>
<li>Create/remove/list windows services
<ul>
<li><a href="http://support.microsoft.com/kb/251192">http://support.microsoft.com/kb/251192</a></li>
</ul>
</li>
</ul>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/epham.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/epham.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/epham.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/epham.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/epham.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/epham.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/epham.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/epham.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/epham.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/epham.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/epham.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/epham.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/epham.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/epham.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/epham.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/epham.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=epham.wordpress.com&amp;blog=482795&amp;post=14&amp;subd=epham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://epham.wordpress.com/2006/12/06/manage-windows-services-with-sc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/429ca6033018ec2872b49f1111ffbef0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tpham</media:title>
		</media:content>
	</item>
		<item>
		<title>Sharepoint &#8211; email to all site&#8217;s users</title>
		<link>http://epham.wordpress.com/2006/11/30/sharepoint-email-to-all-sites-users/</link>
		<comments>http://epham.wordpress.com/2006/11/30/sharepoint-email-to-all-sites-users/#comments</comments>
		<pubDate>Thu, 30 Nov 2006 18:52:08 +0000</pubDate>
		<dc:creator>tpham</dc:creator>
				<category><![CDATA[Sharepoint 2003]]></category>

		<guid isPermaLink="false">http://epham.wordpress.com/2006/11/30/sharepoint-email-to-all-sites-users/</guid>
		<description><![CDATA[Save file as c:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\LAYOUTS\1033\email.aspx. It&#8217;ll be accessible from http://portal/sites/***/_layouts/1033/email.aspx, ie. append /_layouts/1033/email.aspx to the Url. On the top, import the required classes  &#60;%@ Page language=&#8221;C#&#8221;     %&#62; &#60;%@ Register Tagprefix=&#8221;SharePoint&#8221; Namespace=&#8221;Microsoft.SharePoint.WebControls&#8221; Assembly=&#8221;Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&#8221; %&#62; &#60;%@ Register Tagprefix=&#8221;Utilities&#8221; Namespace=&#8221;Microsoft.SharePoint.Utilities&#8221; Assembly=&#8221;Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&#8221; %&#62; &#60;%@ Import Namespace=&#8221;Microsoft.SharePoint&#8221; %&#62; &#60;%@ Import Namespace=&#8221;System.Text&#8221; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=epham.wordpress.com&amp;blog=482795&amp;post=13&amp;subd=epham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Save file as <strong><em>c:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\LAYOUTS\1033\email.aspx</em></strong>. It&#8217;ll be accessible from <strong><em>http://portal/sites/***/_layouts/1033/email.aspx</em></strong>, ie. append <em>/_layouts/1033/email.aspx</em> to the Url. On the top, import the required classes</p>
<p><span style="font-family:Courier,'Courier New',monospace;"><br />
 &lt;%@ Page language=&#8221;C#&#8221;     %&gt;<br />
&lt;%@ Register Tagprefix=&#8221;SharePoint&#8221; Namespace=&#8221;Microsoft.SharePoint.WebControls&#8221; Assembly=&#8221;Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&#8221; %&gt;<br />
&lt;%@ Register Tagprefix=&#8221;Utilities&#8221; Namespace=&#8221;Microsoft.SharePoint.Utilities&#8221; Assembly=&#8221;Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&#8221; %&gt;<br />
&lt;%@ Import Namespace=&#8221;Microsoft.SharePoint&#8221; %&gt;<br />
&lt;%@ Import Namespace=&#8221;System.Text&#8221; %&gt;<br />
&lt;%@ Register Tagprefix=&#8221;WebPartPages&#8221; Namespace=&#8221;Microsoft.SharePoint.WebPartPages&#8221; Assembly=&#8221;Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&#8221; %&gt;<br />
&lt;% SPWeb spWeb = SPControl.GetContextWeb(Context); %&gt;<br />
</span></p>
<p> Then somewhere get the users and generate links<br />
<span style="font-family:Courier,'Courier New',monospace;"><br />
&lt;%<br />
StringBuilder emails = new StringBuilder();<br />
foreach (SPUser user in spWeb.SiteUsers)<br />
{<br />
 if (user.Email != null &amp;&amp; user.Email.Length &gt; 1)<br />
 {<br />
  emails.Append(user.Email + &#8220;;&#8221;);<br />
 }<br />
}<br />
%&gt;<br />
&lt;a href=&#8221;mailto:&lt;%=emails.ToString()%&gt;&#8221; mce_href=&#8221;mailto:&lt;%=emails.ToString()%&gt;&#8221; &gt;Send email to&#8230;&lt;/a&gt;<br />
&lt;a href=&#8221;mailto:?cc=&lt;%=emails.ToString()%&gt;&#8221; mce_href=&#8221;mailto:?cc=&lt;%=emails.ToString()%&gt;&#8221; &gt;send email cc&#8230;&lt;/a&gt;</span></p>
<p>Don&#8217;t forget to dispose the objects<br />
<span style="font-family:Courier,'Courier New',monospace;"><br />
&lt;%<br />
spWeb.Dispose(); emails = null;<br />
%&gt;<br />
</span></p>
<p>Sample file: <a href="http://epham.files.wordpress.com/2006/11/email.txt" title="email.aspx">email.aspx</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/epham.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/epham.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/epham.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/epham.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/epham.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/epham.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/epham.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/epham.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/epham.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/epham.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/epham.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/epham.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/epham.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/epham.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/epham.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/epham.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=epham.wordpress.com&amp;blog=482795&amp;post=13&amp;subd=epham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://epham.wordpress.com/2006/11/30/sharepoint-email-to-all-sites-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/429ca6033018ec2872b49f1111ffbef0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tpham</media:title>
		</media:content>
	</item>
		<item>
		<title>Remote Desktop / Terminal Services Tip</title>
		<link>http://epham.wordpress.com/2006/11/21/remote-desktop-terminal-services-tip/</link>
		<comments>http://epham.wordpress.com/2006/11/21/remote-desktop-terminal-services-tip/#comments</comments>
		<pubDate>Tue, 21 Nov 2006 19:47:50 +0000</pubDate>
		<dc:creator>tpham</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://epham.wordpress.com/2006/11/21/remote-desktop-terminal-services-tip/</guid>
		<description><![CDATA[If I can&#8217;t gain access to a server using Terminal Services because both sessions are used up (happen quite often). I can use another server to check the status of the first one. As long as the logged in user has administrative rights on the non-accessible machine I would run this: qwinsta /server:12.12.12.12 Where 12.12.12.12 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=epham.wordpress.com&amp;blog=482795&amp;post=11&amp;subd=epham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If I can&#8217;t gain access to a server using Terminal Services because both sessions are used up (happen quite often). I can use another server to check the status of the first one. As long as the logged in user has administrative rights on the non-accessible machine I would run this:</p>
<p><span style="font-family:Courier,'Courier New',monospace;">qwinsta /server:12.12.12.12</span></p>
<p>Where 12.12.12.12 is the IP address or name of the non-accessible machine.</p>
<p>This will display something like this:</p>
<p><span style="font-family:Courier,'Courier New',monospace;"><br />
&gt; qwinsta /server:12.12.12.12<br />
SESSIONNAME USERNAME ID STATE TYPE DEVICE<br />
console 0 Conn wdcon<br />
rdp-tcp 65536 Listen rdpwd<br />
rdp-tcp#470 Bob 1 Active rdpwd<br />
rdp-tcp#471 Jane 3 Active rdpwd<br />
</span></p>
<p>Now I know that Bob and Jane are the two that are logged in. Since Jane left the office 20 minutes ago I know that she forgot to log off. I don&#8217;t know where Bob is but I only need one session so I&#8217;ll ignore him for now.</p>
<p>To disconnect Jane&#8217;s session I would type this:</p>
<p><span style="font-family:Courier,'Courier New',monospace;">rwinsta /server:12.12.12.12 3</span></p>
<p>Notice the 3 which is the session ID I found from using <em>qwinsta</em> above.</p>
<p>Source: <a target="_blank" href="http://weblogs.asp.net/owscott/archive/2003/12/30/46776.aspx">Managing Terminal Services Sessions Remotely</a></p>
<p><a target="_blank" href="http://www.code4ward.net/CS2/">Royal TS</a>: Easy Remote Desktop Connections. Better than Windows&#8217; Remote Desktop MMC snap-in. Free and even come with source code (C#.NET)</p>
<p><a href="http://www.visionapp.com/111.0.html?#get_URL_ID_TOK#">visionapp Remote Desktop</a>. vRD is a tool which allows the management of RDP connections to servers.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/epham.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/epham.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/epham.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/epham.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/epham.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/epham.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/epham.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/epham.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/epham.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/epham.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/epham.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/epham.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/epham.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/epham.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/epham.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/epham.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=epham.wordpress.com&amp;blog=482795&amp;post=11&amp;subd=epham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://epham.wordpress.com/2006/11/21/remote-desktop-terminal-services-tip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/429ca6033018ec2872b49f1111ffbef0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tpham</media:title>
		</media:content>
	</item>
		<item>
		<title>Useful Firefox 2 Extensions</title>
		<link>http://epham.wordpress.com/2006/11/11/useful-firefox-2-extensions/</link>
		<comments>http://epham.wordpress.com/2006/11/11/useful-firefox-2-extensions/#comments</comments>
		<pubDate>Sat, 11 Nov 2006 16:39:38 +0000</pubDate>
		<dc:creator>tpham</dc:creator>
				<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://epham.wordpress.com/2006/11/11/useful-firefox-2-extensions/</guid>
		<description><![CDATA[All-in-One Gestures NoScript OpenDownload Paste and Go PDF Download Stop-or-Reload button Super DragAndGo Aavark Url: https://addons.mozilla.org/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=epham.wordpress.com&amp;blog=482795&amp;post=10&amp;subd=epham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul>
<li>All-in-One Gestures</li>
<li>NoScript</li>
<li>OpenDownload</li>
<li>Paste and Go</li>
<li>PDF Download</li>
<li>Stop-or-Reload button</li>
<li><a href="http://mozilla.code65536.com/" target="_blank">Super DragAndGo</a></li>
<li><a href="http://karmatics.com/aardvark/" target="_blank">Aavark</a></li>
</ul>
<p>Url: <a href="https://addons.mozilla.org/" target="_blank">https://addons.mozilla.org/</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/epham.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/epham.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/epham.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/epham.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/epham.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/epham.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/epham.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/epham.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/epham.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/epham.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/epham.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/epham.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/epham.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/epham.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/epham.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/epham.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=epham.wordpress.com&amp;blog=482795&amp;post=10&amp;subd=epham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://epham.wordpress.com/2006/11/11/useful-firefox-2-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/429ca6033018ec2872b49f1111ffbef0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tpham</media:title>
		</media:content>
	</item>
	</channel>
</rss>
