<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:ymaps="http://api.maps.yahoo.com/Maps/V2/AnnotatedMaps.xsd" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Rude Boy Solutions</title>
	
	<link>http://blog.rbe.homeip.net</link>
	<description>Solutions. For Life.</description>
	<lastBuildDate>Fri, 25 May 2012 19:46:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/RudeBoySolutions" /><feedburner:info uri="rudeboysolutions" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:browserFriendly></feedburner:browserFriendly><item>
		<title>Inline input fields with mnimal jQuery</title>
		<link>http://feedproxy.google.com/~r/RudeBoySolutions/~3/YwoIa9gGvsc/inline-input-fields-with-mnimal-jquery</link>
		<comments>http://blog.rbe.homeip.net/posts/inline-input-fields-with-mnimal-jquery#comments</comments>
		<pubDate>Fri, 25 May 2012 19:46:55 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.rbe.homeip.net/?p=282</guid>
		<description><![CDATA[For one of my projects, i needed to put a text field inside a header element. When I did so, the input field ruined my layout and good looks! So I went the jQuery way and devised a method for hiding inputs when not in use, but when clicking on it, turns into a normal [...]]]></description>
			<content:encoded><![CDATA[<p>For one of my projects, i needed to put a text field inside a header element. When I did so, the input field ruined my layout and good looks! So I went the jQuery way and devised a method for hiding inputs when not in use, but when clicking on it, turns into a normal input field. So in my CSS, I add:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">input<span class="re1">.hidden</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">color</span>: <span class="kw2">inherit</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">padding</span>: <span class="kw2">inherit</span>;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; <span class="kw1">margin</span>: <span class="kw2">inherit</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">border</span>: <span class="kw2">none</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">background</span>: <span class="kw2">transparent</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">font-size</span>: <span class="kw2">inherit</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">font-weight</span>: <span class="kw2">inherit</span>;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; <span class="kw1">font-family</span>: <span class="kw2">inherit</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; </div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">h2 <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">color</span>: <span class="re0">#648dd7</span>;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; <span class="kw1">font-size</span>: <span class="re3">18px</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">font-weight</span>: <span class="kw2">normal</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">margin-top</span>: <span class="re3">16px</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">margin-left</span>: <span class="re3">2px</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span>​</div>
</li>
<li class="li2">
<div class="de2">&nbsp;</div>
</li>
</ol>
</div>
<p>and in my html, I have:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&lt;h2&gt;Header&lt;input name=&quot;myInput&quot; value=&quot;[Header Input]&quot; class=&quot;hidden&quot;/&gt;&lt;/h2&gt;
</div>
</li>
<li class="li1">
<div class="de1">​</div>
</li>
</ol>
</div>
<p>And here is the fun part. Essentially one line of javascript to accomplish this easy feat:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">$<span class="br0">&#40;</span><span class="st0">&#8216;input.hidden&#8217;</span><span class="br0">&#41;</span>.<span class="me1">live</span><span class="br0">&#40;</span><span class="st0">&#8216;focus&#8217;</span>,<span class="kw2">function</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; $<span class="br0">&#40;</span><span class="kw1">this</span><span class="br0">&#41;</span>.<span class="me1">removeClass</span><span class="br0">&#40;</span><span class="st0">&#8216;hidden&#8217;</span><span class="br0">&#41;</span>.<span class="me1">live</span><span class="br0">&#40;</span><span class="st0">&#8216;blur&#8217;</span>,</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="kw2">function</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#123;</span>$<span class="br0">&#40;</span><span class="kw1">this</span><span class="br0">&#41;</span>.<span class="me1">addClass</span><span class="br0">&#40;</span><span class="st0">&#8216;hidden &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#8217;</span><span class="br0">&#41;</span><span class="br0">&#125;</span><span class="br0">&#41;</span><span class="br0">&#125;</span><span class="br0">&#41;</span>​;</div>
</li>
<li class="li2">
<div class="de2">&nbsp;</div>
</li>
</ol>
</div>
<img src="http://feeds.feedburner.com/~r/RudeBoySolutions/~4/YwoIa9gGvsc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.rbe.homeip.net/posts/inline-input-fields-with-mnimal-jquery/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.rbe.homeip.net/posts/inline-input-fields-with-mnimal-jquery</feedburner:origLink></item>
		<item>
		<title>jQuery ThemeSwitcherTool – Working Version!!!!!</title>
		<link>http://feedproxy.google.com/~r/RudeBoySolutions/~3/HZO5ITTKUPM/jquery-themeswitcher</link>
		<comments>http://blog.rbe.homeip.net/posts/jquery-themeswitcher#comments</comments>
		<pubDate>Mon, 07 Mar 2011 02:20:17 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jQuery UI]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://blog.rbe.homeip.net/?p=227</guid>
		<description><![CDATA[I recently tried to install the jQuery UI  ThemeSwitcher on a site for a project on which I am working. It failed. Miserably! I scoured the interwebs for a working version, but could not find one anywhere. However, I did find out why the tool was not working. It seems the jQuery team disabled hotlinking [...]]]></description>
			<content:encoded><![CDATA[<p>I recently tried to install the jQuery UI  <a title="Theme Switcher" href="http://docs.jquery.com/UI/Theming/ThemeSwitcher" onclick="pageTracker._trackPageview('/outgoing/docs.jquery.com/UI/Theming/ThemeSwitcher?referer=');">ThemeSwitcher</a> on a site for a project on which I am working. It failed. Miserably! I scoured the interwebs for a working version, but could not find one anywhere. However, I did find out why the tool was not working. It seems the jQuery team disabled hotlinking to its servers. This was extremely good news, as it meant I could simply recode the widget to point to the new files or download them and point the script to the downloaded files.  I dove right in to the code and made some modifications to the start of the script. Then I optimized some of the rest of the code. Finally, I added a few extra options to cover the changes I made.</p>
<h3>Download</h3>
<p>You can click on the following links to download the files.</p>
<ul>
<li><a href="http://blog.rbe.homeip.net/wp-content/uploads/2011/03/themeswitchertool.js">themeswitchertool.js</a> &#8211; The themeswitcher.</li>
<li>The Following files are images used by themeswitcher. To use them, place them in /javascripts/jquery/themeswitcher/ or use the imageLocation option to point to the directory where these are stored.
<ul>
<li><a href="http://blog.rbe.homeip.net/wp-content/uploads/2011/03/menuhoverbg.png">menuhoverbg.png</a></li>
<li><a href="http://blog.rbe.homeip.net/wp-content/uploads/2011/03/icon_color_arrow.gif">icon_color_arrow.gif</a></li>
<li><a href="http://blog.rbe.homeip.net/wp-content/uploads/2011/03/buttonbg.png">buttonbg.png</a></li>
<li><a href="http://blog.rbe.homeip.net/wp-content/uploads/2011/03/base.png">base.png</a> This is an icon used for the &#8216;base&#8217; theme (no styles), to use this, you need to specify the icon location in the options or put it in with the rest of the images.</li>
</ul>
</li>
</ul>
<h3>Changes</h3>
<ul>
<li>The old script appended up to three styles to the document, then removed the first one. It now uses the selector &#8220;head link#ui-theme&#8221; to change the stylesheet. I changed this so you can set the id of your default custom theme to &#8220;ui-theme&#8221; and it will change this. If the id isn&#8217;t found, it creates a new one.</li>
<li>Added new options for specifying your own themes to add to the list.</li>
<li>Added new option, useStandard, for specifying whether to use the themes from the jQuery UI site.</li>
<li>Added new options for specifying where to find the UI icons and stylesheets</li>
<li>Added new option, imageLocation, for specifying where to find the widget images (found in the downloaded file)</li>
<li>Added the widget images to the downloaded file, so you don&#8217;t have to link to jQuery&#8217;s servers</li>
<li>Added option, useCookie, for whether to use a cookie for saving the theme for later use on the same page.</li>
</ul>
<h3>Examples</h3>
<h4>Basic usage, no custom theme support</h4>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">$<span class="br0">&#40;</span><span class="st0">&#8216;&lt;div id=&quot;theme-switcher&quot;&gt;&lt;/div&gt;&#8217;</span><span class="br0">&#41;</span>.<span class="me1">prependTo</span><span class="br0">&#40;</span><span class="st0">&#8216;body&#8217;</span><span class="br0">&#41;</span>.<span class="me1">themeswitchertool</span><span class="br0">&#40;</span> <span class="br0">&#41;</span>;</div>
</li>
</ol>
</div>
<h4>Adding custom themes</h4>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">$<span class="br0">&#40;</span><span class="st0">&#8216;&lt;div id=&quot;theme-switcher&quot;&gt;&lt;/div&gt;&#8217;</span><span class="br0">&#41;</span>.<span class="me1">prependTo</span><span class="br0">&#40;</span><span class="st0">&#8216;body&#8217;</span><span class="br0">&#41;</span>.<span class="me1">themeswitchertool</span><span class="br0">&#40;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; themes: <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp;<span class="st0">&#8216;theme1&#8242;</span>: <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;icon:<span class="st0">&quot;/path/to/theme-icon.png&quot;</span>,</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;css:<span class="st0">&quot;/path/to/theme.css&quot;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp;<span class="br0">&#125;</span>,</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp;<span class="st0">&#8216;theme2&#8242;</span>: <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;icon:<span class="st0">&quot;/path/to/theme2-icon.png&quot;</span>,</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;css:<span class="st0">&quot;/path/to/theme2.css&quot;</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; &nbsp;<span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span><span class="br0">&#41;</span>;</div>
</li>
</ol>
</div>
<h4>Using Only Custom Themes</h4>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">$<span class="br0">&#40;</span><span class="st0">&#8216;&lt;div id=&quot;theme-switcher&quot;&gt;&lt;/div&gt;&#8217;</span><span class="br0">&#41;</span>.<span class="me1">prependTo</span><span class="br0">&#40;</span><span class="st0">&#8216;body&#8217;</span><span class="br0">&#41;</span>.<span class="me1">themeswitchertool</span><span class="br0">&#40;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; useStandard: <span class="kw2">false</span>,</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; themes: <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp;<span class="st0">&#8216;theme1&#8242;</span>: <span class="br0">&#123;</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;icon:<span class="st0">&quot;/path/to/theme-icon.png&quot;</span>,</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;css:<span class="st0">&quot;/path/to/theme.css&quot;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp;<span class="br0">&#125;</span>,</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp;<span class="st0">&#8216;theme2&#8242;</span>: <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;icon:<span class="st0">&quot;/path/to/theme2-icon.png&quot;</span>,</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;css:<span class="st0">&quot;/path/to/theme2.css&quot;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp;<span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span><span class="br0">&#41;</span>;</div>
</li>
</ol>
</div>
<h3>New Options</h3>
<dl>
<dt>themes</dt>
<dd style="font-size: 80%;">Default: {}</dd>
<dd>A hash of themes, where each key is the theme name, and the value is another hash specifying the icon to use and the css file for the theme. Here is an example:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="st0">&#8216;theme1&#8242;</span>: <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; icon:<span class="st0">&quot;/path/to/theme-icon.png&quot;</span>,</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; css:<span class="st0">&quot;/path/to/theme.css&quot;</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
</dd>
<dt>useStandard</dt>
<dd style="font-size: 80%;">Default: true</dd>
<dd>If you don&#8217;t want the themes from the jQuery UI site to show up in the list, set this to false.</dd>
<dt>useCookie</dt>
<dd style="font-size: 80%;">Default: true</dd>
<dd>The Theme Switcher uses a browser cookie to store and retrieve the theme name for the current site. Set this option to false if you do not want your site to remember the theme.</dd>
<dt>imageLocation</dt>
<dd style="font-size: 80%;">Default: &#8220;/javascripts/jquery/themeswitcher/&#8221;</dd>
<dd>This is where the images are stored which Theme Switcher uses. The following files must be in the folder: buttonbg.png, icon_color_arrow.gif, menuhoverbg.png . You can get these from the download.</dd>
<dt>imgPrefix</dt>
<dd style="font-size: 80%;">Default: &#8220;http://static.jquery.com/ui/themeroller/images/themeGallery/theme_90_&#8221;</dd>
<dd>This option specifies the default icon prefix URI. The icons are the previews for each theme. The default option sets the default images to the jquery hotlink site. This may change in the future, so it is specified here as an option.</dd>
<dt>imgSuffix</dt>
<dd style="font-size: 80%;">Default: &#8220;.png&#8221;</dd>
<dd>This option specifies the rest of the image URI.</dd>
<dt>cssPrefix</dt>
<dd style="font-size: 80%;">Default: &#8220;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/themes/&#8221;</dd>
<dd>This option specifies the deafault css location prefix.</dd>
<dt>cssSuffix</dt>
<dd style="font-size: 80%;">Default: &#8220;/jquery-ui.css&#8221; </dd>
<dd> </dd>
<dd>This option specifies the deafault css location sufffix.</dd>
</dl>
<img src="http://feeds.feedburner.com/~r/RudeBoySolutions/~4/HZO5ITTKUPM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.rbe.homeip.net/posts/jquery-themeswitcher/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://blog.rbe.homeip.net/posts/jquery-themeswitcher</feedburner:origLink></item>
		<item>
		<title>Tango Icons: Save All</title>
		<link>http://feedproxy.google.com/~r/RudeBoySolutions/~3/EfBOGNlkQbI/tango-icons-save-all</link>
		<comments>http://blog.rbe.homeip.net/posts/tango-icons-save-all#comments</comments>
		<pubDate>Wed, 28 Jul 2010 19:35:13 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.rbe.homeip.net/?p=214</guid>
		<description><![CDATA[Ever notice how the  Tango icons don&#8217;t have a &#8220;Save All&#8221; icon? Well &#8211; look no further! I have created a usable set, using the existing icons as a template, all in about 15 minutes. So &#8211; without further ado &#8211; here they are: I did not create these for real polish &#8211; I just [...]]]></description>
			<content:encoded><![CDATA[<p>Ever notice how the  <a title="Tango Desktop Project" href="http://tango.freedesktop.org/Tango_Desktop_Project" onclick="pageTracker._trackPageview('/outgoing/tango.freedesktop.org/Tango_Desktop_Project?referer=');">Tango icons</a> don&#8217;t have a &#8220;Save All&#8221; icon? Well &#8211; look no further! I have created a usable set, using the existing icons as a template, all in about 15 minutes. So &#8211; without further ado &#8211; here they are:</p>
<div id="attachment_215" class="wp-caption alignnone" style="width: 26px"><a href="http://blog.rbe.homeip.net/wp-content/uploads/2010/07/document-save-all.png"><img class="size-full wp-image-215" title="document-save-all-16x16" src="http://blog.rbe.homeip.net/wp-content/uploads/2010/07/document-save-all.png" alt="16x16 Tango Save All icon" width="16" height="16" /></a><p class="wp-caption-text">16x16</p></div>
<div id="attachment_216" class="wp-caption alignnone" style="width: 32px"><a href="http://blog.rbe.homeip.net/wp-content/uploads/2010/07/document-save-all1.png"><img class="size-full wp-image-216" title="document-save-all-22x22" src="http://blog.rbe.homeip.net/wp-content/uploads/2010/07/document-save-all1.png" alt="Tango Save All icon - 22x22" width="22" height="22" /></a><p class="wp-caption-text">22x22</p></div>
<div id="attachment_217" class="wp-caption alignnone" style="width: 42px"><a href="http://blog.rbe.homeip.net/wp-content/uploads/2010/07/document-save-all2.png"><img class="size-full wp-image-217" title="document-save-all-32x32" src="http://blog.rbe.homeip.net/wp-content/uploads/2010/07/document-save-all2.png" alt="Tango Save All icon - 32x32" width="32" height="32" /></a><p class="wp-caption-text">32x32</p></div>
<p>I did not create these for real polish &#8211; I just needed something on-the-fly, but if you have any suggestions on making them better, please let me know!</p>
<p>Also &#8211; if you would like a zip archive so you can just unzip them into the existing tango folder &#8211; here it is: <a href="http://blog.rbe.homeip.net/wp-content/uploads/2010/07/tango-icon-save-all.zip">tango-icon-save-all</a></p>
<img src="http://feeds.feedburner.com/~r/RudeBoySolutions/~4/EfBOGNlkQbI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.rbe.homeip.net/posts/tango-icons-save-all/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.rbe.homeip.net/posts/tango-icons-save-all</feedburner:origLink></item>
		<item>
		<title>New Theme Under Construction…</title>
		<link>http://feedproxy.google.com/~r/RudeBoySolutions/~3/JLg61-LRKNc/new-theme-under-construction</link>
		<comments>http://blog.rbe.homeip.net/posts/new-theme-under-construction#comments</comments>
		<pubDate>Fri, 31 Jul 2009 14:25:44 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.rbe.homeip.net/?p=160</guid>
		<description><![CDATA[Hello, all RBS followers! I am creating a new theme for WordPress called Bubbly Blue, which is part of my Bubbly Blue theme series. So far I have only one other &#8211; an Ampache theme. I am using this blog as a testing area for this theme, so please be patient if something goes horribly [...]]]></description>
			<content:encoded><![CDATA[<p>Hello, all RBS followers! I am creating a new theme for WordPress called Bubbly Blue, which is part of my Bubbly Blue theme series. So far I have only one other &#8211; an Ampache theme. I am using this blog as a testing area for this theme, so please be patient if something goes horribly awry!</p>
<p>Thank you all!</p>
<h3>Updated August 9:</h3>
<p>Here are some features of my theme so far:</p>
<ul>
<li>Three-Layer Header for more customization! = The background layer is for gradients, etc. The Logo layer is for your logo. The FX layer is for added graphics to enhance the other layers.</li>
<li>A top menu, which can show all pages as tabs. Also doubles as a sidebar.</li>
<li>Three sidebars: one dropdown menu and two sidebars on either side of main content area. These can be turned on/off in the options panel.</li>
<li>W3C standards-compliance. A graphic link has been added to the footer so you can just click to test<br />
the validity of each page.</li>
</ul>
<p>My theme is almost complete! Still left to do:</p>
<ul>
<li>Move header text over when logo is enabled/disabled</li>
<li>Fix Comments/Respond tabs on posts</li>
<li>Create Default sidebar widgets if dynamic widgets are not available</li>
<li>Add login form to header/sidebar and add option for which to use.</li>
<li style="text-decoration: line-through;">Resize content area when sidebars are turned off.</li>
<li style="text-decoration: line-through;">Curve corners of header, footer and sidebars</li>
<li>Sort Through and optimize Stylesheet</li>
<li>Ajax-ify Comments</li>
<li>Three-Layer header options panel.</li>
<li>Remove unused php files / consolidate php files</li>
<li>Cleanup code!</li>
<li>More Testing!</li>
</ul>
<img src="http://feeds.feedburner.com/~r/RudeBoySolutions/~4/JLg61-LRKNc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.rbe.homeip.net/posts/new-theme-under-construction/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.rbe.homeip.net/posts/new-theme-under-construction</feedburner:origLink></item>
		<item>
		<title>How To Repair Images with ImageMagick</title>
		<link>http://feedproxy.google.com/~r/RudeBoySolutions/~3/Negwx2NCNiE/how-to-repair-images-with-imagemagick</link>
		<comments>http://blog.rbe.homeip.net/posts/how-to-repair-images-with-imagemagick#comments</comments>
		<pubDate>Mon, 15 Jun 2009 16:23:06 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Code Samples]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://blog.rbe.homeip.net/?p=153</guid>
		<description><![CDATA[I have been doing a lot of importing of photos on my photo site, and have noticed some images do not display properly. SinceI love ImageMagick so much,  I set up  my gallery to use it. However, there appears to be a check in the Coppermine software that aborts reading the file upon errors in [...]]]></description>
			<content:encoded><![CDATA[<p>I have been doing a lot of importing of photos on my photo site, and have noticed some images do not display properly. SinceI love ImageMagick so much,  I set up  my gallery to use it. However, there appears to be a check in the Coppermine software that aborts reading the file upon errors in the image. So I typed the command &#8220;display imagename.jpg&#8221; for some of the files that did not import properly, and everything appeared to be fine. But I did notice something peculiar about the images: they were taken with my phone&#8217;s camera and all had errors printed out when I tried to open them, but seem to display correctly.</p>
<p>Since these files could be opened by ImageMagick, I figured if I saved them again, I would be able to fix the errors. I ran &#8220;convert image1.jpg image1.jpg&#8221;, got the familiar errors printed and opened the file again. This time, no errors! But since I have a  lot of files I want to import, I needed a way to convert a bunch at once.</p>
<p>I created a neat little Perl script to do just that. All you need is ImageMagick and perl installed. This script does not rely on PerlMagick, as it runs the convert command. So here it is:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="co1">#!/usr/bin/perl</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">processFile<span class="br0">&#40;</span><span class="st0">&quot;$_&quot;</span><span class="br0">&#41;</span> <span class="kw1">foreach</span> <span class="br0">&#40;</span><span class="re0">@ARGV</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li2">
<div class="de2"><span class="co1">#recursively fix images</span></div>
</li>
<li class="li1">
<div class="de1"><span class="kw2">sub</span> processFile <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp;<span class="kw1">my</span> <span class="re0">$file</span>=<a href="http://perldoc.perl.org/functions/shift.html" onclick="pageTracker._trackPageview('/outgoing/perldoc.perl.org/functions/shift.html?referer=');"><span class="kw3">shift</span></a>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp;<a href="http://perldoc.perl.org/functions/return.html" onclick="pageTracker._trackPageview('/outgoing/perldoc.perl.org/functions/return.html?referer=');"><span class="kw3">return</span></a> <span class="br0">&#40;</span>-d <span class="st0">&quot;$file&quot;</span><span class="br0">&#41;</span>?<span class="br0">&#40;</span> <span class="kw1">do</span><span class="br0">&#123;</span> processFile<span class="br0">&#40;</span><span class="st0">&quot;$_&quot;</span><span class="br0">&#41;</span> <span class="kw1">foreach</span> <span class="br0">&#40;</span>&lt;<span class="st0">&quot;$file&quot;</span>/*&gt;<span class="br0">&#41;</span> <span class="br0">&#125;</span><span class="br0">&#41;</span> : `convert <span class="st0">&quot;$file&quot;</span> <span class="st0">&quot;$file&quot;</span>`;</div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
<p>I saved this file as $HOME/bin/fiximage. All you need to do to run it is type &#8220;fiximage file1 file2 directory1 directory2 &#8230;&#8221;. One other thing to note is that this script has been purposefully shortened. I like to use the ternary operator whenever possible in my scripts for just this reason. As such, it does not print anything to the command line itself, but if the convert command encounters an error, that will be printed.</p>
<p>I hope you have found this article useful!</p>
<img src="http://feeds.feedburner.com/~r/RudeBoySolutions/~4/Negwx2NCNiE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.rbe.homeip.net/posts/how-to-repair-images-with-imagemagick/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://blog.rbe.homeip.net/posts/how-to-repair-images-with-imagemagick</feedburner:origLink></item>
		<item>
		<title>Fun With Numbers!</title>
		<link>http://feedproxy.google.com/~r/RudeBoySolutions/~3/i-eAz_iXe3Y/fun-with-numbers</link>
		<comments>http://blog.rbe.homeip.net/posts/fun-with-numbers#comments</comments>
		<pubDate>Fri, 29 May 2009 13:48:38 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Code Samples]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[C/C++]]></category>
		<category><![CDATA[Pascal]]></category>

		<guid isPermaLink="false">http://blog.rbe.homeip.net/?p=104</guid>
		<description><![CDATA[I have always had a certain love for math and the neat things you can do with it. Here is a bit of information and shortcuts I have picked up in a few of my math classes. Pascal&#8217;s Triangle Pascal&#8217;s Triangle is a pretty neat thing. It is very simple to construct and can be [...]]]></description>
			<content:encoded><![CDATA[<p>I have always had a certain love for math and the neat things you can do with it. Here is a bit of information and shortcuts I have picked up in a few of my math classes.</p>
<h2>Pascal&#8217;s Triangle</h2>
<p>Pascal&#8217;s Triangle is a pretty neat thing. It is very simple to construct and can be used to understand a lot of different ideas. It follows a very simple form: start with a &#8217;1&#8242; and add the two digits above  to get the next number. The first few line look like this:</p>
<p style="text-align:center">1<br />
1  1<br />
1  2  1<br />
1  3  3  1<br />
1  4  6  4  1<br />
1  5 10 10  5  1<br />
1  6 15 20 15  6  1<br />
&#8230;</p>
<p>The line numbers start at 0, and continue on ad infinitum. In order to generate this triangle, programmatically, you would use something like this:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">vector&lt;int&gt; pascal<span class="br0">&#40;</span></div>
</li>
<li class="li1">
<div class="de1">      vector&lt;int&gt; prev, <span class="co1">//the current (old) row data</span></div>
</li>
<li class="li1">
<div class="de1">      <span class="kw4">int</span> *len,&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">//the length of the data</span></div>
</li>
<li class="li1">
<div class="de1">      <span class="kw4">int</span> end,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">//the row to retrieve</span></div>
</li>
<li class="li2">
<div class="de2">      <span class="kw4">int</span> cur=<span class="nu0">0</span>&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">//the current row we are on</span></div>
</li>
<li class="li1">
<div class="de1">      <span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">vector&lt;int&gt; pascal<span class="br0">&#40;</span>vector&lt;int&gt; prev,<span class="kw4">int</span> *len,<span class="kw4">int</span> end,<span class="kw4">int</span> cur<span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; &nbsp;<span class="co1">//return immediately if we are at the last row</span></div>
</li>
<li class="li1">
<div class="de1">      <span class="kw1">if</span> <span class="br0">&#40;</span>cur==end<span class="br0">&#41;</span> <span class="kw1">return</span> prev;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">     &nbsp; &nbsp; &nbsp; <span class="co1">//if the current vector length is 0, then set it to 1</span></div>
</li>
<li class="li1">
<div class="de1">      &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>*len==<span class="nu0">0</span><span class="br0">&#41;</span> *len=<span class="nu0">1</span>;</div>
</li>
<li class="li2">
<div class="de2">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">      &nbsp; &nbsp; <span class="co1">//create a temp vector (all 1&#8242;s) to store the new row data</span></div>
</li>
<li class="li1">
<div class="de1">      &nbsp; &nbsp; vector&lt;int&gt; t<span class="br0">&#40;</span><span class="br0">&#40;</span>*len<span class="br0">&#41;</span><span class="nu0">+1</span>,<span class="nu0">1</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">      &nbsp; &nbsp; <span class="co1">//sum the two rows</span></div>
</li>
<li class="li2">
<div class="de2">      &nbsp; &nbsp; <span class="kw1">for</span><span class="br0">&#40;</span><span class="kw4">int</span> i=<span class="nu0">1</span>;i&lt;<span class="br0">&#40;</span>*len<span class="br0">&#41;</span>;i++<span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1">            t<span class="br0">&#91;</span>i<span class="br0">&#93;</span>=prev<span class="br0">&#91;</span>i<span class="nu0">-1</span><span class="br0">&#93;</span>+prev<span class="br0">&#91;</span>i<span class="br0">&#93;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">      &nbsp; &nbsp; <span class="co1">//increase the length by 1</span></div>
</li>
<li class="li1">
<div class="de1">      &nbsp; &nbsp; *len=<span class="br0">&#40;</span>*len<span class="br0">&#41;</span><span class="nu0">+1</span>;</div>
</li>
<li class="li2">
<div class="de2">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">      &nbsp; &nbsp; <span class="co1">//return the new row data</span></div>
</li>
<li class="li1">
<div class="de1">      &nbsp; &nbsp; <span class="kw1">return</span> pascal<span class="br0">&#40;</span>t,len,end,cur<span class="nu0">+1</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
<h2>Binomial Expansion</h2>
<p>Remember binomials from algebra? They were the pair of numbers used to create or simplify polynomial expressions, something like:</p>
<div class="tex">
<a href="http://wordpress.org/extend/plugins/easy-latex/" target="_blank" title="( x + 3 )^3 = x^3 + 9x^2 + 27x + 27" onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/easy-latex/?referer=');"><img src="http://l.wordpress.com/latex.php?latex=%28%20x%20%2B%203%20%29%5E3%20%3D%20x%5E3%20%2B%209x%5E2%20%2B%2027x%20%2B%2027&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" style="vertical-align:-20%;" class="tex" alt="( x + 3 )^3 = x^3 + 9x^2 + 27x + 27" /></a>
</div>
<p>You can use Pascal&#8217;s triangle to find the coefficients of the polynomials. Let&#8217;s begin by solving for the generic  case:</p>
<div class="tex">
<a href="http://www.Thulasidas.com/latex" target="_blank" title="(a+b)^n = " onclick="pageTracker._trackPageview('/outgoing/www.Thulasidas.com/latex?referer=');"><img src="http://l.wordpress.com/latex.php?latex=%28a%2Bb%29%5En%20%3D%20&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" style="vertical-align:-20%;" class="tex" alt="(a+b)^n = " /></a><br />
<a ><img src="http://l.wordpress.com/latex.php?latex=%28a%2Bb%29%5E%7Bn-1%7D%28a%2Bb%29%20%3D%20&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" style="vertical-align:-20%;" class="tex" alt="(a+b)^{n-1}(a+b) = " /></a><br />
<img src="http://l.wordpress.com/latex.php?latex=%28a%2Bb%29%5E%7Bn-2%7D%28a%2Bb%29%5E2%20%3D%20&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="(a+b)^{n-2}(a+b)^2 = " style="vertical-align:-20%;" class="tex" alt="(a+b)^{n-2}(a+b)^2 = " /><br />
<img src="http://l.wordpress.com/latex.php?latex=%28a%2Bb%29%5E%7Bn-2%7D%28%28a%2Bb%29%28a%2Bb%29%29%20%3D%20&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="(a+b)^{n-2}((a+b)(a+b)) = " style="vertical-align:-20%;" class="tex" alt="(a+b)^{n-2}((a+b)(a+b)) = " /><br />
<img src="http://l.wordpress.com/latex.php?latex=%28%20%28a%2Aa%29%20%2B%20%28a%2Ab%29%20%2B%20%28b%2Aa%29%20%2B%20%28b%2Ab%29%20%29%28a%2Bb%29%5E%7Bn-1%7D%20%3D%20&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="( (a*a) + (a*b) + (b*a) + (b*b) )(a+b)^{n-1} = " style="vertical-align:-20%;" class="tex" alt="( (a*a) + (a*b) + (b*a) + (b*b) )(a+b)^{n-1} = " /><br />
<img src="http://l.wordpress.com/latex.php?latex=%28a%5E2%2B2ab%2Bb%5E2%29%28a%2Bb%29%5E%7Bn-1%7D%20%3D%20&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="(a^2+2ab+b^2)(a+b)^{n-1} = " style="vertical-align:-20%;" class="tex" alt="(a^2+2ab+b^2)(a+b)^{n-1} = " />
</div>
<p>See the coefficients so far, with n=2 ? They are [1 2 1], which corresponds to the second row in Pascal&#8217;s triangle. But this could be a fluke, right, so let&#8217;s jump ahead to n=5 to see if that works as well.</p>
<div class="tex">
<img src="http://l.wordpress.com/latex.php?latex=%28a%2Bb%29%5En%20%3D%20&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="(a+b)^n = " style="vertical-align:-20%;" class="tex" alt="(a+b)^n = " /><br />
<img src="http://l.wordpress.com/latex.php?latex=%28a%2Bb%29%5E%7Bn-6%7D%28a%2Bb%29%5E5%20%3D%20&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="(a+b)^{n-6}(a+b)^5 = " style="vertical-align:-20%;" class="tex" alt="(a+b)^{n-6}(a+b)^5 = " /><br />
<img src="http://l.wordpress.com/latex.php?latex=%28a%2Bb%29%5E%7Bn-6%7D%28%20%28a%2Bb%29%20%28a%2Bb%29%20%28a%2Bb%29%20%28a%2Bb%29%20%28a%2Bb%29%20%29%20%3D%20&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="(a+b)^{n-6}( (a+b) (a+b) (a+b) (a+b) (a+b) ) = " style="vertical-align:-20%;" class="tex" alt="(a+b)^{n-6}( (a+b) (a+b) (a+b) (a+b) (a+b) ) = " /><br />
<img src="http://l.wordpress.com/latex.php?latex=%28a%2Bb%29%5E%7Bn-6%7D%28%20%28%20%28a%2Bb%29%28a%2Bb%29%20%29%28%20%28a%2Bb%29%28a%2Bb%29%20%29%20%28a%2Bb%29%20%29%20%3D%20&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="(a+b)^{n-6}( ( (a+b)(a+b) )( (a+b)(a+b) ) (a+b) ) = " style="vertical-align:-20%;" class="tex" alt="(a+b)^{n-6}( ( (a+b)(a+b) )( (a+b)(a+b) ) (a+b) ) = " /><br />
[we know what <img src="http://l.wordpress.com/latex.php?latex=%28a%2Bb%29%5E2&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="(a+b)^2" style="vertical-align:-20%;" class="tex" alt="(a+b)^2" /> is, so: ]<br />
<img src="http://l.wordpress.com/latex.php?latex=%28%28%20a%5E2%2B2ab%2Bb%5E2%20%29%28%20a%5E2%2B2ab%2Bb%5E2%20%29%28a%2Bb%29%20%29%28a%2Bb%29%5E%7Bn-6%7D%20%3D%20&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="(( a^2+2ab+b^2 )( a^2+2ab+b^2 )(a+b) )(a+b)^{n-6} = " style="vertical-align:-20%;" class="tex" alt="(( a^2+2ab+b^2 )( a^2+2ab+b^2 )(a+b) )(a+b)^{n-6} = " /><br />
<img src="http://l.wordpress.com/latex.php?latex=%28%20%28%20%28a%5E2%2Aa%5E2%29%2B%28a%5E2%2A2ab%29%20%2B%20%28a%5E2%2Ab%5E2%29%20%2B%20%28%202ab%2Aa%5E2%29%20%2B%20%282ab%2A2ab%29%20%2B%20&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="( ( (a^2*a^2)+(a^2*2ab) + (a^2*b^2) + ( 2ab*a^2) + (2ab*2ab) + " style="vertical-align:-20%;" class="tex" alt="( ( (a^2*a^2)+(a^2*2ab) + (a^2*b^2) + ( 2ab*a^2) + (2ab*2ab) + " /><br />
&nbsp;&nbsp;&nbsp;&nbsp;<img src="http://l.wordpress.com/latex.php?latex=%282ab%2Ab%5E2%29%20%2B%20%28b%5E2%2Aa%5E2%29%2B%28b%5E2%2A2ab%29%20%2B%20%28b%5E2%2Ab%5E2%29%20%29%20%28a%2Bb%29%20%29%28a%2Bb%29%5E%7Bn-6%7D%20%3D%20&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="(2ab*b^2) + (b^2*a^2)+(b^2*2ab) + (b^2*b^2) ) (a+b) )(a+b)^{n-6} = " style="vertical-align:-20%;" class="tex" alt="(2ab*b^2) + (b^2*a^2)+(b^2*2ab) + (b^2*b^2) ) (a+b) )(a+b)^{n-6} = " /><br />
<img src="http://l.wordpress.com/latex.php?latex=%28%20%28%20a%5E4%20%2B%202a%5E3b%2B%20a%5E2b%5E2%20%2B%202a%5E3b%20%2B%204a%5E2b%5E2%20%2B%202ab%5E3%20%2B%20b%5E2a%5E2%20%2B%202ab%5E3%2B%20b%5E4%29%20%28a%2Bb%29%20%29%28a%2Bb%29%5E%7Bn-6%7D%20%3D%20&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="( ( a^4 + 2a^3b+ a^2b^2 + 2a^3b + 4a^2b^2 + 2ab^3 + b^2a^2 + 2ab^3+ b^4) (a+b) )(a+b)^{n-6} = " style="vertical-align:-20%;" class="tex" alt="( ( a^4 + 2a^3b+ a^2b^2 + 2a^3b + 4a^2b^2 + 2ab^3 + b^2a^2 + 2ab^3+ b^4) (a+b) )(a+b)^{n-6} = " /><br />
<img src="http://l.wordpress.com/latex.php?latex=%28%20%28%20a%5E4%20%2B%204a%5E3b%20%2B%206a2b%5E2%20%2B%204ab%5E3%2Bb%5E4%29%20%28a%2Bb%29%20%29%28a%2Bb%29%5E%7Bn-6%7D%20%3D%20&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="( ( a^4 + 4a^3b + 6a2b^2 + 4ab^3+b^4) (a+b) )(a+b)^{n-6} = " style="vertical-align:-20%;" class="tex" alt="( ( a^4 + 4a^3b + 6a2b^2 + 4ab^3+b^4) (a+b) )(a+b)^{n-6} = " /><br />
[note: notice that the coefficients of <img src="http://l.wordpress.com/latex.php?latex=%28a%2Bb%29%5E4&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="(a+b)^4" style="vertical-align:-20%;" class="tex" alt="(a+b)^4" /> are (1 4 6 4 1) ! ]<br />
<img src="http://l.wordpress.com/latex.php?latex=%28%20%28%20a%5E4%2Aa%20%2B%20a%5E4%2Ab%20%2B%204a%5E3b%2Aa%20%2B%204a%5E3b%2Ab%20%2B%206a%5E2b%5E2%2Aa%20%2B%206a%5E2b%5E2%2Ab%20%2B%204ab%5E3%2Aa%20%2B%204ab%5E3%2Ab%20%2B%20b%5E4%2Aa%2Bb%5E4%2Ab%29%29%28a%2Bb%29%5E%7Bn-6%7D%20%3D&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="( ( a^4*a + a^4*b + 4a^3b*a + 4a^3b*b + 6a^2b^2*a + 6a^2b^2*b + 4ab^3*a + 4ab^3*b + b^4*a+b^4*b))(a+b)^{n-6} =" style="vertical-align:-20%;" class="tex" alt="( ( a^4*a + a^4*b + 4a^3b*a + 4a^3b*b + 6a^2b^2*a + 6a^2b^2*b + 4ab^3*a + 4ab^3*b + b^4*a+b^4*b))(a+b)^{n-6} =" /><br />
<img src="http://l.wordpress.com/latex.php?latex=%28%20%28%20a%5E5%20%2B%20a%5E4b%20%2B%204a%5E4b%20%2B%204a%5E3b%5E2%20%2B%206a%5E3b%5E2%20%2B%206a%5E2b%5E3%20%2B%204a%5E2b%5E3%20%2B%204ab%5E4%20%2B%20ab%5E4%2Bb%5E5%29%29%28a%2Bb%29%5E%7Bn-6%7D%3D&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="( ( a^5 + a^4b + 4a^4b + 4a^3b^2 + 6a^3b^2 + 6a^2b^3 + 4a^2b^3 + 4ab^4 + ab^4+b^5))(a+b)^{n-6}=" style="vertical-align:-20%;" class="tex" alt="( ( a^5 + a^4b + 4a^4b + 4a^3b^2 + 6a^3b^2 + 6a^2b^3 + 4a^2b^3 + 4ab^4 + ab^4+b^5))(a+b)^{n-6}=" /><br />
<img src="http://l.wordpress.com/latex.php?latex=%28%20%28%20a%5E5%20%2B5a%5E4b%20%2B%2010a%5E3b%5E2%20%2B%2010a%5E2b%5E3%20%2B%205ab%5E4%20%2B%20b%5E5%29%28a%2Bb%29%5E%7Bn-6%7D&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="( ( a^5 +5a^4b + 10a^3b^2 + 10a^2b^3 + 5ab^4 + b^5)(a+b)^{n-6}" style="vertical-align:-20%;" class="tex" alt="( ( a^5 +5a^4b + 10a^3b^2 + 10a^2b^3 + 5ab^4 + b^5)(a+b)^{n-6}" />
</div>
<p>There it is! The coefficients correspond to the rows on Pascal&#8217;s Triangle! </p>
<h3>Features</h3>
<p>Now, to make things a little simpler, I will note some interesting &#8220;features&#8221; about what we just did.</p>
<h4>General Formula for Binomial Expansion</h4>
<p>The general formula for binomial expansion is:</p>
<div class="tex">
<img src="http://l.wordpress.com/latex.php?latex=%28a%2Bb%29%5En%20%3D%20%5Csum_%7Bi%3D0%7D%5E%7Bn%7D%28P_%7Bni%7Da%5E%7Bn-i%7Db%5Ei%29&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="(a+b)^n = \sum_{i=0}^{n}(P_{ni}a^{n-i}b^i)" style="vertical-align:-20%;" class="tex" alt="(a+b)^n = \sum_{i=0}^{n}(P_{ni}a^{n-i}b^i)" />
</div>
<p>Where <img src="http://l.wordpress.com/latex.php?latex=P_%7Bni%7D&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="P_{ni}" style="vertical-align:-20%;" class="tex" alt="P_{ni}" /> is the coefficient at row n (starting from 0) and column i in Pascal&#8217;s Triangle. The formula means to add from i=0 to n all the terms <img src="http://l.wordpress.com/latex.php?latex=%28P_%7Bni%7Da%5E%7Bn-i%7Db%5Ei%29&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="(P_{ni}a^{n-i}b^i)" style="vertical-align:-20%;" class="tex" alt="(P_{ni}a^{n-i}b^i)" /> , replacing i with the number you are at. For example, supposing i=3, you would get:</p>
<div class="tex">
<img src="http://l.wordpress.com/latex.php?latex=%5Csum_%7Bi%3D0%7D%5E%7B3%7D%28P_%7B3i%7Da%5E%7B3-i%7Db%5Ei%29%20%3D%20&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="\sum_{i=0}^{3}(P_{3i}a^{3-i}b^i) = " style="vertical-align:-20%;" class="tex" alt="\sum_{i=0}^{3}(P_{3i}a^{3-i}b^i) = " /><br />
<img src="http://l.wordpress.com/latex.php?latex=%28P_%7B%283%2C0%29%7Da%5E%7B3-0%7Db%5E0%29%20%2B%20%28P_%7B%283%2C1%29%7Da%5E%7B3-1%7Db%5E1%29%20%2B%20%28P_%7B%283%2C2%29%7Da%5E%7B3-2%7Db%5E2%29%20%2B%20%28P_%7B%283%2C3%29%7Da%5E%7B3-3%7Db%5E3%29%20%3D%20&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="(P_{(3,0)}a^{3-0}b^0) + (P_{(3,1)}a^{3-1}b^1) + (P_{(3,2)}a^{3-2}b^2) + (P_{(3,3)}a^{3-3}b^3) = " style="vertical-align:-20%;" class="tex" alt="(P_{(3,0)}a^{3-0}b^0) + (P_{(3,1)}a^{3-1}b^1) + (P_{(3,2)}a^{3-2}b^2) + (P_{(3,3)}a^{3-3}b^3) = " /><br />
since <img src="http://l.wordpress.com/latex.php?latex=P_3%20%3D%20%5B1%203%203%201%5D&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="P_3 = [1 3 3 1]" style="vertical-align:-20%;" class="tex" alt="P_3 = [1 3 3 1]" /> , we finally get:<br />
<img src="http://l.wordpress.com/latex.php?latex=%28%281%29a%5E%7B3-0%7Db%5E0%29%20%2B%20%28%283%29a%5E%7B3-1%7Db%5E1%29%20%2B%20%28%283%29a%5E%7B3-2%7Db%5E2%29%20%2B%20%28%281%29a%5E%7B3-3%7Db%5E3%29%20&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="((1)a^{3-0}b^0) + ((3)a^{3-1}b^1) + ((3)a^{3-2}b^2) + ((1)a^{3-3}b^3) " style="vertical-align:-20%;" class="tex" alt="((1)a^{3-0}b^0) + ((3)a^{3-1}b^1) + ((3)a^{3-2}b^2) + ((1)a^{3-3}b^3) " /><br />
cleaning up a bit :<br />
<img src="http://l.wordpress.com/latex.php?latex=a%5E3%20%2B%203a%5E2b%20%2B%203ab%5E2%20%2B%20b%5E3&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="a^3 + 3a^2b + 3ab^2 + b^3" style="vertical-align:-20%;" class="tex" alt="a^3 + 3a^2b + 3ab^2 + b^3" />
</div>
<h4>Exponents</h4>
<p>Note in all the expansions, the first variable counts down from n to 0, while the second variable counts up from 0 to n. </p>
<h3>Does your binomial already have coefficients?</h3>
<p>If your binomial already has coefficients, simply add the coefficient in with the variable it is with, so it merely multiplies the term by that amount. For example:</p>
<div class="tex">
<img src="http://l.wordpress.com/latex.php?latex=%283a%2Bb%29%5E3%20%3D%20&#038;bg=FFFFFF&#038;fg=000000&#038;s=0" title="(3a+b)^3 = " style="vertical-align:-20%;" class="tex" alt="(3a+b)^3 = " />
</div>
<img src="http://feeds.feedburner.com/~r/RudeBoySolutions/~4/i-eAz_iXe3Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.rbe.homeip.net/posts/fun-with-numbers/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.rbe.homeip.net/posts/fun-with-numbers</feedburner:origLink></item>
		<item>
		<title>TeTex for Puppy Linux</title>
		<link>http://feedproxy.google.com/~r/RudeBoySolutions/~3/2h9msCiqJPg/tetex-for-puppy-linux</link>
		<comments>http://blog.rbe.homeip.net/posts/tetex-for-puppy-linux#comments</comments>
		<pubDate>Sun, 10 May 2009 22:02:33 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[k]]></category>

		<guid isPermaLink="false">http://blog.rbe.homeip.net/?p=99</guid>
		<description><![CDATA[SORRY!: The current sfs file is broken. I am working as fast as I can to fix this, so check back for more! I have recently had to send my new laptop back for a power board replacement, so I have resurrected my old laptop. It is a HP Pavilion ze4900 that my coworker gave [...]]]></description>
			<content:encoded><![CDATA[<p>SORRY!: The current sfs file is broken. I am working as fast as I can to fix this, so check back for more!</p>
<p>I have recently had to send my new laptop back for a power board replacement, so I have resurrected my old laptop. It is a HP Pavilion ze4900 that my coworker gave me 2 years ago. (It was an old one he didn&#8217;t want.) This laptop was pretty old when I got it, and a series of unfortunate events occured.</p>
<p>First, the power cord got fragged. Then the battery died. Lastly, the hard drive failed. With all these problems, there was only one solution: a small, lightweight linux distro to use as a dumb terminal for my server. So I installed Puppy Linux on a CD, ran it with a USB drive and worked on my Summer of Code project with it. I loved Puppy Linux!</p>
<p>Since I am now in that same position, I have decided to update my version of Puppy from 4.00 to 4.20. I also found out that without a hard drive even attached, this laptop will boot from a USB drive. Since I now have a 8 Gb drive and plenty of space, I decided to install a few extra programs, including the development .sfs file, which allows me to build software for this excellent distro!</p>
<p>I really wanted tetex and a good editor, but don&#8217;t really like installing pups/pets. I prefer sfs files, so I can have better control over what is installed and how it is installed. So I got down to it!</p>
<p>I went over to the the Puppy Linux forum to find out how to make sfs files, and found a great tool <a title="Edit-SFS" href="http://www.murga-linux.com/puppy/viewtopic.php?t=12112" onclick="pageTracker._trackPageview('/outgoing/www.murga-linux.com/puppy/viewtopic.php?t=12112&amp;referer=');">here</a>. Then I downloaded tetex and texmf, compiled it in /usr/local/tetex, and created <a title="tetex/texmf file" href="http://rbe.homeip.net/content/downloads/files/texmf_420.sfs" onclick="pageTracker._trackPageview('/outgoing/rbe.homeip.net/content/downloads/files/texmf_420.sfs?referer=');">this sfs file</a>. To use it, just put it in the same location as your pup_save.2fs file and reboot. If you want to use it with other versions of Puppy Linux, change the 420 in the filename to 400 or 300 or whatever the standard is for your version.</p>
<p>I am also working on incorporating several tex editors with it, so keep checking back for more!</p>
<img src="http://feeds.feedburner.com/~r/RudeBoySolutions/~4/2h9msCiqJPg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.rbe.homeip.net/posts/tetex-for-puppy-linux/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://blog.rbe.homeip.net/posts/tetex-for-puppy-linux</feedburner:origLink></item>
		<item>
		<title>Building Enlightenment e17 on Fedora 10 x86_64</title>
		<link>http://feedproxy.google.com/~r/RudeBoySolutions/~3/NynT4iQCgT0/building-enlightenment-e17-on-fedora-10-x86_64</link>
		<comments>http://blog.rbe.homeip.net/posts/building-enlightenment-e17-on-fedora-10-x86_64#comments</comments>
		<pubDate>Fri, 03 Apr 2009 02:34:42 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Summer of Code]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.rbe.homeip.net/?p=82</guid>
		<description><![CDATA[DISCLAIMER: The following did NOT work correctly for me. The applications worked correctly, but the desktop fails. When I find out what went wrong, I will modify this post to suit. Today i have begun to build and install Enlightenment e17 on my Fedora 10 x86_64 laptop. I have Googled for a few sites to [...]]]></description>
			<content:encoded><![CDATA[<p>DISCLAIMER: The following did NOT work correctly for me. The applications worked correctly, but the desktop fails. When I find out what went wrong, I will modify this post to suit.</p>
<p>Today i have begun to build and install Enlightenment e17 on my Fedora 10 x86_64 laptop. I have Googled for a few sites to help me get started, only to discover their directions are very lacking. VERY lacking. So to compensate, i am writing this article on the things you need to get started with Enlightenment e17.<br />
If you would like to try out e17, you can use yum to install some of the base componenets, but remember to erase them with `yum -e enlightenment` before you start building e17 or some severe nastiness could occur. The packages I have installed for my evaluation are: bitmap_fonts, e_dbus, edje, efreet, embryo, enlightenment, eterm, and libast.<br />
The reason I didn&#8217;t just use the yum packages is that I know e17 has a lot of dependencies and a lot of hidden features. I like to have a lot of features! Read on to find out about some of those features.</p>
<h2>Step 1: Preparations</h2>
<p>You are going to need a few dependencies for this. Some you can get via yum, and others you need to get from a version control repository. Here are the command you need to execute:<br />
sudo yum install libjpeg-devel libtiff-devel libpng-devel giflib-devel freetype-devel libXext-devel libid3tag-devel subversion imlib2-devel libxcb libxcb-devel libxcb-util libxcb-util libxcb-util-devel glew-devel libXrender-devel directfb-devel xine-lib-devel gstreamer-devel gstreamer-plugins-base-devel vlc-devel<br />
mkdir ~/Download/e17<br />
cd ~/Download/e17<br />
svn co http://svn.enlightenment.org/svn/e<br />
svn co http://ememoa.googlecode.com/svn/trunk/ ememoa-read-only</p>
<h2>Step 2: The long drive home</h2>
<p>Ok. Now that we have our tools, we can start the dirty work: building e17. I am listing this in the order you should build. Just follow along and shout, &#8220;Hoo-Raaahhhh!!!&#8221; at the appropriate times. For brevity, I will be listing the package names in bold font, then the directory in which it can be found in brackets. Then I will give a hort description of the file, and any options to be passed to ./configure. You should run three commands with each step:<br />
1. `cd` to change into that directory. All directory names will be relative to ~/Download/e17/e/trunk/, except the ememoa package, which should be ~/Download/e17/ememoa-read-only/<br />
2. &#8216;./configure &#8211;libdir=/usr/lib64 &#8211;prefix=/usr&#8217; with the config options appended to the end, seperated by spaces. See the first two examples to see what I mean. (NOTE: If you are missing the ./configure script for any of the following steps, run ./autogen.sh first.)<br />
3. `<code>gmake &amp;&amp; sudo gmake install</code>` This command builds the package, prompts for your password, if you are in the sudoers file, and installs it. This step may take some time before prompting for your password.</p>
<dl>
<dt><strong>Ememoa</strong> [ ememoa-read-only/ ]  &#8211;enable-pthread &#8211;enable-use64</dt>
<dd> We are going to build ememoa first. From the ememoa website, it is a &#8220;memory pool allocator that helps to improve memory allocation speed and memory usage by improving memory locality during data manipulation.&#8221; What this means is that ememoa helps speed up memory access, which will make e17 faster.<br />
So if you&#8217;re following along, you should execute the following:<br />
cd ~/Download/e17/ememoa/<br />
./configure &#8211;libdir=/usr/lib64 &#8211;prefix=/usr &#8211;enable-pthread &#8211;enable-use64<br />
make &amp;&amp; sudo make install<br />
This package may not install a file in the correct place, so we need to make sure it is. Run ` ls /usr/lib64/pkgconfig/ememoa.pc`. If it says there is no file, then issue:`mv /usr/lib/pkgconfig/ememoa* /usr/lib64/pkgconfig/` </dd>
<dt><strong>Imlib2</strong> [ imlib2/ ]</dt>
<dd> This is a tricky one. So much software depends on imlib that is will be nearly impossible to uninstall. You can, however, build imlib and simply install it over existing files. If you want to do this, just run `cd ~ &amp;&amp; yumdownloader imlib2 imlib2-devel`. If you have problems after building imlib2, simply login in a terminal and issue `sudo rpm -ivh &#8211;force ~/imlib2*.rpm` (replace &#8216;user&#8217; with your username) to restore the old files. OK &#8211; now that the disclaimer is over with, on to the next commands:<br />
cd ../e/trunk/imlib2<br />
./configure &#8211;prefix=/usr &#8211;libdir=/usr/lib64<br />
The end of the output of this last command will give you a asummary of what is going to be included in the build. You should see a list of &#8220;Image Loaders&#8221; with all yes&#8217;s. If you don&#8217;t, then issue `yum install libXXX-devel` for each one. For instance, if you see that TIFF and ID3 are &#8220;no,&#8221; then run `sudo yum install libtiff-devel libid3-devel`. &#8220;Use AMD64 for speed&#8221; should be yes and &#8220;use MMX&#8230;&#8221; should be no. I am not sure what &#8220;visibility hiding&#8221; is, so leave it as-is. Now issue:<br />
make<br />
sudo make install </dd>
<dt><strong>eina</strong> [ eina/ ] &#8211;enable-ememoa</dt>
<dd> From the web site: &#8220;Eina is a multi-platform library that provides optimized data types and a few tools that could be used for projects.&#8221; To build: </dd>
<dt><strong>Eet</strong> [ eet/ ] </dt>
<dd> Eet is a cool little library used for data input/output that is written very little and read very much. </dd>
<dt><strong>Edb</strong> [ OLD/edb/ ]</dt>
<dd> The edb library is in the OLD directory, but some packages look for it and may use it. If you want to use this library, charge on! </dd>
<dt><strong>Imlib2 Extras</strong> [ imlib2_loaders/ ]</dt>
<dd> Now that we have some libs installed, we can build some more imlib2 image loaders. </dd>
<dt><strong>Imlib2 Extras</strong> [ imlib2_tools/ ]</dt>
<dd> This package contains some extra tools for developing with Imlib. </dd>
<dt><strong>Evas</strong> [ evas/ ] &#8211;enable-gl-x11 &#8211;enable-gl-glew &#8211;enable-software-xcb &#8211;enable-buffer &#8211;enable-xrender-x11 &#8211;enable-software-sdl &#8211;enable-directfb &#8211;enable-fb</dt>
<dd> From the wiki: &#8220;Evas is a hardware-accelerated canvas API for X-Windows that can draw anti-aliased text, smooth super and sub-sampled images, alpha-blend, as well as drop down to using normal X11 primitives such as pixmaps, lines and rectangles for speed if your CPU or graphics hardware are too slow. &#8221; This is how e17 gets its speed for its cool effects. The following lines are for installing it with all the backends enabled. There is one problem in the current SVN: glew support is not working. If you try the following ./configure line and make gives you an error, remove the &#8220;&#8211;enable-gl-glew&#8221; from the ./configure command and run it again. If you get errors while building, it means that the correct devel packages aren&#8217;t installed, and you should check Step 1 for the correct packages to install. </dd>
<dt><strong>Ecore</strong> [ ecore/ ]</dt>
<dd> This is the core library for Enlightenment. It handles events, draws the GUI, and does a lot of graphic stuff.  Just a simple few commands should pick up all the previous configuration information: </dd>
<dt><strong>Efreet</strong> [ efreet/ ]</dt>
<dd> Efreet implements a bunch of protocols set by freedesktop.org. This includes icon themes, .desktop file support, and menus. </dd>
<dt><strong>Embryo</strong> [ embryo/ ] &#8211;enable-doc</dt>
<dd> Embryo is a C-like scripting language used by enlightenment. Add &#8216;&#8211;enable-doc&#8217; to the ./configure line if you want to install documentation for this. </dd>
<dt><strong>Edje</strong> [edje/] &#8211;enable-doc &#8211;enable-edje-program-cache</dt>
<dd> From the wiki: &#8220;Edje is an attempt to find a middleground between theming and programming without turning the theme itself into just yet another program.&#8221; It is the awesome theming engine for enlightenment. </dd>
<dt><strong>E_DBus</strong> [ e_dbus/ ]</dt>
<dd> This is the D-Bus connection for e17. It is used to get and set system information, using an interface common to a lot of applications. </dd>
<dt><strong>ETK</strong> [ etk/ ]</dt>
<dd> Etk is the enlightenment toolit, which is based on EFL. If you managed to enable framebuffer support in ecore, this will automatically enable framebuffer support in etk. </dd>
<dt><strong>EXML</strong> [ exml/ ]</dt>
<dd> A neat library for dealing with XML files. </dd>
<dt><strong>Epsilon</strong> [ epsilon/ ] &#8211;enable-thumbnailer-xine</dt>
<dd> A library for creating quick thumbnails. </dd>
<dt><strong>Emotion</strong> [ epsilon/ ]</dt>
<dd> A library for videos. </dd>
<dt><strong>Enity</strong> [ enity/ ]</dt>
<dd> A library for creating dialogs, much like xdialog. </dd>
<dt><strong>Etk Extras</strong> [ etk_extra/ ]</dt>
<dd> Extra libs for etk. </dd>
<dt><strong>Evolve</strong> [ evolve/ ]</dt>
<dd> Allows you to theme your windows using an edje-like syntax.. </dd>
<dt><strong>Enlightenment Widget Library</strong> [ ewl/ ]</dt>
<dd> A toolkit for creating EFL-based GUIs. </dd>
<dt><strong>Expedite</strong> [ expedite/ ]</dt>
<dd> Benchmarking suite for e17. </dd>
<dt><strong>Enhance</strong> [ enhance/ ]</dt>
<dd> Allows you to use glade files with e17 libs for easier UI development! </dd>
<dt><strong>Exchange</strong> [ PROTO/exchange/ ]</dt>
<dd> Enlightenment looks for this lib and uses it if it is installed. The README says &#8220;The enlightened way to exchange stuffs!&#8221; I&#8217;m not sure what this is, but we&#8217;re going to use it anyway! NOTE: this is a prototype library, and may not function when you download it. If the build fails with an odd error, it may be fixed by the following day. </dd>
<dt><strong>Esmart</strong> [ esmart/ ]</dt>
<dd> A collection of smarter evas objects. </dd>
<dt><strong>Enlightenment</strong> [ e/ ]</dt>
<dd> The actual enlightenment desktop environment. </dd>
<dt><strong>Entrance</strong> [ entrance/ ]</dt>
<dd> An enlightenment login manager, to replace gdm, kdm, or xdm. In order to be able to run entrance as your display manager, you must edit a few files as root. In /etc/X11/xdm/Xsession, find the area that looks like: </p>
<p><code>failsafe)<br />
...code here....<br />
gnome|gnome-session)<br />
...code here....</code></p>
<p>and add the following lines before &#8220;failsafe)&#8221;:<br />
<code> enlightenment)<br />
exec $SSH_AGENT /bin/sh -c "exec -l $SHELL -c \"enlightenment\""<br />
;;<br />
</code><br />
Then open /etc/sysconfig/desktop and make sure it says DISPLAYMANAGER=enlightenment</p>
</dd>
</dl>
<h2>Step 3: EApps</h2>
<p>Now that we&#8217;ve built our main libraries and software &#8211; on to the fun stuff! We are now going to build more apps for use with enlightenment.</p>
<dl>
<dt><strong>Edje Editor</strong> [ edje_editor/ ]</dt>
<dd> This is an editor for theme files. Really awesome! </dd>
<dt><strong>Edje Viewer</strong> [ edje_editor/ ]</dt>
<dd> This is an editor for theme files. Really awesome! </dd>
<dt><strong>Elicit</strong> [ elicit/ ]</dt>
<dd> A screen zoomer.and color picker. </dd>
<dt><strong>Elitaire</strong> [ elitaire/ ]</dt>
<dd> Solitaire game for e17.</dd>
</dl>
<img src="http://feeds.feedburner.com/~r/RudeBoySolutions/~4/NynT4iQCgT0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.rbe.homeip.net/posts/building-enlightenment-e17-on-fedora-10-x86_64/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.rbe.homeip.net/posts/building-enlightenment-e17-on-fedora-10-x86_64</feedburner:origLink></item>
		<item>
		<title>Google Summer of Code 2009 Project Ideas</title>
		<link>http://feedproxy.google.com/~r/RudeBoySolutions/~3/X3V6lC5b-7Y/google-summer-of-code-2009-project-ideas</link>
		<comments>http://blog.rbe.homeip.net/posts/google-summer-of-code-2009-project-ideas#comments</comments>
		<pubDate>Fri, 03 Apr 2009 02:31:18 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.rbe.homeip.net/?p=63</guid>
		<description><![CDATA[Google has announced a another Summer of Code for 2009 (video)! Here is a list of some project idea pages for this year. GIMP GNOME Python Mozilla Jikes Zikula OLAT Maemo NetBSD Tcl/Tk Apache Software Foundation The Linux Foundation Drupal KDE Eclipse Foundation The R Foundation Open ACS Arch Linux Battle for Wesnoth Here&#60;&#60;&#60;]]></description>
			<content:encoded><![CDATA[<p>Google has announced a another <a href="http://code.google.com/soc/" onclick="pageTracker._trackPageview('/outgoing/code.google.com/soc/?referer=');">Summer of Code for 2009</a> (<a href="http://www.youtube.com/watch?v=vBRRR0BQyz0&amp;feature=channel_page" onclick="pageTracker._trackPageview('/outgoing/www.youtube.com/watch?v=vBRRR0BQyz0_amp_feature=channel_page&amp;referer=');">video</a>)! Here is a list of some project idea pages for this year.</p>
<ul>
<li><a href="http://wiki.gimp.org/gimp/SummerOfCode2009ideas" onclick="pageTracker._trackPageview('/outgoing/wiki.gimp.org/gimp/SummerOfCode2009ideas?referer=');">GIMP</a></li>
<li><a href="http://live.gnome.org/SummerOfCode2009/Ideas" onclick="pageTracker._trackPageview('/outgoing/live.gnome.org/SummerOfCode2009/Ideas?referer=');">GNOME</a></li>
<li><a href="http://wiki.python.org/moin/SummerOfCode" onclick="pageTracker._trackPageview('/outgoing/wiki.python.org/moin/SummerOfCode?referer=');">Python</a></li>
<li><a href="https://wiki.mozilla.org/Community:SummerOfCode09:Brainstorming" onclick="pageTracker._trackPageview('/outgoing/wiki.mozilla.org/Community_SummerOfCode09_Brainstorming?referer=');">Mozilla</a></li>
<li><a href="http://docs.codehaus.org/display/RVM/Project+Proposals+2009" onclick="pageTracker._trackPageview('/outgoing/docs.codehaus.org/display/RVM/Project+Proposals+2009?referer=');">Jikes</a></li>
<li><a href="http://code.zikula.org/core/ticket/333" onclick="pageTracker._trackPageview('/outgoing/code.zikula.org/core/ticket/333?referer=');">Zikula</a></li>
<li><a href="http://www.olat.org/website/en/html/about_participating.html" onclick="pageTracker._trackPageview('/outgoing/www.olat.org/website/en/html/about_participating.html?referer=');">OLAT</a></li>
<li><a href="http://wiki.maemo.org/GSoC_2009/Project_ideas" onclick="pageTracker._trackPageview('/outgoing/wiki.maemo.org/GSoC_2009/Project_ideas?referer=');">Maemo</a></li>
<li><a href="http://www.netbsd.org/contrib/soc-projects.html" onclick="pageTracker._trackPageview('/outgoing/www.netbsd.org/contrib/soc-projects.html?referer=');">NetBSD</a></li>
<li><a href="http://wiki.tcl.tk/22182" onclick="pageTracker._trackPageview('/outgoing/wiki.tcl.tk/22182?referer=');">Tcl/Tk</a></li>
<li><a href="http://wiki.apache.org/general/SummerOfCode2009" onclick="pageTracker._trackPageview('/outgoing/wiki.apache.org/general/SummerOfCode2009?referer=');">Apache Software Foundation</a></li>
<li><a href="https://www.linuxfoundation.org/en/Google_Summer_of_Code_2009" onclick="pageTracker._trackPageview('/outgoing/www.linuxfoundation.org/en/Google_Summer_of_Code_2009?referer=');">The Linux Foundation</a></li>
<li><a href="http://groups.drupal.org/soc-2009" onclick="pageTracker._trackPageview('/outgoing/groups.drupal.org/soc-2009?referer=');">Drupal</a></li>
<li><a href="http://techbase.kde.org/Projects/Summer_of_Code/2009/Ideas" onclick="pageTracker._trackPageview('/outgoing/techbase.kde.org/Projects/Summer_of_Code/2009/Ideas?referer=');">KDE</a></li>
<li><a href="http://wiki.eclipse.org/Google_Summer_of_Code_2009_Ideas" onclick="pageTracker._trackPageview('/outgoing/wiki.eclipse.org/Google_Summer_of_Code_2009_Ideas?referer=');">Eclipse Foundation</a></li>
<li><a href="http://www.nabble.com/Google-Summer-of-Code-2009-td22090319.html" onclick="pageTracker._trackPageview('/outgoing/www.nabble.com/Google-Summer-of-Code-2009-td22090319.html?referer=');">The R Foundation</a></li>
<li><a href="http://openacs.org/forums/message-view?message_id=2564672" onclick="pageTracker._trackPageview('/outgoing/openacs.org/forums/message-view?message_id=2564672&amp;referer=');">Open ACS</a></li>
<li><a href="http://bbs.archlinux.org/viewtopic.php?id=65052" onclick="pageTracker._trackPageview('/outgoing/bbs.archlinux.org/viewtopic.php?id=65052&amp;referer=');">Arch Linux</a></li>
<li><a href="http://www.wesnoth.org/" onclick="pageTracker._trackPageview('/outgoing/www.wesnoth.org/?referer=');">Battle for Wesnoth</a></li>
</ul>
<p><a href="http://www.google.com/search?hl=en&amp;client=firefox-a&amp;rls=org.mozilla:en-US:official&amp;q=summer+of+code+2009&amp;start=20&amp;sa=N" onclick="pageTracker._trackPageview('/outgoing/www.google.com/search?hl=en_amp_client=firefox-a_amp_rls=org.mozilla_en-US_official_amp_q=summer+of+code+2009_amp_start=20_amp_sa=N&amp;referer=');">Here&lt;&lt;&lt;</a></p>
<img src="http://feeds.feedburner.com/~r/RudeBoySolutions/~4/X3V6lC5b-7Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.rbe.homeip.net/posts/google-summer-of-code-2009-project-ideas/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.rbe.homeip.net/posts/google-summer-of-code-2009-project-ideas</feedburner:origLink></item>
		<item>
		<title>jQuery Style Sheet (CSS) Switcher</title>
		<link>http://feedproxy.google.com/~r/RudeBoySolutions/~3/mtZqaG5ZqNg/jquery</link>
		<comments>http://blog.rbe.homeip.net/posts/jquery#comments</comments>
		<pubDate>Wed, 01 Apr 2009 23:16:47 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[style switcher]]></category>

		<guid isPermaLink="false">http://blog.rbe.homeip.net/?p=92</guid>
		<description><![CDATA[I have been looking for a nifty style-switching script, and have found none. So here is the code for a checkbox-based style switcher. This uses jQuery. The Javascript: /*ChangeStyle.js: * -by Skaman Sam Tyler &#8211; http://rbe.homeip.net * * This script uses checkboxes to add and remove stylesheets from the page. * It takes the value [...]]]></description>
			<content:encoded><![CDATA[<p>I have been looking for a nifty style-switching script, and have found none. So here is the code for a checkbox-based style switcher. This uses jQuery.</p>
<p>The Javascript:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="coMULTI">/*ChangeStyle.js:</span></div>
</li>
<li class="li1">
<div class="de1"><span class="coMULTI">* -by Skaman Sam Tyler &#8211; http://rbe.homeip.net</span></div>
</li>
<li class="li1">
<div class="de1"><span class="coMULTI">*</span></div>
</li>
<li class="li1">
<div class="de1"><span class="coMULTI">* This script uses checkboxes to add and remove stylesheets from the page.</span></div>
</li>
<li class="li2">
<div class="de2"><span class="coMULTI">* It takes the value of the &#8216;rel&#8217; attribute from the checkbox and creates a stylesheet link with it.</span></div>
</li>
<li class="li1">
<div class="de1"><span class="coMULTI">* */</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">if</span> <span class="br0">&#40;</span>$<span class="br0">&#41;</span> <span class="br0">&#123;</span>    <span class="co1">//check for jQuery</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; <span class="co1">//on document load, uncheck all checked boxes and add function handler for</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; $<span class="br0">&#40;</span>document<span class="br0">&#41;</span>.<span class="me1">ready</span><span class="br0">&#40;</span> <span class="kw2">function</span><span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; $<span class="br0">&#40;</span><span class="st0">&#8216;.styleToggle&#8217;</span><span class="br0">&#41;</span>.<span class="me1">removeAttr</span><span class="br0">&#40;</span><span class="st0">&quot;checked&quot;</span><span class="br0">&#41;</span>;    <span class="co1">//uncheck all checked</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; $<span class="br0">&#40;</span><span class="st0">&#8216;.styleToggle&#8217;</span><span class="br0">&#41;</span>.<span class="me1">click</span><span class="br0">&#40;</span> <span class="kw2">function</span><span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span>        <span class="co1">//add handler for clicking</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; toggleStyle<span class="br0">&#40;</span><span class="kw1">this</span>.<span class="me1">getAttribute</span><span class="br0">&#40;</span><span class="st0">&quot;rel&quot;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; <span class="kw1">return</span> <span class="kw2">true</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="br0">&#125;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="co1">//the toggling of the style. it takes a single parameter: the href of the stylesheet to toggle</span></div>
</li>
<li class="li2">
<div class="de2"><span class="kw2">function</span> toggleStyle<span class="br0">&#40;</span>href<span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="co1">//check for presence of link, if it exists, delete it, else, add it.</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="kw1">if</span><span class="br0">&#40;</span>$<span class="br0">&#40;</span><span class="st0">&#8216;link[href*='</span>+href+<span class="st0">']&#8216;</span><span class="br0">&#41;</span>.<span class="me1">size</span><span class="br0">&#40;</span><span class="br0">&#41;</span>!=<span class="nu0">0</span><span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; $<span class="br0">&#40;</span><span class="st0">&#8216;link[href*='</span>+href+<span class="st0">']&#8216;</span><span class="br0">&#41;</span>.<span class="me1">remove</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; <span class="br0">&#125;</span><span class="kw1">else</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; console.<span class="me1">log</span><span class="br0">&#40;</span><span class="st0">&quot;Adding: &quot;</span>+$<span class="br0">&#40;</span><span class="st0">&#8216;link[href*='</span>+href+<span class="st0">']&#8216;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; $<span class="br0">&#40;</span><span class="st0">&#8216;head&#8217;</span><span class="br0">&#41;</span>.<span class="me1">append</span><span class="br0">&#40;</span><span class="st0">&#8216;&lt;link rel=&quot;stylesheet&quot; href=&quot;&#8217;</span>+href+<span class="st0">&#8216;&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;&#8217;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
<li class="li2">
<div class="de2"><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
<p>The HTML file should include something like this:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="sc2"><a href="http://december.com/html/4/element/form.html" onclick="pageTracker._trackPageview('/outgoing/december.com/html/4/element/form.html?referer=');"><span class="kw2">&lt;form</span></a> <span class="kw3">name</span>=<span class="st0">&quot;styleSwitchForm&quot;</span><span class="kw2">&gt;</span></span></div>
</li>
<li class="li1">
<div class="de1"><span class="sc2"><a href="http://december.com/html/4/element/ul.html" onclick="pageTracker._trackPageview('/outgoing/december.com/html/4/element/ul.html?referer=');"><span class="kw2">&lt;ul&gt;</span></a></span></div>
</li>
<li class="li1">
<div class="de1"><span class="sc2"><a href="http://december.com/html/4/element/li.html" onclick="pageTracker._trackPageview('/outgoing/december.com/html/4/element/li.html?referer=');"><span class="kw2">&lt;li&gt;</span></a></span><span class="sc2"><a href="http://december.com/html/4/element/label.html" onclick="pageTracker._trackPageview('/outgoing/december.com/html/4/element/label.html?referer=');"><span class="kw2">&lt;label&gt;</span></a></span><span class="sc2"><a href="http://december.com/html/4/element/input.html" onclick="pageTracker._trackPageview('/outgoing/december.com/html/4/element/input.html?referer=');"><span class="kw2">&lt;input</span></a> <span class="kw3">type</span>=<span class="st0">&quot;checkbox&quot;</span> <span class="kw3">rel</span>=<span class="st0">&quot;/styles/red.css&quot;</span> <span class="kw3">class</span>=<span class="st0">&quot;styleToggle&quot;</span>/<span class="kw2">&gt;</span></span> Red Style<span class="sc2"><span class="kw2">&lt;/label&gt;</span></span><span class="sc2"><span class="kw2">&lt;/li&gt;</span></span></div>
</li>
<li class="li1">
<div class="de1"><span class="sc2"><a href="http://december.com/html/4/element/li.html" onclick="pageTracker._trackPageview('/outgoing/december.com/html/4/element/li.html?referer=');"><span class="kw2">&lt;li&gt;</span></a></span><span class="sc2"><a href="http://december.com/html/4/element/label.html" onclick="pageTracker._trackPageview('/outgoing/december.com/html/4/element/label.html?referer=');"><span class="kw2">&lt;label&gt;</span></a></span><span class="sc2"><a href="http://december.com/html/4/element/input.html" onclick="pageTracker._trackPageview('/outgoing/december.com/html/4/element/input.html?referer=');"><span class="kw2">&lt;input</span></a> <span class="kw3">type</span>=<span class="st0">&quot;checkbox&quot;</span> <span class="kw3">rel</span>=<span class="st0">&quot;/styles/blue.css&quot;</span> <span class="kw3">class</span>=<span class="st0">&quot;styleToggle&quot;</span>/<span class="kw2">&gt;</span></span> Blue Style<span class="sc2"><span class="kw2">&lt;/label&gt;</span></span><span class="sc2"><span class="kw2">&lt;/li&gt;</span></span></div>
</li>
<li class="li2">
<div class="de2"><span class="sc2"><a href="http://december.com/html/4/element/li.html" onclick="pageTracker._trackPageview('/outgoing/december.com/html/4/element/li.html?referer=');"><span class="kw2">&lt;li&gt;</span></a></span><span class="sc2"><a href="http://december.com/html/4/element/label.html" onclick="pageTracker._trackPageview('/outgoing/december.com/html/4/element/label.html?referer=');"><span class="kw2">&lt;label&gt;</span></a></span><span class="sc2"><a href="http://december.com/html/4/element/input.html" onclick="pageTracker._trackPageview('/outgoing/december.com/html/4/element/input.html?referer=');"><span class="kw2">&lt;input</span></a> <span class="kw3">type</span>=<span class="st0">&quot;checkbox&quot;</span> <span class="kw3">rel</span>=<span class="st0">&quot;/styles/green.css&quot;</span> <span class="kw3">class</span>=<span class="st0">&quot;styleToggle&quot;</span>/<span class="kw2">&gt;</span></span> Green Style<span class="sc2"><span class="kw2">&lt;/label&gt;</span></span><span class="sc2"><span class="kw2">&lt;/li&gt;</span></span></div>
</li>
<li class="li1">
<div class="de1"><span class="sc2"><span class="kw2">&lt;/ul&gt;</span></span></div>
</li>
<li class="li1">
<div class="de1"><span class="sc2"><span class="kw2">&lt;/form&gt;</span></span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
</ol>
</div>
<img src="http://feeds.feedburner.com/~r/RudeBoySolutions/~4/mtZqaG5ZqNg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.rbe.homeip.net/posts/jquery/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://blog.rbe.homeip.net/posts/jquery</feedburner:origLink></item>
	</channel>
</rss>

