Turing's main repository of tutorials and projects
HTML JavaScript CSS Ruby
Latest commit 5ecc4bf Sep 12, 2016 @bethsebian bethsebian committed on GitHub Update headcount.markdown
Permalink
Failed to load latest commit information.
.themes/classic Fix top margin in article#main Apr 11, 2014
archive Rake Preview / Generate error cleanup Apr 9, 2013
art Adding dynamic links to source on github Jan 17, 2012
plugins More highlight debugging Sep 8, 2016
public More names out Sep 8, 2016
sass Copy md files for presentation generation Apr 25, 2014
source Update headcount.markdown Sep 12, 2016
.gitignore Just pre-build manually locally before deployment Sep 8, 2016
.powrc Adding .powrc to allow RVM to work when POW is updated to version 0.4… Nov 12, 2012
.rbenv-version bumped rbenv version fixing #743 Nov 12, 2012
.ruby-gemset Added a specific gemset file for the curriculum. Would require a bund… May 2, 2013
.ruby-version Loosen up patch level requirement on .ruby-version Feb 10, 2014
.slugignore we need this stuff on the slug Nov 13, 2012
.travis.yml Add travis config Nov 12, 2012
Gemfile Setup for Rack-Jekyll Sep 8, 2016
Gemfile.lock Setup for Rack-Jekyll Sep 8, 2016
Procfile set up to get served by puma Nov 13, 2012
README.markdown Added a note about Redis Dec 21, 2013
Rakefile Remove old gSchool generator from Rakefile Mar 24, 2014
_config.yml Setup for Rack-Jekyll Sep 8, 2016
config.rb Disable useless, annoying messages from Compass, one of my least favo… Dec 21, 2013
config.ru Just pre-build manually locally before deployment Sep 8, 2016
problematic_factories_tutorial.markdown Getting rid of Apr 8, 2013
server.rb Just pre-build manually locally before deployment Sep 8, 2016

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