<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>twocentstudios</title>
    <description>A coding blog covering iOS, Swift, and other programming topics.</description>
    <link>https://twocentstudios.com/blog/tags/blog/index.html</link>
    <atom:link href="https://twocentstudios.com/blog/tags/blog/feed.xml" rel="self" type="application/rss+xml"/>
    <pubDate>Sun, 01 Feb 2026 00:12:37 -0600</pubDate>
    <lastBuildDate>Sun, 01 Feb 2026 00:12:37 -0600</lastBuildDate>
    <generator>Jekyll v3.9.3</generator>
    
      <item>
        <title>Site Makeover and Jekyll Cheatsheet</title>
        <description>&lt;p&gt;I took a few days to migrate my blog from &lt;a href=&quot;http://octopress.org/&quot;&gt;Octopress&lt;/a&gt; to &lt;a href=&quot;https://jekyllrb.com/&quot;&gt;Jekyll&lt;/a&gt;. Octopress is an opinionated fork based on Jekyll so it wasn’t too crazy. There were a couple hangups though, mostly due to the fact that I never bothered to learn how a lot of the magic of Octopress worked.&lt;/p&gt;

&lt;p&gt;The major changes are:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The blog root is no longer at &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/blog&lt;/code&gt;. I had to add redirect pages with the jekyll-redirect-from plugin.&lt;/li&gt;
  &lt;li&gt;The root isn’t a single page site like the previous version.&lt;/li&gt;
  &lt;li&gt;I ditched the heavy green background for a cleaner white.&lt;/li&gt;
  &lt;li&gt;I removed the special Octopress syntax highlighting in favor of Jekyll’s default.&lt;/li&gt;
  &lt;li&gt;The only plugin I’ve kept is caption_image_tag, which unfortunately makes it so I can’t have github generate the site for me.&lt;/li&gt;
  &lt;li&gt;I had to write my own simple deploy script to handle pushing the rendered site to the master branch and the source to the source branch on each change.&lt;/li&gt;
  &lt;li&gt;I modified the CSS from the base Jekyll config, bringing over a few styles from the previous blog.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I’m hoping getting a streamlined workflow will encourage me to blog about topics both large and small in scope.&lt;/p&gt;

&lt;h3 id=&quot;creating-and-deploying&quot;&gt;Creating and deploying&lt;/h3&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&amp;gt; $ cd twocentstudios
&amp;gt; $ ./new.sh Why I&apos;ve Decided To Blog More About Blogging
&amp;gt; $ git add .
&amp;gt; $ git commit -m &quot;Add post&quot;
&amp;gt; $ ./deploy.sh
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h3 id=&quot;jekyll-basics&quot;&gt;Jekyll basics&lt;/h3&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&amp;gt; $ jekyll build
&amp;gt; $ jekyll serve
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</description>
        <pubDate>Tue, 27 Oct 2015 16:56:36 -0500</pubDate>
        <link>https://twocentstudios.com/2015/10/27/site-makeover-and-jekyll-cheatsheet/</link>
        <guid isPermaLink="true">https://twocentstudios.com/2015/10/27/site-makeover-and-jekyll-cheatsheet/</guid>
        
        <category>blog</category>
        
        
      </item>
    
      <item>
        <title>New Home</title>
        <description>&lt;p&gt;This is my first post on the github servers.&lt;/p&gt;

&lt;p&gt;After my back and forth post almost a year ago on where I should host all my web stuff, everything kind of fell into place.&lt;/p&gt;

&lt;p&gt;A programming blog doesn’t have much overhead, so when I came across github pages, I realize that this was the perfect solution. Pair it with octopress, and it’s got that hacker feel without having to admin and pay for an entire server or VPS.&lt;/p&gt;

&lt;p&gt;And it definitely has that hacker feel to it. What with all the multi-computer, RVM install problems, SSHing, GCC/LLVM, proxy files, domain name servers, email servers, etc., it took bursts of work on this thing over the course of several months to get it off the ground. It’s been a good learning experience though, and with the career path I want to head towards, it’s definitely necessary to keep rolling with this.&lt;/p&gt;

&lt;p&gt;I love the simplicity of tumblr sometimes, but I’m glad I’ve got octopress all set up.&lt;/p&gt;
</description>
        <pubDate>Sun, 11 Mar 2012 15:28:00 -0500</pubDate>
        <link>https://twocentstudios.com/2012/03/11/new-home/</link>
        <guid isPermaLink="true">https://twocentstudios.com/2012/03/11/new-home/</guid>
        
        <category>blog</category>
        
        
      </item>
    
      <item>
        <title>My Jekyll/Octopress Cheatsheet</title>
        <description>&lt;p&gt;This is my first Jekyll post. And as such, it seems fitting to cram all these new commands into a cheat sheet post so I can take my time learning them (and I don’t have to search through just a few pages of documentation).&lt;/p&gt;

&lt;h3 id=&quot;pushing-changes-to-the-blog-source&quot;&gt;Pushing Changes to the Blog Source&lt;/h3&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;	cd octopress
	git add .
	git commit -m &apos;modded blog source&apos;
	git push origin source
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h3 id=&quot;creating-new-posts&quot;&gt;Creating New Posts&lt;/h3&gt;

&lt;p&gt;New posts are created it in the source/_posts directory.&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;	rake new_post[&quot;title&quot;]
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h3 id=&quot;adding-categories&quot;&gt;Adding Categories&lt;/h3&gt;

&lt;p&gt;Categories are defined in the yaml header.&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;	# One category
	categories: one

	# Multiple categories
	categories: [one, two, three]
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h3 id=&quot;draft-posts&quot;&gt;Draft Posts&lt;/h3&gt;

&lt;p&gt;Add the following to the yaml header.&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;	published: false
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h3 id=&quot;images&quot;&gt;Images&lt;/h3&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;	{% caption_img /images/image_name.jpg Caption for the image %}
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h3 id=&quot;syntax-highlightling&quot;&gt;Syntax Highlightling&lt;/h3&gt;

&lt;p&gt;Surround normal code blocks with:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;	{% codeblock Title or something (FileName.m) lang:objc %}
		code here
	{% endcodeblock %}
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h3 id=&quot;generate--preview&quot;&gt;Generate &amp;amp; Preview&lt;/h3&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;	rake generate   # Generates posts and pages into the public directory
	rake watch      # Watches source/ and sass/ for changes and regenerates
	rake preview    # Watches, and mounts a webserver at http://localhost:4000
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h3 id=&quot;generate--deploy&quot;&gt;Generate &amp;amp; Deploy&lt;/h3&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;	rake generate
	rake deploy
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</description>
        <pubDate>Tue, 27 Dec 2011 21:26:00 -0600</pubDate>
        <link>https://twocentstudios.com/2011/12/27/my-jekyll-slash-octopress-cheatsheet/</link>
        <guid isPermaLink="true">https://twocentstudios.com/2011/12/27/my-jekyll-slash-octopress-cheatsheet/</guid>
        
        <category>blog</category>
        
        
      </item>
    
  </channel>
</rss>
