<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Graphics | Distributed | Simulation</title>
    <description>A Technical Blog</description>
    <link>http://blog.harmonymli.com</link>
    <atom:link href="http://blog.harmonymli.com/feed.xml" rel="self" type="application/rss+xml" />
    
      <item>
        <title>Blogging with Jekyll on Github &amp;#58; Setting Up Custom Domains</title>
        <description>&lt;p&gt;Over the past week, I have been attempting to set up my Jekyll blog to be
configured correctly.  While it is a bit meta to be blogging about how I got
my blog set up, there are a couple caveats in Jekyll worth mentioning for
anyone who is attempting to create or set up a Jekyll blog via Github pages.&lt;/p&gt;

&lt;p&gt;For the most part, blogging with Jekyll on Github is very straight
forward.  This is even more true with resources like &lt;a href=&quot;http://github.com/barryclark/jekyll-now&quot;&gt;Jekyll
Now&lt;/a&gt; which allow first time
Jekyll-Github users to set up their blogs in under 10 minutes.  For more
advanced users, it boasts a detailed and clearly written README to help
navigate through the initial hurdle of setting up, allowing you to focus on
customization and content delivery.  However, things start to go haywire once
we attempt to configure Jekyll to work with subdomains or Github project
pages.&lt;/p&gt;

&lt;h2 id=&quot;configuring-usernamegithubio-for-an-apex-domain&quot;&gt;Configuring username.github.io for an apex domain&lt;/h2&gt;

&lt;p&gt;This is, perhaps, the most straight forward. Let’s say you have an apex domain
like example.com.&lt;/p&gt;

&lt;p&gt;GitHub: Add a CNAME file to your GitHub username.github.io repository.&lt;/p&gt;

&lt;p&gt;DNS Provider: Add either a) an A record that points to the following IP
addresses:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;highlighter-rouge&quot;&gt;192.30.252.153&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;highlighter-rouge&quot;&gt;192.30.252.154&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;or b) an ALIAS record that points to username.github.io.&lt;/p&gt;

&lt;h2 id=&quot;configuring-usernamegithubio-for-a-subdomain&quot;&gt;Configuring username.github.io for a subdomain&lt;/h2&gt;

&lt;p&gt;Like the former configuration, you will need to first add a CNAME file to your
repository.  The contents will be the subdomain url.  For example,
‘blog.example.com’ or ‘www.example.com’.&lt;/p&gt;

&lt;p&gt;NOTE:  If you configure username.github.io to have a CNAME for your apex domain
(example.com), the ‘www’ subdomain will also redirect properly to
username.github.io.&lt;/p&gt;

&lt;p&gt;DNS Provider: Add a CNAME record that points to &lt;code class=&quot;highlighter-rouge&quot;&gt;username.github.io&lt;/code&gt;&lt;/p&gt;

&lt;h2 id=&quot;configuring-project-pages-for-an-apex-domain&quot;&gt;Configuring project pages for an apex domain&lt;/h2&gt;

&lt;p&gt;Configuring project pages for an apex domain works similarly to configuring
username.github.io for an apex domain.  Remember that the &lt;code class=&quot;highlighter-rouge&quot;&gt;gh-pages&lt;/code&gt; branch is
served as the webpage, whereas the rest of the branches are left untouched.  So
everything you do must be committed to the &lt;code class=&quot;highlighter-rouge&quot;&gt;gh-pages&lt;/code&gt; branch.&lt;/p&gt;

&lt;h2 id=&quot;configuring-project-pages-for-a-subdomain&quot;&gt;Configuring project pages for a subdomain&lt;/h2&gt;

&lt;p&gt;Like configuring username.github.io for a subdomain, you will need to add a
CNAME record on your GitHub repository and on your DNS provider.  If you
previously had your &lt;code class=&quot;highlighter-rouge&quot;&gt;baseurl&lt;/code&gt; property set to the repository name such as
&lt;code class=&quot;highlighter-rouge&quot;&gt;blog/&lt;/code&gt;, make sure you change the &lt;code class=&quot;highlighter-rouge&quot;&gt;baseurl&lt;/code&gt; to the new subdomain URL that you
plan to use.  Otherwise, your content will not serve correctly.&lt;/p&gt;

&lt;h2 id=&quot;useful-links&quot;&gt;Useful links:&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://help.github.com/articles/setting-up-a-custom-domain-with-github-pages/&quot;&gt;GitHub: Setting up a custom domain with GitHub Pages&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://help.github.com/articles/tips-for-configuring-an-a-record-with-your-dns-provider/&quot;&gt;GitHub: Tips for configuring an A record with your DNS provider&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://help.github.com/articles/tips-for-configuring-a-cname-record-with-your-dns-provider/&quot;&gt;GitHub: Tips for configuring a CNAME record with your DNS provider&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://help.github.com/articles/my-custom-domain-isn-t-working/&quot;&gt;GitHub: Troubleshooting custom domains&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;tips&quot;&gt;TIPS:&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;DNS settings take a while to propagate, you can check to see if they are pointing at the desired IP addresses by using the dig command (&lt;code class=&quot;highlighter-rouge&quot;&gt;dig username.github.io&lt;/code&gt;)&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Project pages are served from the &lt;code class=&quot;highlighter-rouge&quot;&gt;gh-pages&lt;/code&gt; branches, so make sure all your project website pages are commited to the gh-pages branch&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Happy blogging!&lt;/p&gt;
</description>
        <pubDate>Wed, 03 Dec 2014 00:00:00 +0000</pubDate>
        <link>http://blog.harmonymli.com//2014/12/Blogging-With-Jekyll-Setting-Up.html</link>
        <guid isPermaLink="true">http://blog.harmonymli.com//2014/12/Blogging-With-Jekyll-Setting-Up.html</guid>
      </item>
    
      <item>
        <title>Introduction</title>
        <description>&lt;p&gt;Welcome to my technical blog.  Over the years, I’ve amassed more notes in my
Moleskines than are ever truly comprehendible a month, let alone a year
later.  At the encouragement of a few friends and former classmates, I am
starting a blog in hopes to organize a bit of what I’ve learned whilst
coding, in whatever shape or form it may be.&lt;/p&gt;

&lt;p&gt;Whether you have stumbled upon this blog by random chance or are looking for
some more information in relation to some of the projects I have done, I hope
that something here will help you.  If you are here because of the latter
reason, feel free to reach out to me if any of what I have written does not make
sense, or if there are additional comments or corrections you may have.
Happy browsing!&lt;/p&gt;
</description>
        <pubDate>Wed, 26 Nov 2014 00:00:00 +0000</pubDate>
        <link>http://blog.harmonymli.com//2014/11/Introduction.html</link>
        <guid isPermaLink="true">http://blog.harmonymli.com//2014/11/Introduction.html</guid>
      </item>
    
  </channel>
</rss>
