<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cup Full of Code</title><link>https://cupfullofcode.com/</link><description>Recent content on Cup Full of Code</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Fri, 21 Dec 2018 00:08:49 -0500</lastBuildDate><atom:link href="https://cupfullofcode.com/index.xml" rel="self" type="application/rss+xml"/><item><title>Deploying Hugo With Github Actions</title><link>https://cupfullofcode.com/blog/2018/12/21/deploying-hugo-with-github-actions/</link><pubDate>Fri, 21 Dec 2018 00:08:49 -0500</pubDate><guid>https://cupfullofcode.com/blog/2018/12/21/deploying-hugo-with-github-actions/</guid><description>&lt;p>I recently converted this site from &lt;a href="https://www.staticgen.com/hexo" target="_blank">hexo&lt;/a> to
&lt;a href="https://gohugo.io" target="_blank">hugo&lt;/a>. Hugo is fantastic but the lack of a built-in
deployment mechanism leaves much to be desired.&lt;/p></description></item><item><title>A Look at Vim and Emacs</title><link>https://cupfullofcode.com/blog/2015/03/29/a-look-at-vim-and-emacs/</link><pubDate>Sun, 29 Mar 2015 06:06:55 +0000</pubDate><guid>https://cupfullofcode.com/blog/2015/03/29/a-look-at-vim-and-emacs/</guid><description>&lt;p>On Thursday, March 26th, 2015 my friend Jacob and I presented to
&lt;a href="http://devict.org/" target="_blank">DevICT&lt;/a> on what we love about our editors of choice.
Jacob covered vim and I spoke about emacs.&lt;/p>
&lt;p>While this talk was billed as a head-to-head competition, neither Jacob nor I
had any intention of &amp;ldquo;battling it out&amp;rdquo;. Instead, we wanted to focus on what we
thought each editor excelled at, and what we in particular liked about
them.&lt;/p></description></item><item><title>Invalidate Projectile Cache on Delete</title><link>https://cupfullofcode.com/blog/2014/10/06/invalidate-projectile-cache-on-delete/</link><pubDate>Mon, 06 Oct 2014 21:36:39 +0000</pubDate><guid>https://cupfullofcode.com/blog/2014/10/06/invalidate-projectile-cache-on-delete/</guid><description>&lt;p>&lt;a href="https://github.com/bbatsov/projectile" target="_blank">Projectile&lt;/a> is a staple of my emacs
configuration. In my opinion, it is one of the all time best packages
available, along with &lt;a href="https://github.com/jwiegley/org-mode" target="_blank">org-mode&lt;/a> and
&lt;a href="https://github.com/magit/magit" target="_blank">magit&lt;/a>.&lt;/p>
&lt;p>One of my most commonly used commands with projectile is helm-projectile. This
lets me locate any file in my project by pressing &lt;code>C-c p h&lt;/code>. Using the
narrowing abilities of helm, I can quickly filter the list of options to
exactly the one I want.&lt;/p></description></item><item><title>Performing Controlled PHP Refactorings in Emacs</title><link>https://cupfullofcode.com/blog/2014/09/21/performing-controlled-php-refactorings-in-emacs/</link><pubDate>Sun, 21 Sep 2014 00:00:00 +0000</pubDate><guid>https://cupfullofcode.com/blog/2014/09/21/performing-controlled-php-refactorings-in-emacs/</guid><description>&lt;p>By day, I work as a PHP developer at
&lt;a href="http://researchsquare.com" target="_blank">Research Square&lt;/a>. My time is spent developing new
functionality for the RS suite of products. This may include working in
greenfield code bases or extending our legacy products. In either case, dozens
of times a day, I find myself performing various code refactorings.&lt;/p></description></item><item><title>Embedding Code Snippets in Org Mode</title><link>https://cupfullofcode.com/blog/2013/11/22/embedding-code-snippets-in-org-mode/</link><pubDate>Fri, 22 Nov 2013 13:15:00 +0000</pubDate><guid>https://cupfullofcode.com/blog/2013/11/22/embedding-code-snippets-in-org-mode/</guid><description>&lt;p>Without a doubt, &lt;a href="http://orgmode.org/" target="_blank">Org Mode&lt;/a> is one of the most impressive
and versatile features of Emacs. Great for writing structured documents,
managing lists and planning, and for exporting those documents into a variety
of formats, it&amp;rsquo;s my go to tool for flexible, efficient editing.&lt;/p></description></item><item><title>Generate Daily Messages With Org Journal</title><link>https://cupfullofcode.com/blog/2013/11/17/generate-daily-messages-with-org-journal/</link><pubDate>Sun, 17 Nov 2013 15:38:00 +0000</pubDate><guid>https://cupfullofcode.com/blog/2013/11/17/generate-daily-messages-with-org-journal/</guid><description>&lt;p>One of the requirements of my job is to send out a daily message. This message
should summarize what I did the day before, and what I hope to accomplish for
the current day. At first, I would spend my day jumping from task to task, and
then the next morning, I would rack my brain to make sure I included all the
things I worked on.&lt;/p></description></item><item><title>Efficient Command Line Navigation</title><link>https://cupfullofcode.com/blog/2013/07/03/efficient-command-line-navigation/</link><pubDate>Wed, 03 Jul 2013 19:36:00 +0000</pubDate><guid>https://cupfullofcode.com/blog/2013/07/03/efficient-command-line-navigation/</guid><description>&lt;p>I live on the command line. Between &lt;a href="http://www.vim.org/" target="_blank">vim&lt;/a>,
&lt;a href="http://tmux.sourceforge.net/" target="_blank">tmux&lt;/a>, and &lt;a href="http://xmonad.org/" target="_blank">xmonad&lt;/a>, there
isn&amp;rsquo;t much I have to use the mouse for these days. Given my love for keyboard
navigation, it only makes sense that I learn as many of the command line
shortcuts available as possible. Here I detail some of the most helpful
navigation tricks, and those I use on a daily basis.&lt;/p></description></item><item><title>Snippet Expansion with YASnippet</title><link>https://cupfullofcode.com/blog/2013/02/26/snippet-expansion-with-yasnippet/</link><pubDate>Tue, 26 Feb 2013 11:35:00 +0000</pubDate><guid>https://cupfullofcode.com/blog/2013/02/26/snippet-expansion-with-yasnippet/</guid><description>&lt;p>Any editor worth its salt has some provision for text snippet
expansion. TextMate, Vim, and Sublime Text 2 all have this capability and Emacs
is certainly no exception. If you&amp;rsquo;re not familiar with the concept of snippets,
the basic idea involves defining a keyword, which when followed with some
trigger (keyboard shortcut or menu option), replaces that keyword with some
predefined text. This functionality is a great boost to productivity as it
prevents the developer from having to manually type potentially hundreds or
thousands of lines of relatively boilerplate code.&lt;/p></description></item><item><title>Automation with GNU Screen and SSH</title><link>https://cupfullofcode.com/blog/2013/01/08/automation-with-gnu-screen-and-ssh/</link><pubDate>Tue, 08 Jan 2013 13:38:00 +0000</pubDate><guid>https://cupfullofcode.com/blog/2013/01/08/automation-with-gnu-screen-and-ssh/</guid><description>&lt;p>As a developer, I tend to prefer automation whenever possible. Hours of your
life are lost in the minutes spent doing that which could easily be
scripted. The classic rule of thumb I try to follow is &amp;ldquo;if you have to do it
twice, automate it.&amp;rdquo;&lt;/p></description></item><item><title>Dancing Code Monkey</title><link>https://cupfullofcode.com/blog/2013/01/05/dancing-code-monkey/</link><pubDate>Sat, 05 Jan 2013 23:09:00 +0000</pubDate><guid>https://cupfullofcode.com/blog/2013/01/05/dancing-code-monkey/</guid><description>&lt;p>A few months ago, I started playing around with Emacs. For roughly six years
prior to that, I was a die-hard Vim fan. Vim will always hold a special place
in my heart, but I have grown to love Emacs. I&amp;rsquo;ll undoubtedly cover Emacs in
more detail, but I&amp;rsquo;ll leave that for other posts.&lt;/p></description></item><item><title>Negation and De Morgan's Law</title><link>https://cupfullofcode.com/blog/2011/09/01/negation-and-de-morgans-law/</link><pubDate>Thu, 01 Sep 2011 00:00:00 +0000</pubDate><guid>https://cupfullofcode.com/blog/2011/09/01/negation-and-de-morgans-law/</guid><description>&lt;p>Undoubtedly, your grade school grammar teacher has scolded you at one point or
another for your inadvertent use of a double negative. Statements such as “I
don’t know nothing about physics”, while grammatically incorrect, are often
semantically inaccurate as well. While the previous statement would commonly
be understood to mean the person possesses no knowledge of physics, the actual
statement implies the opposite, that the preposition “I know nothing about
physics” is incorrect. Certainly your teacher offered sound advice and one
would be wise to heed such instruction.&lt;/p></description></item><item><title>About Me</title><link>https://cupfullofcode.com/about/</link><pubDate>Tue, 30 Aug 2011 00:00:00 +0000</pubDate><guid>https://cupfullofcode.com/about/</guid><description>Living in the Raleigh-Durham area, I work on the SDK squad at LaunchDarkly. In addition to my full time job, I also own Tortugas Consulting, LLC.
I share my life with my wonderful wife Whitney and two beautiful daughters, Madeline and Emily.</description></item></channel></rss>