Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
Based on Kale Worsleys jekyll setup
  • Loading branch information
patrickdavey committed Nov 23, 2014
0 parents commit 3d01136
Show file tree
Hide file tree
Showing 24 changed files with 773 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile ~/.gitignore_global

# Ignore bundler config
/.bundle

# Ignore the build directory
/build

# Ignore Sass' cache
/.sass-cache

# Ignore .DS_store file
.DS_Store
13 changes: 13 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# If you have OpenSSL installed, we recommend updating
# the following line to use "https"
source 'http://rubygems.org'

gem "middleman", "~>3.2.1"

# Live-reloading plugin
gem "middleman-livereload", "~> 3.1.0"

# For publishing on GitHub
gem "middleman-gh-pages"

gem "bootstrap-sass"
103 changes: 103 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
GEM
remote: http://rubygems.org/
specs:
activesupport (3.2.16)
i18n (~> 0.6, >= 0.6.4)
multi_json (~> 1.0)
bootstrap-sass (3.0.3.0)
sass (~> 3.2)
chunky_png (1.2.9)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.6.3)
compass (0.12.2)
chunky_png (~> 1.2)
fssm (>= 0.2.7)
sass (~> 3.1)
em-websocket (0.5.0)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.5.3)
eventmachine (1.0.3)
execjs (1.4.0)
multi_json (~> 1.0)
ffi (1.9.3)
fssm (0.2.10)
haml (4.0.4)
tilt
hike (1.2.3)
http_parser.rb (0.5.3)
i18n (0.6.9)
kramdown (1.3.0)
listen (1.3.1)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
rb-kqueue (>= 0.2)
middleman (3.2.1)
coffee-script (~> 2.2.0)
compass (>= 0.12.2)
execjs (~> 1.4.0)
haml (>= 3.1.6)
kramdown (~> 1.2)
middleman-core (= 3.2.1)
middleman-sprockets (>= 3.1.2)
sass (>= 3.1.20)
uglifier (~> 2.1.0)
middleman-core (3.2.1)
activesupport (~> 3.2.6)
bundler (~> 1.1)
i18n (~> 0.6.1)
listen (~> 1.1)
rack (>= 1.4.5)
rack-test (~> 0.6.1)
thor (>= 0.15.2, < 2.0)
tilt (~> 1.4.1)
middleman-gh-pages (0.0.2)
rake (> 0.9.3)
middleman-livereload (3.1.0)
em-websocket (>= 0.2.0)
middleman-core (>= 3.0.2)
multi_json (~> 1.0)
rack-livereload
middleman-sprockets (3.2.0)
middleman-core (~> 3.2)
sprockets (~> 2.1)
sprockets-helpers (~> 1.0.0)
sprockets-sass (~> 1.0.0)
multi_json (1.8.2)
rack (1.5.2)
rack-livereload (0.3.15)
rack
rack-test (0.6.2)
rack (>= 1.0)
rake (10.1.1)
rb-fsevent (0.9.3)
rb-inotify (0.9.3)
ffi (>= 0.5.0)
rb-kqueue (0.2.0)
ffi (>= 0.5.0)
sass (3.2.13)
sprockets (2.10.1)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-helpers (1.0.1)
sprockets (~> 2.0)
sprockets-sass (1.0.2)
sprockets (~> 2.0)
tilt (~> 1.1)
thor (0.18.1)
tilt (1.4.1)
uglifier (2.1.2)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)

PLATFORMS
ruby

DEPENDENCIES
bootstrap-sass
middleman (~> 3.2.1)
middleman-gh-pages
middleman-livereload (~> 3.1.0)
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require "middleman-gh-pages"
70 changes: 70 additions & 0 deletions config.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
###
# Compass
###

# Change Compass configuration
# compass_config do |config|
# config.output_style = :compact
# end

###
# Page options, layouts, aliases and proxies
###

# Per-page layout changes:
#
# With no layout
# page "/path/to/file.html", :layout => false
#
# With alternative layout
# page "/path/to/file.html", :layout => :otherlayout
#
# A path which all have the same layout
# with_layout :admin do
# page "/admin/*"
# end

# Proxy pages (http://middlemanapp.com/dynamic-pages/)
# proxy "/this-page-has-no-template.html", "/template-file.html", :locals => {
# :which_fake_page => "Rendering a fake page with a local variable" }

###
# Helpers
###

# Automatic image dimensions on image_tag helper
# activate :automatic_image_sizes

# Reload the browser automatically whenever files change
# activate :livereload

# Methods defined in the helpers block are available in templates
# helpers do
# def some_helper
# "Helping"
# end
# end

set :css_dir, 'css'

set :js_dir, 'js'

set :images_dir, 'img'

# Build-specific configuration
configure :build do
# For example, change the Compass output style for deployment
activate :minify_css

# Minify Javascript on build
activate :minify_javascript

# Enable cache buster
activate :asset_hash

# Use relative URLs
# activate :relative_assets

# Or use a different image path
# set :http_prefix, "/Content/images/"
end
17 changes: 17 additions & 0 deletions source/404.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: 404 Not Found
---

<div id="nav" class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="/"><span class="dot fa fa-circle"></span>Ruby meetup resources</a>
</div>
</div>
</div>

<div class="jumbotron text-center">
<h1>404 Not Found</h1>
<p>The page you requested could not be found.</p>
<p><a class="btn btn-primary btn-lg" href="/">Home</a></p>
</div>
Binary file added source/apple-touch-icon-114x114.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/apple-touch-icon-120x120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/apple-touch-icon-144x144.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/apple-touch-icon-152x152.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/apple-touch-icon-57x57.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/apple-touch-icon-60x60.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/apple-touch-icon-72x72.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/apple-touch-icon-76x76.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions source/css/main.css.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@import "bootstrap";

section {
padding: 40px 0;

&.dark {
background: darken($body-bg, 6.5%);
}

&.jumbotron {
margin-bottom: 0;
}
}

@media (max-width: $grid-float-breakpoint) {
.nav.navbar-nav.pull-right {
float: none!important;
}
}
12 changes: 12 additions & 0 deletions source/css/variables.css.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
$font-size-base: 16px;

$navbar-height: 50px;

$navbar-default-bg: #FFFFFF;
$navbar-default-brand-color: #6FCAC2;

$font-family-sans-serif: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif !default;

$jumbotron-bg: #6FCAC2;
$jumbotron-color: #FFFFFF;

44 changes: 44 additions & 0 deletions source/index.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
title: Ruby Meetup Resources
---

<section id="home" class="jumbotron">
<div class="container">
<div class="row">
<div class="col-md-12 text-center">
<h1>Ruby Meetup Resources</h1>
<p>Help for running a ruby meetup.</p>
</div>
</div>
</div>
</section>

<div class="container">
<div class="row">
<div class="col-md-offset-3 col-md-6">
<h1>Welcome</h1>
<p>Running a meetup can be quite a lot of effort. We thought it would be great
to make it easier for meetups to share resources which they've created, which could
be used by other meetups. So far there are just a couple of resources, but we
are hopeful this list will grow, especially with your support.</p>

<p>You can browse a list of the resources at <a href="https://github.com/ruby-meetup-resources">https://github.com/ruby-meetup-resources</a>.
If you have a contribution to make, please just open an issue on <a href="https://github.com/ruby-meetup-resources/new-resources">https://github.com/ruby-meetup-resources/new-resources</a>

<p>Finally, please tweet, mail your friends, and generally help get the word out there!</p>
</div>
</div>
</div>

<div class="container">
<div class="row">
<div class="col-md-offset-3 col-md-9">
<h1>Resources</h1>
<ul>
<li><a href="https://github.com/ruby-meetup-resources/rubywarrior_scoreboard">A scoreboard for ruby-warrior</a>(and associated <a href="https://github.com/ruby-meetup-resources/scoreboard_rubywarrior">gem</a>)<br/>This website &amp; gem wrap the excellent ruby-warrior (by Ryan Bates), with the ability to share code and scores between particpants. Easy to fork and setup your own internal competition, and a great way for new rubyists to play with the language and learn from peers</li>
<li><a href="https://github.com/ruby-meetup-resources/robotwars">Robotwars</a><br/>
This repo is just a basic setup for using the rrobots gem to run a run simulation where you drive AI tanks around. You need to provide your own server (but having a repo where people can push their tanks is probably enough</li>
</ul>
</div>
</div>
</div>
2 changes: 2 additions & 0 deletions source/js/main.js.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#= require bootstrap/scrollspy
#= require bootstrap/collapse
2 changes: 2 additions & 0 deletions source/js/vendor/jquery-1.8.0.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 3d01136

Please sign in to comment.