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

<channel>
	<title>TUX</title>
	<atom:link href="http://tuxomaniac.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tuxomaniac.wordpress.com</link>
	<description>Live Free...Live in style...</description>
	<lastBuildDate>Fri, 09 Dec 2011 07:15:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='tuxomaniac.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>TUX</title>
		<link>http://tuxomaniac.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://tuxomaniac.wordpress.com/osd.xml" title="TUX" />
	<atom:link rel='hub' href='http://tuxomaniac.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Django session message via middleware</title>
		<link>http://tuxomaniac.wordpress.com/2011/09/20/django-session-message-via-middleware/</link>
		<comments>http://tuxomaniac.wordpress.com/2011/09/20/django-session-message-via-middleware/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 09:47:13 +0000</pubDate>
		<dc:creator>Cyriac</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tuxomaniac.wordpress.com/?p=317</guid>
		<description><![CDATA[Django session message is a wonderful app in django to provide messages for the users. http://code.google.com/p/django-session-messages/ It is used to provide system wide announcements and user specific messages for both Authenticated and Anonymous users in a django system. The app works via the context processors. This is means, it is very easy to integrate with <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tuxomaniac.wordpress.com&amp;blog=2361072&amp;post=317&amp;subd=tuxomaniac&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Django session message is a wonderful app in django to provide messages for the users. http://code.google.com/p/django-session-messages/<br />
It is used to provide system wide announcements and user specific messages for both Authenticated and Anonymous users in a django system.</p>
<p>The app works via the context processors. This is means, it is very easy to integrate with your application.</p>
<p>But for us at <a title="Taggle" href="http://www.taggle.com" target="_blank">taggle</a>, we had issues when we deployed our view caches. It created odd behaviors resulting in wrong messages posted to wrong people and some messages not getting posted as the pages got cached on the server. To get around this we decided to pass the session messages via cookies and then read it via javascript at the user end and then display it.</p>
<p>Here is the middleware which puts the session message in the cookies, and the front end javascript takes care of the rest.</p>
<pre>from django.conf import settings
from django.utils.encoding import smart_str
import urllib

class SessionMessageMiddleware(object):

    def process_response(self, request, response):
        """
        Sticks the session_messages into the cookies for the current session.
        Each message is seperated by ###.
        """

        try:
            domain = settings.COOKIE_DOMAIN_NAME
        except AttributeError:
            domain = None

        session_messages = LazyMessages(request)
        s_message = ""

        if 'session_messages' in request.COOKIES:
            if len(request.COOKIES['session_messages']) == 0:
                for m in session_messages:
                    s_message += urllib.quote(smart_str(m)) + "###"
            else:
                s_message = request.COOKIES['session_messages']
        else:
            for m in session_messages:
                s_message += urllib.quote(smart_str(m)) + "###"

        if domain != None:
            response.set_cookie("session_messages",s_message,domain=settings.COOKIE_DOMAIN_NAME)
            response.set_cookie("session_gaevents",s_gmessage,domain=settings.COOKIE_DOMAIN_NAME)
            response.set_cookie("session_mids",s_mids,domain=settings.COOKIE_DOMAIN_NAME)
        else:
            response.set_cookie("session_messages",s_message)
            response.set_cookie("session_gaevents",s_gmessage)
            response.set_cookie("session_mids",s_mids)

        return response</pre>
<p>At the front end we use jQuery to dismantle the cookie and then display it. Here is the small snippet we use.</p>
<pre>function showSessionMessages(){
    try{
    s_msg=$.cookie("session_messages");
    $.cookie("session_messages", null, { path : '/', expires: -5});
    if ( s_msg != null){
	s_msg = s_msg.replace(/^"/,"").replace(/"$/,"");
	s_msg = s_msg.replace(/###$/,"");
	msgs=s_msg.split("###");
	msgs=unique(msgs);
	if (msgs.length &gt; 0 &amp;&amp; msgs[0].length &gt; 0){
	    $.each(msgs, function(i,l){
		show_message(l);
		});
	}
    }
    }
    catch(err){}
}</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tuxomaniac.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tuxomaniac.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tuxomaniac.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tuxomaniac.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tuxomaniac.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tuxomaniac.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tuxomaniac.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tuxomaniac.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tuxomaniac.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tuxomaniac.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tuxomaniac.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tuxomaniac.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tuxomaniac.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tuxomaniac.wordpress.com/317/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tuxomaniac.wordpress.com&amp;blog=2361072&amp;post=317&amp;subd=tuxomaniac&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tuxomaniac.wordpress.com/2011/09/20/django-session-message-via-middleware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67dc1abbba7a268716560cae63067f2a?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">technomaniac</media:title>
		</media:content>
	</item>
		<item>
		<title>Mobile Template Loader &#8211; Django</title>
		<link>http://tuxomaniac.wordpress.com/2011/05/11/mobile-template-loader-django/</link>
		<comments>http://tuxomaniac.wordpress.com/2011/05/11/mobile-template-loader-django/#comments</comments>
		<pubDate>Wed, 11 May 2011 14:03:40 +0000</pubDate>
		<dc:creator>Cyriac</dc:creator>
				<category><![CDATA[Web/Internet]]></category>

		<guid isPermaLink="false">http://tuxomaniac.wordpress.com/?p=326</guid>
		<description><![CDATA[The web is moving towards the mobile world faster and faster. The number of people using mobile browsers are keeping on increasing. The current emergence of the devices like the iPad and other Tablets are increasing the pace of adoption of mobile browsers. You mostly might have seen m.abc.com or touch.xyz.com etc under certain domains <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tuxomaniac.wordpress.com&amp;blog=2361072&amp;post=326&amp;subd=tuxomaniac&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The web is moving towards the mobile world faster and faster. The number of people using mobile browsers are keeping on increasing. The current emergence of the devices like the iPad and other Tablets are increasing the pace of adoption of mobile browsers.</p>
<p>You mostly might have seen m.abc.com or touch.xyz.com etc under certain domains where the mobile browsers are redirected. But, I wanted the mobile browser not to redirect to the a separate domain. I wanted to UI to change itself on the same domain for a mobile browser.</p>
<p>So here is a small snippet I wrote with the little help from <a href="http://opensource.washingtontimes.com/blog/2010/feb/17/loading-templates-based-request-headers-django/">here</a>.</p>
<p>The set contains:</p>
<ul>
<li>A new middleware to identify the browser and mark the mobile flag in thread_locals.</li>
<li>A template loader to take the mobile template in the folder mobile_templates if present. <em>ie: if you specify a template directory and then add a new file under the directory mobile_templates in the app template directory, it picks up that template than the normal template.</em></li>
</ul>
<div>The Middleware:</div>
<div>
<pre>import re
try:
    from threading import local
except ImportError:
    from django.utils._threading_local import local

_thread_locals = local() 

reg_b = re.compile(r"android|avantgo|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|symbian|treo|up\\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino", re.I|re.M)
reg_v = re.compile(r"1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\\-(n|u)|c55\\/|capi|ccwa|cdm\\-|cell|chtm|cldc|cmd\\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\\-s|devi|dica|dmob|do(c|p)o|ds(12|\\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\\-|_)|g1 u|g560|gene|gf\\-5|g\\-mo|go(\\.w|od)|gr(ad|un)|haie|hcit|hd\\-(m|p|t)|hei\\-|hi(pt|ta)|hp( i|ip)|hs\\-c|ht(c(\\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\\-(20|go|ma)|i230|iac( |\\-|\\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\\/)|klon|kpt |kwc\\-|kyo(c|k)|le(no|xi)|lg( g|\\/(k|l|u)|50|54|e\\-|e\\/|\\-[a-w])|libw|lynx|m1\\-w|m3ga|m50\\/|ma(te|ui|xo)|mc(01|21|ca)|m\\-cr|me(di|rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\\-2|po(ck|rt|se)|prox|psio|pt\\-g|qa\\-a|qc(07|12|21|32|60|\\-[2-7]|i\\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\\-|oo|p\\-)|sdk\\/|se(c(\\-|0|1)|47|mc|nd|ri)|sgh\\-|shar|sie(\\-|m)|sk\\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\\-|v\\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\\-|tdg\\-|tel(i|m)|tim\\-|t\\-mo|to(pl|sh)|ts(70|m\\-|m3|m5)|tx\\-9|up(\\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|xda(\\-|2|g)|yas\\-|your|zeto|zte\\-", re.I|re.M)

def get_mobile_request():
    return getattr(_thread_locals, 'mobile', None)

def set_mobile_request(mobile):
    setattr(_thread_locals,'mobile',mobile)

def unset_mobile_request():
    setattr(_thread_locals,'mobile',None)

class MobileMiddleware():
    def process_request(self, request):
        request.is_mobile = False
        if request.META.has_key('HTTP_USER_AGENT'):
            user_agent = request.META['HTTP_USER_AGENT']
            b = reg_b.search(user_agent)
            v = reg_v.search(user_agent[0:4])
            if b or v:
                request.is_mobile = True
        if request.is_mobile:
            set_mobile_request(request.is_mobile)

    def process_response(self, request, response):
        unset_mobile_request()
        return response</pre>
</div>
<div>Now add the below template loaders to the beginning of your template loader list:</div>
<div>
<pre>from django.conf import settings
from django.template import TemplateDoesNotExist
from django.utils._os import safe_join
from django.utils.encoding import smart_str
import os
from custom_middlware import get_mobile_request

def get_template_sources(template_name,template_dirs = None):
    """
        Returns the absolute path of the template names when appended to the template_dirs.
        If there is a browser is a mobile browser, the MobileMiddleware sets the mobile flag.
        This function checks for a directory named mobile_templates and finds the template.
    """
    mobile = get_mobile_request()
    #mobile = True
    if mobile is not None and mobile is True:
        try:
            for template_dir in template_dirs:
                parts = template_name.split("/")
                parts.insert(len(parts)-1,"mobile_templates")
                appDirName = smart_str(parts[0])
                parts.insert(0,"templates")
                if appDirName != "tagglecom":
                    parts.insert(0,appDirName)
                mobileTemplatePath = os.sep.join(smart_str(n) for n in parts)
                yield safe_join(template_dir, mobileTemplatePath)
        except UnicodeDecodeError,e:
            # The template dir name was a bytestring that wasn't valid UTF-8.
            raise
        except ValueError,e:
            # The joined path was located outside of this particular
            # template_dir (it might be inside another one, so this isn't
            # fatal).
            pass
        except Exception,e:
            pass   

def load_template_source(template_name, template_dirs=None):
    tried = []
    template_dirs = settings.TEMPLATE_DIRS
    for filepath in get_template_sources(template_name, template_dirs):
        try:
            return (open(filepath).read().decode(settings.FILE_CHARSET), filepath)
        except IOError,e:
            exp = "Error:%s, FilePath:%s" %(e,filepath)
            tried.append(exp)
    if tried:
        error_msg = "Tried %s" % tried
    else:
        error_msg = "Your TEMPLATE_DIRS setting is empty. Change it to point to at least one template directory."
    raise TemplateDoesNotExist, error_msg
load_template_source.is_usable = True</pre>
</div>
<div>That&#8217;s it. This must help you load mobile templates if specified for the template. Else will load the normal template specified by your project.</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tuxomaniac.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tuxomaniac.wordpress.com/326/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tuxomaniac.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tuxomaniac.wordpress.com/326/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tuxomaniac.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tuxomaniac.wordpress.com/326/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tuxomaniac.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tuxomaniac.wordpress.com/326/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tuxomaniac.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tuxomaniac.wordpress.com/326/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tuxomaniac.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tuxomaniac.wordpress.com/326/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tuxomaniac.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tuxomaniac.wordpress.com/326/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tuxomaniac.wordpress.com&amp;blog=2361072&amp;post=326&amp;subd=tuxomaniac&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tuxomaniac.wordpress.com/2011/05/11/mobile-template-loader-django/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67dc1abbba7a268716560cae63067f2a?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">technomaniac</media:title>
		</media:content>
	</item>
		<item>
		<title>One liner in python to get a uniquified list</title>
		<link>http://tuxomaniac.wordpress.com/2011/03/02/one-liner-in-python-to-get-a-uniquify-a-list/</link>
		<comments>http://tuxomaniac.wordpress.com/2011/03/02/one-liner-in-python-to-get-a-uniquify-a-list/#comments</comments>
		<pubDate>Wed, 02 Mar 2011 06:18:46 +0000</pubDate>
		<dc:creator>Cyriac</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[one liner]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[unique]]></category>

		<guid isPermaLink="false">http://tuxomaniac.wordpress.com/?p=307</guid>
		<description><![CDATA[In almost every list processing from various sources, we need to unique elements in the list. Here is an easy method to do so. &#160; orig_list = [1,2,"a",3,3,2,"tux"] unique_list = list(set(orig_list)) print unique_list &#62;&#62;&#62; ['a', 1, 2, 3, 'tux'] This doesn&#8217;t preserve the order of the list. If you want to preserve the order you <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tuxomaniac.wordpress.com&amp;blog=2361072&amp;post=307&amp;subd=tuxomaniac&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In almost every list processing from various sources, we need to unique elements in the list. Here is an easy method to do so.</p>
<p><code>&nbsp;</p>
<p>orig_list = [1,2,"a",3,3,2,"tux"]<br />
unique_list = list(set(orig_list))</p>
<p>print unique_list<br />
&gt;&gt;&gt; ['a', 1, 2, 3, 'tux']</code></p>
<p>This doesn&#8217;t preserve the order of the list. If you want to preserve the order you may want to do something like this</p>
<p><code>unique_list = list(set(orig_list))<br />
unique_list.sort(cmp = lambda x,y: cmp(orig_list.index(x), orig_list.index(y)))</code></p>
<br /> Tagged: <a href='http://tuxomaniac.wordpress.com/tag/list/'>list</a>, <a href='http://tuxomaniac.wordpress.com/tag/one-liner/'>one liner</a>, <a href='http://tuxomaniac.wordpress.com/tag/python/'>python</a>, <a href='http://tuxomaniac.wordpress.com/tag/unique/'>unique</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tuxomaniac.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tuxomaniac.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tuxomaniac.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tuxomaniac.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tuxomaniac.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tuxomaniac.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tuxomaniac.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tuxomaniac.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tuxomaniac.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tuxomaniac.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tuxomaniac.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tuxomaniac.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tuxomaniac.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tuxomaniac.wordpress.com/307/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tuxomaniac.wordpress.com&amp;blog=2361072&amp;post=307&amp;subd=tuxomaniac&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tuxomaniac.wordpress.com/2011/03/02/one-liner-in-python-to-get-a-uniquify-a-list/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67dc1abbba7a268716560cae63067f2a?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">technomaniac</media:title>
		</media:content>
	</item>
		<item>
		<title>Disable submit button on form submit</title>
		<link>http://tuxomaniac.wordpress.com/2011/02/05/disable-submit-button-on-form-submit/</link>
		<comments>http://tuxomaniac.wordpress.com/2011/02/05/disable-submit-button-on-form-submit/#comments</comments>
		<pubDate>Sat, 05 Feb 2011 19:08:06 +0000</pubDate>
		<dc:creator>Cyriac</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[click]]></category>
		<category><![CDATA[disable]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[submit]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://tuxomaniac.wordpress.com/?p=298</guid>
		<description><![CDATA[Lets consider this classic problem on the web. Most people are not aware about the difference between double click and single click on the internet. This creates a lot of programming issues for the back-end guy. &#60;form method=POST&#62; &#60;input type="text" id="text-input"&#62; &#60;input type="submit" id="submit-button"&#62; &#60;/form&#62; Here is a small jquery snippet which disables the submit <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tuxomaniac.wordpress.com&amp;blog=2361072&amp;post=298&amp;subd=tuxomaniac&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Lets consider this classic problem on the web.</p>
<p>Most people are not aware about the difference between double click and single click on the internet. This creates a lot of programming issues for the back-end guy.</p>
<p><code>&lt;form method=POST&gt;<br />
&lt;input type="text" id="text-input"&gt;<br />
&lt;input type="submit" id="submit-button"&gt;<br />
&lt;/form&gt;</code></p>
<p>Here is a small jquery snippet which disables the submit button on form submission. The id of the submit button would be submit-button.</p>
<p><code>$('#submit-button').click(<br />
<span style="font-family:monospace;">function(){ </span><br />
<span style="font-family:monospace;">$('#submit-button').attr('disabled', true); </span><br />
<span style="font-family:monospace;">$('#submit-button').closest("form").submit(); </span><br />
<span style="font-family:monospace;">});</span></code></p>
<p>This code solves most of the common problems.</p>
<p>Lets consider the case where there is a jquery form validation also in place.</p>
<p>Here you will need to disable the button only on completely validated form. The code for that goes below</p>
<p><code>$('#submit-button').click(<br />
function(){<br />
if($('#submit-button').closest("form").validate().form()){<br />
$('#submit-button').closest("form").submit();<br />
$('#submit-button').attr('disabled', true);<br />
}});</code></p>
<p>Let me know if you find more interesting techniques.</p>
<br /> Tagged: <a href='http://tuxomaniac.wordpress.com/tag/button/'>button</a>, <a href='http://tuxomaniac.wordpress.com/tag/click/'>click</a>, <a href='http://tuxomaniac.wordpress.com/tag/disable/'>disable</a>, <a href='http://tuxomaniac.wordpress.com/tag/html/'>html</a>, <a href='http://tuxomaniac.wordpress.com/tag/javascript/'>javascript</a>, <a href='http://tuxomaniac.wordpress.com/tag/jquery/'>jquery</a>, <a href='http://tuxomaniac.wordpress.com/tag/submit/'>submit</a>, <a href='http://tuxomaniac.wordpress.com/tag/web/'>web</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tuxomaniac.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tuxomaniac.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tuxomaniac.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tuxomaniac.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tuxomaniac.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tuxomaniac.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tuxomaniac.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tuxomaniac.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tuxomaniac.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tuxomaniac.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tuxomaniac.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tuxomaniac.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tuxomaniac.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tuxomaniac.wordpress.com/298/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tuxomaniac.wordpress.com&amp;blog=2361072&amp;post=298&amp;subd=tuxomaniac&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tuxomaniac.wordpress.com/2011/02/05/disable-submit-button-on-form-submit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67dc1abbba7a268716560cae63067f2a?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">technomaniac</media:title>
		</media:content>
	</item>
		<item>
		<title>Two column html with complete height of the browser.</title>
		<link>http://tuxomaniac.wordpress.com/2010/08/24/two-column-html-with-complete-height-of-the-browser/</link>
		<comments>http://tuxomaniac.wordpress.com/2010/08/24/two-column-html-with-complete-height-of-the-browser/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 10:06:47 +0000</pubDate>
		<dc:creator>Cyriac</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tuxomaniac.wordpress.com/?p=296</guid>
		<description><![CDATA[Here is a small snippet that will help you achieve a two column layout with complete height of the browser. &#60;html&#62; &#60;body style=&#8221;margin:0px;height:100%&#8221;&#62; &#60;!&#8211; key point in having browser height &#8211;&#62; &#60;div style=&#8221;width:50%;background:#600;height:100%;float:left;&#8221;&#62;&#60;/div&#62; &#60;div style=&#8221;width:50%;background:#444;height:100%;float:right;&#8221;&#62;&#60;/div&#62; &#60;/body&#62; &#60;/html&#62; Here is the result of the above code. You might want to add the styles to seperate classes <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tuxomaniac.wordpress.com&amp;blog=2361072&amp;post=296&amp;subd=tuxomaniac&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is a small snippet that will help you achieve a two column layout with complete height of the browser.</p>
<p><span style="color:#ff0000;">&lt;html&gt;<br />
&lt;body style=&#8221;margin:0px;height:100%&#8221;&gt; &lt;!&#8211; key point in having browser height &#8211;&gt;<br />
&lt;div style=&#8221;width:50%;background:#600;height:100%;float:left;&#8221;&gt;&lt;/div&gt;<br />
&lt;div style=&#8221;width:50%;background:#444;height:100%;float:right;&#8221;&gt;&lt;/div&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</span></p>
<p>Here is the result of the above code.</p>
<p><span style="color:#ff0000;"> </span></p>
<p><span style="color:#ff0000;"> </span></p>
<p>You might want to add the styles to seperate classes and code more neatly. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><span style="color:#ff0000;"><a href="http://tuxomaniac.files.wordpress.com/2010/08/screenshot-3.png"><img class="size-large wp-image-299 alignleft" title="Screenshot-3" src="http://tuxomaniac.files.wordpress.com/2010/08/screenshot-3.png?w=366&#038;h=205" alt="" width="366" height="205" /></a></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tuxomaniac.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tuxomaniac.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tuxomaniac.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tuxomaniac.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tuxomaniac.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tuxomaniac.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tuxomaniac.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tuxomaniac.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tuxomaniac.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tuxomaniac.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tuxomaniac.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tuxomaniac.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tuxomaniac.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tuxomaniac.wordpress.com/296/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tuxomaniac.wordpress.com&amp;blog=2361072&amp;post=296&amp;subd=tuxomaniac&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tuxomaniac.wordpress.com/2010/08/24/two-column-html-with-complete-height-of-the-browser/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67dc1abbba7a268716560cae63067f2a?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">technomaniac</media:title>
		</media:content>

		<media:content url="http://tuxomaniac.files.wordpress.com/2010/08/screenshot-3.png?w=1024" medium="image">
			<media:title type="html">Screenshot-3</media:title>
		</media:content>
	</item>
		<item>
		<title>5 steps to setup a domain</title>
		<link>http://tuxomaniac.wordpress.com/2010/02/12/5-steps-to-setup-a-domain/</link>
		<comments>http://tuxomaniac.wordpress.com/2010/02/12/5-steps-to-setup-a-domain/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 19:05:31 +0000</pubDate>
		<dc:creator>Cyriac</dc:creator>
				<category><![CDATA[nonTUX]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[nameserver]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://tuxomaniac.wordpress.com/?p=286</guid>
		<description><![CDATA[I recently had to go through a lotta useless confusion on buying and setting up my own domain. Well now for people who are still wondering why the tuxomaniac at wordpress is still active, I&#8217;m in the process of moving the blog to my new space. But the page rank of this blog is so <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tuxomaniac.wordpress.com&amp;blog=2361072&amp;post=286&amp;subd=tuxomaniac&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>I recently had to go through a lotta useless confusion on buying and setting up my own domain. Well now for people who are still wondering why the tuxomaniac at wordpress is still active, I&#8217;m in the process of moving the blog to my new space. But the page rank of this blog is so high that I don&#8217;t feel like moving out. And the domain i purchased holds more than just one blog. So i&#8217;m not able to just redirect it to the blog. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </div>
<div><a href="http://fairsnape.files.wordpress.com/2009/04/www-const.jpg"><img class="aligncenter" title="www" src="http://fairsnape.files.wordpress.com/2009/04/www-const.jpg?w=600&#038;h=359" alt="" width="600" height="359" /></a></div>
<div>Let&#8217;s get started.</div>
<div>
<ul>
<li><strong>Step 1: </strong>Decide on a domain name. as in example.com example.net etc etc..</li>
</ul>
</div>
<div>I say go for <em>.com</em> has it has more penetration as in for the internet culture. If you can&#8217;t get hold of that go for <em>.net</em>, <em>.info</em>, <em>.in</em> or so for personal things and <em>.org,</em> <em>.net, .in,</em> <em>.me</em> for others.</div>
<div>
<ul>
<li><strong>Step 2: </strong>Getting it registered. Go to a domain registrar site and check if the one you wish to register is available and buy it.</li>
</ul>
</div>
<div>Check out the registrars at <a href="http://en.wikipedia.org/wiki/List_of_top_ranking_domain_registrars">http://en.wikipedia.org/wiki/List_of_top_ranking_domain_registrars</a> . I highly suggest that you have an international credit card or a paypal account to do this. I did it with godaddy.com for example.</div>
<div>
<ul>
<li><strong>Step 3: </strong>You have 2 choices at this stage.
<ul>
<li>Either point it to a valid hosting space, where you have access to a nameserver or</li>
<li>Park your domain at the registrar. This means buying the domain and keeping it for future use.</li>
</ul>
</li>
</ul>
</div>
<p>Lets consider the first part where you intend to host it. Go to your hosting space cpanel if you have access to it and get the list of nameservers. You need atleast 2 of them you which have access to. A typical nameserver will look something like this</p>
<p>ns1.somename.org<br />
ns2.somename.net etc etc.</p>
<p>Give that to the registrar at the required place in the settings of your domain.</p>
<ul>
<li><strong>Step 4: </strong>Add the newly purchased domain to your hosting.</li>
</ul>
<p>Go to the cpanel of the hosting and add the newly purchased domain to the nameservers.</p>
<ul>
<li><strong>Step 5: </strong>Wait.</li>
</ul>
<p>This means you have to wait for sometime so that all the DNS are updated with the domain information and starts pointing to your hosting space. It takes roughly 48-72 hrs.</p>
<p><strong>No<span style="font-weight:normal;"><strong>te: </strong>Also as I came to know that these days the www. part also comes along with the domain you purchase. </span></strong></p>
<p>BTW, my newly registered domain is <a href="http://www.cyriacthomas.com">www.cyriacthomas.com</a></p>
<br /> Tagged: <a href='http://tuxomaniac.wordpress.com/tag/cpanel/'>cpanel</a>, <a href='http://tuxomaniac.wordpress.com/tag/dns/'>DNS</a>, <a href='http://tuxomaniac.wordpress.com/tag/domain/'>domain</a>, <a href='http://tuxomaniac.wordpress.com/tag/nameserver/'>nameserver</a>, <a href='http://tuxomaniac.wordpress.com/tag/web/'>web</a>, <a href='http://tuxomaniac.wordpress.com/tag/website/'>website</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tuxomaniac.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tuxomaniac.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tuxomaniac.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tuxomaniac.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tuxomaniac.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tuxomaniac.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tuxomaniac.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tuxomaniac.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tuxomaniac.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tuxomaniac.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tuxomaniac.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tuxomaniac.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tuxomaniac.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tuxomaniac.wordpress.com/286/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tuxomaniac.wordpress.com&amp;blog=2361072&amp;post=286&amp;subd=tuxomaniac&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tuxomaniac.wordpress.com/2010/02/12/5-steps-to-setup-a-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67dc1abbba7a268716560cae63067f2a?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">technomaniac</media:title>
		</media:content>

		<media:content url="http://fairsnape.files.wordpress.com/2009/04/www-const.jpg" medium="image">
			<media:title type="html">www</media:title>
		</media:content>
	</item>
		<item>
		<title>Invisible users &#8211; A pattern study</title>
		<link>http://tuxomaniac.wordpress.com/2010/01/27/invisible-users-a-pattern-study/</link>
		<comments>http://tuxomaniac.wordpress.com/2010/01/27/invisible-users-a-pattern-study/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 13:05:52 +0000</pubDate>
		<dc:creator>Cyriac</dc:creator>
				<category><![CDATA[nonTUX]]></category>
		<category><![CDATA[charts]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[gtalk]]></category>
		<category><![CDATA[invisible]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[pipe]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[survey]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[xmpp]]></category>

		<guid isPermaLink="false">http://tuxomaniac.wordpress.com/?p=271</guid>
		<description><![CDATA[First of all, credits to Srijith for his XMPP hack script for finding invisible users. I just thought abt this small study one day night and wrote a loop over it and I did expect some interesting results. The script ran for 24hrs taking the list of invisible users every 5 minutes. I manually counted <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tuxomaniac.wordpress.com&amp;blog=2361072&amp;post=271&amp;subd=tuxomaniac&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>First of all, credits to <a href="http://twitter.com/rsrijith">Srijith</a> for his <a href="http://blog.sriunplugged.com/linux/find-invisible-users-in-gmail/">XMPP hack script</a> for finding invisible users.</p>
<p>I just thought abt this small study one day night and wrote a loop over it and I did expect some interesting results.</p>
<p>The script ran for 24hrs taking the list of invisible users every 5 minutes. I manually counted the no of online users at every hr or so for the entire day. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  (yeah.. i kinda have insomnia)</p>
<p>My buddy list has arnd 800 ppl with arnd 100-120 that go online frequently.</p>
<p>The survey ran from Friday Jan 22 2010 8:15pm to Saturday Jan 23 2010 8:15pm. I took these days for the study to get maxium no. of users for the survey.</p>
<p><a href="http://tuxomaniac.files.wordpress.com/2010/01/invisible_users_vs_visible_users-1.png"><img class="alignleft size-full wp-image-272" title="invisible_users_vs_visible_users" src="http://tuxomaniac.files.wordpress.com/2010/01/invisible_users_vs_visible_users-1.png?w=510" alt=""   /></a></p>
<p>It is interesting to see that during the peak times there is almost 1/2 the users invisble of the online users.</p>
<p>The only change to this is during the afternoon time. I guess it is coz ppl are of for an afternoon nap then. At that time u can see arnd equal no of visible and invisible users.</p>
<p>Another interesting fact I found was at ard 9pm we have a sharp dip in both the online and invisible users. Which should be because of the dinner time.</p>
<p>It is also worth to note that we have almost equal no of visible and invisible users during the night.. Yea we got a lotta owls here in India. On my statistics the visible users during the night arnd 7-10 are people from abroad. That means we have an equal no of user visible and invisible during the odd time of the night.</p>
<p>A final note: It is almost a year and a half tat google has launched and ppl are loving that feature more than the video.</p>
<p><em>As I mentioned earlier my study set included abt 100-120 regular online users and abt which 10-15 are from abroad. Most people on my list are at arnd the age of 18-26 and most of them are college goers or freshers in the industry.</em></p>
<p><em><em>Here is a detailed chart on the statistics. </em></em></p>
<p><em><a href="http://tuxomaniac.files.wordpress.com/2010/01/invisible_users_vs_visible_users.png"><img class="alignleft size-full wp-image-273" title="invisible_users_vs_visible_users" src="http://tuxomaniac.files.wordpress.com/2010/01/invisible_users_vs_visible_users.png?w=510" alt=""   /></a></em></p>
<p><em><span style="font-style:normal;">Thanks to google charts and <a href="http://en.wikipedia.org/wiki/Pipeline_(Unix)">UNIX pipes</a>.</span></em></p>
<br /> Tagged: charts, google, gtalk, invisible, perl, pipe, shell, survey, unix, xmpp <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tuxomaniac.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tuxomaniac.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tuxomaniac.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tuxomaniac.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tuxomaniac.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tuxomaniac.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tuxomaniac.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tuxomaniac.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tuxomaniac.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tuxomaniac.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tuxomaniac.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tuxomaniac.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tuxomaniac.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tuxomaniac.wordpress.com/271/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tuxomaniac.wordpress.com&amp;blog=2361072&amp;post=271&amp;subd=tuxomaniac&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tuxomaniac.wordpress.com/2010/01/27/invisible-users-a-pattern-study/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67dc1abbba7a268716560cae63067f2a?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">technomaniac</media:title>
		</media:content>

		<media:content url="http://tuxomaniac.files.wordpress.com/2010/01/invisible_users_vs_visible_users-1.png" medium="image">
			<media:title type="html">invisible_users_vs_visible_users</media:title>
		</media:content>

		<media:content url="http://tuxomaniac.files.wordpress.com/2010/01/invisible_users_vs_visible_users.png" medium="image">
			<media:title type="html">invisible_users_vs_visible_users</media:title>
		</media:content>
	</item>
		<item>
		<title>Open New Terminal Here</title>
		<link>http://tuxomaniac.wordpress.com/2009/11/02/open-new-terminal-here/</link>
		<comments>http://tuxomaniac.wordpress.com/2009/11/02/open-new-terminal-here/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 15:44:36 +0000</pubDate>
		<dc:creator>Cyriac</dc:creator>
				<category><![CDATA[Getting deep into it]]></category>
		<category><![CDATA[life on linux]]></category>

		<guid isPermaLink="false">http://tuxomaniac.wordpress.com/?p=265</guid>
		<description><![CDATA[Here is a small script to open a new terminal in the current nautilus&#8217; location. Place this script at /home//.gnome2/nautilus-scripts folder=`echo $NAUTILUS_SCRIPT_CURRENT_URI&#124;sed 's/file\:\/\///g'` gnome-terminal --working-directory=`echo $folder`<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tuxomaniac.wordpress.com&amp;blog=2361072&amp;post=265&amp;subd=tuxomaniac&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is a small script to open a new terminal in the current nautilus&#8217; location.</p>
<p>Place this script at /home//.gnome2/nautilus-scripts</p>
<p><code>folder=`echo $NAUTILUS_SCRIPT_CURRENT_URI|sed 's/file\:\/\///g'`<br />
gnome-terminal --working-directory=`echo $folder`</code></p>
<p style="text-align:center;"><a href="http://tuxomaniac.files.wordpress.com/2009/11/screenshot-pgminchallenges-file-browser1.jpg"><img class="aligncenter size-full wp-image-268" title="Screenshot" src="http://tuxomaniac.files.wordpress.com/2009/11/screenshot-pgminchallenges-file-browser1.jpg?w=510" alt="Screenshot-pgminchallenges - File Browser"   /></a></p>
<p style="text-align:center;">
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tuxomaniac.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tuxomaniac.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tuxomaniac.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tuxomaniac.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tuxomaniac.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tuxomaniac.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tuxomaniac.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tuxomaniac.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tuxomaniac.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tuxomaniac.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tuxomaniac.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tuxomaniac.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tuxomaniac.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tuxomaniac.wordpress.com/265/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tuxomaniac.wordpress.com&amp;blog=2361072&amp;post=265&amp;subd=tuxomaniac&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tuxomaniac.wordpress.com/2009/11/02/open-new-terminal-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67dc1abbba7a268716560cae63067f2a?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">technomaniac</media:title>
		</media:content>

		<media:content url="http://tuxomaniac.files.wordpress.com/2009/11/screenshot-pgminchallenges-file-browser1.jpg" medium="image">
			<media:title type="html">Screenshot</media:title>
		</media:content>
	</item>
		<item>
		<title>A video editing experience with FOSS tools.</title>
		<link>http://tuxomaniac.wordpress.com/2009/10/10/a-video-editing-experience-with-foss-tools/</link>
		<comments>http://tuxomaniac.wordpress.com/2009/10/10/a-video-editing-experience-with-foss-tools/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 14:50:59 +0000</pubDate>
		<dc:creator>Cyriac</dc:creator>
				<category><![CDATA[Getting deep into it]]></category>
		<category><![CDATA[life on linux]]></category>

		<guid isPermaLink="false">http://tuxomaniac.wordpress.com/?p=260</guid>
		<description><![CDATA[It is the final year at college and our class took one of the four houses at college. We had to make a house video within a short period of time. Everyone was on tight schedule and ended up making a video using Sony Vegas. I did not touch the software. The only contribution from <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tuxomaniac.wordpress.com&amp;blog=2361072&amp;post=260&amp;subd=tuxomaniac&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It is the final year at college and our class took one of the four houses at college. We had to make a house video within a short period of time. Everyone was on tight schedule and ended up making a video using Sony Vegas. I did not touch the software. The only contribution from me was cutting videos for the house video, which i did with kdenlive.</p>
<p>Later 2day I decided to give a try  mixing stuffs completely with FOSS tools. I ended up with a few tools, pitivi, kdenlive, openshot. I must say the usability of all of them suck. Seriously, the usability of tools should is one factor why FOSS doesn&#8217;t hit the mass public. <span style="text-decoration:line-through;">Sony Vegas on the other had was something very simple for a newbie and hence my friends made the video fast at their first trial with the software.</span> I&#8217;m thinking on working on kdenlive to increase usability a bit, hoping that coding goes easy.</p>
<p>The complete set of softwares I used include : GIMP, OpenShot, kdenlive, pitivi</p>
<p>Here is the video.</p>
<span style="text-align:center; display: block;"><a href="http://tuxomaniac.wordpress.com/2009/10/10/a-video-editing-experience-with-foss-tools/"><img src="http://img.youtube.com/vi/quCXVmkJ9Sk/2.jpg" alt="" /></a></span>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tuxomaniac.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tuxomaniac.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tuxomaniac.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tuxomaniac.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tuxomaniac.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tuxomaniac.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tuxomaniac.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tuxomaniac.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tuxomaniac.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tuxomaniac.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tuxomaniac.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tuxomaniac.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tuxomaniac.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tuxomaniac.wordpress.com/260/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tuxomaniac.wordpress.com&amp;blog=2361072&amp;post=260&amp;subd=tuxomaniac&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tuxomaniac.wordpress.com/2009/10/10/a-video-editing-experience-with-foss-tools/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67dc1abbba7a268716560cae63067f2a?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">technomaniac</media:title>
		</media:content>
	</item>
		<item>
		<title>Happy Birthday Google</title>
		<link>http://tuxomaniac.wordpress.com/2009/09/27/happy-birthday-google/</link>
		<comments>http://tuxomaniac.wordpress.com/2009/09/27/happy-birthday-google/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 03:20:44 +0000</pubDate>
		<dc:creator>Cyriac</dc:creator>
				<category><![CDATA[nonTUX]]></category>
		<category><![CDATA[11]]></category>
		<category><![CDATA[birthday]]></category>
		<category><![CDATA[doodle]]></category>
		<category><![CDATA[eleven]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://tuxomaniac.wordpress.com/?p=256</guid>
		<description><![CDATA[Happy 11th B&#8217;day google Google is the other name for Web search now. You can even hear people saying, &#8220;Did you try googling on other search engines?&#8221; when google doesn&#8217;t fetch the expected answers. Google is one place for innovation.. I love the google doodles. Tagged: 11, birthday, doodle, eleven, google<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tuxomaniac.wordpress.com&amp;blog=2361072&amp;post=256&amp;subd=tuxomaniac&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Happy 11th B&#8217;day google</p>
<p>Google is the other name for Web search now. You can even hear people saying, &#8220;Did you try googling on other search engines?&#8221; when google doesn&#8217;t fetch the expected answers.</p>
<p style="text-align:center;"><a href="http://www.google.co.in/logos/11th_birthday.gif"><img class="aligncenter" title="Google" src="http://www.google.co.in/logos/11th_birthday.gif" alt="" width="291" height="110" /></a></p>
<p>Google is one place for innovation.. I love the google doodles. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br /> Tagged: 11, birthday, doodle, eleven, google <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tuxomaniac.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tuxomaniac.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tuxomaniac.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tuxomaniac.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tuxomaniac.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tuxomaniac.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tuxomaniac.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tuxomaniac.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tuxomaniac.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tuxomaniac.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tuxomaniac.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tuxomaniac.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tuxomaniac.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tuxomaniac.wordpress.com/256/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tuxomaniac.wordpress.com&amp;blog=2361072&amp;post=256&amp;subd=tuxomaniac&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tuxomaniac.wordpress.com/2009/09/27/happy-birthday-google/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67dc1abbba7a268716560cae63067f2a?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">technomaniac</media:title>
		</media:content>

		<media:content url="http://www.google.co.in/logos/11th_birthday.gif" medium="image">
			<media:title type="html">Google</media:title>
		</media:content>
	</item>
	</channel>
</rss>
