About

Blog

git cherry-pick

2013-05-10

Copy git commits from one branch to another with git cherry-pick.

Seriously? An orphaned word in the headline on the homepage of...

2013-05-08



Seriously? An orphaned word in the headline on the homepage of an essentially one-page website?

Remote workstation

2013-04-16

I want my development environment to be running on linux in a VM on AWS.

Logo stickers for stationery

2013-04-16

Great idea from MARK:

Semantic Web

2013-04-12

The debate between AngularJS and Backbone.js raging in my mind got me thinking…

There are basically two different types of sites: a content-delivering website and an app. The markup for content sites ought to be semantic and well-formed, aiding in the distribution and consumption of its content. It gives meaning to content regardless of how it’s presented.

But apps, where the focus is function and not static content, have no need for semantic markup. In this context the main role of HTML, contrary to what it began as, is presentation. It is design that gives everything meaning, not the markup that you don’t see. This is because the consumer is always a human, and humans don’t care about markup, they only care about what they see.

Angular is a step back in semantic markup. It’s basically pretty inline JavaScript. It adds nothing to the meaning of content. However, it’s great for developers and subsequently the consumers of apps.

Complete guide to domains and DNS

2013-04-12

Complete guide to domains and DNS:

Pretty much all you need to know: CNAME records, A records, and why you shouldn’t use apex domains.

Moving modified files to a different git branch

2013-04-12

Occasionally I will think I am in one branch but am actually in another, and then, double-checking which branch I’m in before I commit, I realize I’m in the wrong branch. Fortunately, this is an easy fix:

  1. Stash your changes.
  2. Go to the desired branch.
  3. Apply the stash.
git stash
git checkout [correct branch]
git stash apply

Amend your commit with git

2013-04-05

If you left out some files from a commit or modified some files after a commit, but it’s more appropriate to include these changes in the currently staged commit rather than making a new commit, you can amend the commit, adding these extraneous files.

  1. Stage the forgotten/modified files (git add)
  2. Add them to the current commit with current commit message:
    git commit --amend -C HEAD
    or with a new message:
    git commit --amend -m "Your message."

Hate orphans? Me too.

2013-04-05

Hate orphans? Me too.:

Join me in the good fight to purge our world of orphans. Typographical orphans that is. Using jQuery.

Humbug.

Dammit, Obama.

2013-02-11



Dammit, Obama.

GitHub commits for robertpittsdesign.com

431fc9c @ 4/22
Switched to bootstrap.min.
9d47ec8 @ 4/11
Changed font.
b041d02 @ 4/4
Limit tumblr rss feed to 10 posts.
c0ed240 @ 4/4
Contact page update.
6258158 @ 4/4
Added tumblr rss feed.
6950b62 @ 4/4
Styling changes.
1193d6e @ 1/22
About page update.
7507d4c @ 11/19
Small content update.
7cef4ce @ 11/19
Changed time offset on git commit list and removed time of day.
93a2d6e @ 11/16
Made CV description html_safe.

See more of the action...

New Product Launch

Outreach

A multi-tenant application for (easily) making and maintaining church websites.

About this site

Technologies and gems utilized

  • Ruby on Rails
  • MongoDB
  • Mongoid
  • HAML
  • SASS
  • jQuery
  • Decent Exposure
  • Octokit
  • Hashie
  • Heroku
  • GitHub
  • GitHub API (for the list of GitHub commits)
  • Bootstrap
  • Photoshop (for mockups)

Responsive design

I have made this site with a responsive design, catering to multiple screen sizes. Resize your browser window and see how it changes as it gets smaller. If you're reading this on your phone go to a computer.

Please explore

You will see that I've demonstrated many of my abilities in this site alone. Also, check out the GitHub repo for this site—it's public.