Skip to content

Commit 14d9be2

Browse files
committed
Initial commit of repo files
1 parent a3bf76d commit 14d9be2

25 files changed

+3384
-0
lines changed

Gemfile

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# A sample Gemfile
2+
source "https://rubygems.org"
3+
4+
gem "compass"
5+
gem "modular-scale"
6+
gem "jekyll"
7+

Gemfile.lock

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
chunky_png (1.2.8)
5+
classifier (1.3.3)
6+
fast-stemmer (>= 1.0.0)
7+
colorator (0.1)
8+
commander (4.1.5)
9+
highline (~> 1.6.11)
10+
compass (0.12.2)
11+
chunky_png (~> 1.2)
12+
fssm (>= 0.2.7)
13+
sass (~> 3.1)
14+
directory_watcher (1.4.1)
15+
fast-stemmer (1.0.2)
16+
fssm (0.2.10)
17+
highline (1.6.20)
18+
jekyll (1.2.1)
19+
classifier (~> 1.3)
20+
colorator (~> 0.1)
21+
commander (~> 4.1.3)
22+
directory_watcher (~> 1.4.1)
23+
liquid (~> 2.5.2)
24+
maruku (~> 0.5)
25+
pygments.rb (~> 0.5.0)
26+
redcarpet (~> 2.3.0)
27+
safe_yaml (~> 0.7.0)
28+
liquid (2.5.3)
29+
maruku (0.7.0)
30+
modular-scale (1.0.6)
31+
compass (>= 0.12.1)
32+
sass (>= 3.2.0)
33+
sassy-math (>= 1.5)
34+
posix-spawn (0.3.6)
35+
pygments.rb (0.5.2)
36+
posix-spawn (~> 0.3.6)
37+
yajl-ruby (~> 1.1.0)
38+
redcarpet (2.3.0)
39+
safe_yaml (0.7.1)
40+
sass (3.2.12)
41+
sassy-math (1.5)
42+
compass (~> 0.11)
43+
yajl-ruby (1.1.0)
44+
45+
PLATFORMS
46+
ruby
47+
48+
DEPENDENCIES
49+
compass
50+
jekyll
51+
modular-scale

_config.yml

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
name: OpenTechSchool
2+
markdown: redcarpet
3+
pygments: true
4+
encoding: UTF-8
5+
permalink: none
6+
7+
exclude: ['bower_components', 'sass', 'config.rb', 'gumby.json',
8+
'Gemfile', 'Gemfile.lock']
9+
10+
11+
sections:
12+
- name: Python
13+
workshops:
14+
- title: Python for Beginners
15+
url: http://opentechschool.github.io/python-beginners/
16+
source: https://github.com/OpenTechSchool/python-beginners/
17+
code: false
18+
desc: A tutorial for complete newbies, to help them get their feet
19+
wet in programming.
20+
- title: Introducing web apps with Flask
21+
url: http://opentechschool.github.io/python-flask/
22+
source: https://github.com/OpenTechSchool/python-flask/
23+
code: https://github.com/OpenTechSchool/python-flask-code
24+
desc: So you wanna get dynamic, huh? Crafting up responsive web apps
25+
isn't hard with the Flask library for Python.
26+
- title: Data Processing with Python
27+
url: http://opentechschool.github.io/python-data-intro/
28+
source: https://github.com/OpenTechSchool/python-data-intro/
29+
code: false
30+
desc: Designed to release you from the chains of Excel, learn how to
31+
manipulate and graph data with python, for great insight!
32+
- title: Django 101
33+
url: http://django-marcador.keimlink.de/
34+
source: https://bitbucket.org/keimlink/django-marcador/
35+
code: false
36+
desc: Django is a full-featured framework for writing python web
37+
applications quickly. Learn how to utilize its power!
38+
- name: Javascript
39+
workshops:
40+
- title: Javascript, Day 1
41+
url: http://opentechschool.github.io/js-beginners-4h-workshop-1/
42+
source: https://github.com/OpenTechSchool/js-beginners-4h-workshop-1/
43+
code: false
44+
desc: Beginning your path to becoming a javascript ninja.
45+
- title: Javascript, Day 2
46+
url: http://opentechschool.github.io/js-beginners-day2/
47+
source: https://github.com/OpenTechSchool/js-beginners-day2/
48+
code: false
49+
desc: Continuing on your path to becoming a javascript ninja.
50+
- name: Web Development
51+
workshops:
52+
- title: Starting HTML & CSS
53+
url: http://opentechschool.github.io/html-css-beginners/
54+
source: https://github.com/OpenTechSchool/html-css-beginners/
55+
code: false
56+
desc: 'A first foray into learning the languages of the web:
57+
HTML and CSS.'
58+
- title: Advanced CSS
59+
url: http://opentechschool.github.io/advanced-css/
60+
source: https://github.com/OpenTechSchool/advanced-css/
61+
code: false
62+
desc: How frontend professionals come up with amazing sites in no time.
63+
- name: Tools
64+
workshops:
65+
- title: Social coding with Git & Github
66+
url: http://opentechschool.github.io/social-coding/
67+
source: https://github.com/OpenTechSchool/social-coding/
68+
code: https://github.com/OpenTechSchool/underground/
69+
desc: Learning to use git to make coding a communal experience!

_layouts/ots.html

+85
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
<!doctype html>
2+
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
3+
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
4+
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
5+
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
6+
<!--[if IE 9]> <html class="no-js ie9" lang="en"> <![endif]-->
7+
<!-- Consider adding an manifest.appcache: h5bp.com/d/Offline -->
8+
<!--[if gt IE 9]><!--> <html class="no-js" lang="en" itemscope="" itemtype="http://schema.org/Product"> <!--<![endif]-->
9+
<head>
10+
<meta charset="utf-8">
11+
12+
<!-- Use the .htaccess and remove these lines to avoid edge case issues.
13+
More info: h5bp.com/b/378 -->
14+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
15+
16+
<title>{{ site.name }} :: {{ page.title}}</title>
17+
<meta name="description" content="OpenTechSchool Learning Materials">
18+
<meta name="keywords" content="">
19+
<meta name="author" content="humans.txt">
20+
21+
<link rel="shortcut icon" href="favicon.png" type="image/x-icon">
22+
23+
<!-- Facebook Metadata /-->
24+
<meta property="fb:page_id" content="">
25+
<meta property="og:image" content="">
26+
<meta property="og:description" content="">
27+
<meta property="og:title" content="">
28+
29+
<!-- Google+ Metadata /-->
30+
<meta itemprop="name" content="">
31+
<meta itemprop="description" content="">
32+
<meta itemprop="image" content="">
33+
34+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
35+
36+
<!-- We highly recommend you use SASS and write your custom styles in sass/_custom.scss.
37+
However, there is a blank style.css in the css directory should you prefer -->
38+
<link rel="stylesheet" href="css/gumby.css">
39+
<!-- <link rel="stylesheet" href="css/style.css"> -->
40+
41+
<script src="js/libs/modernizr-2.6.2.min.js"></script>
42+
</head>
43+
44+
<body>
45+
46+
{{ content }}
47+
48+
<!-- Grab Google CDN's jQuery, fall back to local if offline -->
49+
<!-- 2.0 for modern browsers, 1.10 for .oldie -->
50+
<script>
51+
var oldieCheck = Boolean(document.getElementsByTagName('html')[0].className.match(/\soldie\s/g));
52+
if(!oldieCheck) {
53+
document.write('<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"><\/script>');
54+
} else {
55+
document.write('<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"><\/script>');
56+
}
57+
</script>
58+
<script>
59+
if(!window.jQuery) {
60+
if(!oldieCheck) {
61+
document.write('<script src="js/libs/jquery-2.0.2.min.js"><\/script>');
62+
} else {
63+
document.write('<script src="js/libs/jquery-1.10.1.min.js"><\/script>');
64+
}
65+
}
66+
</script>
67+
68+
<script src="js/gumby.min.js"></script>
69+
<!-- Change UA-XXXXX-X to be your site's ID -->
70+
<!--<script>
71+
window._gaq = [['_setAccount','UAXXXXXXXX1'],['_trackPageview'],['_trackPageLoadTime']];
72+
Modernizr.load({
73+
load: ('https:' == location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js'
74+
});
75+
</script>-->
76+
77+
<!-- Prompt IE 6 users to install Chrome Frame. Remove this if you want to support IE 6.
78+
chromium.org/developers/how-tos/chrome-frame-getting-started -->
79+
<!--[if lt IE 7 ]>
80+
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
81+
<script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
82+
<![endif]-->
83+
84+
</body>
85+
</html>

_layouts/post.html

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
layout: ots
3+
---
4+
<h2>{{ page.title }}</h2>
5+
<p class="meta">{{ page.date | date_to_string }}</p>
6+
7+
<div class="post">
8+
{{ content }}
9+
</div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
layout: post
3+
title: "Welcome to Jekyll!"
4+
date: 2013-10-17 20:58:05
5+
categories: jekyll update
6+
---
7+
8+
You'll find this post in your `_posts` directory - edit this post and re-build (or run with the `-w` switch) to see your changes!
9+
To add new posts, simply add a file in the `_posts` directory that follows the convention: YYYY-MM-DD-name-of-post.ext.
10+
11+
Jekyll also offers powerful support for code snippets:
12+
13+
{% highlight ruby %}
14+
def print_hi(name)
15+
puts "Hi, #{name}"
16+
end
17+
print_hi('Tom')
18+
#=> prints 'Hi, Tom' to STDOUT.
19+
{% endhighlight %}
20+
21+
Check out the [Jekyll docs][jekyll] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll's GitHub repo][jekyll-gh].
22+
23+
[jekyll-gh]: https://github.com/mojombo/jekyll
24+
[jekyll]: http://jekyllrb.com

config.rb

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Require any additional compass plugins here.
2+
3+
# Tell compass where to find local extensions
4+
# If you followed directions and ran 'gem install modular-scale' comment the next two lines out:
5+
extensions_dir = "bower_components/gumby/sass/extensions"
6+
7+
Compass::Frameworks.register('modular-scale', :path => File.expand_path("#{extensions_dir}/modular-scale"))
8+
9+
# Uncomment these to use regular Ruby gems.
10+
# require 'modular-scale'
11+
# require 'sassy-math'
12+
13+
# Set this to the root of your project when deployed:
14+
http_path = "/"
15+
css_dir = "css"
16+
sass_dir = "sass"
17+
images_dir = "img"
18+
19+
# You can select your preferred output style here (can be overridden via the command line) :nested or :expanded or :compact or :compressed:
20+
output_style = :compact
21+
22+
# To enable relative paths to assets via compass helper functions. Uncomment:
23+
# relative_assets = true
24+
25+
# To disable debugging comments that display the original location of your selectors. Uncomment:
26+
line_comments = false
27+
28+
29+
# If you prefer the indented syntax, you might want to regenerate this
30+
# project again passing --syntax sass, or you can uncomment this:
31+
# preferred_syntax = :sass
32+
# and then run:
33+
# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass

0 commit comments

Comments
 (0)