<?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>Chelsey Twigg</title>
	<atom:link href="http://www.chelseytwigg.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chelseytwigg.com</link>
	<description></description>
	<lastBuildDate>Tue, 05 Mar 2013 06:01:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Why (and How) I Use Sublime Text</title>
		<link>http://www.chelseytwigg.com/2012/05/why-and-how-i-use-sublime-text/</link>
		<comments>http://www.chelseytwigg.com/2012/05/why-and-how-i-use-sublime-text/#comments</comments>
		<pubDate>Thu, 24 May 2012 20:34:01 +0000</pubDate>
		<dc:creator>Chelsey</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://chelseytwigg.com/?p=434</guid>
		<description><![CDATA[Once upon a time, I was a fresh website developer. Like most beginners, I started with the ubiquitous Dreamweaver (Version 4!), and surprisingly it wasn&#8217;t a pirated version &#8211; my dad had bought a copy long ago. I learned HTML both by reading books and using the WYSIWYG editor then switching to code view to see what [...]]]></description>
				<content:encoded><![CDATA[<p>Once upon a time, I was a fresh website developer. Like most beginners, I started with the ubiquitous Dreamweaver (Version 4!), and surprisingly it wasn&#8217;t a pirated version &#8211; my dad had bought a copy long ago. I learned HTML both by reading books and using the WYSIWYG editor then switching to code view to see what Dreamweaver thought the code should be. I eventually learned, however, that not only are table-based layouts out of date, so is Dreamweaver.</p>
<p>When I grew out of Dreamweaver into fully code mode, I first switched to <a href="http://notepad-plus-plus.org/" target="_blank">Notepad++</a>. It was free, and it was simple. I stuck with it as long as I was working on Windows. This came to a screeching halt, however, when I started working at <a href="http://www.quickenloans.com/" target="_blank">Quicken Loans</a> &#8211; welcome to the world of development on a Mac.</p>
<div class="wp-caption alignright" style="width: 310px"><a href="/?attachment_id=435"><img class=" " title="SublimeText" src="/wp-content/uploads/2012/05/SublimeText-300x202.png" alt="" width="300" height="202" /></a><p class="wp-caption-text">Using SublimeText on a LESS file for this blog</p></div>
<p>I needed to find a cross-platform (so I could use it handily both at home with Windows and Linux and at work with a Mac), heavy-duty, coder-ready text editor. Enter <a href="http://www.sublimetext.com/2" target="_blank">Sublime Text</a>. It&#8217;s fully cross-platform, including 64-bit and portable versions, and another of my favorite features is the fact that the settings and preferences are plain text (Well, technically JSON) and therefore I can copy them to whatever computer I&#8217;m working on and start up exactly how I left off.</p>
<p>Sublime also has a robust package repository you can use to rapidly install dozens of plugins and snippet libraries.</p>
<p>I commonly develop using WordPress, jQuery, and LESS CSS, and Sublime has plugins to meet both those needs. It also has a robust FTP plugin that removes middlemen like FileZilla.</p>
<p>In order to install the package installer, you have to follow the instructions below (taken from <a href="http://wbond.net/sublime_packages/package_control/installation" target="_blank">here</a>):</p>
<p>Open the Sublime Text console, by hitting Ctrl + ` (or View &gt; Show Console) and paste the following command:</p>
<blockquote><p>import urllib2,os; pf=&#8217;Package Control.sublime-package&#8217;; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),&#8217;wb&#8217;).write(urllib2.urlopen(&#8216;http://sublime.wbond.net/&#8217;+pf.replace(&#8216; &#8216;,&#8217;%20&#8242;)).read()); print &#8216;Please restart Sublime Text to finish installation&#8217;</p></blockquote>
<p>After you have installed and restarted Sublime Text, hit Cmd + Shift + P to open up the Command Pallette. You&#8217;ll see a bunch of options; right now we&#8217;ll focus on Discover Package and Install Package.</p>
<p>If you already know what packages you want to install then skip right to Install Package, and either highlight the package you want to install and hit Enter, or click on it. If you&#8217;re not sure yet, then <a href="http://wbond.net/sublime_packages/community#sort-installs" target="_blank">browse the Sublime Text Packages page</a>.</p>
<p>The only disadvantage of Sublime Text is that it&#8217;s $59 for a license (and the FTP plugin isn&#8217;t free either), but it has an unlimited trial period with only an occasional nag screen. I worked with Sublime for over a year on the trial version and today broke down and paid for it. Why? Because it&#8217;s worth it. Maybe you&#8217;ll find it is too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chelseytwigg.com/2012/05/why-and-how-i-use-sublime-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comments &#8211; or, why the f/**/ck did I do that?</title>
		<link>http://www.chelseytwigg.com/2012/05/comments-or-why-the-fck-did-i-do-that/</link>
		<comments>http://www.chelseytwigg.com/2012/05/comments-or-why-the-fck-did-i-do-that/#comments</comments>
		<pubDate>Thu, 24 May 2012 17:12:05 +0000</pubDate>
		<dc:creator>Chelsey</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://yousuckatcss.com/wordpress/?p=7</guid>
		<description><![CDATA[Something many developers are guilty of is not commenting their code. I&#8217;m guilty of it, you&#8217;re guilty of it, your favorite rockstar programmer is guilty of it. You can&#8217;t go back and fix this, often enough &#8211; your CSS files are probably incomprehensible to you by now. Mine usually are. So how do you fix [...]]]></description>
				<content:encoded><![CDATA[<p>Something many developers are guilty of is not commenting their code. I&#8217;m guilty of it, you&#8217;re guilty of it, your favorite rockstar programmer is guilty of it. You can&#8217;t go back and fix this, often enough &#8211; your CSS files are probably incomprehensible to you by now. Mine usually are. So how do you fix this going forward?</p>
<h3>Comment &#8220;Headers&#8221;</h3>
<p>The biggest help, for me personally, is to use comments to create sections in my CSS files. I use three-line comments as &#8220;headers&#8221; &#8211; specific sections that are usually surrounded by a container div, such as the header, or sidebar. I use one-line comments as separators for specific things I might look for often enough in the code but are single items. Like this:</p>
<pre class="brush: css">
/*------------------------------------*\
    HEADER
\*------------------------------------*/

.banner {
    background: url('images/banner.png') repeat 0 0 transparent;
    width: 100%;
    position: relative;
}

/*LOGO--------------------------------*/
.banner h1 a {
    background: url('images/logo.png') no-repeat 0 0 transparent;
    background-size: 100%;
    display: block;
    height: 88px;
    max-width: 407px;
    width: 100%;
}
</pre>
<p>This not only helps me find exactly what I&#8217;m looking to change or fix, but forces me to organize my CSS.</p>
<h3>Mystery Fixes</h3>
<p>Now, sometimes you have something that just shouldn&#8217;t work, and yet it does. You <em>shouldn&#8217;t</em> have to deal with that if you&#8217;re writing your own code from scratch, but if you have to deal with a company&#8217;s bloated existing stuff, you have to work with what you have.</p>
<p>When you make a &#8220;Mystery Fix&#8221; or do something that could break the design of the page later on, don&#8217;t make the same mistake your predecessor did, document it.</p>
<pre class="brush: css">
.page-id-16 #content .post-box > h1 { /*This page needs to have the title removed*/
        display: none;
}
</pre>
<p>If it&#8217;s more complex than the above, document why the fix works.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chelseytwigg.com/2012/05/comments-or-why-the-fck-did-i-do-that/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reeses Cake</title>
		<link>http://www.chelseytwigg.com/2012/05/reeses-cake/</link>
		<comments>http://www.chelseytwigg.com/2012/05/reeses-cake/#comments</comments>
		<pubDate>Mon, 07 May 2012 02:47:55 +0000</pubDate>
		<dc:creator>Chelsey</dc:creator>
				<category><![CDATA[Cake Challenge]]></category>
		<category><![CDATA[Recipes]]></category>

		<guid isPermaLink="false">http://chelseytwigg.com/?p=325</guid>
		<description><![CDATA[So, I decided to start myself a little challenge. Start making a new cake recipe every so often. The first one? Reeses. Here&#8217;s the recipe: 1/2 cup butter 1/2 cup peanut butter 2 cups sugar 4 eggs 2 tsp. vanilla extract 2 3/4 cups all-purpose flour 1 tbsp. baking powder 1 tsp. salt 1 3/4 [...]]]></description>
				<content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 301px"><a href="/2012/05/reeses-cake/img_20120430_093525/" rel="attachment wp-att-326"><img title="Reeses Cake" src="/wp-content/uploads/2012/05/IMG_20120430_093525-291x300.jpg" alt="" width="291" height="300" /></a><p class="wp-caption-text">The Reeses Cake</p></div>
<p>So, I decided to start myself a little challenge. Start making a new cake recipe every so often. The first one? Reeses.</p>
<p>Here&#8217;s the recipe:</p>
<ul>
<li>1/2 cup butter</li>
<li>1/2 cup peanut butter</li>
<li>2 cups sugar</li>
<li>4 eggs</li>
<li>2 tsp. vanilla extract</li>
<li>2 3/4 cups all-purpose flour</li>
<li>1 tbsp. baking powder</li>
<li>1 tsp. salt</li>
<li>1 3/4 cups milk</li>
<li>1/2 to 3/4 cup cocoa powder</li>
</ul>
<ol>
<li>Preheat oven to 350 degrees. Grease and flour two 8&#8243; pans or one 8&#8243;x3&#8243; pan.</li>
<li>Cream together butter, peanut butter, and sugar until extremely fluffy. Beat in eggs and vanilla.</li>
<li>Add baking powder and salt.</li>
<li>Add flour alternately with milk, about 1 cup at a time. Mix well &#8211; batter may be slightly lumpy looking.</li>
<li>Pour half of the batter into the prepared pan(s).</li>
<li>Stir cocoa powder into remaining batter.</li>
<li>Pour remaining batter into the pan(s) and swirl with a knife.</li>
<li>Bake until cake tests done (about 1 hour 10 minutes in an 8&#215;3 pan).</li>
</ol>
<p><a href="http://chelseytwigg.com/2012/05/reeses-cake/img_20120430_121408/" rel="attachment wp-att-327"><img class="alignright" title="IMG_20120430_121408" src="http://chelseytwigg.com/wp-content/uploads/2012/05/IMG_20120430_121408-300x253.jpg" alt="" /></a>And here&#8217;s the recipe for the frosting:</p>
<ul>
<li>1/2 cup butter</li>
<li>1 1/4 cups creamy peanut butter</li>
<li>3tbsp milk, or more as needed</li>
<li>2 cups powdered sugar</li>
</ul>
<ol>
<li>Beat butter and peanut butter until very well blended</li>
<li>Grandually mix in sugar, and when it starts to thicken up, add milk, one tablespoon at a time</li>
<li>Once all the sugar is mixed in, beat for 3+ minutes to get it fluffy. Add more milk if it is not spreadable enough.</li>
</ol>
<p>Now just frost the cake! I also sprinkled mini Reeses cups on top and finished with a dark chocolate drizzle. The cake disappeared in record time!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chelseytwigg.com/2012/05/reeses-cake/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keep it Classy</title>
		<link>http://www.chelseytwigg.com/2012/04/keep-it-classy/</link>
		<comments>http://www.chelseytwigg.com/2012/04/keep-it-classy/#comments</comments>
		<pubDate>Sun, 29 Apr 2012 01:10:09 +0000</pubDate>
		<dc:creator>Chelsey</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://chelseytwigg.com/?p=161</guid>
		<description><![CDATA[One of the most-forgotten best practices in CSS is reusing your code when your elements aren&#8217;t exactly the same. Let&#8217;s take these two buttons as an example. We have two very similar buttons, the only difference is the background color. Blue&#8230; class=&#8221;blueButton&#8221; &#8230;and orange. class=&#8221;orangeButton&#8221; Let&#8217;s look at the CSS that it took to get [...]]]></description>
				<content:encoded><![CDATA[<p>One of the most-forgotten best practices in CSS is reusing your code when your elements aren&#8217;t exactly the same. Let&#8217;s take these two buttons as an example. We have two very similar buttons, the only difference is the background color.</p>
<p>Blue&#8230;</p>
<p><a class="blueButton">class=&#8221;blueButton&#8221;</a></p>
<p>&#8230;and orange.</p>
<p><a class="orangeButton">class=&#8221;orangeButton&#8221;</a></p>
<p>Let&#8217;s look at the CSS that it took to get us here.</p>
<pre class="brush: css">.blueButton {
    color: #ffffff;
    padding: 10px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    text-decoration: none;
    background: #5169e0;
}
.orangeButton {
    color: #ffffff;
    padding: 10px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    text-decoration: none;
    background: #dea652;
}</pre>
<p>You&#8217;ll notice that the styles for both classes are almost exactly the same, except for the background declaration.</p>
<p>This might not be a big problem if you&#8217;re running a small blog, or if you never ever plan to change the design of your buttons. But what if you want to suddenly go through and change the border-radius on all your buttons? You need to go find each and every declaration of a new button in the CSS, and hope you don&#8217;t miss one. Or just do something like this</p>
<pre class="brush: css">.button {
    color: #ffffff;
    padding: 10px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    text-decoration: none;
}
.blue {
    background: #5169e0;
}
.orange {
    background: #dea652;
}</pre>
<p><a class="blue button">class=&#8221;blue button&#8221;</a></p>
<p><a class="orange button">class=&#8221;orange button&#8221;</a></p>
<p>The buttons look exactly the same, but from a developer perspective, it is far easier to maintain.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chelseytwigg.com/2012/04/keep-it-classy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to unlock the Sprint Galaxy Nexus bootloader and avoid the &#8220;waiting for device&#8221; bug</title>
		<link>http://www.chelseytwigg.com/2012/04/how-to-unlock-the-sprint-galaxy-nexus-bootloader-and-avoid-the-waiting-for-device-bug/</link>
		<comments>http://www.chelseytwigg.com/2012/04/how-to-unlock-the-sprint-galaxy-nexus-bootloader-and-avoid-the-waiting-for-device-bug/#comments</comments>
		<pubDate>Tue, 24 Apr 2012 23:54:07 +0000</pubDate>
		<dc:creator>Chelsey</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[rooting]]></category>

		<guid isPermaLink="false">http://chelseytwigg.com/?p=83</guid>
		<description><![CDATA[I got my new Galaxy Nexus today, finally. Of course, the first thing I went to do was unlock the bootloader so I could have a proper (read: rooted) Android device. I ran into a couple of hiccups along the way, however, that didn&#8217;t seem to be common for the older Verizon version. This is [...]]]></description>
				<content:encoded><![CDATA[<p>I got my new Galaxy Nexus today, finally. Of course, the first thing I went to do was unlock the bootloader so I could have a proper (read: rooted) Android device. I ran into a couple of hiccups along the way, however, that didn&#8217;t seem to be common for the older Verizon version.</p>
<figure><img class="aligncenter size-full wp-image-107" title="waiting-for-device" src="/wp-content/uploads/2012/04/waiting-for-device.jpg" alt="" width="542" height="143" /></figure>
<p>This is the error I was getting once I got to step 10 (which wasn&#8217;t step 10 at the time) of this guide. If this looks familiar, and this is where you&#8217;re stuck, then you will need to continue from step 8.</p>
<p>This guide assumes that you&#8217;re using Windows 7.</p>
<p><strong>Step 1)</strong> Download the <strong><a href="http://org.downloadcenter.samsung.com/downloadfile/ContentsFile.aspx?CDSite=US&amp;CttFileID=5001367&amp;CDCttType=SW&amp;ModelType=null&amp;ModelName=null&amp;VPath=SW/201204/20120420215529065/Sprint_L700_Galaxy_Nexus_USB_Driver_v1.4.6.0.exe" target="_blank">Sprint Galaxy Nexus 4G LTE drivers</a></strong> (Direct link to the exe on Samsung&#8217;s site. Do <strong>not</strong> download the Verizon version). It&#8217;s a normal installer, so double-click and follow instructions as usual.</p>
<p><strong><a href="/2012/04/how-to-unlock-the-sprint-galaxy-nexus-bootloader-and-avoid-the-waiting-for-device-bug/usb-debugging/" rel="attachment wp-att-84"><img class="alignright" title="USB Debugging" src="/wp-content/uploads/2012/04/USB-Debugging-168x300.png" alt="" /></a>Step 2)</strong> Turn on USB Debugging on your Galaxy Nexus by going to Settings &gt; Developer Options &gt; USB Debugging (See screenshot to the right).</p>
<p><strong>Step 3)</strong> Download the Android SDK (to get ADB). If you&#8217;ve never installed the SDK before, follow <a href="http://wiki.cyanogenmod.com/wiki/Howto:_Install_the_Android_SDK#Windows" target="_blank">the directions on CyanogenMod&#8217;s wiki</a>.</p>
<p><strong>Step 4)</strong> Download <a href="/wordpress/wp-content/uploads/2012/04/fastboot.exe">fastboot.exe</a> (<a href="http://www.mediafire.com/download.php?9jkbuuu5z64ryy4">Alternate download</a>) and save it to C:\android-sdk-windows\platform-tools</p>
<p><strong>Step 5)</strong> Plug your phone into your computer.</p>
<p><strong>Step 6)</strong> Hold Shift and Right click in C:\android-sdk-windows\platform-tools and choose “<strong>Open Command Window Here</strong>“.</p>
<p><strong>Step 7)</strong> In the command window type:  <strong>adb reboot bootloader</strong>. This will restart your phone into the bootloader (see photo to the right). If you get “error more than one device and emulator”, try restarting your phone and doing step 7 again.<a href="/2012/04/how-to-unlock-the-sprint-galaxy-nexus-bootloader-and-avoid-the-waiting-for-device-bug/sony-dsc/" rel="attachment wp-att-86"><img class="alignright" src="/wp-content/uploads/2012/04/nexus-bootloader1-206x300.jpg" alt="" /></a></p>
<p><strong>Step 8)</strong> Your computer will attempt to reinstall drivers for the phone. If it fails, follow these directions.</p>
<p style="padding-left: 30px;"><strong>Step 8a)</strong> Go into your device manager. You should see, under &#8220;Other Devices&#8221;, something like &#8220;Android Device 1.0&#8243; &#8211; if it doesn&#8217;t show up, you might need to reboot your computer.</p>
<p style="padding-left: 30px;"><strong>Step 8b)</strong> Right-click on the device and click &#8220;Update Driver Software&#8230;&#8221;</p>
<p style="padding-left: 30px;"><strong>Step 8c)</strong> Click &#8220;Browse my computer for driver software&#8221; and then &#8220;Let me pick from a list of device drivers on my computer&#8221;</p>
<p style="padding-left: 30px;"><strong>Step 8d)</strong> Leave &#8220;Show compatible hardware&#8221; checked, and &#8220;Samsung Android ADB Interface&#8221; should show up under &#8220;Samsung&#8221;. If it shows up multiple times, click the first one (if this doesn&#8217;t work you might have to go through and pick the next one down on the list until it figures out which one it wants).</p>
<p style="padding-left: 30px;"><strong>Step 8e) </strong>Click next, click &#8220;ok&#8221; on the warning that says that the driver might not be compatible, and wait for the driver to install. It should tell you the driver was installed correctly. If it was not, you might need to repeat step 8d.</p>
<p style="padding-left: 30px;"><strong>Step 8f)</strong> Unplug your phone and reboot your computer. Once you rebooted, plug your phone back in and wait to see if it connects successfully. <strong>Your phone should still be in bootloader mode. If not, repeat step 7.</strong></p>
<p><strong>Step 9) Go back into</strong> C:\android-sdk-windows\platform-tools and reopen command window (as in Step 6).</p>
<p><strong>Step 10)</strong> Type: <strong>fastboot oem unlock. </strong>The window will say &#8220;waiting for device&#8221; so be patient. Do not press the start button on your phone.</p>
<p><strong><a href="/2012/04/how-to-unlock-the-sprint-galaxy-nexus-bootloader-and-avoid-the-waiting-for-device-bug/sony-dsc-2/" rel="attachment wp-att-89"><img class="alignright" src="/wp-content/uploads/2012/04/galaxy-nexus-bootloader-254x300.jpg" alt="" /></a>Step 11)</strong> Your screen should show something like the screenshot to the right. Use the volume keys to choose &#8220;Yes&#8221;, then press the power button to continue.</p>
<p><strong>Step 12)</strong> Congratulations! Your bootloader is unlocked. Unplug the USB cable.</p>
<p><strong>Step 14) </strong>Use the power button to select Start to reboot your device.</p>
<p><strong>Step 15) </strong>If the phone loops during boot, do <strong>not</strong> remove the battery. You may need to wait for the device to do a factory wipe before it boots.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chelseytwigg.com/2012/04/how-to-unlock-the-sprint-galaxy-nexus-bootloader-and-avoid-the-waiting-for-device-bug/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
