Skip to content
This repository

All of Jumpstart Lab's tutorials and curriculum that we teach.

Octocat-spinner-32 .themes Fix top margin in article#main
Octocat-spinner-32 archive Rake Preview / Generate error cleanup
Octocat-spinner-32 art Adding dynamic links to source on github
Octocat-spinner-32 plugins Fix extra space in line numbers
Octocat-spinner-32 sass Show back when screen
Octocat-spinner-32 source Adding Survey link for chefconf
Octocat-spinner-32 .gitignore Moving today's content to the proper file
Octocat-spinner-32 .powrc Adding .powrc to allow RVM to work when POW is updated to version 0.4…
Octocat-spinner-32 .rbenv-version bumped rbenv version fixing #743
Octocat-spinner-32 .ruby-gemset Added a specific gemset file for the curriculum. Would require a bund…
Octocat-spinner-32 .ruby-version Loosen up patch level requirement on .ruby-version
Octocat-spinner-32 .slugignore we need this stuff on the slug
Octocat-spinner-32 .travis.yml Add travis config
Octocat-spinner-32 Gemfile Remove space line in tableize method
Octocat-spinner-32 Gemfile.lock Revert "Using Rembrandt for syntax highlighting"
Octocat-spinner-32 Procfile set up to get served by puma
Octocat-spinner-32 README.markdown Added a note about Redis
Octocat-spinner-32 Rakefile Remove old gSchool generator from Rakefile
Octocat-spinner-32 _config.yml No more yoursite.com
Octocat-spinner-32 config.rb Disable useless, annoying messages from Compass, one of my least favo…
Octocat-spinner-32 config.ru Initial Commit
Octocat-spinner-32 deploying_java_applications.html Add html version of elevate slides
Octocat-spinner-32 problematic_factories_tutorial.markdown Getting rid of
Octocat-spinner-32 server.rb Dependencies how do they work
Octocat-spinner-32 systems_setup.markdown-cleaver.html Roughed-in the environment variables section
README.markdown

Jumpstart Lab Curriculum

Build Status

Authoring and Editing Content

Setup

The code highlighting used throughout the tutorials is colorized by an external site. The colorized results are stored in Redis locally. So to work with this site effectively, you'll want to have Redis installed. The first time you generate the site it'll be slow as the fragments are being cached, but future generate processes should be quite fast.

View

bundle exec rake preview

Generates the content and then lauches a Sinatra web application.

In your browser visit localhost:4000 or execute open http://localhost:4000 to lauch the browser.

Note: This project contains a lot of content so the initial generation will delay the initial startup of the webservice for a few seconds. Saved changes to the content will cause Jekyll to re-generate all of the content causing a delay before it is displayed in the browser. Ensure any caching is disabled.

Custom Page Attributes

Sidebar - Table of Contents

You can automatically enable a Table of Contents for long pieces of content. This sidebar will place all h2 elements (generated from ## markdown) as linkable references.

An example:

---
layout: page
title: Object Oriented Javascript
sidebar: true
---

Custom Tags

{% terminal %} CODE {% endterminal %}

Generates the text inside of a OSX styled terminal window.

Lines that are commands are prefaced with a $. Lines without are treated as output.

{% terminal %} $ ruby -v ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.4.0] {% endterminal %}

{% irb %} CODE {% endirb %}

Generates the text inside of a OSX styled IRB window

Lines that are commands are prefaced with a $. Linesk without are treated as output.

{% irb %} $ 1 + 1 2 {% endirb %}

{% page_url filename-of-content %}

The page_url tag allows you to link to content without regard to knowing the relative or absolute path to the content item from the current item that you are editing.

### Great Javascript Tutorials

{% page_url 1-javascript-in-the-page %}
{% page_url 2-javascript-basics.markdown %}
{% page_url 3-dom-basics.html %}
  • The resulting link will use the title of the linked document
  • The extension of the file is ignored

{% section path/to/content.markdown path/to/image-to-display.png Title of Section %}

This tag will generate a special section layout which will embed the specified markdown content file in the page with an image and a special title.

Online

Visit http://tutorials.jumpstartlab.com

License

Unless otherwise noted, all materials licensed Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Creative Commons License

Something went wrong with that request. Please try again.