<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>r.osey.me</title>
	<atom:link href="http://r.osey.me/feed/" rel="self" type="application/rss+xml" />
	<link>http://r.osey.me</link>
	<description></description>
	<lastBuildDate>Wed, 22 Feb 2012 18:05:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Chyrp Plugin: Emoticons</title>
		<link>http://r.osey.me/2012/01/chyrp-plugin-emoticons/</link>
		<comments>http://r.osey.me/2012/01/chyrp-plugin-emoticons/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 05:35:40 +0000</pubDate>
		<dc:creator>Rose</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[chyrp]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugins]]></category>

		<guid isPermaLink="false">http://r.osey.me/?p=797</guid>
		<description><![CDATA[Chyrp is a lightweight blogging engine written in PHP. It has a very tumblog feel to it. I think it has a long way to go if it wants to become mainstream, but I still played around with it a bit and ended up writing an emoticon module. Emoticon List Code Image Description &#62;_&#60; angry [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://chyrp.net/">Chyrp</a> is a lightweight blogging engine written in PHP. It has a very tumblog feel to it.  I think it has a long way to go if it wants to become mainstream, but I still played around with it a bit and ended up writing an emoticon module.</p>
<h3>Emoticon List</h3>
<table>
<tr>
<th>Code</th>
<th>Image</th>
<th>Description</th>
</tr>
<tr>
<td>
&gt;_&lt;
</td>
<td>
<img src="/code-examples/chyrp-emoticons/Angry.gif" alt="angry">
</td>
<td>angry</td>
</tr>
<tr>
<td>
&#58;blush&#58;
</td>
<td>
<img src="/code-examples/chyrp-emoticons/Blush.gif" alt="blush">
</td>
<td>blush</td>
</tr>
<tr>
<td>
&#58;bored&#58;
</td>
<td>
<img src="/code-examples/chyrp-emoticons/Bored.gif" alt="bored">
</td>
<td>bored</td>
</tr>
<tr>
<td>&#67;8</td>
<td><img src="/code-examples/chyrp-emoticons/see-eight.gif" alt="uh"></td>
<td>I have no idea</td>
</tr>
<tr>
<td>
&#58;coffee&#58;
</td>
<td>
<img src="/code-examples/chyrp-emoticons/Coffee-cup.gif" alt="coffee">
</td>
<td>coffee cup</td>
</tr>
<tr>
<td>
&#66;)
</td>
<td>
<img src="/code-examples/chyrp-emoticons/Cool.gif" alt="cool">
</td>
<td>cool</td>
</tr>
<tr>
<td>
&#58;&#8217;(
</td>
<td>
<img src="/code-examples/chyrp-emoticons/Cry.gif" alt="cry">
</td>
<td>cry</td>
</tr>
<tr>
<td>
&#58;3
</td>
<td>
<img src="/code-examples/chyrp-emoticons/Cute.gif" alt="cute">
</td>
<td>cute</td>
</tr>
<tr>
<td>
&gt;&#58;-)
</td>
<td>
<img src="/code-examples/chyrp-emoticons/Evil.gif" alt="evil">
</td>
<td>evil</td>
</tr>
<tr>
<td>
&#58;-*
</td>
<td>
<img src="/code-examples/chyrp-emoticons/Flirt.gif" alt="flirt">
</td>
<td>flirt</td>
</tr>
<tr>
<td>
&#58;D
</td>
<td>
<img src="/code-examples/chyrp-emoticons/Grin.gif" alt="grin">
</td>
<td>grin</td>
</tr>
<tr>
<td>
&#58;love&#58
</td>
<td>
<img src="/code-examples/chyrp-emoticons/Love.gif" alt="love">
</td>
<td>love</td>
</tr>
<tr>
<td>
&#58;P
</td>
<td>
<img src="/code-examples/chyrp-emoticons/Tongue.gif" alt="tongue">
</td>
<td>tongue</td>
</tr>
<tr>
<td>
&#58;ooo&#58;
</td>
<td>
<img src="/code-examples/chyrp-emoticons/Oooo.gif" alt="Oooo">
</td>
<td>Oooo</td>
</tr>
<tr>
<td>
&#58;(
</td>
<td>
<img src="/code-examples/chyrp-emoticons/Sad.gif" alt="sad">
</td>
<td>sad</td>
</tr>
<tr>
<td>
&#58;O
</td>
<td>
<img src="/code-examples/chyrp-emoticons/Shocked.gif" alt="shocked">
</td>
<td>shocked</td>
</tr>
<tr>
<td>
&#58;)
</td>
<td>
<img src="/code-examples/chyrp-emoticons/Smile.gif" alt="smile">
</td>
<td>smile</td>
</tr>
<tr>
<td>
&#58;&gt;
</td>
<td>
<img src="/code-examples/chyrp-emoticons/Small-Smile.gif" alt="smalls smile">
</td>
<td>small smile</td>
</tr>
</table>
<h3>Installation</h3>
<p>It should be very straightforward.  After downloading the zip file, drag the folder called <em>emoticons</em> into your chyrp <em>modules</em> directory.  Activate the module from the admin panel under <em>Extend</em>.  </p>
<h3>Editing the Code</h3>
<p>Feel free to change any part of the code you like.  To add more emoticons or change existing ones, you can edit the <em>emoticons.php</em> file under <em>emoticons/lib</em>. The emoticons &#038; their image counterparts are set up the same way as the wordpress emoticons are set up, so if you have experience with custom wordpress emoticons, you should be fine.  Essentially, each line is a definition of an emoticon:<br />
<code><br />
'&#58;D' =&gt; 'Grin.gif',<br />
</code><br />
Just change the first half between the two single quotes to your emoticon text, and the second half between the two single quotes to the name of the image you&#8217;d like to replace it with.</p>
<p><a href="http://chyrp.net/extend/view/chyrp-emoticons/38/" class="download">View on Chyrp site and Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://r.osey.me/2012/01/chyrp-plugin-emoticons/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Notepad in CSS &amp; Html</title>
		<link>http://r.osey.me/2011/12/notepad/</link>
		<comments>http://r.osey.me/2011/12/notepad/#comments</comments>
		<pubDate>Sat, 24 Dec 2011 17:27:41 +0000</pubDate>
		<dc:creator>Rose</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[downloads]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://r.osey.me/?p=771</guid>
		<description><![CDATA[I&#8217;ve been fiddling around today with converting a PSD from Premium Pixels to HTML and CSS and I don&#8217;t really know what to do with it now that I&#8217;m done so I thought I&#8217;d post it here for people to download. View the Demo The original PSD was meant for blog comments, but I designed [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been fiddling around today with converting a PSD from <a href="http://premiumpixels.com" rel="external">Premium Pixels</a> to HTML and CSS and I don&#8217;t really know what to do with it now that I&#8217;m done so I thought I&#8217;d post it here for people to download.<br />
<a href="http://r.osey.me/code-examples/notepad"><img src="http://r.osey.me/b/wp-content/uploads/2011/12/notepad.png" alt="screenshot" style="margin:10px 0"></a><br />
<a class="demo" href="http://r.osey.me/code-examples/notepad/">View the Demo</a></p>
<p>The <a href="http://www.premiumpixels.com/freebies/notepaper-blog-comments-psd/">original PSD</a> was meant for blog comments, but I designed it with whatever in mind.  </p>
<p>Bear in mind that I don&#8217;t own Internet Explorer, so I can only vouch for Chrome &#038; Firefox compatibility wise.  I know that IE9 supports multiple background images but I don&#8217;t think 7 or 8 do, so although the structure might be fine, the notepad background might be missing!  In which case you&#8217;ll have to write some fallback code if you&#8217;re concerned about older browsers.<br />
<a class="download" href="http://r.osey.me/code-examples/notepad/notepad.zip">Download a zip of all images &#038; code</a></p>
]]></content:encoded>
			<wfw:commentRss>http://r.osey.me/2011/12/notepad/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Quick Tip: .htaccess mod_rewrite rule</title>
		<link>http://r.osey.me/2011/12/quick-tip-htaccess-mod_rewrite-rule/</link>
		<comments>http://r.osey.me/2011/12/quick-tip-htaccess-mod_rewrite-rule/#comments</comments>
		<pubDate>Thu, 08 Dec 2011 15:46:54 +0000</pubDate>
		<dc:creator>Rose</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://r.osey.me/?p=724</guid>
		<description><![CDATA[I am definitely no .htaccess expert, and mod_rewrite can be especially confusing, but I&#8217;m currently working on a project for a client where I wanted to be able to link to things like http://mysite.com/about/, and these requests would be processed by a PHP file. I did something similar with the short url generator, and it [...]]]></description>
			<content:encoded><![CDATA[<p>I am definitely no .htaccess expert, and mod_rewrite can be especially confusing, but I&#8217;m currently working on a project for a client where I wanted to be able to link to things like <code>http://mysite.com/about/</code>, and these requests would be processed by a PHP file.</p>
<p>I did something similar with <a href="http://r.osey.me/2011/10/free-php-script-personalized-short-url-generator/">the short url generator</a>, and it works really well.</p>
<p>I thought I&#8217;d share this bit of code because it&#8217;s pretty handy to have around!</p>
<h3>.htaccess mod_rewrite rule</h3>
<p><code class="block"><br />
&lt;IfModule mod_rewrite.c&gt;<br />
&nbsp;&nbsp;RewriteEngine on<br />
&nbsp;&nbsp;Options +FollowSymlinks<br />
<span class="comment">&nbsp;&nbsp;#RewriteBase / #This often doesn't need to be specified, which is why it's commented out!</span><br />
&nbsp;&nbsp;RewriteRule ^([^/\.]+)/?$ index.php?page=$1 [L]<br />
<span class="comment"># Any string after the beginning of the site's url that doesn't have a '.' in it &#038; is one level deep will be pointed to index.php?page=thatString, and then stop processing rewrites ([L])</span><br />
&lt;/IfModule&gt;<br />
</code><br />
What this does is turn<br />
<code>mysite.com/about</code> into <code>mysite.com/index.php?page=about</code><br />
&#8230;but only to the server.  To the person looking at the site, it still looks like they&#8217;re viewing <code>mysite.com/about</code>!</p>
<h3>A bit of PHP</h3>
<p>I wrote a switch on my index.php file and made the switch&#8217;s default a 404:<br />
<code class="block"><br />
&lt;?php<br />
switch($_GET[<span class="attribute">"page"</span>]) {<br />
<span class="comment">/* more that one case to 'fall through' to predict possible combinations that should lead to the same page. */</span><br />
&nbsp;&nbsp;case <span class="attribute">''</span>:<br />
&nbsp;&nbsp;case <span class="attribute">'home'</span>:<br />
&nbsp;&nbsp;include(<span class="attribute">'welcome.php'</span>);<br />
&nbsp;&nbsp;break;</p>
<p><span class="comment">/* some other pages with only one possible url */</span><br />
&nbsp;&nbsp;case <span class="attribute">'about'</span>:<br />
&nbsp;&nbsp;include(<span class="attribute">'about.php'</span>);<br />
&nbsp;&nbsp;break;</p>
<p>&nbsp;&nbsp;case <span class="attribute">'links'</span>:<br />
&nbsp;&nbsp;include(<span class="attribute">'links.php'</span>);<br />
&nbsp;&nbsp;break;</p>
<p><span class="comment">/* anything else is a 404 */</span><br />
&nbsp;&nbsp;default:<br />
&nbsp;&nbsp;include(<span class="attribute">'404.php'</span>);<br />
&nbsp;&nbsp;break;<br />
} ?&gt;</code></p>
<h3>Security</h3>
<ul>
<li>Thou shalt not print <code>$_GET["page"]</code> directly without <a href="http://www.php.net/manual/en/function.htmlspecialchars.php" rel="external">cleaning it up first</a>.</li>
<li>Thou shalt not directly reference a database with <code>$_GET["page"]</code> without <a href="http://php.net/manual/en/function.mysql-real-escape-string.php" rel="external">escaping quotes</a> and checking for malicious keywords.</li>
</ul>
<h3>Additional Reading</h3>
<ul>
<li><a href="http://httpd.apache.org/docs/current/mod/mod_rewrite.html" rel="external">Apache&#8217;s mod_rewrite guide</a></li>
<li><a href="http://borkweb.com/story/apache-rewrite-cheatsheet" rel="external">borkweb.com&#8217;s Apache rewrite cheat sheet</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://r.osey.me/2011/12/quick-tip-htaccess-mod_rewrite-rule/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Things that have caught my interest recently</title>
		<link>http://r.osey.me/2011/12/things-that-have-caught-my-interest-recently/</link>
		<comments>http://r.osey.me/2011/12/things-that-have-caught-my-interest-recently/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 03:07:27 +0000</pubDate>
		<dc:creator>Rose</dc:creator>
				<category><![CDATA[Life as Rose]]></category>
		<category><![CDATA[cars]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[nature]]></category>

		<guid isPermaLink="false">http://r.osey.me/?p=700</guid>
		<description><![CDATA[It&#8217;s time for another edition of links that nobody cares about but me! Number One: The Manchineel Tree I&#8217;m pretty obsessed with this thing. I&#8217;m currently re-reading The Swiss Family Robinson, one of my favourite childhood books which, in retrospect, was a really weird book for me to like as a kid. One thing the [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s time for another edition of links that nobody cares about but me!</p>
<dl>
<dt>Number One: The Manchineel Tree</dt>
<dd>I&#8217;m pretty obsessed with this thing.  I&#8217;m currently re-reading <em>The Swiss Family Robinson</em>, one of my favourite childhood books which, in retrospect, was a really weird book for me to like as a kid.</p>
<p>One thing the narrator does in abundance, other than talk about how indolent his son Earnest is and how demure his lovely wife is, is talk about a really wide range of flora and fauna and their attributes.  One tree that he mentioned in passing was The Manchineel tree, which prompted me to google it.</p>
<p>It turns out this tree is not just a myth from a novel written in 1812. (!)</p>
<blockquote><p>The tree and its parts contain strong toxins, some unidentified. Its milky white sap contains phorbol and other skin irritants, producing strong allergic dermatitis. </p>
<p>Standing beneath the tree during rain will cause blistering of the skin from mere contact with this liquid (even a small drop of rain with the milky substance in it will cause the skin to blister). </p>
<p>Burning the tree may cause blindness if the smoke reaches the eyes. </p>
<p>The fruit can also be fatal if eaten. </p>
<p>Many trees carry a warning sign, while others are marked with a red &#8220;X&#8221; on the trunk to indicate danger. In the French Antilles the trees are often marked with a painted red band a few feet above the ground.</p>
</blockquote>
<p><a class="news-source" rel="external" href="http://en.wikipedia.org/wiki/Manchineel">View Source (Wikipedia)</a><br />
&#8230;Now tell me that isn&#8217;t one crazy freaking tree.  Can you really blame me for posting it on my google plus, emailing my mom about it, forcing Ben to read about it, and now blogging about it?  (I did mention that I was obsessed, right?)</dd>
<dt>Number Two: Car accident in Japan destroys $4million in fancy cars.</dt>
<dd>I don&#8217;t really care about cars at all but the headline caught my eye.  Plus, this article just reminds me of how poor I am, which is something I always enjoy thinking about.</p>
<blockquote><p>Supercar fans, you might want to avert your eyes: a multi-car pile-up in southwest Japan yesterday claimed 14 cars, including eight Ferraris, a Lamborghini, and a handful of Mercedes-Benz models.</p>
</blockquote>
<p><a class="news-source" rel="external" href="http://rumors.automobilemag.com/misery-loves-company-japanese-car-crash-destroys-eight-ferraris-92383.html">Source Article</a></dd>
<dt>Number Three: MUSIC!</dt>
<dd>I have learned from experience that the Internet hates it when I blog about my music interests, so I&#8217;ve decided to sneak it in halfway through a list and hope you don&#8217;t notice.</p>
<p>Some really awesome songs have come out recently that I want to promote.  In fact, this may call for me to update my stylesheet so that I can make musical looking links. One second, please.</p>
<p>Ok, ready.<br />
<a class="music" href="http://www.youtube.com/watch?v=4XUwKewzdNs">Band of Skulls: The Devil Takes Care of his Own</a><br />
Don&#8217;t be scared off by the band&#8217;s name. I promise it&#8217;s not too evil sounding.  I don&#8217;t like crazy angry music any more than you do.  These guys released an album a few years ago called <em>Baby Darling Dollface Honey</em>, which was absolutely BRILLIANT. I saw them perform it live and was blown away.</p>
<p>This is their latest single, and I think it&#8217;s pretty amazing.</p>
<p><a class="music" href="http://www.youtube.com/watch?v=7BPl0eQfiqI">The Black Keys: Run Right Back</a><br />
The Black Keys have released their latest album, and as usual, they do not disappoint.  Every album they&#8217;ve released so far is awesome, which is a nice change from those bands that seem to lose their momentum after an album or two.  Songs to keep an eye on: Lonely Boy, Gold on the Ceiling, Run Right Back, Hell of a Season.</p>
<p><a class="music" href="http://itunes.apple.com/ca/album/con-con-le-petit-conchon/id447085300">Maurice: River Phoenix</a><br />
This is an older song by local band <em>Maurice</em>.  His voice is haunting and I love it.  Couldn&#8217;t find a youtube link for this one so you&#8217;ll just have to settle for the itunes preview version.  Sorry! (Another song by Maurice that I adore: <a href="http://www.youtube.com/watch?v=709S9N9udLs">Robin</a>)
</dd>
<dt>Number Four: Nature, You Scary</dt>
<dd>Just imagine this thing scuttling across the floor towards you.  Not that it could, since it lives at the bottom of the ocean, but just pretend. </p>
<p>You&#8217;d be scared, right?  It&#8217;s like three times the size of my head!<br />
<a href="http://www.flickr.com/photos/littoraria/969104893/" title="Giant Isopod (Bathynomus giganteus) Ventrum by Littoraria, on Flickr"><img src="http://farm2.staticflickr.com/1242/969104893_0c5c546408_m.jpg" alt="Giant Isopod (Bathynomus giganteus) Ventrum"></a><br />
<a rel="external" class="news-source" href="http://en.wikipedia.org/wiki/Giant_isopod">Read about the Giant Isopod on Wikipedia</a><br />
In case you were wondering: Yes, it&#8217;s carnivorous.
</dl>
]]></content:encoded>
			<wfw:commentRss>http://r.osey.me/2011/12/things-that-have-caught-my-interest-recently/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Enhancement added to the Short URL Script</title>
		<link>http://r.osey.me/2011/12/enhancement-added-to-the-short-url-script/</link>
		<comments>http://r.osey.me/2011/12/enhancement-added-to-the-short-url-script/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 00:45:38 +0000</pubDate>
		<dc:creator>Rose</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[downloads]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://r.osey.me/?p=691</guid>
		<description><![CDATA[A little over a month ago I released a PHP Script called Short URL (I know, super exciting &#038; original name, right?) &#8230;But it had no way to deal with lost passwords. Basically, if you forgot your password, you were up shit creek without a paddle, because the copy in the database is encrypted and [...]]]></description>
			<content:encoded><![CDATA[<p>A little over a month ago I released a PHP Script called <a href="http://r.osey.me/2011/10/free-php-script-personalized-short-url-generator/">Short URL</a> (I know, super exciting &#038; original name, right?)</p>
<p>&#8230;But it had no way to deal with lost passwords.  Basically, if you forgot your password, you were up shit creek without a paddle, because the copy in the database is encrypted and the password was never emailed anywhere.</p>
<p>Of course, a week after releasing the script, I forgot my own password and have therefore just been not using short url for the past month <img src='http://r.osey.me/b/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />   </p>
<p>All of this changes today with an update to the short url script. </p>
<ul>
<li>A forgot password interface has been created where you can enter your email address in order to have a new password generated and emailed to you.</li>
</ul>
<p>If this appeals to you then please feel free to download the latest version of short url <img src='http://r.osey.me/b/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   </p>
<ul>
<li>If you are upgrading, you will have to make a manual edit to the .htaccess file in your shorturl folder.</li>
<li>Please make sure you add the following line: <code>RewriteCond %{REQUEST_URI} !forgot-password.php$</code></li>
<li>This line should be entered directly above the line that says <code>RewriteRule ^([^/]+) redirect.php [NC]</code></li>
</ul>
<p>It&#8217;s also strongly advised that you only upload forgot-password.php when you need to use it, and to immediately delete it after use.</p>
<h4>Updated Files:</h4>
<ul>
<li>install.php &#8211; added the new htaccess rule to the htaccess generator.</li>
<li>forgot-password.php &#8211; all new page created to deal with forgotten passwords!</li>
</ul>
<p><a class="download" href="/s/shorturl/">download the latest version of the short url generator</a></p>
]]></content:encoded>
			<wfw:commentRss>http://r.osey.me/2011/12/enhancement-added-to-the-short-url-script/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>A Christmas Present to Myself</title>
		<link>http://r.osey.me/2011/12/a-christmas-present-to-myself/</link>
		<comments>http://r.osey.me/2011/12/a-christmas-present-to-myself/#comments</comments>
		<pubDate>Sat, 03 Dec 2011 04:33:16 +0000</pubDate>
		<dc:creator>Rose</dc:creator>
				<category><![CDATA[Life as Rose]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://r.osey.me/?p=684</guid>
		<description><![CDATA[I couldn&#8217;t stand my old macbook anymore. It served me well, but after 3 &#038; 1/2 years it was starting to get a little rough around the edges, mainly involving the trackpad, which has become so frustrating to use in its old age. So&#8230; I went ahead and bought this: View on Instagram So far [...]]]></description>
			<content:encoded><![CDATA[<p>I couldn&#8217;t stand my old macbook anymore. It served me well, but after 3 &#038; 1/2 years it was starting to get a little rough around the edges, mainly involving the trackpad, which has become <em>so</em> frustrating to use in its old age.</p>
<p>So&#8230; I went ahead and bought this:<br />
<img src="http://r.osey.me/b/wp-content/uploads/2011/12/macbookair.jpg" alt="Macbook Air"><br />
<a href="http://instagr.am/p/XBEVy/" rel="external" class="photo-source">View on Instagram</a></p>
<p>So far it&#8217;s pree-tyyy sweet. (I didn&#8217;t think I&#8217;d feel this way, but fullscreen apps and gestures? SO much cooler than it sounds.)</p>
]]></content:encoded>
			<wfw:commentRss>http://r.osey.me/2011/12/a-christmas-present-to-myself/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Pure CSS Tooltips that require no extra HTML</title>
		<link>http://r.osey.me/2011/11/pure-css-tooltips-that-require-no-extra-html/</link>
		<comments>http://r.osey.me/2011/11/pure-css-tooltips-that-require-no-extra-html/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 12:00:31 +0000</pubDate>
		<dc:creator>Rose</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[tooltips]]></category>

		<guid isPermaLink="false">http://r.osey.me/?p=658</guid>
		<description><![CDATA[There are some great JQuery tooltip plugins out there that allow for some amazing tooltip transitions and much better cross-browser compatibility, but it is 100% possible to have some cute tooltips with nothing but CSS. View the demo Part One: HTML For CSS tooltips, you don&#8217;t need anything extra for your links. No extra class, [...]]]></description>
			<content:encoded><![CDATA[<p>There are some great JQuery tooltip plugins out there that allow for some amazing tooltip transitions and much better cross-browser compatibility, but it is 100% possible to have some cute tooltips with nothing but CSS.</p>
<p class="center clear"><a href="/code-examples/tooltips/" class="demo" style="margin: 10px auto">View the demo</a></p>
<h3>Part One: HTML</h3>
<p>For CSS tooltips, you don&#8217;t need anything extra for your links. No extra class, no extra text.  If you want a link to have a tooltip, all it needs is a <code>title</code> attribute:<br />
<code class="block"><br />
&lt;a href=<span class="attribute">"http://google.com"</span> title=<span class="attribute">"This is a tooltip."</span>&gt;Hover me!&lt;/a&gt;<br />
</code></p>
<h3>Part Two: CSS</h3>
<p>In order for a tooltip to appear on hover, we will apply the link&#8217;s <em>title</em> attribute as content to the <code>:before</code> selector of <em>any link that has a title and is currently being hovered.</em>  We&#8217;ll also apply some additional CSS for a prettier tooltip:</p>
<p><code class="block">a[title]:hover:before {<br />
&nbsp;&nbsp;content: attr(title); <span class="comment">/* This gives the :before the content from the title attribute of the link */</span><br />
&nbsp;&nbsp;position: absolute;<br />
&nbsp;&nbsp;top:-60px;<br />
&nbsp;&nbsp;left:0;<br />
&nbsp;&nbsp;z-index: 5;<br />
&nbsp;&nbsp;text-decoration: none;<br />
&nbsp;&nbsp;color: #FFF;<br />
&nbsp;&nbsp;font-size: 10px;<br />
&nbsp;&nbsp;padding: 6px 6px 15px 6px;<br />
&nbsp;&nbsp;line-height: 130%;<br />
&nbsp;&nbsp;opacity: 1;<br />
&nbsp;&nbsp;height: 40px; <span class="comment">/* You may want/need to play around with widths and heights. */</span><br />
&nbsp;&nbsp;background: #222 url(<span class="attribute">"arrow.png"</span>) bottom left no-repeat;  <span class="comment">/* This makes the tooltip a bit prettier. <a href="/code-examples/tooltips/arrow.png">view/download arrow.png</a>*/</span><br />
}<br />
</code></p>
<p>We also have to give <code>&lt;a&gt;</code> tags with a title attribute a position of <em>relative</em>, so that the absolute positioning of the tooltip doesn&#8217;t shoot all the way to the top of the browser:<br />
<code class="block"><br />
a[title] {<br />
&nbsp;&nbsp;position:relative;<br />
}</code></p>
<p>And that&#8217;s it. You now have pure CSS tooltips.</p>
<h3>Other Cool Tooltip Resources</h3>
<ul>
<li><a href="http://jqueryfordesigners.com/coda-popup-bubbles/" rel="external">Coda Popup Bubbles</a></li>
<li><a href="http://onehackoranother.com/projects/jquery/tipsy/" rel="external">Tipsy</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://r.osey.me/2011/11/pure-css-tooltips-that-require-no-extra-html/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The latest in iPhone photography</title>
		<link>http://r.osey.me/2011/11/the-latest-in-iphone-photography/</link>
		<comments>http://r.osey.me/2011/11/the-latest-in-iphone-photography/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 12:05:10 +0000</pubDate>
		<dc:creator>Rose</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[boats]]></category>
		<category><![CDATA[christmas]]></category>
		<category><![CDATA[whales]]></category>

		<guid isPermaLink="false">http://r.osey.me/?p=647</guid>
		<description><![CDATA[Christmas Lights view on instagr.am My only feeble attempt at decorating this place for Christmas. Oh yeah, and that thing on the windowsill is a Pomander that I made all by myself. Except I got bored after making just one and now it sits there like some sad rotting clove-orange and nobody knows what it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<h3>Christmas Lights</h3>
<p><img src="http://r.osey.me/b/wp-content/uploads/2011/11/christmaslights.jpg" alt=""><br />
<a href="http://instagr.am/p/VEPTo/" rel="external" class="photo-source">view on instagr.am</a><br />
My only feeble attempt at decorating this place for Christmas.  Oh yeah, and that thing on the windowsill is a Pomander that I made all by myself.  Except I got bored after making just one and now it sits there like some sad rotting clove-orange and nobody knows what it&#8217;s supposed to be.</p>
<h3>Boat, Bird, Mountains</h3>
<p><img src="http://r.osey.me/b/wp-content/uploads/2011/11/boat.jpg" alt=""><br />
<a href="http://instagr.am/p/UGdFV/" rel="external" class="photo-source">view on instagr.am</a></p>
<h3>More Boats</h3>
<p><img src="http://r.osey.me/b/wp-content/uploads/2011/11/2boats.jpg" alt=""><br />
<a href="http://instagr.am/p/VDkEg/" rel="external" class="photo-source">view on instagr.am</a></p>
<p>I never thought I&#8217;d turn into my grandma: Someone who will watch boats on the ocean for hours and exclaim over every single one, even though she&#8217;s getting pretty old and has seen a million boats in her lifetime.  Don&#8217;t they get <em>boring</em>, grandma?</p>
<p>But living by the ocean, close to where most commercial boats, cruise ships, and ferries come to land in Victoria, I seriously say to Ben ALL the time &#8220;AH! A boat! There&#8217;s a boat!&#8221;  &#8230;And then I take a photo.  Even though there is pretty much ALWAYS at least one boat out there.</p>
<p>Of course, we also sometimes get whales, but I suck at taking pictures of them:<br />
<img src="http://r.osey.me/b/wp-content/uploads/2011/11/whale.jpg" alt=""></p>
]]></content:encoded>
			<wfw:commentRss>http://r.osey.me/2011/11/the-latest-in-iphone-photography/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>TV Snob: A list of TV shows I am watching or have watched, and what I thought of them.</title>
		<link>http://r.osey.me/2011/11/tv-snob-a-list-of-tv-shows-i-am-watching-or-have-watched-and-what-i-thought-of-them/</link>
		<comments>http://r.osey.me/2011/11/tv-snob-a-list-of-tv-shows-i-am-watching-or-have-watched-and-what-i-thought-of-them/#comments</comments>
		<pubDate>Sat, 26 Nov 2011 07:05:25 +0000</pubDate>
		<dc:creator>Rose</dc:creator>
				<category><![CDATA[Life as Rose]]></category>
		<category><![CDATA[tv]]></category>

		<guid isPermaLink="false">http://r.osey.me/?p=606</guid>
		<description><![CDATA[I have never had cable in my life. Growing up, my parents never had any interest in paying for something so unnecessary, and as an adult, I carried that value forward, mainly because if I lived without cable for 20 years, why would I want it now? However. In the last two years, I have [...]]]></description>
			<content:encoded><![CDATA[<p>I have never had cable in my life.  Growing up, my parents never had any interest in paying for something so unnecessary, and as an adult, I carried that value forward, mainly because if I lived without cable for 20 years, why would I want it now?</p>
<p><em>However</em>.<br />
In the last two years, I have discovered a love for good TV.  </p>
<p>I still don&#8217;t have cable and I have sworn that I never will, but thanks to modern technology, you don&#8217;t need cable to watch your favourite TV shows anymore.  </p>
<p>I like to think that Ben and I are sort of tv-show snobs, even though being a TV show snob might be like saying someone is a classy redneck. I don&#8217;t care.  That is what we are.  Snobs that watch TV.</p>
<p>Here is a list of the series we have mowed our way through, and what I thought of them. I whole-heartedly recommend most of these and want to hear your thoughts!</p>
<dl>
<dt>LOST</dt>
<dd>
<img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_empty.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_empty.png" alt="*"><br />
The TV show that started it all.  At the time, we were convinced it was the greatest thing EVER and I couldn&#8217;t get enough of it. Looking back, it was a decent, exciting show, but not my absolute favourite. It relied too much on cliff hangers, it felt like the writers were often scrambling, and lacked true depth.<br />
<a class="news-source" href="http://www.imdb.com/title/tt0411008/" rel="external">View on IMDB</a>
</dd>
<dt>Mad Men</dt>
<dd>
<img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_empty.png" alt="*"><br />
I need to watch this show again.  Mad Men definitely takes awhile to ease into (the first several episodes = yawn.) but it&#8217;s awesome once you&#8217;re there. The opening credits of Mad Men are also my favourite opening credits of any TV show.<br />
<a class="news-source" href="http://www.imdb.com/title/tt0804503/" rel="external">View on IMDB</a>
</dd>
<dt>Breaking Bad</dt>
<dd>
<img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><br />
Pure. Television. Gold. It gets better with every season. The latest season (4) from the premier to the finale was so perfectly executed, so <em>beautiful</em>, that I almost wish it ended that way (but at the same time I&#8217;m excited that there&#8217;s another season!)</p>
<p>Also, Gus is amazing.  Have you <a href="http://www.youtube.com/watch?v=4tkzbsrx03k"><em>seen</em> him in interviews</a>? Unreal.  (if you don&#8217;t watch the show, here are some spoiler videos that show him acting: <a href="http://www.youtube.com/watch?v=ffnKNfHuWN0">on the phone</a>, <a href="http://www.youtube.com/watch?v=7dpUB1_CgRQ&#038;">getting shot at</a>, and <a href="http://www.youtube.com/watch?v=LvvBXc55ddE&#038;feature=related">major spoiler season finale</a> -only watch that last one if you know you&#8217;ll never watch the show!!)<br />
<a class="news-source" href="http://www.imdb.com/title/tt0903747/" rel="external">View on IMDB</a>
</dd>
<dt>Boardwalk Empire</dt>
<dd>
<img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><br />
My other absolute favourite show.  A little slower but full of rich dialogue, relationships, and scenes.<br />
<a class="news-source" href="http://www.imdb.com/title/tt0979432/" rel="external">View on IMDB</a>
</dd>
<dt>The Sopranos</dt>
<dd>
<img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_half.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_empty.png" alt="*"><br />
This one is Ben&#8217;s favourite.<br />
I wouldn&#8217;t rank it as high as Breaking Bad or Boardwalk, but it&#8217;s still fast paced and exciting!<br />
<a class="news-source" href="http://www.imdb.com/title/tt0141842/" rel="external">View on IMDB</a>
</dd>
<dt>The Wire</dt>
<dd>
<img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_half.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_empty.png" alt="*"><br />
Also good but not amazing, formulaic but still engaging.<br />
<a class="news-source" href="http://www.imdb.com/title/tt0306414/" rel="external">View on IMDB</a>
</dd>
<dt>Dexter</dt>
<dd>
<img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_empty.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_empty.png" alt="*"><br />
Totally formulaic but so exciting that you sort of stop caring after a while.  Still, I wouldn&#8217;t say it&#8217;s as high quality as a lot of the other shows on this list. (Actually, the most recent season we kinda stopped watching.)<br />
<a class="news-source" href="http://www.imdb.com/title/tt0773262/" rel="external">View on IMDB</a>
</dd>
<dt>The Walking Dead</dt>
<dd>
<img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_half.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_empty.png" alt="*"><br />
Good! I really like watching The Walking Dead, even though I&#8217;m terrified of zombies and often have to leave the room when they start chasing someone.  That being said, I feel like the plot and the characters lack depth, so the writers are going to have to figure something out to keep this story going in the long-run.<br />
<a class="news-source" href="http://www.imdb.com/title/tt1520211/" rel="external">View on IMDB</a>
</dd>
<dt>Game of Thrones</dt>
<dd>
<img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_empty.png" alt="*"><br />
You can tell that a lot of money went into this show. I enjoyed the first season, in spite of some fairly cheesy scenes.  I&#8217;m looking forward to seeing how it progresses in the next season.<br />
<a class="news-source" href="http://www.imdb.com/title/tt0944947/" rel="external">View on IMDB</a>
</dd>
<dt>Battlestar Galactica</dt>
<dd>
<img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_empty.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_empty.png" alt="*"><br />
Oddly compelling &#8211; full of cheese and stupid themes but the action is very exciting, and we burned our way through several seasons. Its ugliest point was season four &#8211; painfully boring.  The only hilite of the final season was the finale, which made me cry.<br />
<a class="news-source" href="http://www.imdb.com/title/tt0407362/" rel="external">View on IMDB</a>
</dd>
<dt>Sons of Anarchy</dt>
<dd>
<img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_full.png" alt="*"><img src="/b/wp-content/uploads/2011/11/star_empty.png" alt="*"><br />
Sons of Anarchy is action packed and exciting. Some of the story is a little silly (see: When Jax &#8216;rescues&#8217; blonde abused girlfriend at gas station. Painfully dumb.), but the story and the excitement has me hooked!<br />
<a class="news-source" href="http://www.imdb.com/title/tt1124373/" rel="external">View on IMDB</a>
</dd>
</dl>
]]></content:encoded>
			<wfw:commentRss>http://r.osey.me/2011/11/tv-snob-a-list-of-tv-shows-i-am-watching-or-have-watched-and-what-i-thought-of-them/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>JQuery form validation part two: Checkboxes</title>
		<link>http://r.osey.me/2011/11/jquery-form-validation-part-two-checkboxes/</link>
		<comments>http://r.osey.me/2011/11/jquery-form-validation-part-two-checkboxes/#comments</comments>
		<pubDate>Thu, 24 Nov 2011 12:00:41 +0000</pubDate>
		<dc:creator>Rose</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://r.osey.me/?p=583</guid>
		<description><![CDATA[I got a question in the comments from my previous form validation post: Is there a way to do it so if at least one checkbox is checked, the GOOD (check) shows up but if not the BAD (x) shows up? Jamie As a result, I&#8217;ve decided to add a bit more to this tutorial: [...]]]></description>
			<content:encoded><![CDATA[<p>I got a question in the comments from my previous <a href="http://r.osey.me/2011/11/jquery-and-form-validation/">form validation</a> post:</p>
<blockquote>
<p>Is there a way to do it so if at least one checkbox is checked, the GOOD (check) shows up but if not the BAD (x) shows up?</p>
</blockquote>
<p><a class="news-source" href="http://captious.net" rel="nofollow">Jamie</a></p>
<p>As a result, I&#8217;ve decided to add a bit more to this tutorial: checking if a checkbox has been checked &#8216;on change&#8217;.</p>
<p class="center clear"><a href="/code-examples/jquery-validation/" class="demo" style="margin: 10px auto">View the demo</a></p>
<p>The logic is this:</p>
<ol>
<li>A checkbox is changed.</li>
<li>If it is not checked,</li>
<li>And if none of its siblings (checkboxes directly on either side of it) are checked,</li>
<li>Then we are assuming that no checkboxes in this &#8216;category&#8217; are checked.</li>
<li>So we apply an &#8220;Error&#8221; class to its parent container (in my case, I surrounded them with a div called &#8216;box&#8217;, but this could be a fieldset or anything you like.)</li>
<li>HOWEVER, if at least one checkbox is checked,</li>
<li>We&#8217;ll apply a &#8220;Good&#8221; class to the parent container.</li>
</ol>
<h3>The Code</h3>
<p>Note: You may have to change all instances of &#8216;.box&#8217; to the class or type of container you choose to use!<br />
<code class="block"><br />
$(<span class="attribute">'input[type=checkbox].required'</span>).change(function() {<br />
&nbsp;&nbsp;if(!$(this).is(<span class="attribute">':checked'</span>) &#038;&#038;<br />
&nbsp;&nbsp;!$(this).siblings(<span class="attribute">'input[type=checkbox]'</span>).is(<span class="attribute">':checked'</span>)) {<br />
&nbsp;&nbsp;&nbsp;&nbsp; $(this).closest(<span class="attribute">'.box'</span>).removeClass(<span class="attribute">'good'</span>);<br />
&nbsp;&nbsp;&nbsp;&nbsp;$(this).closest(<span class="attribute">'.box'</span>).addClass(<span class="attribute">'error'</span>);<br />
&nbsp;&nbsp;} else {<br />
&nbsp;&nbsp;&nbsp;&nbsp;$(this).closest(<span class="attribute">'.box'</span>).removeClass(<span class="attribute">'error'</span>);<br />
&nbsp;&nbsp;&nbsp;&nbsp;$(this).closest(<span class="attribute">'.box'</span>).addClass(<span class="attribute">'good'</span>);<br />
&nbsp;&nbsp;}<br />
	});<br />
</code></p>
<p class="center clear"><a href="/code-examples/jquery-validation/" class="demo" style="margin: 10px auto">View the demo</a></p>
<h3>Updated Downloads</h3>
<p>Feel free to also download the HTML from <a href="/code-examples/jquery-validation/">the demo</a>.<br />
<a class="download" href="http://r.osey.me/b/wp-content/uploads/2011/11/formstyle.css">Download my form CSS for use [formstyle.css]</a><br />
<a class="download" href="http://r.osey.me/b/wp-content/uploads/2011/11/validate.js">Download the javascript [validate.js]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://r.osey.me/2011/11/jquery-form-validation-part-two-checkboxes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

