<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5790876332776215482</id><updated>2024-09-06T03:52:18.332+05:30</updated><category term="Adobe"/><category term="Microsoft"/><category term="Web Applications"/><category term=".Net"/><category term="AIR"/><category term="AS3"/><category term="C#"/><category term="actionscript"/><category term="error"/><category term="csharp"/><category term="CS5"/><category term="Database"/><category term="Embed Font"/><category term="Flash CS4"/><category term="Flash CS5"/><category term="Font"/><category term="JVM Max Heap Size"/><category term="Java"/><category term="MySql"/><category term="PHP"/><category term="service"/><category term="1275"/><category term="5005"/><category term="64 bit"/><category term="Apache"/><category term="Apache Tomcat"/><category term="Bonjour"/><category term="C3"/><category term="CE PB6"/><category term="CS4"/><category term="CSS"/><category term="DKIM"/><category term="DNS"/><category term="Embedded"/><category term="Form Designer"/><category term="GPS"/><category term="GPSGate"/><category term="IIS"/><category term="Italian"/><category term="JAVA_TOOL_OPTIONS"/><category term="JDK"/><category term="JDK 1.4"/><category term="JDK 1.5"/><category term="LiveCycle"/><category term="Mime Type"/><category term="PB6"/><category term="PHP5.3"/><category term="POSIX time"/><category term="Recipe"/><category term="Recipes"/><category term="SPAM"/><category term="SPF"/><category term="Security"/><category term="Tomato"/><category term="Tomcat"/><category term="URL"/><category term="VC6"/><category term="Vella Stuff"/><category term="Webserver"/><category term="Windows 7"/><category term="Windows CE"/><category term="Windows CE6"/><category term="antivirus"/><category term="basil"/><category term="browser"/><category term="byte code"/><category term="cast"/><category term="casting"/><category term="center align"/><category term="context menu"/><category term="crash"/><category term="deploy"/><category term="disabled"/><category term="dynamic form"/><category term="enum"/><category term="enums"/><category term="file-access"/><category term="fopem"/><category term="franson"/><category term="hMailserver"/><category term="https"/><category term="installation"/><category term="int"/><category term="internet"/><category term="layout"/><category term="localhost"/><category term="missing"/><category term="multithread"/><category term="new text file"/><category term="nonsecure"/><category term="notepad"/><category term="online"/><category term="password"/><category term="reset"/><category term="risotto"/><category term="root"/><category term="secure"/><category term="singleton"/><category term="string"/><category term="timeout"/><category term="unix epoch"/><category term="utc"/><category term="virtual port"/><category term="virus scan"/><category term="vista"/><category term="warning"/><category term="windows"/><category term="windows7"/><category term="wininet"/><category term="x64"/><title type='text'>Mumbo Jumbo</title><subtitle type='html'>Some useful and some not so useful ramblings...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>25</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5790876332776215482.post-3536900309723230686</id><published>2010-07-13T02:42:00.000+05:30</published><updated>2010-07-13T02:42:00.408+05:30</updated><title type='text'>Auto Draft</title><content type='html'></content><link rel='replies' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/3536900309723230686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/07/auto-draft.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/3536900309723230686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/3536900309723230686'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/07/auto-draft.html' title='Auto Draft'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5790876332776215482.post-1224863442810418099</id><published>2010-07-08T00:00:00.000+05:30</published><updated>2010-07-12T21:17:15.971+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term=".Net"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="C3"/><category scheme="http://www.blogger.com/atom/ns#" term="csharp"/><category scheme="http://www.blogger.com/atom/ns#" term="internet"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="wininet"/><title type='text'>Check Internet Connectivity</title><content type='html'>How to check is your PC/ Server is connected to the internet.... there are more than one ways to do that - using wininet.dll, calling for DNS resolution, pinging a internet server, calling a web page and checking for response status and as I wanted to be sure that client is able to reach my server so put them all together.&lt;br/&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br/&gt;First bit is thanks to &lt;a title=&quot;Check for internet connection&quot; href=&quot;http://blog.dotnetclr.com/archive/2007/09/24/Check-for-internet-connection---Method-2.aspx&quot; target=&quot;_blank&quot;&gt;Rydal&lt;/a&gt;.&lt;br/&gt;&lt;pre lang=&quot;csharp&quot;&gt;using System;&lt;br/&gt;using System.Collections.Generic;&lt;br/&gt;using System.Linq;&lt;br/&gt;using System.Runtime;&lt;br/&gt;using System.Runtime.InteropServices;&lt;br/&gt;using System.Text;&lt;br/&gt;using System.Security;&lt;br/&gt;&lt;br/&gt;namepsace TestCode {&lt;br/&gt;public sealed class NetworkHandler {&lt;br/&gt;        /// &lt;summary&gt;&lt;br/&gt;        /// Private constructor to prevent compiler from generating one&lt;br/&gt;        /// since this class only holds static methods and properties&lt;br/&gt;        /// &lt;/summary&gt;&lt;br/&gt;        NetworkHandler() { }&lt;br/&gt;        /// &lt;summary&gt;&lt;br/&gt;        /// SafeNativeMethods Class that holds save native methods &lt;br/&gt;        /// while suppressing unmanaged code security&lt;br/&gt;        /// &lt;/summary&gt;&lt;br/&gt;        [SuppressUnmanagedCodeSecurityAttribute]&lt;br/&gt;        internal static class SafeNativeMethods {&lt;br/&gt;            // Extern Library&lt;br/&gt;            // UnManaged code - be careful.&lt;br/&gt;            [DllImport(&quot;wininet.dll&quot;, CharSet = CharSet.Auto)]&lt;br/&gt;            [return: MarshalAs(UnmanagedType.Bool)]&lt;br/&gt;            private extern static bool InternetGetConnectedState(out int Description, int ReservedValue);&lt;br/&gt;            /// &lt;summary&gt;&lt;br/&gt;            /// Determines if there is an active connection on this computer&lt;br/&gt;            /// &lt;/summary&gt;&lt;br/&gt;            /// &lt;returns&gt;&lt;/returns&gt;&lt;br/&gt;            public static bool HasActiveConnection() {&lt;br/&gt;                int desc;&lt;br/&gt;                return InternetGetConnectedState(out desc, 0);&lt;br/&gt;            }&lt;br/&gt;        }&lt;br/&gt;    }&lt;br/&gt;}&lt;br/&gt;&lt;/pre&gt;&lt;br/&gt;and the function to check the connectivity&lt;br/&gt;&lt;pre lang=&quot;csharp&quot;&gt; &lt;br/&gt;#region checkConnectivity&lt;br/&gt;public bool CheckInternetConnection() {&lt;br/&gt;	bool isInternetOn = false;&lt;br/&gt;	isInternetOn = NetworkHandler.SafeNativeMethods.HasActiveConnection();&lt;br/&gt;	if(isInternetOn) {&lt;br/&gt;		try {&lt;br/&gt;			IPHostEntry obj = Dns.GetHostEntry(strServer);&lt;br/&gt;			isInternetOn = true;&lt;br/&gt;		} catch {&lt;br/&gt;			isInternetOn = false; // host not reachable. &lt;br/&gt;		}&lt;br/&gt;	}&lt;br/&gt;	if(isInternetOn) {&lt;br/&gt;		try {&lt;br/&gt;			HttpWebRequest reqFP = (HttpWebRequest) HttpWebRequest.Create(strServer);&lt;br/&gt;			HttpWebResponse rspFP = (HttpWebResponse) reqFP.GetResponse();&lt;br/&gt;			if(HttpStatusCode.OK == rspFP.StatusCode) {&lt;br/&gt;				// HTTP = 200 - Internet connection available, server online&lt;br/&gt;				rspFP.Close();&lt;br/&gt;				isInternetOn = true;&lt;br/&gt;			} else {&lt;br/&gt;				// Other status - Server or connection not available&lt;br/&gt;				rspFP.Close();&lt;br/&gt;				isInternetOn = false; // host not reachable. &lt;br/&gt;			}&lt;br/&gt;		} catch(WebException) {&lt;br/&gt;			// Exception - connection not available&lt;br/&gt;			isInternetOn = false; // host not reachable. &lt;br/&gt;		}&lt;br/&gt;	}&lt;br/&gt;	return isInternetOn;&lt;br/&gt;}&lt;br/&gt;#endregion&lt;br/&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/1224863442810418099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/07/check-internet-connectivity.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/1224863442810418099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/1224863442810418099'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/07/check-internet-connectivity.html' title='Check Internet Connectivity'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5790876332776215482.post-6368374501736699361</id><published>2010-07-02T00:35:00.000+05:30</published><updated>2010-07-12T21:17:15.975+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term=".Net"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="csharp"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="multithread"/><category scheme="http://www.blogger.com/atom/ns#" term="singleton"/><title type='text'>Multithreaded Singleton in C#</title><content type='html'>Many a times you run into scenario where only one instance of a class should be created in your application. If you need to know more about Singleton pattern, this article &quot;&lt;a title=&quot;Singleton pattern&quot; href=&quot;http://en.wikipedia.org/wiki/Singleton_pattern&quot; target=&quot;_blank&quot;&gt;Singleton pattern&lt;/a&gt;&quot; provides good reading. There are quite a few ways to implement this (singleton) but after doing some search on the net found this one to be best for my case.&lt;br/&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br/&gt;&lt;pre lang=&quot;csharp&quot;&gt;public sealed class DBHelper {&lt;br/&gt;&lt;br/&gt;	private static volatile DBHelper instance;&lt;br/&gt;	private static object syncRoot = new Object();&lt;br/&gt;	private DBHelper() { }&lt;br/&gt;&lt;br/&gt;	public static DBHelper Instance {&lt;br/&gt;		get {&lt;br/&gt;			if (instance == null) {&lt;br/&gt;				lock (syncRoot) {&lt;br/&gt;					if (instance == null)&lt;br/&gt;						instance = new DBHelper();&lt;br/&gt;				}&lt;br/&gt;			}&lt;br/&gt;			return instance;&lt;br/&gt;		}&lt;br/&gt;	}&lt;br/&gt;&lt;br/&gt;	//more code.....&lt;br/&gt;}&lt;br/&gt;&lt;/pre&gt;&lt;br/&gt;For more information check out &lt;a title=&quot;Implementing Singleton in C#&quot; href=&quot;http://msdn.microsoft.com/en-us/library/ff650316.aspx&quot; target=&quot;_blank&quot;&gt;Implementing Singleton in C#&lt;/a&gt;&lt;br/&gt;&lt;blockquote&gt;This implementation allows only a single thread to enter the critical area, which the lock block identifies, when no instance of Singleton has yet been created. This ensures that only one instance is created and only when the instance is needed. Also, the variable is declared to be volatile  to ensure that assignment to the instance variable completes before the instance variable can be accessed. Lastly, this approach uses a syncRoot  instance to lock on, rather than locking on the type itself, to avoid deadlocks. This double-check locking approach solves the thread concurrency problems while avoiding an exclusive lock in every call to the Instance property method. It also allows you to delay instantiation until the object is first accessed. In practice, an application rarely requires this type of implementation. In most cases, the static initialization approach is sufficient.&lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/6368374501736699361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/07/multithreaded-singleton-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/6368374501736699361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/6368374501736699361'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/07/multithreaded-singleton-in-c.html' title='Multithreaded Singleton in C#'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5790876332776215482.post-4254923345958025099</id><published>2010-06-29T23:09:00.000+05:30</published><updated>2010-07-12T21:17:15.980+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term=".Net"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="csharp"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="POSIX time"/><category scheme="http://www.blogger.com/atom/ns#" term="unix epoch"/><category scheme="http://www.blogger.com/atom/ns#" term="utc"/><title type='text'>Get Unix Time/ POSIX Time in c#</title><content type='html'>Recently needed to convert the time into Unix format in C#. Since the Unix time format is basically a count of the seconds passed since 1/1/1970 (Unix epoch), this can be easily done using the DateTime object.&lt;br/&gt;&lt;br/&gt;&lt;pre lang=&quot;csharp&quot;&gt;&lt;br/&gt;int unixTime = (int) (DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds;&lt;br/&gt;&lt;/pre&gt;&lt;br/&gt;&lt;br/&gt;If you are trying to convert some other DateTime value to POSIX time, make sure that it is first converted to UTC.</content><link rel='replies' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/4254923345958025099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/06/get-unix-time-posix-time-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/4254923345958025099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/4254923345958025099'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/06/get-unix-time-posix-time-in-c.html' title='Get Unix Time/ POSIX Time in c#'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5790876332776215482.post-4332036521528696288</id><published>2010-06-29T23:00:00.000+05:30</published><updated>2010-07-12T21:17:15.982+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="1275"/><category scheme="http://www.blogger.com/atom/ns#" term="64 bit"/><category scheme="http://www.blogger.com/atom/ns#" term="error"/><category scheme="http://www.blogger.com/atom/ns#" term="franson"/><category scheme="http://www.blogger.com/atom/ns#" term="GPS"/><category scheme="http://www.blogger.com/atom/ns#" term="GPSGate"/><category scheme="http://www.blogger.com/atom/ns#" term="virtual port"/><category scheme="http://www.blogger.com/atom/ns#" term="vista"/><category scheme="http://www.blogger.com/atom/ns#" term="windows 7"/><category scheme="http://www.blogger.com/atom/ns#" term="x64"/><title type='text'>Error creating Virtual Port in 64bit Vista/ Windows 7 GPSGate</title><content type='html'>If you getting error 1275 while creating virtual port for GPSGate in Vista/ Windows 7 64 bit, here is the fix from their forums..&lt;br/&gt;&lt;br/&gt;If you use 64-bit Vista or Windows 7 please follow those steps.&lt;br/&gt;(If you are unsure, simply install GpsGate normally first, if Virtual ports does not work - follow those steps)&lt;br/&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br/&gt;1. Install GpsGate for Windows 2.6 build 340 (or later)&lt;br/&gt;http://franson.com/gpsgate/download.asp&lt;br/&gt;&lt;br/&gt;2. After installation copy the file&lt;br/&gt;C:\Program Files (x86)\Franson\GpsGate 2.0\x64\bizVSerialNT.sys&lt;br/&gt;to C:\Windows\System32\Drivers&lt;br/&gt;&lt;br/&gt;3. Exit GpsGate (if running)&lt;br/&gt;&lt;br/&gt;4. Run GpsGate as Administrator once. (Right click on the GpsGate icon in the Start Menu and select &quot;Run as administrator&quot;)&lt;br/&gt;&lt;br/&gt;Now the 64-bit driver is installed. You can exit GpsGate and run it as a normal user.&lt;br/&gt;&lt;br/&gt;&lt;a title=&quot;Fix for Error 1275&quot; href=&quot;http://forum.gpsgate.com/topic.asp?TOPIC_ID=8252&quot; target=&quot;_blank&quot;&gt;http://forum.gpsgate.com/topic.asp?TOPIC_ID=8252&lt;/a&gt;.&lt;br/&gt;&lt;br/&gt;Please note that this will work only for build 2.6.340 or higher only and that you will need to run GPSGate as administrator in step 4 while adding the port.</content><link rel='replies' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/4332036521528696288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/06/error-creating-virtual-port-in-64bit.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/4332036521528696288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/4332036521528696288'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/06/error-creating-virtual-port-in-64bit.html' title='Error creating Virtual Port in 64bit Vista/ Windows 7 GPSGate'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5790876332776215482.post-8113438517801727339</id><published>2010-06-29T20:41:00.000+05:30</published><updated>2010-07-12T21:17:15.984+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term=".Net"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="cast"/><category scheme="http://www.blogger.com/atom/ns#" term="casting"/><category scheme="http://www.blogger.com/atom/ns#" term="enum"/><category scheme="http://www.blogger.com/atom/ns#" term="enums"/><category scheme="http://www.blogger.com/atom/ns#" term="int"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="string"/><title type='text'>Casting int or string to Enum</title><content type='html'>Quick note to myself :D &lt;br/&gt;&lt;br/&gt;From a string:&lt;br/&gt;&lt;pre lang=&quot;csharp&quot;&gt;&lt;br/&gt;MyEnum foo = (MyEnum) Enum.Parse(typeof(MyEnum), yourString);&lt;br/&gt;&lt;/pre&gt;&lt;br/&gt;&lt;br/&gt;From an int:&lt;br/&gt;&lt;pre lang=&quot;csharp&quot;&gt;&lt;br/&gt;MyEnum foo = (MyEnum) yourInt;&lt;br/&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/8113438517801727339/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/06/casting-int-or-string-to-enum.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/8113438517801727339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/8113438517801727339'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/06/casting-int-or-string-to-enum.html' title='Casting int or string to Enum'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5790876332776215482.post-7749329614913015784</id><published>2010-06-28T21:34:00.000+05:30</published><updated>2010-07-12T21:17:15.986+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="context menu"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="missing"/><category scheme="http://www.blogger.com/atom/ns#" term="new text file"/><category scheme="http://www.blogger.com/atom/ns#" term="notepad"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows 7"/><category scheme="http://www.blogger.com/atom/ns#" term="windows7"/><title type='text'>Windows 7 - &amp;quot;New txt file&amp;quot; missing from right click menu</title><content type='html'>Few days back realized that somehow I managed to loose the &quot;New txt file&quot; option in the context menu  8O . To fix this&lt;br/&gt;&lt;br/&gt;1. Download the fix file given below. (Use Right-click – Save as option in your browser to download the file.)&lt;br/&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br/&gt;2. Unzip the file and extract the .reg file to your desktop or My documents folder.&lt;br/&gt;&lt;br/&gt;3. Right-click the REG file and choose Merge or just double click the file. You can also open the Registry Editor and then use the Import option from the File menu to merge the contents of the registry file. Please remember that you need to be an administrator to be able to modify your registry and also the statutory warning that playing with registry may render your OS useless so use at your own risk  :D.&lt;br/&gt;&lt;br/&gt;&lt;a href=&quot;http://www.bhootnath.in/blog/wp-content/uploads/2010/06/windows7-txtfile-fix.zip&quot;&gt;windows7-txtfile-fix&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/7749329614913015784/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/06/windows-7-txt-file-missing-from-right.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/7749329614913015784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/7749329614913015784'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/06/windows-7-txt-file-missing-from-right.html' title='Windows 7 - &amp;quot;New txt file&amp;quot; missing from right click menu'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5790876332776215482.post-8275818508424204603</id><published>2010-06-19T00:48:00.000+05:30</published><updated>2010-07-12T21:17:15.989+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="actionscript"/><category scheme="http://www.blogger.com/atom/ns#" term="Adobe"/><category scheme="http://www.blogger.com/atom/ns#" term="AIR"/><category scheme="http://www.blogger.com/atom/ns#" term="AS3"/><category scheme="http://www.blogger.com/atom/ns#" term="CS5"/><category scheme="http://www.blogger.com/atom/ns#" term="Flash CS5"/><category scheme="http://www.blogger.com/atom/ns#" term="JVM Max Heap Size"/><title type='text'>You cannot debug this SWF because it does not contain ActionScript</title><content type='html'>Upgrading from Flash CS4 to CS5 ran into great wall of china again 8O .. really man.. I know web is full of posts from people running into this problem then why the hell can&#39;t Adobe just make the error message a little less misleading :roll: ... most common reason for this is the code behind is so big that the compiler is running out of memory while compiling the movie.&lt;br/&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;In case of CS4, the solution can be found &lt;a title=&quot;5005: Unknown error optimizing byte code&quot; href=&quot;http://www.bhootnath.in/blog/?p=18&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt; while for CS5, it is slightly different.&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;WIN:&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;1. Quit Flash&lt;br/&gt;2. In a text editor, open the jvm.ini file from the following location:&lt;br/&gt;&lt;p style=&quot;padding-left: 30px;&quot;&gt;2.1.&lt;strong&gt; Windows XP:&lt;/strong&gt; System Hard Disk\Documents and Settings\&amp;lt;user&amp;gt;\Local Settings\Application Data\Adobe\Flash CS5\&amp;lt;language&amp;gt;\Configuration\ActionScript 3.0\jvm.ini&lt;br/&gt;2.2. &lt;strong&gt;Windows Vista or Windows7:&lt;/strong&gt; System Hard Disk\Users\&amp;lt;user&amp;gt;\AppData\Local\Adobe\Flash CS5\&amp;lt;language&amp;gt;\Configuration\ActionScript 3.0\jvm.ini&lt;/p&gt;&lt;br/&gt;(You might need to turn on &quot;show hidden files&quot;)&lt;br/&gt;3. Change -Xmx128m to -Xmx256m and save the file.  This line specifies the amount of heap space the core ActionScript 3.0 compiler should allocate for compiling.&lt;br/&gt;4. Relaunch Flash and compile&lt;br/&gt;5. If that doesn&#39;t work, try changing the value to 512m&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;MAC:&lt;/strong&gt;&lt;br/&gt;1. Quit Flash&lt;br/&gt;2. In a text editor, open the jvm.ini file from the following location:&lt;br/&gt;/Users/&amp;lt;user&amp;gt;/Library/Application Support/Adobe/Flash CS5/&amp;lt;language&amp;gt;/Configuration/ActionScript 3.0/jvm.ini&lt;br/&gt;3. Change -Xmx128m to -Xmx256m and save the file.  This line specifies the amount of heap space the core ActionScript 3.0 compiler should allocate for compiling.&lt;br/&gt;4. Relaunch Flash and compile&lt;br/&gt;5. If that doesn&#39;t work, try changing the value to 512m&lt;br/&gt;&lt;br/&gt;Of course, you may encounter this same error due to some other reason as well like not including a UI component in the library which us being used in the project.</content><link rel='replies' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/8275818508424204603/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/06/you-cannot-debug-this-swf-because-it.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/8275818508424204603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/8275818508424204603'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/06/you-cannot-debug-this-swf-because-it.html' title='You cannot debug this SWF because it does not contain ActionScript'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5790876332776215482.post-5588747461094041964</id><published>2010-06-19T00:19:00.000+05:30</published><updated>2010-07-12T21:17:15.991+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="actionscript"/><category scheme="http://www.blogger.com/atom/ns#" term="Adobe"/><category scheme="http://www.blogger.com/atom/ns#" term="AIR"/><category scheme="http://www.blogger.com/atom/ns#" term="AS3"/><category scheme="http://www.blogger.com/atom/ns#" term="CS5"/><category scheme="http://www.blogger.com/atom/ns#" term="Embed Font"/><category scheme="http://www.blogger.com/atom/ns#" term="Flash CS5"/><category scheme="http://www.blogger.com/atom/ns#" term="Font"/><title type='text'>Font Embedding in Flash CS5</title><content type='html'>Flash CS5 introduces a new way of emebdding fonts and unfortunately it breaks the older way of embedding fonts  :( . The older way of embedding fonts which can be found &lt;a title=&quot;Embedding font family in AS3&quot; href=&quot;http://www.bhootnath.in/blog/?p=55&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt; , does not work anymore for Flash IDE projects though that will still work for pure AS3 projects. I was using this method only in my project but as soon as I upgraded to flash CS5, text disappeared in my compiled movie. Googling pointed me to these two:&lt;br/&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br/&gt;&lt;ol&gt;&lt;br/&gt;	&lt;li&gt;&lt;a title=&quot;Characters missing from text in Flash CS4 file when opened in Flash CS5&quot; href=&quot;http://kb2.adobe.com/cps/831/cpsid_83162.html&quot; target=&quot;_blank&quot;&gt;Characters missing from text in Flash CS4 file when opened in Flash CS5&lt;/a&gt;&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;&lt;a title=&quot;Flash CS5 font embedding – it’s totally different…&quot; href=&quot;http://www.dotstrosity.net/2010/05/10/flash-cs5-font-embedding-its-totally-different/&quot; target=&quot;_blank&quot;&gt;Flash CS5 font embedding – it’s totally different…&lt;/a&gt;&lt;/li&gt;&lt;br/&gt;&lt;/ol&gt;&lt;br/&gt;To summarize, add a font to your project/ FLA file, click on Text ==&amp;gt; Font Embedding, and add the font-family you are using in your project. Say you want to &quot;Myriad Pro&quot; to your project, add the family and style you wish you use in your project as shown in the image below.&lt;br/&gt;&lt;br/&gt;[caption id=&quot;attachment_75&quot; align=&quot;alignnone&quot; width=&quot;300&quot; caption=&quot;Fig. 1&quot;]&lt;a href=&quot;http://www.bhootnath.in/blog/wp-content/uploads/2010/06/cs5-embed-fonts-one.png&quot;&gt;&lt;img class=&quot;size-medium wp-image-75&quot; title=&quot;Embedding Fonts in CS5&quot; src=&quot;http://www.bhootnath.in/blog/wp-content/uploads/2010/06/cs5-embed-fonts-one-300x119.png&quot; alt=&quot;Embedding Fonts in CS5&quot; width=&quot;300&quot; height=&quot;119&quot; /&gt;&lt;/a&gt;[/caption]&lt;br/&gt;&lt;br/&gt;You will need to add all the styles you want to use in your project  individually. If you plan to use the font in dynamically created objects, then you need to export it for AS3 as well. Click on the &quot;ActionScript&quot; tab and provide the class name for the selected style.&lt;br/&gt;&lt;br/&gt;[caption id=&quot;attachment_76&quot; align=&quot;alignnone&quot; width=&quot;300&quot; caption=&quot;Fig. 2&quot;]&lt;a href=&quot;http://www.bhootnath.in/blog/wp-content/uploads/2010/06/cs5-embed-fonts-two.png&quot;&gt;&lt;img class=&quot;size-medium wp-image-76&quot; title=&quot;Setting Classname for AS3&quot; src=&quot;http://www.bhootnath.in/blog/wp-content/uploads/2010/06/cs5-embed-fonts-two-300x214.png&quot; alt=&quot;Setting Classname for AS3&quot; width=&quot;300&quot; height=&quot;214&quot; /&gt;&lt;/a&gt;[/caption]&lt;br/&gt;&lt;br/&gt;My project is all in AS3, so I also needed to register the fonts and for that the syntax is same as before.&lt;br/&gt;&lt;pre lang=&quot;as3&quot;&gt;Font.registerFont(FONT_MYRIAD_PRO);&lt;br/&gt;Font.registerFont(FONT_MYRIAD_PRO_I);&lt;br/&gt;Font.registerFont(FONT_MYRIAD_PRO_SB);&lt;br/&gt;Font.registerFont(FONT_MYRIAD_PRO_SB_I);&lt;br/&gt;Font.registerFont(FONT_MYRIAD_PRO_B);&lt;br/&gt;Font.registerFont(FONT_HELVETICA_NEUE);&lt;br/&gt;&lt;/pre&gt;&lt;br/&gt;Second change when compared to the earlier method is that while earlier one had to use the font name set in the code used to emb the font, now we use the standard name of the font.&lt;br/&gt;&lt;br/&gt;If you are using TextFormat, it will be like :&lt;br/&gt;&lt;pre lang=&quot;as3&quot;&gt;mouseoverTF = new TextFormat();&lt;br/&gt;mouseoverTF.align = TextFormatAlign.LEFT;&lt;br/&gt;mouseoverTF.font = &quot;Myriad Pro&quot;;&lt;br/&gt;mouseoverTF.bold = true;&lt;br/&gt;mouseoverTF.color = 0xFFFFFF;&lt;br/&gt;mouseoverTF.size = 13;&lt;br/&gt;&lt;/pre&gt;&lt;br/&gt;and if you are using StyleSheet, then&lt;br/&gt;&lt;pre lang=&quot;as3&quot;&gt;var _defStyle:String = &quot; .btext { font-family: Myriad Pro; font-size: 13;font-weight: bold; color: #333333; }&quot;;&lt;br/&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/5588747461094041964/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/06/font-embedding-in-flash-cs5.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/5588747461094041964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/5588747461094041964'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/06/font-embedding-in-flash-cs5.html' title='Font Embedding in Flash CS5'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5790876332776215482.post-3964827299247251877</id><published>2010-02-10T02:18:00.000+05:30</published><updated>2010-07-12T21:17:15.995+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="actionscript"/><category scheme="http://www.blogger.com/atom/ns#" term="Adobe"/><category scheme="http://www.blogger.com/atom/ns#" term="AIR"/><category scheme="http://www.blogger.com/atom/ns#" term="AS3"/><category scheme="http://www.blogger.com/atom/ns#" term="CS4"/><category scheme="http://www.blogger.com/atom/ns#" term="Embed Font"/><category scheme="http://www.blogger.com/atom/ns#" term="Flash CS4"/><category scheme="http://www.blogger.com/atom/ns#" term="Font"/><title type='text'>Embedding font family in AS3</title><content type='html'>While trying to embed font in AS3 ran into problem. I was trying to embed MyriadPro font into my AS3 application and got error &quot;exception during transcoding: Font for alias &#39;MyriadPro&#39; with plain weight and style was not found at: file&quot; and like always Googling provided the solution.&lt;br/&gt;&lt;br/&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;This was what i was using&lt;br/&gt;&lt;pre lang=&quot;as3&quot;&gt;[Embed(source = &quot;../../../assets/fonts/MyriadPro-Regular.otf&quot;, fontName = &quot;_MyriadPro&quot;, mimeType = &quot;application/x-font&quot;)]&lt;br/&gt;public static var FONT_MYRIAD_PRO:Class;&lt;br/&gt;&lt;br/&gt;[Embed(source = &quot;../../../assets/fonts/MyriadPro-Bold.otf&quot;, fontName = &quot;_MyriadPro&quot;, mimeType = &quot;application/x-font&quot;)]&lt;br/&gt;public static var FONT_MYRIAD_PRO_B:Class;&lt;br/&gt;&lt;/pre&gt;&lt;br/&gt;The correct method is add the weight and/ or style property.&lt;br/&gt;&lt;pre lang=&quot;as3&quot;&gt;[Embed(source = &quot;../../../assets/fonts/MyriadPro-Regular.otf&quot;, fontName = &quot;_MyriadPro&quot;,fontWeight=&quot;normal&quot;,  mimeType = &quot;application/x-font&quot;)]&lt;br/&gt;public static var FONT_MYRIAD_PRO:Class;&lt;br/&gt;&lt;br/&gt;[Embed(source = &quot;../../../assets/fonts/MyriadPro-Bold.otf&quot;, fontName = &quot;_MyriadPro&quot;, fontWeight=&quot;bold&quot;, mimeType = &quot;application/x-font&quot;)]&lt;br/&gt;public static var FONT_MYRIAD_PRO_B:Class;&lt;br/&gt;&lt;/pre&gt;&lt;br/&gt;Same way if you want to embed italics version of the font, you will have to add &quot;fontStyle=&#39;italics&#39;&quot; to the code.</content><link rel='replies' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/3964827299247251877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/02/embedding-font-family-in-as3.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/3964827299247251877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/3964827299247251877'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/02/embedding-font-family-in-as3.html' title='Embedding font family in AS3'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5790876332776215482.post-888417979468683599</id><published>2010-01-19T21:21:00.000+05:30</published><updated>2010-07-12T21:17:15.998+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="DKIM"/><category scheme="http://www.blogger.com/atom/ns#" term="DNS"/><category scheme="http://www.blogger.com/atom/ns#" term="hMailserver"/><category scheme="http://www.blogger.com/atom/ns#" term="SPAM"/><category scheme="http://www.blogger.com/atom/ns#" term="SPF"/><category scheme="http://www.blogger.com/atom/ns#" term="Web Applications"/><title type='text'>How to make sure your emails dont land in SPAM folder</title><content type='html'>One of the biggest problems with our clients is to ensure that the legitimate emails they send out to their users/ customers do not end up in the SPAM folder. To ensure that as a website administrator you need to follow the bext practices guidelines provided by Yahoo and Google.&lt;br/&gt;&lt;br/&gt;&lt;a href=&quot;http://mail.google.com/support/bin/answer.py?hl=en&amp;amp;answer=81126&quot; target=&quot;_blank&quot;&gt;http://mail.google.com/support/bin/answer.py?hl=en&amp;amp;answer=81126&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;a href=&quot;http://help.yahoo.com/l/us/yahoo/mail/postmaster/basics/basics-55.html;_ylt=Ahc6x60yB8n8JzvfVztu4QsIJHdG&quot; target=&quot;_blank&quot;&gt;http://help.yahoo.com/l/us/yahoo/mail/postmaster/basics/basics-55.html;_ylt=Ahc6x60yB8n8JzvfVztu4QsIJHdG&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;First is the SPF record - to create SPF record for your domain you can use any of these tools:&lt;br/&gt;&lt;br/&gt;&lt;a href=&quot;http://wizard.easyspf.com/&quot; target=&quot;_blank&quot;&gt;http://wizard.easyspf.com/&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;a href=&quot;http://old.openspf.org/wizard.html&quot; target=&quot;_blank&quot;&gt;http://old.openspf.org/wizard.html&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;a href=&quot;http://www.mailradar.com/spf/&quot; target=&quot;_blank&quot;&gt;http://www.mailradar.com/spf/&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Second is to use DKIM. To create the DNS records for DKIM and/ or keys you can use following online wiards:&lt;br/&gt;&lt;br/&gt;&lt;a href=&quot;http://www.port25.com/support/support_dkwz.php&quot; target=&quot;_blank&quot;&gt;http://www.port25.com/support/support_dkwz.php&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;a href=&quot;http://www.dnswatch.info/dkim/create-dns-record&quot; target=&quot;_blank&quot;&gt;http://www.dnswatch.info/dkim/create-dns-record&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Now hope that your domain registrar provides ability to add text records for the domain  :)&lt;br/&gt;&lt;br/&gt;Once you have added these records, you can check for them at&lt;br/&gt;&lt;br/&gt;&lt;a href=&quot;http://www.dnswatch.info/&quot; target=&quot;_blank&quot;&gt;http://www.dnswatch.info/&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;a href=&quot;http://dkimcore.org/c/keycheck&quot; target=&quot;_blank&quot;&gt;http://dkimcore.org/c/keycheck&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Of course you will need a mail server which supports DKIM. One such open source and free email server for windows which we use for almost all our clients is &lt;a href=&quot;http://www.hmailserver.com/&quot; target=&quot;_blank&quot;&gt;hMailServer&lt;/a&gt;. Has very active community and stable product with lot of advanced features.</content><link rel='replies' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/888417979468683599/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/01/how-to-make-sure-your-emails-dont-land.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/888417979468683599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/888417979468683599'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/01/how-to-make-sure-your-emails-dont-land.html' title='How to make sure your emails dont land in SPAM folder'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5790876332776215482.post-337340978751030421</id><published>2010-01-19T19:16:00.000+05:30</published><updated>2010-07-12T21:17:16.000+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="disabled"/><category scheme="http://www.blogger.com/atom/ns#" term="file-access"/><category scheme="http://www.blogger.com/atom/ns#" term="fopem"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="URL"/><category scheme="http://www.blogger.com/atom/ns#" term="Web Applications"/><title type='text'>URL file-access is disabled in the server configuration</title><content type='html'>One of my PHP app used to send out SMS alerts using HTTP based SMS Gateway. Everything was working fine till last week when the SMS stopped coming. On running a stand alone PHP page using the same function to send SMS as the page in the application, got this error -&lt;br/&gt;&lt;br/&gt;&quot;Warning: fopen(): URL file-access is disabled in the server configuration&quot;&lt;br/&gt;&lt;br/&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;Googling the error told me that allow_url_fopen is disable in the server configuration.. now though I agree that it is good to secure the server but doing it without informing your hosting customers is not a good practice.. anyways the workaround was found with due thanks to Luiz Miguel Axcar in the user comments sections on &lt;a href=&quot;http://www.php.net/manual/en/function.fopen.php#55922&quot; target=&quot;_blank&quot;&gt;http://php.net/manual/en/function.fopen.php&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;To quote him:&lt;br/&gt;&lt;blockquote&gt;If you are getting message &quot;Warning: fopen(): URL file-access is disabled in the server configuration&quot;, you can use function below to get the content from a local or remote file.&lt;br/&gt;&lt;br/&gt;Function uses CURL lib, follow the link to get help: http://www.php.net/curl&lt;br/&gt;&lt;pre lang=&quot;php&quot; line=&quot;1&quot; file=&quot;sample.txt&quot;&gt;&lt;br/&gt;&lt; ?php&lt;br/&gt;/*&lt;br/&gt;* @return string&lt;br/&gt;* @param string $url&lt;br/&gt;* @desc Return string content from a remote file&lt;br/&gt;* @author Luiz Miguel Axcar (email removed)&lt;br/&gt;*/&lt;/code&gt;&lt;br/&gt;&lt;br/&gt;function get_content($url)&lt;br/&gt;{&lt;br/&gt;$ch = curl_init();&lt;br/&gt;&lt;br/&gt;curl_setopt ($ch, CURLOPT_URL, $url);&lt;br/&gt;curl_setopt ($ch, CURLOPT_HEADER, 0);&lt;br/&gt;&lt;br/&gt;ob_start();&lt;br/&gt;&lt;br/&gt;curl_exec ($ch);&lt;br/&gt;curl_close ($ch);&lt;br/&gt;$string = ob_get_contents();&lt;br/&gt;&lt;br/&gt;ob_end_clean();&lt;br/&gt;&lt;br/&gt;return $string;&lt;br/&gt;}&lt;br/&gt;&lt;br/&gt;#usage:&lt;br/&gt;$content = get_content (&quot;http://www.php.net&quot;);&lt;br/&gt;var_dump ($content);&lt;br/&gt;?&gt;&lt;br/&gt;&lt;/pre&gt;&lt;br/&gt;&lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/337340978751030421/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/01/url-file-access-is-disabled-in-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/337340978751030421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/337340978751030421'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/01/url-file-access-is-disabled-in-server.html' title='URL file-access is disabled in the server configuration'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5790876332776215482.post-2881360821875862491</id><published>2010-01-19T17:53:00.000+05:30</published><updated>2010-07-12T21:17:16.005+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="localhost"/><category scheme="http://www.blogger.com/atom/ns#" term="MySql"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP5.3"/><category scheme="http://www.blogger.com/atom/ns#" term="timeout"/><title type='text'>PHP 5.3 and MySQL timeouts</title><content type='html'>On my dev machine, WinXP SP3, I had PHP 5.2 configured with IIS 5.1 and MySQL 5. Recently upgraded to PHP 5.3  and whooops.. most of my applications stop working.. :?  first the ISAPI was discontinued so I had to go the FastCGI way but for some reason I just could not make it work. The browser will just offer me to download/ save the file. As I was in a hurry I thought $#@*&amp;amp; IIS, lets try Apache. Installed and configured Apache with PHP and the phpinfo page works fine but pages with MySQL connection will still not load... after wasting sometime trying to figure out what was wrong, went to the doorstep of all knowing Google.. and found this&lt;br/&gt;&lt;br/&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br/&gt;&lt;a href=&quot;http://bugs.php.net/bug.php?id=45150&quot; target=&quot;_blank&quot;&gt;http://bugs.php.net/bug.php?id=45150&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Though in the post the user mentions that he faced this problem only in Vista not for XP but may be some recent update/ patch has introduced same feature/ bug in XP as well, as the moment I change the host value in connection strings from &quot;localhost&quot; to &quot;127.0.0.1&quot;  the applications were working fine.&lt;br/&gt;&lt;br/&gt;If your pages with MySQL connection are also timing out, check the host value and if they have localhost set as the value, &quot;127.0.0.1&quot; should be used instead of &quot;localhost&quot;.&lt;br/&gt;&lt;br/&gt;P.S. - am still lost why IIS wont work with PHP.. i even tried the IIS-Aid package and same results..</content><link rel='replies' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/2881360821875862491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/01/php-53-and-mysql-timeouts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/2881360821875862491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/2881360821875862491'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/01/php-53-and-mysql-timeouts.html' title='PHP 5.3 and MySQL timeouts'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5790876332776215482.post-8234295242085919835</id><published>2010-01-01T23:10:00.000+05:30</published><updated>2010-07-12T21:17:16.010+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apache"/><category scheme="http://www.blogger.com/atom/ns#" term="IIS"/><category scheme="http://www.blogger.com/atom/ns#" term="Mime Type"/><category scheme="http://www.blogger.com/atom/ns#" term="Web Applications"/><category scheme="http://www.blogger.com/atom/ns#" term="Webserver"/><title type='text'>Mime Type</title><content type='html'>Many a times I need to lookup the correct Mime type so for reference purpose, below is a list:&lt;br/&gt;&lt;h2&gt;Mime Types By File Extension&lt;/h2&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br/&gt;&lt;table class=&quot;reference&quot; border=&quot;1&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; width=&quot;100%&quot;&gt;&lt;br/&gt;&lt;tbody&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;th align=&quot;left&quot;&gt;Extension&lt;/th&gt;&lt;br/&gt;&lt;th align=&quot;left&quot;&gt;Type/sub-type&lt;/th&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/octet-stream&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;323&lt;/td&gt;&lt;br/&gt;&lt;td&gt;text/h323&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;acx&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/internet-property-stream&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;ai&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/postscript&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;aif&lt;/td&gt;&lt;br/&gt;&lt;td&gt;audio/x-aiff&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;aifc&lt;/td&gt;&lt;br/&gt;&lt;td&gt;audio/x-aiff&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;aiff&lt;/td&gt;&lt;br/&gt;&lt;td&gt;audio/x-aiff&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;air&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/vnd.adobe.air-application-installer-package+zip&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;asf&lt;/td&gt;&lt;br/&gt;&lt;td&gt;video/x-ms-asf&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;asr&lt;/td&gt;&lt;br/&gt;&lt;td&gt;video/x-ms-asf&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;asx&lt;/td&gt;&lt;br/&gt;&lt;td&gt;video/x-ms-asf&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;au&lt;/td&gt;&lt;br/&gt;&lt;td&gt;audio/basic&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;avi&lt;/td&gt;&lt;br/&gt;&lt;td&gt;video/x-msvideo&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;axs&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/olescript&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;bas&lt;/td&gt;&lt;br/&gt;&lt;td&gt;text/plain&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;bcpio&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-bcpio&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;bin&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/octet-stream&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;bmp&lt;/td&gt;&lt;br/&gt;&lt;td&gt;image/bmp&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;c&lt;/td&gt;&lt;br/&gt;&lt;td&gt;text/plain&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;cat&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/vnd.ms-pkiseccat&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;cdf&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-cdf&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;cer&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-x509-ca-cert&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;class&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/octet-stream&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;clp&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-msclip&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;cmx&lt;/td&gt;&lt;br/&gt;&lt;td&gt;image/x-cmx&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;cod&lt;/td&gt;&lt;br/&gt;&lt;td&gt;image/cis-cod&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;cpio&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-cpio&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;crd&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-mscardfile&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;crl&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/pkix-crl&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;crt&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-x509-ca-cert&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;csh&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-csh&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;css&lt;/td&gt;&lt;br/&gt;&lt;td&gt;text/css&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;dcr&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-director&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;der&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-x509-ca-cert&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;dir&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-director&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;dll&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-msdownload&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;dms&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/octet-stream&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;doc&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/msword&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;dot&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/msword&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;dvi&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-dvi&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;dxr&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-director&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;eps&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/postscript&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;etx&lt;/td&gt;&lt;br/&gt;&lt;td&gt;text/x-setext&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;evy&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/envoy&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;exe&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/octet-stream&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;fif&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/fractals&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;flr&lt;/td&gt;&lt;br/&gt;&lt;td&gt;x-world/x-vrml&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;flv&lt;/td&gt;&lt;br/&gt;&lt;td&gt;video/x-flv&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;gif&lt;/td&gt;&lt;br/&gt;&lt;td&gt;image/gif&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;gtar&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-gtar&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;gz&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-gzip&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;h&lt;/td&gt;&lt;br/&gt;&lt;td&gt;text/plain&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;hdf&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-hdf&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;hlp&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/winhlp&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;hqx&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/mac-binhex40&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;hta&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/hta&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;htc&lt;/td&gt;&lt;br/&gt;&lt;td&gt;text/x-component&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;htm&lt;/td&gt;&lt;br/&gt;&lt;td&gt;text/html&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;html&lt;/td&gt;&lt;br/&gt;&lt;td&gt;text/html&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;htt&lt;/td&gt;&lt;br/&gt;&lt;td&gt;text/webviewhtml&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;ico&lt;/td&gt;&lt;br/&gt;&lt;td&gt;image/x-icon&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;ief&lt;/td&gt;&lt;br/&gt;&lt;td&gt;image/ief&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;iii&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-iphone&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;ins&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-internet-signup&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;isp&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-internet-signup&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;jfif&lt;/td&gt;&lt;br/&gt;&lt;td&gt;image/pipeg&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;jpe&lt;/td&gt;&lt;br/&gt;&lt;td&gt;image/jpeg&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;jpeg&lt;/td&gt;&lt;br/&gt;&lt;td&gt;image/jpeg&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;jpg&lt;/td&gt;&lt;br/&gt;&lt;td&gt;image/jpeg&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;js&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-javascript&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;latex&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-latex&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;lha&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/octet-stream&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;lsf&lt;/td&gt;&lt;br/&gt;&lt;td&gt;video/x-la-asf&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;lsx&lt;/td&gt;&lt;br/&gt;&lt;td&gt;video/x-la-asf&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;lzh&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/octet-stream&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;m13&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-msmediaview&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;m14&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-msmediaview&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;m3u&lt;/td&gt;&lt;br/&gt;&lt;td&gt;audio/x-mpegurl&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;man&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-troff-man&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;mdb&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-msaccess&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;me&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-troff-me&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;mht&lt;/td&gt;&lt;br/&gt;&lt;td&gt;message/rfc822&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;mhtml&lt;/td&gt;&lt;br/&gt;&lt;td&gt;message/rfc822&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;mid&lt;/td&gt;&lt;br/&gt;&lt;td&gt;audio/mid&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;mny&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-msmoney&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;mov&lt;/td&gt;&lt;br/&gt;&lt;td&gt;video/quicktime&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;movie&lt;/td&gt;&lt;br/&gt;&lt;td&gt;video/x-sgi-movie&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;mp2&lt;/td&gt;&lt;br/&gt;&lt;td&gt;video/mpeg&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;mp3&lt;/td&gt;&lt;br/&gt;&lt;td&gt;audio/mpeg&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;mp3&lt;/td&gt;&lt;br/&gt;&lt;td&gt;audio/mpeg&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;mp4 (audio)&lt;/td&gt;&lt;br/&gt;&lt;td&gt;audio/mp4&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;mp4 (vidoe)&lt;/td&gt;&lt;br/&gt;&lt;td&gt;video/mp4&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;mpe&lt;/td&gt;&lt;br/&gt;&lt;td&gt;video/mpeg&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;mpeg&lt;/td&gt;&lt;br/&gt;&lt;td&gt;video/mpeg&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;mpg&lt;/td&gt;&lt;br/&gt;&lt;td&gt;video/mpeg&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;mpp&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/vnd.ms-project&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;mpv2&lt;/td&gt;&lt;br/&gt;&lt;td&gt;video/mpeg&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;ms&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-troff-ms&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;mvb&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-msmediaview&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;nws&lt;/td&gt;&lt;br/&gt;&lt;td&gt;message/rfc822&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;oda&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/oda&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;p10&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/pkcs10&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;p12&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-pkcs12&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;p7b&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-pkcs7-certificates&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;p7c&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-pkcs7-mime&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;p7m&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-pkcs7-mime&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;p7r&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-pkcs7-certreqresp&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;p7s&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-pkcs7-signature&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;pbm&lt;/td&gt;&lt;br/&gt;&lt;td&gt;image/x-portable-bitmap&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;pdf&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/pdf&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;pfx&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-pkcs12&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;pgm&lt;/td&gt;&lt;br/&gt;&lt;td&gt;image/x-portable-graymap&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;pko&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/ynd.ms-pkipko&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;pma&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-perfmon&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;pmc&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-perfmon&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;pml&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-perfmon&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;pmr&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-perfmon&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;pmw&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-perfmon&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;pnm&lt;/td&gt;&lt;br/&gt;&lt;td&gt;image/x-portable-anymap&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;pot,&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/vnd.ms-powerpoint&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;ppm&lt;/td&gt;&lt;br/&gt;&lt;td&gt;image/x-portable-pixmap&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;pps&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/vnd.ms-powerpoint&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;ppt&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/vnd.ms-powerpoint&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;prf&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/pics-rules&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;ps&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/postscript&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;pub&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-mspublisher&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;qt&lt;/td&gt;&lt;br/&gt;&lt;td&gt;video/quicktime&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;ra&lt;/td&gt;&lt;br/&gt;&lt;td&gt;audio/x-pn-realaudio&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;ram&lt;/td&gt;&lt;br/&gt;&lt;td&gt;audio/x-pn-realaudio&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;ras&lt;/td&gt;&lt;br/&gt;&lt;td&gt;image/x-cmu-raster&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;rgb&lt;/td&gt;&lt;br/&gt;&lt;td&gt;image/x-rgb&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;rmi&lt;/td&gt;&lt;br/&gt;&lt;td&gt;audio/mid&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;roff&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-troff&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;rtf&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/rtf&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;rtx&lt;/td&gt;&lt;br/&gt;&lt;td&gt;text/richtext&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;scd&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-msschedule&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;sct&lt;/td&gt;&lt;br/&gt;&lt;td&gt;text/scriptlet&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;setpay&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/set-payment-initiation&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;setreg&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/set-registration-initiation&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;sh&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-sh&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;shar&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-shar&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;sit&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-stuffit&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;snd&lt;/td&gt;&lt;br/&gt;&lt;td&gt;audio/basic&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;spc&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-pkcs7-certificates&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;spl&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/futuresplash&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;src&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-wais-source&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;sst&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/vnd.ms-pkicertstore&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;stl&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/vnd.ms-pkistl&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;stm&lt;/td&gt;&lt;br/&gt;&lt;td&gt;text/html&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;svg&lt;/td&gt;&lt;br/&gt;&lt;td&gt;image/svg+xml&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;sv4cpio&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-sv4cpio&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;sv4crc&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-sv4crc&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;swf&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-shockwave-flash&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;t&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-troff&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;tar&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-tar&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;tcl&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-tcl&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;tex&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-tex&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;texi&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-texinfo&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;texinfo&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-texinfo&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;tgz&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-compressed&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;tif&lt;/td&gt;&lt;br/&gt;&lt;td&gt;image/tiff&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;tiff&lt;/td&gt;&lt;br/&gt;&lt;td&gt;image/tiff&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;tr&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-troff&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;trm&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-msterminal&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;tsv&lt;/td&gt;&lt;br/&gt;&lt;td&gt;text/tab-separated-values&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;txt&lt;/td&gt;&lt;br/&gt;&lt;td&gt;text/plain&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;uls&lt;/td&gt;&lt;br/&gt;&lt;td&gt;text/iuls&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;ustar&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-ustar&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;vcf&lt;/td&gt;&lt;br/&gt;&lt;td&gt;text/x-vcard&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;vrml&lt;/td&gt;&lt;br/&gt;&lt;td&gt;x-world/x-vrml&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;wav&lt;/td&gt;&lt;br/&gt;&lt;td&gt;audio/x-wav&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;wcm&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/vnd.ms-works&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;wdb&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/vnd.ms-works&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;wks&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/vnd.ms-works&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;wmf&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-msmetafile&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;wps&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/vnd.ms-works&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;wri&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-mswrite&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;wrl&lt;/td&gt;&lt;br/&gt;&lt;td&gt;x-world/x-vrml&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;wrz&lt;/td&gt;&lt;br/&gt;&lt;td&gt;x-world/x-vrml&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;xaf&lt;/td&gt;&lt;br/&gt;&lt;td&gt;x-world/x-vrml&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;xbm&lt;/td&gt;&lt;br/&gt;&lt;td&gt;image/x-xbitmap&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;xla&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/vnd.ms-excel&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;xlc&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/vnd.ms-excel&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;xlm&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/vnd.ms-excel&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;xls&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/vnd.ms-excel&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;xlt&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/vnd.ms-excel&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;xlw&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/vnd.ms-excel&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;xof&lt;/td&gt;&lt;br/&gt;&lt;td&gt;x-world/x-vrml&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;xpm&lt;/td&gt;&lt;br/&gt;&lt;td&gt;image/x-xpixmap&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;xwd&lt;/td&gt;&lt;br/&gt;&lt;td&gt;image/x-xwindowdump&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;z&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/x-compress&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td&gt;zip&lt;/td&gt;&lt;br/&gt;&lt;td&gt;application/zip&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;/tbody&gt;&lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/8234295242085919835/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/01/mime-type.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/8234295242085919835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/8234295242085919835'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2010/01/mime-type.html' title='Mime Type'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5790876332776215482.post-4197763456655468726</id><published>2009-11-17T02:50:00.000+05:30</published><updated>2010-07-12T21:17:16.017+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="5005"/><category scheme="http://www.blogger.com/atom/ns#" term="actionscript"/><category scheme="http://www.blogger.com/atom/ns#" term="Adobe"/><category scheme="http://www.blogger.com/atom/ns#" term="AIR"/><category scheme="http://www.blogger.com/atom/ns#" term="AS3"/><category scheme="http://www.blogger.com/atom/ns#" term="byte code"/><category scheme="http://www.blogger.com/atom/ns#" term="error"/><category scheme="http://www.blogger.com/atom/ns#" term="Flash CS4"/><category scheme="http://www.blogger.com/atom/ns#" term="JAVA_TOOL_OPTIONS"/><category scheme="http://www.blogger.com/atom/ns#" term="JVM Max Heap Size"/><title type='text'>5005: Unknown error optimizing byte code</title><content type='html'>Recently while working with a large AIR project i ran into this problem. Every now and then all of a sudden, I will start getting this error while compiling the project :&lt;br/&gt;&quot;5005: Unknown error optimizing byte code&quot;&lt;br/&gt;&lt;br/&gt;Now as if MS was not enough with their cryptic messages everytime there was a problem with Windows, Adobe also came up with this gem of concept :x .&lt;br/&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;While googling it, came across this thread &lt;a href=&quot;http://www.negush.net/blog/5005-unknown-error-optimizing-byte-code/&quot;&gt;5005: Unknown error optimizing byte code on Negush Blog&lt;/a&gt; and even though it did help to some extent but the fact that my project was AIR based and this workaround only worked while testing project. When I tried to publish the project, AIR will throw error about the environment variable set for this workaround. &lt;br/&gt;&lt;br/&gt;I was also running into another issue which was that in the Edit=&gt;Preferences=&gt;ActionScript=&gt; Action Script 3 settings tab, I was seeing multiple entries of the &#39;./src/&quot; in the &quot;Source Path&quot; section. It seemed that everytime I opened the project, a new entry for this item was being added to that section. As I was in a hurry, instead of looking for the cause et all, I just decided to search for these entries in the registry and found them in the following section&lt;br/&gt;&lt;code&gt;&lt;br/&gt;[HKEY_CURRENT_USER\Software\Adobe\Flash 10\ActionsInspector]&lt;br/&gt;&lt;/code&gt;&lt;br/&gt;&lt;br/&gt;While looking at it I also saw a parameter &quot;JVM Max Heap Size&quot; and I wondered if it was same as what was being done by setting that extra environment variable &quot;JAVA_TOOL_OPTIONS&quot; and changed this to &quot;100&quot; (hexa) or &quot;256&quot; (decimal). Removed that environment variable from the system and it has been more than 2 months now and I have not encountered the &quot;5005: Unknown error optimizing byte code&quot; error even once. &lt;br/&gt;&lt;br/&gt;&lt;strong&gt;&lt;em&gt;As it does involved tinkering with the registry file, please take a backup of the registry section before changing the values so that you can restore if required.&lt;/em&gt;&lt;/strong&gt; Another good thing I found here was that here are stored all the path values for Source Folder, Library, external library, the panel for Adobe has designed as dumb as possible - you can resize it to be bigger, and if you have multiple entries there, scrolling is just pain.. :?.. and I personally found it easier to edit/ update these values in the registry than doing it using the preferences pane. &lt;br/&gt;&lt;br/&gt;A typical backup will look like this.. &lt;br/&gt;&lt;code&gt;&lt;br/&gt;Windows Registry Editor Version 5.00&lt;br/&gt;&lt;br/&gt;[HKEY_CURRENT_USER\Software\Adobe\Flash 10\ActionsInspector]&lt;br/&gt;&quot;Package Paths&quot;=&quot;.;$(LocalData)/Classes&quot;&lt;br/&gt;&quot;AS3 Package Paths&quot;=&quot;./src/;$(AppConfig)/Component Source/ActionScript 3.0/User Interface;C:/MyInstalls/Adobe/FlexBuilder3/sdks/3.4.0/frameworks/projects/framework/src;C:/MyInstalls/Adobe/FlexBuilder3/sdks/3.4.0/frameworks/projects/rpc/src;C:/MyInstalls/Adobe/FlexBuilder3/sdks/3.4.0/frameworks/projects/utilities/src&quot;&lt;br/&gt;&quot;AS3 Library Paths&quot;=&quot;C:/MyInstalls/Adobe/FlexBuilder3/sdks/3.4.0/frameworks/libs/flex.swc;C:/MyInstalls/Adobe/FlexBuilder3/sdks/3.4.0/frameworks/libs/framework.swc;C:/MyInstalls/Adobe/FlexBuilder3/sdks/3.4.0/frameworks/libs/rpc.swc;C:/MyInstalls/Adobe/FlexBuilder3/sdks/3.4.0/frameworks/libs/utilities.swc&quot;&lt;br/&gt;&quot;AS3 External Library Paths&quot;=&quot;C:/MyInstalls/Adobe/AIR1.5SDK/frameworks/libs/air/servicemonitor.swc&quot;&lt;br/&gt;&quot;Flex SDK Path&quot;=&quot;C:/MyInstalls/Adobe/FlexBuilder3/sdks/3.4.0&quot;&lt;br/&gt;&quot;Classpath State&quot;=dword:00000001&lt;br/&gt;&quot;JVM Max Heap Size&quot;=dword:00000100&lt;br/&gt;&lt;/code&gt;&lt;br/&gt;&lt;br/&gt;In case any of you has found a better solution the Error 5005 or the multiple entries for the src folder.. please do let me know...</content><link rel='replies' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/4197763456655468726/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2009/11/5005-unknown-error-optimizing-byte-code.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/4197763456655468726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/4197763456655468726'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2009/11/5005-unknown-error-optimizing-byte-code.html' title='5005: Unknown error optimizing byte code'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5790876332776215482.post-2061272705692013282</id><published>2009-03-20T19:22:00.000+05:30</published><updated>2010-07-12T21:17:16.020+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="deploy"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="JDK"/><category scheme="http://www.blogger.com/atom/ns#" term="JDK 1.4"/><category scheme="http://www.blogger.com/atom/ns#" term="JDK 1.5"/><category scheme="http://www.blogger.com/atom/ns#" term="Web Applications"/><title type='text'>Develop in JDK1.5, deploy on 1.4 :-)</title><content type='html'>&lt;p&gt;&lt;br/&gt;You must be wondering why the hell would I want to do that and why not just develop in 1.4? Well, for one, may be you want to use the new features of JDK1.5 but some of the customer for some reason still stuck with JDK1.4 or like in my case, due to some stupidity on our client&amp;#39;s part that he bought license to an older version of the application server (yes, it was Websphere) which does not support 1.5 and rest of the stupidity on our part that we just assumed that the application server will be supporting 1.5. &lt;br/&gt;&lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;We kept on developing the application and giving demos to the client on our server and when it came to deployment only then we realized that we are in one big soup. And as always Google to the rescue, which helped me find an open source solution &lt;a rel=&quot;nofollow&quot; href=&quot;http://retroweaver.sourceforge.net/&quot; target=&quot;_blank&quot; title=&quot;Click here to open Retroweaver site in new window...&quot;&gt;Retroweaver&lt;/a&gt;&amp;nbsp; which operates by transforming Java class files compiled by a 1.5 compiler into version 1.4 class files which can then be run on any 1.4 virtual machine. &lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;For more details follow the link. Hope this helps &lt;img src=&quot;http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/5.gif&quot; alt=&quot;Batting Eyelashes&quot; /&gt; &lt;br/&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/2061272705692013282/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2009/03/develop-in-jdk15-deploy-on-14.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/2061272705692013282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/2061272705692013282'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2009/03/develop-in-jdk15-deploy-on-14.html' title='Develop in JDK1.5, deploy on 1.4 :-)'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5790876332776215482.post-773704132841977722</id><published>2009-01-28T14:01:00.000+05:30</published><updated>2010-07-12T21:17:16.023+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CE PB6"/><category scheme="http://www.blogger.com/atom/ns#" term="Embedded"/><category scheme="http://www.blogger.com/atom/ns#" term="installation"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="PB6"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows CE"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows CE6"/><title type='text'>Problem Installing Windows CE 6 Platform Builder SP1</title><content type='html'>While installing Windows CE 6 Platform Builder, I ran into a problem. When I tried to install the SP1, it gave an error saying that I need to have CS 2005, VS 2005 SP1 and Windows CE6 installed. This seemed kind of funny as I had already all three installed. Googling led me to a thread where someone mentioned that installing Windows CE 6, breaks something in the VS 2005 SP1 and reinstalling SP1 should fix it. Tried that and after an agonizing 30 minutes, when I ran the PB SP1 again, no more error message.</content><link rel='replies' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/773704132841977722/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2009/01/problem-installing-windows-ce-6.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/773704132841977722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/773704132841977722'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2009/01/problem-installing-windows-ce-6.html' title='Problem Installing Windows CE 6 Platform Builder SP1'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5790876332776215482.post-1000515060534054776</id><published>2009-01-13T22:11:00.000+05:30</published><updated>2010-07-12T21:17:16.025+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="MySql"/><category scheme="http://www.blogger.com/atom/ns#" term="password"/><category scheme="http://www.blogger.com/atom/ns#" term="reset"/><category scheme="http://www.blogger.com/atom/ns#" term="root"/><title type='text'>Reset MySql root password</title><content type='html'>&lt;p&gt;&lt;br/&gt;Well, it had been quite sometime since I used MySql and then for some demo I had to. But, the problem was that I had forgotten the password and googling for help told me that I am not the only stupid in this universe &lt;img src=&quot;http://www.bhootnath.in/dnbe/editors/tiny_mce/plugins/emotions/images/smiley-embarassed.gif&quot; border=&quot;0&quot; alt=&quot;Embarassed&quot; title=&quot;Embarassed&quot; width=&quot;18&quot; height=&quot;18&quot; /&gt;. Well here is the solution to the problem: &lt;br/&gt;&lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;ol&gt;&lt;br/&gt;	&lt;li&gt;&lt;br/&gt;	&lt;div&gt;&lt;br/&gt;	Stop your MySql service. &lt;br/&gt;	&lt;/div&gt;&lt;br/&gt;	&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;&lt;br/&gt;	&lt;div&gt;&lt;br/&gt;	Open and command window. &lt;br/&gt;	&lt;/div&gt;&lt;br/&gt;	&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;&lt;br/&gt;	&lt;div&gt;&lt;br/&gt;	cd to the MySql bin directory (if the MySql bin is not added to your path). &lt;br/&gt;	&lt;/div&gt;&lt;br/&gt;	&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;&lt;br/&gt;	&lt;div&gt;&lt;br/&gt;	Now run this command &lt;br/&gt;	mysqld-nt.exe --skip-grant-tables &amp;amp; &lt;br/&gt;	&lt;/div&gt;&lt;br/&gt;	&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;&lt;br/&gt;	&lt;div&gt;&lt;br/&gt;	Now open another command window and if required again cd to the MySql bin window and run this command&lt;br/&gt;	mysql -u root mysql &lt;br/&gt;	&lt;/div&gt;&lt;br/&gt;	&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;&lt;br/&gt;	&lt;div&gt;&lt;br/&gt;	In MySQL command line prompt run the following commands: &lt;br/&gt;	UPDATE user SET password=PASSWORD(&amp;quot;password1234&amp;quot;) WHERE user=&amp;quot;root&amp;quot;; &lt;br/&gt;	FLUSH PRIVILEGES; &lt;br/&gt;	&lt;/div&gt;&lt;br/&gt;	&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;&lt;br/&gt;	&lt;div&gt;&lt;br/&gt;	Yippe... the root password is reset to &amp;quot;password1234&amp;quot; and MySQL will now &lt;br/&gt;	know the privileges and you&amp;#39;ll be able to login with your new password. &lt;br/&gt;	&lt;/div&gt;&lt;br/&gt;	&lt;/li&gt;&lt;br/&gt;&lt;br/&gt;&lt;/ol&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;&amp;nbsp;Of course this set of instruction is for Windows and MySQL 5. For Linux, I guess (am not sure, so please look around in the mysql bin directory for correct file name), the command in step 4 will change to &amp;quot;mysqld_safe --skip-grant-tables &amp;amp;&amp;quot; (based of googled results). Rest I believe should be same. In case someone I missed something or you have instruction for other OS/ mysql versions, let me know, will be happy to update it. &lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;&amp;nbsp;&lt;br/&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/1000515060534054776/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2009/01/reset-mysql-root-password.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/1000515060534054776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/1000515060534054776'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2009/01/reset-mysql-root-password.html' title='Reset MySql root password'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5790876332776215482.post-2682079321347604184</id><published>2009-01-13T21:11:00.000+05:30</published><updated>2010-07-12T21:17:16.029+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="center align"/><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="layout"/><category scheme="http://www.blogger.com/atom/ns#" term="Web Applications"/><title type='text'>Center align site layout using CSS</title><content type='html'>&lt;p&gt;&lt;br/&gt;&lt;font face=&quot;verdana&quot; size=&quot;2&quot; color=&quot;#000000&quot;&gt;Recently I began creating 100% CSS layouts, and faced a lot of problems in getting the content to be centered in both IE and FF. After lot of googling, the final working css is : &lt;/font&gt;&lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br/&gt;&lt;pre lang=&quot;css&quot; line=&quot;1&quot; file=&quot;sample.css&quot;&gt;&lt;br/&gt;body {&lt;br/&gt;text-align:center;&lt;br/&gt;} &lt;br/&gt;&lt;br/&gt;div#content{&lt;br/&gt;text-align:left;&lt;br/&gt;width:748px; &lt;br/&gt;margin:0 auto;&lt;br/&gt;} &lt;br/&gt;&lt;/pre&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;&lt;br/&gt;&lt;font size=&quot;2&quot;&gt;Change &amp;quot;content&amp;quot; for the name of the enclosing div around the page content.&lt;/font&gt; &lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;&amp;nbsp;&lt;br/&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/2682079321347604184/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2009/01/center-align-site-layout-using-css.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/2682079321347604184'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/2682079321347604184'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2009/01/center-align-site-layout-using-css.html' title='Center align site layout using CSS'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5790876332776215482.post-6392376006547974153</id><published>2009-01-13T20:56:00.000+05:30</published><updated>2010-07-12T21:17:16.030+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Adobe"/><category scheme="http://www.blogger.com/atom/ns#" term="crash"/><category scheme="http://www.blogger.com/atom/ns#" term="dynamic form"/><category scheme="http://www.blogger.com/atom/ns#" term="Form Designer"/><category scheme="http://www.blogger.com/atom/ns#" term="LiveCycle"/><title type='text'>LiveCycle Form Designer quits on opening a dynamic form</title><content type='html'>&lt;p&gt;&lt;br/&gt;A weird solution to a weird problem. My LiveCycle Designer was working fine and then all of a sudden, it started quitting the moment a dynamic form was opened. The error message was standard application crash one saying&lt;br/&gt;&lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;&amp;quot;Adobe LiveCycle Designer ES has encountered a problem and needs to close. We are sorry for the inconvenience.&amp;quot;&lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;&amp;nbsp;Googling led to the Adobe forums and there found this solution - Delete the folder &amp;quot;Designer&amp;quot; residing in your User folder &amp;quot;Appplication Data\Adobe&amp;quot;. Usually that should be &amp;quot;C:\Documents and Settings\YOUR USER NAME\Application Data\Adobe&amp;quot;. Just delete the folder names &amp;quot;Designer&amp;quot; and when you start the LiveCycle Designer, it will be created again and this time there should be no problem opening a form. Apparently this may also be caused if you have SQL 2008 installed on your system.&amp;nbsp;If thats is the problem in your case, follw this link&lt;br/&gt;&lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;&lt;a href=&quot;http://www.adobe.com/go/kb407823&quot;&gt;http://www.adobe.com/go/kb407823&lt;/a&gt;&lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;&amp;nbsp;&lt;br/&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/6392376006547974153/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2009/01/livecycle-form-designer-quits-on.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/6392376006547974153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/6392376006547974153'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2009/01/livecycle-form-designer-quits-on.html' title='LiveCycle Form Designer quits on opening a dynamic form'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5790876332776215482.post-6581829973431486703</id><published>2009-01-13T20:23:00.001+05:30</published><updated>2010-07-12T22:55:56.190+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="basil"/><category scheme="http://www.blogger.com/atom/ns#" term="Italian"/><category scheme="http://www.blogger.com/atom/ns#" term="Recipe"/><category scheme="http://www.blogger.com/atom/ns#" term="Recipes"/><category scheme="http://www.blogger.com/atom/ns#" term="risotto"/><category scheme="http://www.blogger.com/atom/ns#" term="Tomato"/><title type='text'>Tomato Basil Risotto</title><content type='html'>&lt;h3&gt;Ingredients:&lt;/h3&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8 cup chicken broth &lt;br /&gt;
1/8 tsp. saffron threads &lt;br /&gt;
1/4 cup Olive oil&lt;br /&gt;
4 tbsp.&amp;nbsp;butter (preferably unsalted)&lt;br /&gt;
1/4 cup chopped onion &lt;br /&gt;
3 cup choopped plum tomatoes &lt;br /&gt;
2 cup Arborio rice &lt;br /&gt;
1/4 cup. chopped fresh basil &lt;br /&gt;
1/2 cup grated Parmesan cheese &lt;br /&gt;
1/3 cup&amp;nbsp;white wine&lt;br /&gt;
1/2 tsp. (or to taste) pepper (preferably freshly ground)&lt;br /&gt;
Salt to taste &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Directions: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In a medium saucepan, bring th stock to a simmer and crumble in the saffron threads. Maintain simmer over low heat.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In a large thick base saucepan, heat the oil and 2 tbsp. butter&amp;nbsp;over medium heat. Add the&amp;nbsp;onion and cook until the onion is translucent, about 2 minutes. Add the rice and stir for about 2 minutes until coated with oil. Add tomato and&amp;nbsp;cook for another&amp;nbsp;2&amp;nbsp;minutes, stirring constantly. Add the wine and cook, stirring, until it evaporates. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add 1/2 cup of the stock and cook, stirring constantly, until the rice has absorbed most of the liquid. Gradually add stock, 1/2 c. at a time, cook, stirring constantly, until the rice is almost tender but still slightly crunchy, about&amp;nbsp;20-25 minutes.&lt;br /&gt;
&lt;br /&gt;
Add the cheese and season with salt and pepper. Cook, stirring and adding stock as necessary, 1/4 cup at a time, until the rice is tender but still firm with a creamy sauce, about 5-6 minutes longer. Stir in remaining 2 tbsp. butter, chopped basil, and remaining ingredients.&amp;nbsp;Serve hot.</content><link rel='replies' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/6581829973431486703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2009/01/tomato-basil-risotto.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/6581829973431486703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/6581829973431486703'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2009/01/tomato-basil-risotto.html' title='Tomato Basil Risotto'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5790876332776215482.post-6804109631584336297</id><published>2008-09-03T00:10:00.000+05:30</published><updated>2010-07-12T21:17:16.035+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Adobe"/><category scheme="http://www.blogger.com/atom/ns#" term="Bonjour"/><category scheme="http://www.blogger.com/atom/ns#" term="service"/><category scheme="http://www.blogger.com/atom/ns#" term="Vella Stuff"/><title type='text'>How to remove Bonjour Service</title><content type='html'>&lt;p&gt;&lt;br/&gt;Dont you hate it when are installing some software and later on you find out that it installed something else too without even asking. Way to go Adobe .. grrrrrrrrrr... &lt;br/&gt;&lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;Recently I installed Adobe CS3 and a few days later while looking at my service panel, i see a strnage service named &amp;quot;##Id_String2.6844F930_1628_4223_B5CC_5BB94B879762##&amp;quot;. Wondering what it is, I looked at its properties and see that it is Bonjour service given a cryptic name. Googling it told me that CS3 uses it for the CUE server. Its objective is to provide zero-configuration connectivity between Version Cue server and the suite&amp;rsquo;s other applications.  &lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;One, I did not like the cryptic name, and two,&amp;nbsp;I did not even install Cue server and why the hell did the installer install this unnecessary service into my ststem. You may also find this service installed on your computer if you have installed Safari or iTunes. Anyways, I find it a totally useless service, so here is how to rename/ remove it. &lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;If you are using Version Cue, you can correct the service name just by running two commands in a command window (Start -&amp;gt; Run -&amp;gt; cmd): &lt;br/&gt;&lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;%PROGRAMFILES%\Bonjour\mDNSResponder.exe&amp;quot; -remove&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;%PROGRAMFILES%\Bonjour\mDNSResponder.exe&amp;quot; -install &lt;br/&gt;&lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;If your program file folder path is different, please update the path accordingly. The commands are to be run with the quotes as there is space in the path to the file. If you do not have space in the path to Bonjour directory, you can omit the quotes in the command. If you are running Windows Vista, ensure that the command window is opened as Adminsitrator, else these command will not work at all. &amp;nbsp; &lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;Now you will have correct name for the service in the services panel. &lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;In case you do not have Cue server installed like me and wish to remove this service from your system, here is how to do that. &lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;First stop the service if it is running. Now open the command window (Start -&amp;gt; Run -&amp;gt; cmd) and run this command: &lt;br/&gt;&lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;&amp;quot;%PROGRAMFILES%\Bonjour\mDNSResponder.exe&amp;quot; -remove &lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;Restart your computer and if everything seems to be working fine&amp;nbsp;browse to the &amp;quot;%PROGRAMFILES%\&amp;quot; and delete the &amp;quot;Bonjour&amp;quot; folder. You are advised to delete the Bonjor folder after restart as if there are any problems becuase of removing this service you can re-install it. And just in case you have deleted it and for some reason you want to reinstall it, you can download it from &lt;a href=&quot;http://www.apple.com/support/downloads/bonjourforwindows.html&quot;&gt;http://www.apple.com/support/downloads/bonjourforwindows.html&lt;/a&gt;&amp;nbsp;and install it again. Personally I have never felt the need to. &lt;br/&gt;&lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;&amp;nbsp;&lt;br/&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/6804109631584336297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2008/09/how-to-remove-bonjour-service.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/6804109631584336297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/6804109631584336297'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2008/09/how-to-remove-bonjour-service.html' title='How to remove Bonjour Service'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5790876332776215482.post-7613187320084931226</id><published>2008-09-03T00:01:00.000+05:30</published><updated>2010-07-12T21:17:16.038+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apache Tomcat"/><category scheme="http://www.blogger.com/atom/ns#" term="error"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="service"/><category scheme="http://www.blogger.com/atom/ns#" term="Tomcat"/><category scheme="http://www.blogger.com/atom/ns#" term="VC6"/><title type='text'>Tomcat does not start as service</title><content type='html'>&lt;p&gt;&lt;br/&gt;You have installed JDK latest version, and now you installed Tomcat, configfured to run as service but when you try and start it, it fails. Looking into the logs you see an error like his : &lt;br/&gt;&lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;[2008-08-06 22:24:50] [info] Procrun (2.0.4.0) started&lt;br/&gt;[2008-08-06 22:24:50] [info] Running Service...&lt;br/&gt;[2008-08-06 22:24:50] [info] Starting service...&lt;br/&gt;[2008-08-06 22:24:50] [174&amp;nbsp; javajni.c] [error] The specified module could not be found.&lt;br/&gt;[2008-08-06 22:24:50] [994&amp;nbsp; prunsrv.c] [error] Failed creating java %JAVA_HOME%\jre1.6\bin\client\jvm.dll&lt;br/&gt;[2008-08-06 22:24:50] [1269 prunsrv.c] [error] ServiceStart returned 1&lt;br/&gt;[2008-08-06 22:24:50] [info] Run service finished.&lt;br/&gt;[2008-08-06 22:24:50] [info] Procrun finished.&lt;br/&gt;Tomcat startup eerrro as service&amp;nbsp; &lt;br/&gt;&lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;&amp;nbsp;And that typo &amp;quot;eerrro&amp;quot; is not my doing &lt;img src=&quot;http://www.bhootnath.in/dnbe/editors/tiny_mce/plugins/emotions/images/smiley-embarassed.gif&quot; border=&quot;0&quot; alt=&quot;Embarassed&quot; title=&quot;Embarassed&quot; width=&quot;18&quot; height=&quot;18&quot; /&gt;, it is tomcat only throwing this garbage into the log. &lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;Most of the times, this is caused because of missing &amp;quot;msvcr71.dll&amp;quot;. You can get it from &lt;a href=&quot;http://www.dll-files.com/dllindex/dll-files.shtml?msvcr71&quot;&gt;http://www.dll-files.com/dllindex/dll-files.shtml?msvcr71&lt;/a&gt; &lt;br/&gt;&lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;Copy it into your system directory, usually C:\windows\system32 and ensure that file has execute permission set.&amp;nbsp;Tomcat should be able to run as service now. &lt;br/&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/7613187320084931226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2008/09/tomcat-does-not-start-as-service.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/7613187320084931226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/7613187320084931226'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2008/09/tomcat-does-not-start-as-service.html' title='Tomcat does not start as service'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5790876332776215482.post-924522633606990770</id><published>2008-09-02T22:52:00.000+05:30</published><updated>2010-07-12T21:17:16.040+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="browser"/><category scheme="http://www.blogger.com/atom/ns#" term="error"/><category scheme="http://www.blogger.com/atom/ns#" term="https"/><category scheme="http://www.blogger.com/atom/ns#" term="nonsecure"/><category scheme="http://www.blogger.com/atom/ns#" term="secure"/><category scheme="http://www.blogger.com/atom/ns#" term="warning"/><category scheme="http://www.blogger.com/atom/ns#" term="Web Applications"/><title type='text'>Getting rid of the &amp;quot;This page contains both secure and nonsecure items&amp;quot;&#xa;warning?</title><content type='html'>&lt;p&gt;&lt;br/&gt;Sometimes while you are visiting a secure site, you may see your IE show this warning message &amp;quot;This page contains both secure and nonsecure items. Do you want to display the nonsecure items?&amp;quot; &lt;br/&gt;&lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;&amp;nbsp;&lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;&lt;a href=&quot;http://www.adyant.net/dnbe/image.axd?picture=WindowsLiveWriter/GettingridoftheThispagecontainsbothsecur_14FB2/Secure%20nonsecure_2.jpg&quot;&gt;&lt;img style=&quot;border: 0px&quot; src=&quot;http://www.adyant.net/dnbe/image.axd?picture=WindowsLiveWriter/GettingridoftheThispagecontainsbothsecur_14FB2/Secure%20nonsecure_thumb.jpg&quot; border=&quot;0&quot; alt=&quot;Secure nonsecure&quot; width=&quot;438&quot; height=&quot;315&quot; /&gt;&lt;/a&gt; &lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;As a user this is not only inconvenient but some may find it a bit scary as well. &lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;As a developer you must ensure that your users do not get any such warning, there are few things you must keep in mind. Most of the time such warnings are generated as result of including a non secure content like an image or stylesheet in the secure page with absolute URL which is using standard http protocol to get the content. &lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;say &amp;quot;http://www.example.com&amp;quot; has an image &amp;quot;image.jpg&amp;quot; included in the page. The secure site, &amp;quot;https://www.example.com&amp;quot; is using the same image but the image source attribute is set as &amp;quot;http://www.example.com/image.jpg&amp;quot;. here is your problem content. Copy the logo to the secure site and load it from there. All you need to do here is use &amp;quot;https://www.example.com/image.jpg&amp;quot; as the image source attribute and the user will no longer get the warning message about mixed content. &lt;br/&gt;&lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;Sometimes this warning is also generated because of IFRAME tags in your page. If you have an IFRAME in your page, ensure that its source attribute is set. If there is no source attribute set for the IFRAME, or set to null, user will be displayed this warning message. When you set the src, make sure it points to a real file. &lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;If you are unable to find the culprit content, try debugging it in Firefox, using the Web Developer extension or Firebug. These extensions allows you to look at detailed information including the paths of various objects/ contents in the page. &lt;br/&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/924522633606990770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2008/09/getting-rid-of-page-contains-both.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/924522633606990770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/924522633606990770'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2008/09/getting-rid-of-page-contains-both.html' title='Getting rid of the &amp;quot;This page contains both secure and nonsecure items&amp;quot;&#xa;warning?'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5790876332776215482.post-5892290188420364155</id><published>2008-07-27T22:53:00.000+05:30</published><updated>2010-07-12T21:17:16.044+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="antivirus"/><category scheme="http://www.blogger.com/atom/ns#" term="online"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><category scheme="http://www.blogger.com/atom/ns#" term="virus scan"/><title type='text'>Online Virus Scan Services</title><content type='html'>&lt;p&gt;&lt;br/&gt;So one of your friends sent you a link to some software he thinks worth checking out. Now you are wondering, if the website you are downloading from can be truested or not. What if the file is infected with a virus, may be flu or may be more serious kinds? Well I dont know what is driving these web sites, but I am thankful for their existance. If you have a file from a source you do not trust, you can upload the file and check it for any known virus/ trojans. too bad, they dont check for flu virus &lt;img src=&quot;http://www.bhootnath.in/dnbe/editors/tiny_mce/plugins/emotions/images/smiley-sealed.gif&quot; border=&quot;0&quot; alt=&quot;Sealed&quot; title=&quot;Sealed&quot; width=&quot;18&quot; height=&quot;18&quot; /&gt;, I could have used that service not so long ago.&lt;br/&gt;&lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;Anyways here they are&lt;br/&gt;&lt;/p&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;&lt;br/&gt;	&lt;div&gt;&lt;br/&gt;	&lt;a href=&quot;http://scanner.virus.org/&quot;&gt;http://scanner.virus.org/&lt;/a&gt;&lt;br/&gt;	&lt;/div&gt;&lt;br/&gt;	&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;&lt;br/&gt;	&lt;div&gt;&lt;br/&gt;	&lt;a href=&quot;http://www.virscan.org/&quot;&gt;http://www.virscan.org/&lt;/a&gt;&lt;br/&gt;	&lt;/div&gt;&lt;br/&gt;	&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;&lt;br/&gt;	&lt;div&gt;&lt;br/&gt;	&lt;a href=&quot;http://virusscan.jotti.org/&quot;&gt;http://virusscan.jotti.org/&lt;/a&gt;&lt;br/&gt;	&lt;/div&gt;&lt;br/&gt;	&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;&lt;br/&gt;	&lt;div&gt;&lt;br/&gt;	&lt;a href=&quot;http://www.virustotal.com/&quot;&gt;http://www.virustotal.com/&lt;/a&gt;&lt;br/&gt;	&lt;/div&gt;&lt;br/&gt;	&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;&lt;br/&gt;	&lt;div&gt;&lt;br/&gt;	&lt;a href=&quot;http://www.viruschief.com/&quot;&gt;http://www.viruschief.com/&lt;/a&gt;&lt;br/&gt;	&lt;/div&gt;&lt;br/&gt;	&lt;/li&gt;&lt;br/&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;p&gt;&lt;br/&gt;No order here, all these websites use multiple scan engines to check the file, none requires any kind of registration.&lt;br/&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://bhootnath-mumbojumbo.blogspot.com/feeds/5892290188420364155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2008/07/online-virus-scan-services.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/5892290188420364155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5790876332776215482/posts/default/5892290188420364155'/><link rel='alternate' type='text/html' href='http://bhootnath-mumbojumbo.blogspot.com/2008/07/online-virus-scan-services.html' title='Online Virus Scan Services'/><author><name>Bhootnath</name><uri>http://www.blogger.com/profile/08506675276098303058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>