<?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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>A Beautiful Blog</title>
	
	<link>http://www.abeautifulsite.net/blog</link>
	<description />
	<lastBuildDate>Fri, 03 Feb 2012 02:48:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/abeautifulsite" /><feedburner:info uri="abeautifulsite" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Access Pages Without the PHP Extension Using .htaccess</title>
		<link>http://feedproxy.google.com/~r/abeautifulsite/~3/ZEiXCAnaKnA/</link>
		<comments>http://www.abeautifulsite.net/blog/2012/02/access-pages-without-the-php-extension-using-htaccess/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 02:46:30 +0000</pubDate>
		<dc:creator>Cory LaViska</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Servers]]></category>

		<guid isPermaLink="false">http://www.abeautifulsite.net/blog/?p=1389</guid>
		<description><![CDATA[There are a number of ways to make &#8220;clean URLs&#8221; work on your site, but this one is pretty straight forward.  It allows you to access /any-page.php by simply going to /any-page.  Just place the following into your .htaccess file &#8230; <a class="more-link" href="http://www.abeautifulsite.net/blog/2012/02/access-pages-without-the-php-extension-using-htaccess/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There are a number of ways to make &#8220;clean URLs&#8221; work on your site, but this one is pretty straight forward.  It allows you to access <strong>/any-page.php</strong> by simply going to <strong>/any-page</strong>.  Just place the following into your <strong>.htaccess</strong> file (and make sure that <strong>mod_rewrite</strong> is enabled):</p>
<pre class="brush: plain; title: ; notranslate">
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
</pre>
<p>The nice thing about this is that it doesn&#8217;t affect querystrings.  With this solution, both of these URLs are effectively the same:</p>
<pre class="brush: plain; title: ; notranslate">

http://example.com/page.php?id=123

http://example.com/page?id=123
</pre>
<p>Of course, the caveat is that you don&#8217;t have &#8220;clean querystrings&#8221;, but it&#8217;s a reasonable trade-off between &#8220;clean&#8221; and configuration.</p>
<img src="http://feeds.feedburner.com/~r/abeautifulsite/~4/ZEiXCAnaKnA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.abeautifulsite.net/blog/2012/02/access-pages-without-the-php-extension-using-htaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.abeautifulsite.net/blog/2012/02/access-pages-without-the-php-extension-using-htaccess/</feedburner:origLink></item>
		<item>
		<title>Surreal CMS No Longer on UserVoice</title>
		<link>http://feedproxy.google.com/~r/abeautifulsite/~3/IppORBXAbdE/</link>
		<comments>http://www.abeautifulsite.net/blog/2011/12/surreal-cms-no-longer-on-uservoice/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 01:43:05 +0000</pubDate>
		<dc:creator>Cory LaViska</dc:creator>
				<category><![CDATA[News & Updates]]></category>
		<category><![CDATA[Surreal CMS]]></category>

		<guid isPermaLink="false">http://abeautifulsite.net/blog/?p=1384</guid>
		<description><![CDATA[We would like to inform the Surreal CMS community that as of today, December 13th 2011, we will no longer be accepting feedback through our UserVoice account.  This isn&#8217;t to say that we don&#8217;t want or value your opinions, it &#8230; <a class="more-link" href="http://www.abeautifulsite.net/blog/2011/12/surreal-cms-no-longer-on-uservoice/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We would like to inform the Surreal CMS community that as of today, December 13th 2011, we will no longer be accepting feedback through our <a href="http://uservoice.com/">UserVoice</a> account.  This isn&#8217;t to say that we don&#8217;t want or value your opinions, it just means that we want to hear them from you directly.  <span id="more-1384"></span></p>
<p>For a long time, we&#8217;ve been asking for your feedback and directing you to post them on our UserVoice page.  In theory, this was a good idea, as it allowed the community to suggest new features and vote on their priority.  This gave us a good insight into where you wanted us to take Surreal.  However, over time, we&#8217;ve come to realize that UserVoice isn&#8217;t the solution we were really looking for.</p>
<p>For one, you were thrown into an entirely new interface and required to register a separate username and password.  Many users simply stopped at this point, which means that if they didn&#8217;t contact us directly we never got the chance to hear their feedback.  You shouldn&#8217;t be forced to register with another site just to tell us what you think about our service.</p>
<p>We also felt that UserVoice&#8217;s interface doesn&#8217;t fit well with Surreal&#8217;s mantra.  Surreal is simple.  Providing feedback to us should be just as simple.  So from now on, we encourage you to send all your comments, suggestions, and all other feedback directly to us through Surreal&#8217;s Help &amp; Support section.</p>
<p>We want to hear from you directly, and we want to take back that personal touch that we lost when we started sending folks elsewhere to tell us how we were doing.</p>
<img src="http://feeds.feedburner.com/~r/abeautifulsite/~4/IppORBXAbdE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.abeautifulsite.net/blog/2011/12/surreal-cms-no-longer-on-uservoice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.abeautifulsite.net/blog/2011/12/surreal-cms-no-longer-on-uservoice/</feedburner:origLink></item>
		<item>
		<title>TinyMCE Table Dropdown Plugin</title>
		<link>http://feedproxy.google.com/~r/abeautifulsite/~3/mCn8imrFIMI/</link>
		<comments>http://www.abeautifulsite.net/blog/2011/12/tinymce-table-dropdown-plugin/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 21:42:30 +0000</pubDate>
		<dc:creator>Cory LaViska</dc:creator>
				<category><![CDATA[News & Updates]]></category>

		<guid isPermaLink="false">http://abeautifulsite.net/blog/?p=1372</guid>
		<description><![CDATA[If you&#8217;ve ever used TinyMCE for table editing, you&#8217;ll know that the experience isn&#8217;t usually a good one.  To prevent clutter, most developers configure the toolbar to have just the Insert/Edit Table button, which isn&#8217;t nearly enough to do anything &#8230; <a class="more-link" href="http://www.abeautifulsite.net/blog/2011/12/tinymce-table-dropdown-plugin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve ever used TinyMCE for table editing, you&#8217;ll know that the experience isn&#8217;t usually a good one.  To prevent clutter, most developers configure the toolbar to have just the Insert/Edit Table button, which isn&#8217;t nearly enough to do anything useful with tabular data.  In fact, TinyMCE&#8217;s table plugin has 12 tools (i.e. buttons) available for working with tables.  The problem is they take up a lot of real estate.  They make an otherwise simple toolbar very intimidating and unintuitive for novice users.  The fact of the matter is, most people who use TinyMCE may not even need to work with tables, so those extra 12 buttons will just be in their way.<span id="more-1372"></span></p>
<p>In <a href="http://www.surrealcms.com/">Surreal CMS</a> version 3, we tried to solve this problem by using only the Insert/Edit Table button in the toolbar.  For other functions, the user just needed to right-click on the table to bring up a contextual menu with additional table options.  For the most part this worked, but we saw a lot of support requests from people who never even knew there was a context menu available.  In addition, the use of context menus in web applications is still a rather <a href="http://stackoverflow.com/questions/779689/right-mouse-click-in-web-applications-good-or-bad-idea">controversial matter</a>.</p>
<p>So with the development of Surreal CMS v4 underway, we needed a better solution to this dilemma.  Here are the facts that we faced:</p>
<ul>
<li>Most people won&#8217;t be working with tables in the CMS</li>
<li>At the same time, a lot of people still need this functionality</li>
<li>The built-in TinyMCE <em>tablecontrols</em> feature dumps 12 buttons into the toolbar—every option is essential when working with tables, but it clutters the toolbar and intimidates novice users</li>
</ul>
<p>Our solution was to create a <a href="http://www.tinymce.com/wiki.php/API3:class.tinymce.ui.SplitButton">SplitButton</a> control that combined all of the necessary options into a single dropdown.  When the button is clicked, the Insert/Edit Table dialog appears.  When the arrow is clicked, you get the rest of the table options neatly organized in a TinyMCE dropdown:</p>
<p style="text-align: center;"><img class="alignleft" title="TinyMCE Table Dropdown Screenshot" src="https://github.com/claviska/tinymce-table-dropdown/raw/master/screenshot.png" alt="" /></p>
<p>The plugin is very lightweight and contains only one small JavaScript file—no CSS, images, or language packs required.  The plugin is also theme-ready and localization-ready, as it uses standard TinyMCE classes and terms.</p>
<p>We think that this is a very elegant solution for a very much overlooked UI problem, so for the sake of better usability in apps that use TinyMCE, we have released the code under the MIT license for all to use and share.  If you&#8217;re interested in this plugin, you can <a href="https://github.com/claviska/tinymce-table-dropdown">download and contribute to it on GitHub</a>.</p>
<img src="http://feeds.feedburner.com/~r/abeautifulsite/~4/mCn8imrFIMI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.abeautifulsite.net/blog/2011/12/tinymce-table-dropdown-plugin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.abeautifulsite.net/blog/2011/12/tinymce-table-dropdown-plugin/</feedburner:origLink></item>
		<item>
		<title>Detecting Mobile Devices with JavaScript</title>
		<link>http://feedproxy.google.com/~r/abeautifulsite/~3/pjgDhdrJ_mI/</link>
		<comments>http://www.abeautifulsite.net/blog/2011/11/detecting-mobile-devices-with-javascript/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 21:08:05 +0000</pubDate>
		<dc:creator>Cory LaViska</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://abeautifulsite.net/blog/?p=1359</guid>
		<description><![CDATA[While I understand and value the concept of feature detection over browser detection, sometimes the need for knowing whether or not we&#8217;re dealing with a mobile device arises.  For in-depth device checking, you can rely on a complex library such &#8230; <a class="more-link" href="http://www.abeautifulsite.net/blog/2011/11/detecting-mobile-devices-with-javascript/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>While I understand and value the concept of feature detection over browser detection, sometimes the need for knowing whether or not we&#8217;re dealing with a mobile device arises.  For in-depth device checking, you can rely on a complex library such as <a href="http://blog.mobileesp.com/">The MobileESP Project</a>.  But for simpler applications, the following snippet can be useful.<span id="more-1359"></span></p>
<pre class="brush: jscript; title: ; notranslate">
var isMobile = {
    Android: function() {
        return navigator.userAgent.match(/Android/i) ? true : false;
    },
    BlackBerry: function() {
        return navigator.userAgent.match(/BlackBerry/i) ? true : false;
    },
    iOS: function() {
        return navigator.userAgent.match(/iPhone|iPad|iPod/i) ? true : false;
    },
    Windows: function() {
        return navigator.userAgent.match(/IEMobile/i) ? true : false;
    },
    any: function() {
        return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Windows());
    }
};
</pre>
<p>While this doesn&#8217;t account for <em>all</em> mobile platforms, it will pick up the most popular ones out there.</p>
<h2>Examples</h2>
<p>To check to see if the user is on any of the supported mobile devices:</p>
<pre class="brush: jscript; title: ; notranslate">
if( isMobile.any() ) alert('Mobile');
</pre>
<p>To check to see if the user is on a specific mobile device:</p>
<pre class="brush: jscript; title: ; notranslate">
if( isMobile.iOS() ) alert('iOS');
</pre>
<img src="http://feeds.feedburner.com/~r/abeautifulsite/~4/pjgDhdrJ_mI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.abeautifulsite.net/blog/2011/11/detecting-mobile-devices-with-javascript/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.abeautifulsite.net/blog/2011/11/detecting-mobile-devices-with-javascript/</feedburner:origLink></item>
		<item>
		<title>Redirecting to and from the WWW Subdomain with HTACCESS</title>
		<link>http://feedproxy.google.com/~r/abeautifulsite/~3/DkB4FfAzo9A/</link>
		<comments>http://www.abeautifulsite.net/blog/2011/11/redirecting-to-and-from-the-www-subdomain-with-htaccess/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 03:16:48 +0000</pubDate>
		<dc:creator>Cory LaViska</dc:creator>
				<category><![CDATA[Web Servers]]></category>

		<guid isPermaLink="false">http://abeautifulsite.net/blog/?p=1354</guid>
		<description><![CDATA[Here are a few snippets that will come in handy if you ever need to redirect www.example.com to example.com or vice versa.  There are a number of similar methods out there, but I prefer these as you don&#8217;t need to &#8230; <a class="more-link" href="http://www.abeautifulsite.net/blog/2011/11/redirecting-to-and-from-the-www-subdomain-with-htaccess/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here are a few snippets that will come in handy if you ever need to redirect www.example.com to example.com or vice versa.  There are a number of similar methods out there, but I prefer these as you don&#8217;t need to modify anything between development and production.<span id="more-1354"></span></p>
<pre class="brush: plain; title: ; notranslate">
 ##
 ## www.domain.com --&gt; domain.com
 ##
 RewriteEngine On
 RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
 RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
 </pre>
<p>&nbsp;</p>
<pre class="brush: plain; title: ; notranslate">
 ##
 ## domain.com --&gt; www.domain.com
 ##
 RewriteEngine On
 RewriteCond %{HTTP_HOST} !^www\.
 RewriteRule (.*) http://www.%{HTTP_HOST}/$1 [R=301,L]
 </pre>
<p>If you plan on using these, you&#8217;ll need to make sure you have the <a href="http://httpd.apache.org/docs/current/mod/mod_rewrite.html">mod_rewrite module</a> enabled on your server.</p>
<img src="http://feeds.feedburner.com/~r/abeautifulsite/~4/DkB4FfAzo9A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.abeautifulsite.net/blog/2011/11/redirecting-to-and-from-the-www-subdomain-with-htaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.abeautifulsite.net/blog/2011/11/redirecting-to-and-from-the-www-subdomain-with-htaccess/</feedburner:origLink></item>
		<item>
		<title>The Simple Image Class for PHP</title>
		<link>http://feedproxy.google.com/~r/abeautifulsite/~3/pk61fz29f74/</link>
		<comments>http://www.abeautifulsite.net/blog/2011/11/the-simple-image-class-for-php/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 02:41:24 +0000</pubDate>
		<dc:creator>Cory LaViska</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://abeautifulsite.net/blog/?p=1328</guid>
		<description><![CDATA[If you love working with PHP but hate the GD library, you&#8217;ll love the Simple Image PHP class we&#8217;re releasing today. This class takes the headache out of dealing with images and features over 20 useful methods. Here are just &#8230; <a class="more-link" href="http://www.abeautifulsite.net/blog/2011/11/the-simple-image-class-for-php/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you love working with PHP but hate the GD library, you&#8217;ll love the Simple Image PHP class we&#8217;re releasing today.  This class takes the headache out of dealing with images and features over 20 useful methods.</p>
<p><span id="more-1328"></span></p>
<p>Here are just a few:</p>
<ul>
<li><strong>convert()</strong> &#8211; converts an image from one format to another</li>
<li><strong>flip()</strong> &#8211; flips an image vertically or horizontally</li>
<li><strong>rotate()</strong> &#8211; rotates an image at the specified angle</li>
<li><strong>brightness()</strong> &#8211; adjust the image&#8217;s brightness</li>
<li><strong>contrast()</strong> &#8211; adjust the image&#8217;s contrast</li>
<li><strong>grayscale()</strong> &#8211; makes the image black and white</li>
<li><strong>blur()</strong> &#8211; blurs the image at the specified level</li>
<li><strong>watermark()</strong> &#8211; creates a watermark effect using another image</li>
<li><strong>text()</strong> &#8211; adds text to the image</li>
</ul>
<p>In addition, there are some special methods for resizing and cropping:</p>
<ul>
<li><strong>resize()</strong> &#8211; resizes an image to the specified values</li>
<li><strong>resize_to_width()</strong> &#8211; resizes an image to the specified width</li>
<li><strong>resize_to_height()</strong> &#8211; resizes an image to the specified height</li>
<li><strong>resize_to_fit()</strong> &#8211; resizes an image to fit within the specified dimensions</li>
<li><strong>crop()</strong> &#8211; crops an image</li>
<li><strong>square_crop()</strong> &#8211; crops the image into a square of the given size</li>
</ul>
<h2>Download</h2>
<p>This project is actively maintained on GitHub.  Please submit all issues and contributions to the project page.  Licensed under both the MIT and the GNU GPL licenses.</p>
<p><a href="https://github.com/claviska/simple-image">Download the latest version from GitHub</a></p>
<img src="http://feeds.feedburner.com/~r/abeautifulsite/~4/pk61fz29f74" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.abeautifulsite.net/blog/2011/11/the-simple-image-class-for-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.abeautifulsite.net/blog/2011/11/the-simple-image-class-for-php/</feedburner:origLink></item>
		<item>
		<title>The jQuery Notification Plugin</title>
		<link>http://feedproxy.google.com/~r/abeautifulsite/~3/heFFrfnTrBE/</link>
		<comments>http://www.abeautifulsite.net/blog/2011/11/the-jquery-notification-plugin/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 02:00:02 +0000</pubDate>
		<dc:creator>Cory LaViska</dc:creator>
				<category><![CDATA[News & Updates]]></category>

		<guid isPermaLink="false">http://abeautifulsite.net/blog/?p=1325</guid>
		<description><![CDATA[Today we&#8217;re releasing another jQuery plugin that was born of necessity.  It&#8217;s a small, but incredibly useful notification system inspired by both Growl and the volume/mute notifications that can be seen in iOS. The goal of this plugin is to &#8230; <a class="more-link" href="http://www.abeautifulsite.net/blog/2011/11/the-jquery-notification-plugin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today we&#8217;re releasing another jQuery plugin that was born of necessity.  It&#8217;s a small, but incredibly useful notification system inspired by both <a href="http://growl.info/">Growl</a> and the volume/mute notifications that can be seen in iOS.<span id="more-1325"></span></p>
<p>The goal of this plugin is to show passive notifications that can be easily dismissed with minimal distraction.  Rather than using a dialog or a distracting overlay, the notification appears on screen for a specified duration, and then fades out.  The user may also dismiss the notification simply by clicking on it.  At the present time, this plugin does not support multiple notifications.</p>
<h2>Screenshot</h2>
<p><img class="size-full wp-image-1326 aligncenter" title="jquery-notification" src="http://abeautifulsite.net/blog/wp-content/uploads/2011/11/jquery-notification.png" alt="" width="569" height="417" />If you&#8217;re interested in using this in your own projects, head on over to GitHub and download the source.</p>
<h2>Demo &amp; Download</h2>
<p>This project is actively maintained on GitHub.  Please submit all issues and contributions to the project page.  Licensed under both the MIT and the GNU GPL licenses.</p>
<p><a href="http://labs.abeautifulsite.net/jquery-notification/">Demo</a> | <a href="https://github.com/claviska/jQuery-notification">Download the latest version on GitHub</a></p>
<img src="http://feeds.feedburner.com/~r/abeautifulsite/~4/heFFrfnTrBE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.abeautifulsite.net/blog/2011/11/the-jquery-notification-plugin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.abeautifulsite.net/blog/2011/11/the-jquery-notification-plugin/</feedburner:origLink></item>
		<item>
		<title>How to Delete a Tag on GitHub</title>
		<link>http://feedproxy.google.com/~r/abeautifulsite/~3/Msq47s5coU0/</link>
		<comments>http://www.abeautifulsite.net/blog/2011/11/how-to-delete-a-tag-on-github/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 00:56:10 +0000</pubDate>
		<dc:creator>Cory LaViska</dc:creator>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[github]]></category>

		<guid isPermaLink="false">http://abeautifulsite.net/blog/?p=1321</guid>
		<description><![CDATA[In the world of Git, tags are very useful for keeping track of your project&#8217;s version history. A lot of folks will argue that you shouldn&#8217;t delete tags, but there are real-world examples in which tags need to be deleted.  &#8230; <a class="more-link" href="http://www.abeautifulsite.net/blog/2011/11/how-to-delete-a-tag-on-github/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In the world of Git, tags are very useful for keeping track of your project&#8217;s version history. A lot of folks will argue that you shouldn&#8217;t delete tags, but there are real-world examples in which tags need to be deleted.  That said, it&#8217;s both a good and a bad thing that <a href="http://github.com/">GitHub</a> hasn&#8217;t built the ability to delete tags into it&#8217;s web app.<span id="more-1321"></span></p>
<p>It can be frustrating, however, if you ever come across that need.  If you&#8217;re one of those individuals, open up a terminal window and navigate to your local Git repository.  Once there, simply run these commands, replacing <strong>[tag]</strong> with the tag name:</p>
<pre class="brush: plain; title: ; notranslate">
git tag -d [tag];
git push origin :[tag]
</pre>
<p>And if your tag has the same name as one of your branches, use this instead:</p>
<pre class="brush: plain; title: ; notranslate">
git tag -d [tag]
git push origin :refs/tags/[tag]
</pre>
<p>Of course, these steps assume that you have Git running on your local machine.</p>
<img src="http://feeds.feedburner.com/~r/abeautifulsite/~4/Msq47s5coU0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.abeautifulsite.net/blog/2011/11/how-to-delete-a-tag-on-github/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.abeautifulsite.net/blog/2011/11/how-to-delete-a-tag-on-github/</feedburner:origLink></item>
		<item>
		<title>jQuery MiniColors (a color selector for input controls)</title>
		<link>http://feedproxy.google.com/~r/abeautifulsite/~3/JoXiSbcDpO4/</link>
		<comments>http://www.abeautifulsite.net/blog/2011/02/jquery-minicolors-a-color-selector-for-input-controls/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 16:50:11 +0000</pubDate>
		<dc:creator>Cory LaViska</dc:creator>
				<category><![CDATA[News & Updates]]></category>

		<guid isPermaLink="false">http://abeautifulsite.net/blog/?p=1281</guid>
		<description><![CDATA[While developing Tranquility CMS, we found the need for a simple jQuery-based color picker.  What we wanted was something very simple, preferably something that piggy-backed an input control.  While we found an extensive number of color picker plugins available, we &#8230; <a class="more-link" href="http://www.abeautifulsite.net/blog/2011/02/jquery-minicolors-a-color-selector-for-input-controls/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>While developing Tranquility CMS, we found the need for a simple jQuery-based color picker.  What we wanted was something very simple, preferably something that piggy-backed an input control.  While we found an extensive number of color picker plugins available, we failed to find any that were simple and compact enough for our needs (except for perhaps <a href="http://colourmod.com/">ColourMod</a>, which is neither jQuery-based nor open-source).</p>
<p>Thus, jQuery MiniColors was born.  A simple, compact color picker that complements a text or a hidden input control.<span id="more-1281"></span></p>
<p><img class="aligncenter size-full wp-image-1282" title="jquery-miniColors" src="http://abeautifulsite.net/blog/wp-content/uploads/2011/02/jquery-miniColors.png" alt="jQuery MiniColors Screenshot" width="195" height="192" />The plugin adds a trigger next to the input which is customizable via CSS.  The included icon is a modified version of the UI color picker icon included in the <a href="http://p.yusukekamiyamane.com/">Fugue icon set</a>.  (You may use it for <a href="http://p.yusukekamiyamane.com/icons/attribution/">free with attribution</a> or create your own icon instead.)</p>
<p>When the trigger is clicked or when the input gains focus, the color picker appears.  Users can either type in a hex-color or select one using the control.  The control disappears when the user clicks anywhere outside of the selector or tabs out of the input.  If specified, a callback is fired whenever the color value changes.</p>
<h2>Initializing</h2>
<pre class="brush: jscript; title: ; notranslate">
$(&quot;INPUT.color-picker&quot;).miniColors({
    change: function(hex, rgb) { ... }
});
</pre>
<h2>Methods</h2>
<p>Methods are called like this:</p>
<pre class="brush: jscript; title: ; notranslate">
$(&quot;INPUT.color-picker&quot;).miniColors('methodName', [value]);
</pre>
<p>Available methods include:</p>
<ul>
<li><strong>disabled</strong> [<em>true|false</em>] &#8211; disables/enables the input and the selector</li>
<li><strong>readonly</strong> [<em>true|false</em>] &#8211; sets the readonly state of the control</li>
<li><strong>destroy</strong> &#8211; removes the color picker and restores the input to its original state</li>
<li><strong>value</strong> [<em>hex string</em>] &#8211; sets the color of the color picker and updates the input value</li>
</ul>
<h2>Events</h2>
<p>The <strong>change</strong> event is called whenever the color value changes (see example above for an implementation example). Two arguments are passed to the callback function that contain hex and RGB values of the selected color.  The context of <em>this</em> within the callback refers to the original input control.</p>
<p>Note: While using the mouse to select a color, the change event may be called frequently.  It is recommended to keep any behavior that occurs in this callback to a minimum to minimize performance issues.</p>
<h2>Demo &amp; Download</h2>
<p>This project is actively maintained on GitHub.  Please submit all issues and contributions to the project page.  Licensed under both the MIT and the GNU GPL licenses.</p>
<p><a href="http://labs.abeautifulsite.net/jquery-miniColors/">Demo Page</a> | <a href="https://github.com/claviska/jquery-miniColors/">Download the latest version from GitHub</a></p>
<img src="http://feeds.feedburner.com/~r/abeautifulsite/~4/JoXiSbcDpO4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.abeautifulsite.net/blog/2011/02/jquery-minicolors-a-color-selector-for-input-controls/feed/</wfw:commentRss>
		<slash:comments>39</slash:comments>
		<feedburner:origLink>http://www.abeautifulsite.net/blog/2011/02/jquery-minicolors-a-color-selector-for-input-controls/</feedburner:origLink></item>
		<item>
		<title>jQuery SelectBox Plugin</title>
		<link>http://feedproxy.google.com/~r/abeautifulsite/~3/00xqqXIlOm0/</link>
		<comments>http://www.abeautifulsite.net/blog/2011/01/jquery-selectbox-plugin/#comments</comments>
		<pubDate>Mon, 24 Jan 2011 22:40:53 +0000</pubDate>
		<dc:creator>Cory LaViska</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://abeautifulsite.net/blog/?p=1253</guid>
		<description><![CDATA[While it is possible to use CSS to style SELECT elements, browser support and appearance will vary greatly depending on platform and browser.  In our search for a solid, customizable replacement for these finicky controls, we turned up only a &#8230; <a class="more-link" href="http://www.abeautifulsite.net/blog/2011/01/jquery-selectbox-plugin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>While it is possible to use CSS to style SELECT elements, browser support and appearance will vary greatly depending on platform and browser.  In our search for a solid, customizable replacement for these finicky controls, we turned up only a handful of possible options that we ultimately weren&#8217;t thrilled with for one reason or another. Thus, today we&#8217;re introducing a new jQuery plugin that replaces standard SELECT elements so you can customize them entirely using CSS.  We even threw in some extra features for added usability.<span id="more-1253"></span></p>
<p><img class="aligncenter size-full wp-image-1302" title="Select Box Screenshot" src="http://abeautifulsite.net/blog/wp-content/uploads/2011/01/selectBox.png" alt="Select Box Screenshot" width="535" height="260" /></p>
<p>The plugin works by piggy-backing your existing SELECT controls.  Since the original controls aren&#8217;t destroyed (they&#8217;re hidden), you can easily integrate this plugin into just about any existing form. The plugin degrades gracefully, as users without JavaScript will see the default SELECT controls.</p>
<h2>Plugin Features</h2>
<ul>
<li>Easily replace existing SELECT controls</li>
<li>Supports OPTGROUPs</li>
<li>Supports standard dropdown controls</li>
<li>Supports multi-select controls (i.e. multiple=&#8221;multiple&#8221;)</li>
<li>Supports inline controls (i.e. size=&#8221;5&#8243;)</li>
<li>Fully accessible via keyboard</li>
<li>Shift + click (or shift + enter) to select a range of options in multi-select controls</li>
<li>Type to search when the control has focus</li>
<li>Auto-height based on the size attribute (to use, omit the height property in your CSS!)</li>
<li>Tested in IE7-9, Firefox 3-4, recent webkit browsers, and Opera.</li>
</ul>
<p>Please refer to the main source file for implementation examples, a list of known issues, and the change log.</p>
<h2>Demo &amp; Download</h2>
<p>This project is actively maintained on GitHub.  Please submit all issues and contributions to the project page.  Licensed under both the MIT and the GNU GPL licenses.</p>
<p><a href="http://labs.abeautifulsite.net/jquery-selectBox/">Demo Page</a> | <a href="https://github.com/claviska/jquery-selectBox">Download the latest version on GitHub</a></p>
<img src="http://feeds.feedburner.com/~r/abeautifulsite/~4/00xqqXIlOm0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.abeautifulsite.net/blog/2011/01/jquery-selectbox-plugin/feed/</wfw:commentRss>
		<slash:comments>50</slash:comments>
		<feedburner:origLink>http://www.abeautifulsite.net/blog/2011/01/jquery-selectbox-plugin/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 0.692 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-02-02 22:18:47 -->

