<?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/"
	>

<channel>
	<title>Jamalah Bryan</title>
	<atom:link href="http://www.jamalahbryan.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jamalahbryan.com</link>
	<description>your personal IT specialist</description>
	<lastBuildDate>Tue, 09 Aug 2011 18:19:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>jQuery Pagination Plugin</title>
		<link>http://www.jamalahbryan.com/blogs/jquery-pagination-plugin/</link>
		<comments>http://www.jamalahbryan.com/blogs/jquery-pagination-plugin/#comments</comments>
		<pubDate>Sun, 23 Jan 2011 16:03:58 +0000</pubDate>
		<dc:creator>Jamalah Bryan</dc:creator>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.jamalahbryan.com/?p=397</guid>
		<description><![CDATA[I found a jQuery pagination plugin at http://rohitsengar.cueblocks.net/jquery-pagination-plugin/. The plugin is brilliant except for it&#8217;s lack of jQuery.noConflict() solution. I have unminified the plugin and made the small changes necessary for jQuery.noConflict() support. I hope the author (Rohit) don&#8217;t mind me unminifying his script and redistributing it here. If you have any isues please feel [...]]]></description>
			<content:encoded><![CDATA[<p>I found a jQuery pagination plugin at <a rel="nofollow" href="http://rohitsengar.cueblocks.net/jquery-pagination-plugin/">http://rohitsengar.cueblocks.net/jquery-pagination-plugin/</a>. The plugin is brilliant except for it&#8217;s lack of jQuery.noConflict() solution. I have unminified the plugin and made the small changes necessary for jQuery.noConflict() support. I hope the author (Rohit) don&#8217;t mind me unminifying his script and redistributing it here. If you have any isues please feel free to leave your comment, or go over to the original website to get Rohit&#8217;s help.</p>
<pre class="brush: python;">
jQuery.fn.extend({
        pagination: function () {
                paginatorId = this;
                switch (paginatorPosition) {
                case 'top':
                        {
                                paginatorId.before('
<div class="paginator"></div>

');
                                break
                        }
                case 'bottom':
                        {
                                paginatorId.after('
<div class="paginator"></div>

');
                                break
                        }
                case 'both':
                        {
                                paginatorId.before('
<div class="paginator"></div>

');
                                paginatorId.after('
<div class="paginator"></div>

');
                                break
                        }
                default:
                        {
                                paginatorId.after('
<div class="paginator"></div>

')
                        }
                }
                initPaginator()
        },
        depagination: function () {
                $('.paginator').remove();
                paginatorId.children().show()
        }
});

function initPaginator() {
	if (itemsPerPage < 1) itemsPerPage = 5;
	allItems = paginatorId.children().length;
	if (allItems % itemsPerPage == 0) lastPage = parseInt(allItems / itemsPerPage);
	else lastPage = parseInt(allItems / itemsPerPage) + 1;
	if ((startPage < 1) || (startPage > lastPage)) startPage = 1;
	if (!showIfSinglePage) {
		if (lastPage > 1) appendContent(startPage, 1)
	} else appendContent(startPage, 1)
}

function appendContent(a, b) {
	if (a < 0) {
		if (a == -1) a = currentPage - 1;
		else a = currentPage + 1
	}
	currentPage = a;
	till = (currentPage - 1) * itemsPerPage;
	if (!b) {
		paginatorId.fadeOut("medium", function () {
			createPaginator();
			paginatorId.children().hide();
			paginatorId.children().slice(till, itemsPerPage + till).show();
			paginatorId.fadeIn("medium")
		})
	} else {
		createPaginator();
		paginatorId.children().hide();
		paginatorId.children().slice(till, itemsPerPage + till).show()
	}
}

function createPaginator() {
	jQuery(".paginator").html("");
	var a = '';
	var b = '';
	var c = '';
	var d = '';
	var e = ' Page ' + currentPage + ' of ' + lastPage + ' Page(s) ';
	var f = ' ' + textGoToPage + '
<select onchange="appendContent(this.value);" >';
	var g = ' ' + textSelectNoItems + '
<select onchange="itemsPerPage=Number(this.value);initPaginator();" >';
	for (var i = 0; i < paginatorValues.length; i++) {
		if (itemsPerPage == paginatorValues[i]) g += '
<option value="' + paginatorValues[i] + '" selected="selected">' + paginatorValues[i] + '</option>

';
		else g += '
<option value="' + paginatorValues[i] + '">' + paginatorValues[i] + '</option>

'
	}
	g += '</select>

';
	if (currentPage == 1) {
		style = '<a href="' + anchorLink + '" class="inactive" title="First Page">' + firstPageSymbol + '</a>' + separator;
		a = b = style;
		style = '<a href="' + anchorLink + '" class="inactive" title="Previous Page">' + previousPageSymbol + '</a>' + separator;
		a += style;
		b += style;
		c += style;
		d += style
	} else {
		style = '<a href="' + anchorLink + '" class="active" onclick="appendContent(1);" title="First Page">' + firstPageSymbol + '</a>' + separator;
		a = b = style;
		style = '<a href="' + anchorLink + '" class="active" onclick="appendContent(-1);" title="Previous Page">' + previousPageSymbol + '</a>' + separator;
		a += style;
		b += style;
		c += style;
		d += style
	}
	for (var i = 1; i <= lastPage; i++) {
		if (i == currentPage) {
			a += '<a href="' + anchorLink + '" class="inactive" title="Page ' + i + '">' + i + '</a>' + separator;
			b += '<a href="' + anchorLink + '" class="inactive" title="Page ' + i + '">' + i + '/' + lastPage + '</a>' + separator;
			c += '<a href="' + anchorLink + '" class="inactive" title="Page ' + i + '">' + i + '</a>' + separator;
			f += '
<option value="' + i + '" selected="selected">' + i + '</option>

'
		} else {
			style = '<a href="' + anchorLink + '" class="active" onclick="appendContent(' + i + ');" title="Page ' + i + '">' + i + '</a>' + separator;
			a += style;
			c += style;
			f += '
<option value="' + i + '">' + i + '</option>

'
		}
	}
	f += '</select>

';
	if (currentPage == lastPage) {
		style = '<a href="' + anchorLink + '" class="inactive" title="Next Page">' + nextPageSymbol + '</a>';
		a += style;
		b += style;
		c += style;
		d += style;
		style = separator + '<a href="' + anchorLink + '" class="inactive" title="Last Page">' + lastPageSymbol + '</a>';
		a += style;
		b += style
	} else {
		style = '<a href="' + anchorLink + '" class="active" onclick="appendContent(-2);" title="Next Page">' + nextPageSymbol + '</a>';
		a += style;
		b += style;
		c += style;
		d += style;
		style = separator + '<a href="' + anchorLink + '" class="active" onclick="appendContent(' + lastPage + ');" title="Last Page">' + lastPageSymbol + '</a>';
		a += style;
		b += style
	}
	switch (paginatorStyle) {
	case 1:
		style = a;
		break;
	case 2:
		style = b;
		break;
	case 3:
		style = c;
		break;
	case 4:
		style = d;
		break;
	default:
		style = a
	}
	if (enablePageOfOption) style += '<span class="inactive" title="Page Information">' + e + '</span>';
	if (enableGoToPage) style += '<span class="inactive" title="Select Page">' + f + '</span>';
	if (enableSelectNoItems) style += '<span class="inactive" title="Select no. of items per page">' + g + '</span>';
	jQuery(".paginator").html(style)
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.jamalahbryan.com/blogs/jquery-pagination-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Link to ‘child pages’ in WordPress with ‘the_post_thumbnail’</title>
		<link>http://www.jamalahbryan.com/programming/link-to-%e2%80%98child-pages%e2%80%99-in-wordpress-with-%e2%80%98the_post_thumbnail%e2%80%99/</link>
		<comments>http://www.jamalahbryan.com/programming/link-to-%e2%80%98child-pages%e2%80%99-in-wordpress-with-%e2%80%98the_post_thumbnail%e2%80%99/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 17:04:42 +0000</pubDate>
		<dc:creator>Jamalah Bryan</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.jamalahbryan.com/?p=283</guid>
		<description><![CDATA[WordPress 2.9 has been released and comes packed with some awesome new features. One of the new feature that I am loving as I have been longing for it, is the post thumbnail. This is a new feature in WordPress that allows you to upload an image to a post that you are creating and [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress 2.9 has been released and comes packed with some awesome new features. One of the new feature that I am loving as I have been longing for it, is the post thumbnail. This is a new feature in WordPress that allows you to upload an image to a post that you are creating and attaches to the post as its thumbnail. No longer do you have to use custom fields if all you want is a image for you posts.</p>
<p>It can be used for both posts and pages so I may use both post or page interchangeable throughout this post. I’ve recently used the new ‘Post Thumbnail’ feature in 2.9 to link child pages from a ‘Parent’ page using the Post Thumbnail as an image link.</p>
<div class="wp-caption alignnone" style="width: 315px"><img class="size-full" title="post_thumbnail" src="/wp-content/uploads/2010/01/post_thumbnail.jpg" alt="" width="305" height="86" /><p class="wp-caption-text">Wordpress Post Thumbnail</p></div>
<p>The code below is an example of how to use the ‘get_the_post_thumbnail()’ to list the current page children with its content and a title.</p>
<pre class="brush:php">
&lt;?php
// get pages
$pages = get_pages("child_of=".$post-&gt;ID.'&amp;sort_column=post_title&amp;sort_order=desc&amp;parent='.$post-&gt;ID);
// loop through pages pages to get page properties
foreach($pages as $page) {
?&gt;
&lt;div class="wp-caption alignleft"&gt;
// create an hyperlink from the get_page_link method and embed the image retrieved from get_the_post_thumbnail in it
&lt;a href="&lt;?php echo get_page_link($page-&gt;ID) ?&gt;&lt;?php echo get_the_post_thumbnail($page-&gt;ID); ?&gt;</a>
// get the title and use it as the caption
&lt;?= $page-&gt;post_title ?&gt;
&lt;/div&gt;
// get the content
&lt;?php echo $page-&gt;post_content; ?&gt;
&lt;?php edit_post_link('Edit.', '', '', $page-&gt;ID); ?&gt;
&lt;?php } ?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.jamalahbryan.com/programming/link-to-%e2%80%98child-pages%e2%80%99-in-wordpress-with-%e2%80%98the_post_thumbnail%e2%80%99/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Happy Birthday My Love</title>
		<link>http://www.jamalahbryan.com/personal-note/njina/</link>
		<comments>http://www.jamalahbryan.com/personal-note/njina/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 00:00:15 +0000</pubDate>
		<dc:creator>Jamalah Bryan</dc:creator>
				<category><![CDATA[Personal Note]]></category>

		<guid isPermaLink="false">http://www.jamalahbryan.com/?p=270</guid>
		<description><![CDATA[From My Heart to Yours Hi Baby, today the 19th of December not only marks the day that you get one year older, it also marks the day you become one year more beautiful. I created this section on my website just to remind you that although I am busy all the time there is [...]]]></description>
			<content:encoded><![CDATA[<h3 style="text-align: left;"><em><strong>From My Heart to Yours</strong></em></h3>
<p style="text-align: left;">Hi Baby, today the 19th of December not only marks the day that you get one year older, it also marks the day you become one year more beautiful. I created this section on my website just to remind you that although I am busy all the time there is space in my busy technological lifestyle for you. Today also marked another wonderful day that we will spend together in a lifetime where I have been blessed with you.<img title="Happy Birthday Njina Grant" src="/wp-content/uploads/2009/02/happy-birthday.jpg" alt="Happy Birthday Njina Grant" width="410" height="256" /></p>
<p style="text-align: left;">
<h3 style="text-align: left;"><em><strong>A poem from me to you</strong></em></h3>
<p style="text-align: center;"><strong>Money Poor, Love Rich</strong></p>
<p style="text-align: center;">Diamonds I can’t afford to buy<br />
For your birthday which is coming by<br />
As you know I’m just an ordinary guy<br />
With money being in short supply<br />
But I have affections that pile high<br />
And love that reaches all the way to the sky<br />
With you my love and affections will lie<br />
No matter how the years fly.</p>
<p>I really love you (but I guess you already realised that after nearly 9 years now <img src='http://www.jamalahbryan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ) and wish you all the best and hope you enjoy the rest of the day.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamalahbryan.com/personal-note/njina/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Removing ^M From File in Emacs</title>
		<link>http://www.jamalahbryan.com/programming/removing-m-from-emacs/</link>
		<comments>http://www.jamalahbryan.com/programming/removing-m-from-emacs/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 18:53:53 +0000</pubDate>
		<dc:creator>Jamalah Bryan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[character]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[replace]]></category>

		<guid isPermaLink="false">http://www.jamalahbryan.com/?p=249</guid>
		<description><![CDATA[If you edit a text file on Windows and you then use it in emacs under a Linux environment you will see the ^M character at the end of each lin. Do the following to remove it in emacs. ; goto top of buffer M-x replace-string C-q C-m RET The control-q will allow you to [...]]]></description>
			<content:encoded><![CDATA[<p>If you edit a text file on Windows and you then use it in emacs under a Linux environment you will see the ^M character at the end of each lin.</p>
<p>Do the following to remove it in emacs.</p>
<pre class="brush: python;">
; goto top of buffer
M-x replace-string C-q C-m RET
</pre>
<p>The control-q will allow you to type control characters into the<br />
input buffer.</p>
<p>Additionally, you could use the dos2unix command.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamalahbryan.com/programming/removing-m-from-emacs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>100 Open Computer Courses</title>
		<link>http://www.jamalahbryan.com/blogs/100-open-computer-courses/</link>
		<comments>http://www.jamalahbryan.com/blogs/100-open-computer-courses/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 10:32:13 +0000</pubDate>
		<dc:creator>Jamalah Bryan</dc:creator>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[courses]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[open]]></category>

		<guid isPermaLink="false">http://www.jamalahbryan.com/?p=231</guid>
		<description><![CDATA[While doing my usual random searching through Google I stumbled across a wonderful resource. Something I think every individual not only computer savvy persons or geeks would find useful. It&#8217;s a list of 100 open computer courses. Yes, open as in FREE! The are split into the following categories: Computer Science and Engineering Computer Security [...]]]></description>
			<content:encoded><![CDATA[<p>While doing my usual random searching through Google I stumbled across a wonderful resource. Something I think every individual not only computer savvy persons or geeks would find useful. It&#8217;s a list of 100 open computer courses. Yes, open as in FREE!</p>
<p>The are split into the following categories:</p>
<ol>
<li>Computer Science and Engineering</li>
<li>Computer Security</li>
<li>Programming</li>
<li>The Web</li>
<li>Software</li>
<li>Information Technology</li>
<li>Communication Technology</li>
<li>Technology in Education</li>
<li>Tech Math</li>
<li>Technology and Society</li>
</ol>
<p>To see the full list head over to Fred Palmer&#8217;s website over at <a href="http://fredpalma.com/100-computer-open-courses/">http://fredpalma.com/100-computer-open-courses/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamalahbryan.com/blogs/100-open-computer-courses/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Converting keystores between JKS and P12</title>
		<link>http://www.jamalahbryan.com/java/converting-keystores-between-jks-and-p12/</link>
		<comments>http://www.jamalahbryan.com/java/converting-keystores-between-jks-and-p12/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 13:59:24 +0000</pubDate>
		<dc:creator>Jamalah Bryan</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[converting]]></category>
		<category><![CDATA[jks]]></category>
		<category><![CDATA[p12]]></category>

		<guid isPermaLink="false">http://www.jamalahbryan.com/?p=238</guid>
		<description><![CDATA[Found these keytool commands that saved me some valuable time working with an already existing .p12 certificate for signing an applet. It withs in JDK6 and onwards (not in JDK5 and earlier). JKS → P12 keytool -importkeystore -srckeystore keystore.jks -srcstoretype JKS -deststoretype PKCS12 -destkeystore keystore.p12 P12 → JKS keytool -importkeystore -srckeystore keystore.p12 -srcstoretype PKCS12 -deststoretype [...]]]></description>
			<content:encoded><![CDATA[<p>Found these keytool commands that saved me some valuable time working with an already existing .p12 certificate for signing an applet.</p>
<p>It withs in JDK6 and onwards (not in JDK5 and earlier).</p>
<h3>JKS → P12</h3>
<pre class="brush: python;">keytool -importkeystore -srckeystore keystore.jks -srcstoretype JKS  -deststoretype PKCS12 -destkeystore keystore.p12</pre>
<h3>P12 → JKS</h3>
<pre class="brush: python;">keytool -importkeystore -srckeystore keystore.p12 -srcstoretype PKCS12  -deststoretype JKS -destkeystore keystore.jks</pre>
<p>Original post by tomas at <a href="http://blog.ejbca.org/2008/02/converting-keystores-between-jks-and.html">http://blog.ejbca.org/2008/02/converting-keystores-between-jks-and.html</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamalahbryan.com/java/converting-keystores-between-jks-and-p12/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Useful Online HTML Tools</title>
		<link>http://www.jamalahbryan.com/blogs/useful-online-html-tools/</link>
		<comments>http://www.jamalahbryan.com/blogs/useful-online-html-tools/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 14:33:00 +0000</pubDate>
		<dc:creator>Jamalah Bryan</dc:creator>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[csv]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[text]]></category>

		<guid isPermaLink="false">http://www.jamalahbryan.com/?p=234</guid>
		<description><![CDATA[Ever interested in applying all kind of stuff to text you already have, like converting csv data into a table or reversing the order of words in a sentence without reversing the letters of the words? Well, I have and it has been a nightmare to find online resources to get these quick tasks completed. [...]]]></description>
			<content:encoded><![CDATA[<p>Ever interested in applying all kind of stuff to text you already have, like converting csv data into a table or reversing the order of words in a sentence without reversing the letters of the words? Well, I have and it has been a nightmare to find online resources to get these quick tasks completed.</p>
<p>As a programmer it is tempting to bake a script to do the trick but sometimes when time is not on your side these tools may come in handy.</p>
<p>Follow this link <a href="http://www.textfixer.com/html/csv-convert-table.php" target="_blank">http://www.textfixer.com/html/csv-convert-table.php</a> to access the tools on the <strong>Text Fixer</strong> website.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamalahbryan.com/blogs/useful-online-html-tools/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>WordPress Automatic Update Issues</title>
		<link>http://www.jamalahbryan.com/linux/wordpress-automatic-update-issues/</link>
		<comments>http://www.jamalahbryan.com/linux/wordpress-automatic-update-issues/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 10:48:17 +0000</pubDate>
		<dc:creator>Jamalah Bryan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[automatic]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[updates]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.jamalahbryan.com/?p=226</guid>
		<description><![CDATA[When trying to use WordPress automatic update I got this error &#8216;Error: There was an error connecting to the server, Please verify the settings are correct.&#8217;, after trying multiple attempts to rid myself of the problem I had a eureka moment. I thought to myself, &#8220;what if it Apache wasn&#8217;t seeing the right permissions of [...]]]></description>
			<content:encoded><![CDATA[<p>When trying to use WordPress automatic update I got this error &#8216;Error: There was an error connecting to the server, Please verify the settings are correct.&#8217;, after trying multiple attempts to rid myself of the problem I had a eureka moment. I thought to myself, &#8220;what if it Apache wasn&#8217;t seeing the right permissions of the folders?&#8221;, and low and behold that was the problem.</p>
<p>Apache was expecting the owner of the folders in the document root to be www-data, I figured this is for some form of security purposes.</p>
<h2>How I got rid of the problem</h2>
<p>I got rid of the problem by changing the group and owner of my WordPress install folder in apache root to www-data by executing the following command:</p>
<pre class="brush: python;">cd /yourwordpress_dir/</pre>
<pre class="brush: python;">sudo chown -R www-data:www-data *</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.jamalahbryan.com/linux/wordpress-automatic-update-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to mount a USB drive in Linux</title>
		<link>http://www.jamalahbryan.com/linux/how-to-mount-a-usb-drive-in-linux/</link>
		<comments>http://www.jamalahbryan.com/linux/how-to-mount-a-usb-drive-in-linux/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 14:28:34 +0000</pubDate>
		<dc:creator>Jamalah Bryan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[flash drive]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[usb drive]]></category>

		<guid isPermaLink="false">http://www.jamalahbryan.com/?p=160</guid>
		<description><![CDATA[Most Linux distribution such as Ubuntu automatically mounts your usb drive when it is plugged in. Sometimes we take this for granted and if for some reason the drive doesn&#8217;t load we tend to pull our hair out trying to figure out why. If you&#8217;re like me then this is a sad reality that you [...]]]></description>
			<content:encoded><![CDATA[<p>Most Linux distribution such as Ubuntu automatically mounts your usb drive when it is plugged in. Sometimes we take this for granted and if for some reason the drive doesn&#8217;t load we tend to pull our hair out trying to figure out why. If you&#8217;re like me then this is a sad reality that you have to overcome perhaps every week.</p>
<p>The other day I was locked out of my Ubuntu after upgrading from Intrepid to Jaunty and GDM decided to take a break. The real problem occurred when I urgently needed my CV to be sent off that day and the most up-to-date CV was on my Ubuntu login, sigh.</p>
<h1>What I did</h1>
<p>After launching the recovery mode from GRUB I was able to get to a root console. This was good because my girlfriend had her laptop so I could send the CV from her Windows XP system (don&#8217;t laugh).</p>
<p>Anyway, here goes&#8230; <strong>but remember before accessing root you should consider backing up your important files so any mishap wont have you eating your heart out</strong>.</p>
<p><em><span style="color: #ff0000;">Please be careful when running commands under Linux as root, if you are unsure then ask someone before making any changes as root.</span></em></p>
<h2>Detecting USB hard drive</h2>
<p>After you plug in your USB device to your USB port, linux add new device into /dev/ folder. At this stage you are not able to use this device. You need to mount it to your system first in order to be able retrieve any data. To find out what name your device have you can run fdisk command:</p>
<pre class="brush: python;"># fdisk -l</pre>
<p>You will get output similar to this:</p>
<pre class="brush: python;">Disk /dev/sda: 60.0 GB, 60060155904 bytes 255 heads, 63 sectors/track, 7301 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes     Device Boot      Start         End      Blocks   Id  System /dev/sda1               1        7301    58645251   83  Linux</pre>
<h2>Creating the mount point</h2>
<p>Create directory where you want to mount your device:</p>
<pre class="brush: python;">mkdir /mnt/sda1</pre>
<h2>Edit /etc/fstab</h2>
<p>To automate this process you can edit /etc/fstab file and add line similar to this:</p>
<pre class="brush: python;">/dev/sda1       /mnt/sda           vfat    defaults        0       0</pre>
<p>Run mount command to mount all not yet mounted devices. <em>Keep in mind that if you have more different USB devices in you system, device name can vary!!!</em></p>
<pre class="brush: python;"># mount -a</pre>
<p><strong>Original article:</strong> <a href="http://www.linuxconfig.org/Howto_mount_USB_drive_in_Linux" target="_blank">http://www.linuxconfig.org/Howto_mount_USB_drive_in_Linux</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamalahbryan.com/linux/how-to-mount-a-usb-drive-in-linux/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Taming Ubuntu : Access shared Ubuntu folders from Windows XP</title>
		<link>http://www.jamalahbryan.com/linux/taming-ubuntu-access-shared-ubuntu-folders-from-windows-xp/</link>
		<comments>http://www.jamalahbryan.com/linux/taming-ubuntu-access-shared-ubuntu-folders-from-windows-xp/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 13:31:20 +0000</pubDate>
		<dc:creator>Jamalah Bryan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[folders]]></category>
		<category><![CDATA[shared]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[xp]]></category>

		<guid isPermaLink="false">http://www.jamalahbryan.com/?p=178</guid>
		<description><![CDATA[Ubuntu is a wonderful system especially for those who want to be in control of their operating system. On the other hand, sometimes you just want something to work without the hassle. Here is how to overcome one of those hassle if you or your friends want to share files across an Ubuntu installation. On [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu is a wonderful system especially for those who want to be in control of their operating system. On the other hand, sometimes you just want something to work without the hassle. Here is how to overcome one of those hassle if you or your friends want to share files across an Ubuntu installation.</p>
<h2>On Ubuntu</h2>
<p>Run the following command on your Ubuntu machine as root.</p>
<p><em><span style="color: #ff0000;">Please be careful when running commands under Linux as root, if you are unsure then ask someone before making any changes as root.</span></em></p>
<pre class="brush: python;">sudo smbpasswd -a 'yourusername'</pre>
<p>Add a password when prompted (can be different from pc password).</p>
<h2>On Windows</h2>
<p>Simply access \\xxx.xxx.xxx.xxx\. Where xxx.xxx.xxx.xxx can either be the machines&#8217; IP address or name.</p>
<p>When asked for credentials, provide user name, password for samba.</p>
<p>That&#8217;s it, you now have access to your Ubuntu system.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamalahbryan.com/linux/taming-ubuntu-access-shared-ubuntu-folders-from-windows-xp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: www.jamalahbryan.com @ 2012-02-06 02:57:10 by W3 Total Cache -->
