Skip to content

Instantly share code, notes, and snippets.

@mikesjewett
mikesjewett / jekyll_troubleshooting.md
Created December 18, 2013 00:12
Jekyll troubleshooting

Ran into a minor problem installing Jekyll. Not sure why it happened, but here's the situation and the fix:

➜  code  sudo gem install jekyll
Password:
Building native extensions.  This could take a while...
ERROR:  Error installing jekyll:
	ERROR: Failed to build gem native extension.

 /Users/mike/.rvm/rubies/ruby-2.0.0-p0/bin/ruby extconf.rb
@mikesjewett
mikesjewett / jekyll_github_pages.md
Last active December 31, 2015 16:39
Creating a Jekyll blog hosted by Github Pages

After installing Jekyll, create a repo named username.github.io in your Github account. (username is your Github username). Then go to your terminal:

➜  code  jekyll new username.github.io
➜  code  cd username.github.io
➜  code  git init
➜  code  git add .
➜  code  git commit -m 'First commit'
➜  code  git remote add origin [email protected]:username/username.github.io.git
➜ code git push -u origin master
@mikesjewett
mikesjewett / collaborative_blog.md
Last active August 29, 2015 14:04
The collaborative blog project

Purpose

Build a collaborative blog application that allows multiple users to contribute blogs under their own names.

Use Case

This is the first project for the Bloc Alumni Hacker's Club. The first group of about 6 members would like to collaboratively build a blog application to which they can all contribute.

Requirements

@mikesjewett
mikesjewett / non-programmers-cli-guide.md
Last active August 29, 2015 14:05
A non-programmer's guide to the command line

Why would you want to use the command line?

  1. It's cool, and people will think you're smart.
  2. Once you learn some basic commands, you'll be more efficient in it than in a visual directory.
  3. If you ever want to learn to code, you'll need to be comfortable on the command line, so you might as well start now.

How do you open the command line?

  • Mac users can use the Terminal program, which comes with OSX. Open the Terminal by typing "Terminal" into Spotlight.