Skip to content

Commit b38cebf

Browse files
committed
Commit all the things.
0 parents  commit b38cebf

File tree

148 files changed

+2523
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+2523
-0
lines changed

Gemfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
source "https://rubygems.org"
2+
3+
gem 'rack'
4+
gem 'tilt'
5+
gem 'rmagick'

Gemfile.lock

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
rack (1.5.2)
5+
rmagick (2.13.2)
6+
tilt (1.4.1)
7+
8+
PLATFORMS
9+
ruby
10+
11+
DEPENDENCIES
12+
rack
13+
rmagick
14+
tilt

Rakefile

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
task :default => [:generate]
2+
3+
# Generate all
4+
5+
task :generate => [:generate_thumbs, :generate_html]
6+
7+
# Thumb generation
8+
9+
IMAGES = FileList['images/*/*.png']
10+
THUMBS = IMAGES.pathmap("%{^images,thumbs}d/%n%x")
11+
12+
THUMBS.zip(IMAGES).each do |dest, src|
13+
file dest => src do
14+
ruby "thumb.rb #{src} #{dest}"
15+
end
16+
end
17+
18+
task :generate_thumbs => THUMBS
19+
20+
# HTML compilation
21+
22+
COMPETITIONS = FileList['competitions/*.yml']
23+
HTML = COMPETITIONS.ext('html')
24+
25+
rule '.html' => '.yml' do |t|
26+
ruby "generate.rb #{t.source}"
27+
end
28+
29+
file "competitions.html" => COMPETITIONS do
30+
ruby "generate_main.rb"
31+
end
32+
33+
task :generate_html => HTML.concat(["competitions.html"])
34+
35+
# Rackup
36+
37+
task :deploy do
38+
system %{rackup}
39+
end
40+
41+
# Clean
42+
43+
task :clean do
44+
rm_f HTML
45+
end
46+
47+
task :clobber => :clean do
48+
rm_f THUMBS
49+
end

competitions.html

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<link href='/css/reset.css' rel='stylesheet' type='text/css'>
5+
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,600' rel='stylesheet' type='text/css'>
6+
<link href='/css/main.css' rel='stylesheet' type='text/css'>
7+
<link href='/css/magnific-popup.css' rel='stylesheet' type='text/css'>
8+
</head>
9+
<body>
10+
<nav>
11+
<ul class='navbar'>
12+
<li>
13+
<a href='/index.html'>Home</a>
14+
</li>
15+
<li>
16+
<a href='/competitions.html'>Competitions</a>
17+
</li>
18+
<li>
19+
<a href='/resources.html'>Resources</a>
20+
</li>
21+
</ul>
22+
</nav>
23+
<section class='competitions'>
24+
<h1 class='title'>Competitions</h1>
25+
<ul class='competitions'>
26+
<li class='title'>
27+
<a href='competitions/osgcc_1.html'>OSGCC 1</a>
28+
</li>
29+
<li class='title'>
30+
<a href='competitions/osgcc_2.html'>OSGCC 2</a>
31+
</li>
32+
<li class='title'>
33+
<a href='competitions/osgcc_3.html'>OSGCC 3</a>
34+
</li>
35+
<li class='title'>
36+
<a href='competitions/osgcc_4.html'>OSGCC 4</a>
37+
</li>
38+
<li class='title'>
39+
<a href='competitions/osgcc_5.html'>OSGCC 5</a>
40+
</li>
41+
<li class='title'>
42+
<a href='competitions/osgcc_6.html'>OSGCC 6</a>
43+
</li>
44+
</ul>
45+
</section>
46+
<script src='/js/jquery.js' type='text/javascript'></script>
47+
<script src='/js/jquery.magnific-popup.min.js' type='text/javascript'></script>
48+
<script src='/js/app.js' type='text/javascript'></script>
49+
</body>
50+
</html>

competitions/osgcc_1.html

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<link href='/css/reset.css' rel='stylesheet' type='text/css'>
5+
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,600' rel='stylesheet' type='text/css'>
6+
<link href='/css/main.css' rel='stylesheet' type='text/css'>
7+
<link href='/css/magnific-popup.css' rel='stylesheet' type='text/css'>
8+
</head>
9+
<body>
10+
<nav>
11+
<ul class='navbar'>
12+
<li>
13+
<a href='/index.html'>Home</a>
14+
</li>
15+
<li>
16+
<a href='/competitions.html'>Competitions</a>
17+
</li>
18+
<li>
19+
<a href='/resources.html'>Resources</a>
20+
</li>
21+
</ul>
22+
</nav>
23+
<section>
24+
<h1 class='competition'>OSGCC 1</h1>
25+
<h2 class='game'>Mail Defense</h2>
26+
<ul class='participants'>
27+
Creators:
28+
<li class='participant'>Eric Conlon</li>
29+
<li class='participant'>Nick Farnan</li>
30+
<li class='participant'>Joe Frambach</li>
31+
</ul>
32+
<ul class='screenshots'>
33+
<li class='screenshot'><a class='popup' href='/images/osgcc_1/MailDefense_0.png'><img src='/thumbs/osgcc_1/MailDefense_0.png'></a></li>
34+
<li class='screenshot'><a class='popup' href='/images/osgcc_1/MailDefense_1.png'><img src='/thumbs/osgcc_1/MailDefense_1.png'></a></li>
35+
<li class='screenshot'><a class='popup' href='/images/osgcc_1/MailDefense_2.png'><img src='/thumbs/osgcc_1/MailDefense_2.png'></a></li>
36+
</ul>
37+
<ul class='links'>
38+
<li class='link'>
39+
<a href='http://github.com/osgcc/osgcc1-MailDefense'>source</a>
40+
</li>
41+
<li class='link'>
42+
<a href='http://github.com/osgcc/osgcc1-MailDefense/blob/master/README.md'>about</a>
43+
</li>
44+
</ul>
45+
<ul class='languages'>
46+
Languages:
47+
<li class='language'>python</li>
48+
</ul>
49+
<h2 class='game'>Resident Pancake</h2>
50+
<ul class='participants'>
51+
Creators:
52+
<li class='participant'>Jarrett Billingsley</li>
53+
<li class='participant'>Chris Brack</li>
54+
<li class='participant'>Adam Modlin</li>
55+
</ul>
56+
<ul class='screenshots'>
57+
No Screenshots Available
58+
</ul>
59+
<ul class='links'>
60+
<li class='link'>
61+
<a href='http://github.com/osgcc/osgcc1-ResidentPancake'>source</a>
62+
</li>
63+
<li class='link'>
64+
<a href='http://github.com/osgcc/osgcc1-ResidentPancake/blob/master/README'>about</a>
65+
</li>
66+
</ul>
67+
<ul class='languages'>
68+
Languages:
69+
<li class='language'>D</li>
70+
</ul>
71+
<h2 class='game'>Chalupas</h2>
72+
<ul class='participants'>
73+
Creators:
74+
<li class='participant'>Lindsey Bieda</li>
75+
<li class='participant'>Brad Kuhlman</li>
76+
<li class='participant'>wilkie</li>
77+
</ul>
78+
<ul class='screenshots'>
79+
No Screenshots Available
80+
</ul>
81+
<ul class='links'>
82+
<li class='link'>
83+
<a href='http://github.com/osgcc/osgcc1-Chalupas'>source</a>
84+
</li>
85+
<li class='link'>
86+
<a href='http://github.com/osgcc/osgcc1-Chalupas/blob/master/README'>about</a>
87+
</li>
88+
</ul>
89+
<ul class='languages'>
90+
Languages:
91+
<li class='language'>C++</li>
92+
</ul>
93+
<h2 class='game'>Moon Invaders</h2>
94+
<ul class='participants'>
95+
Creators:
96+
<li class='participant'>Jay Soyer</li>
97+
</ul>
98+
<ul class='screenshots'>
99+
No Screenshots Available
100+
</ul>
101+
<ul class='links'>
102+
<li class='link'>
103+
<a href='http://github.com/osgcc/osgcc1-MoonInvaders'>source</a>
104+
</li>
105+
<li class='link'>
106+
<a href='http://github.com/osgcc/osgcc1-MoonInvaders/blob/master/README'>about</a>
107+
</li>
108+
</ul>
109+
<ul class='languages'>
110+
Languages:
111+
<li class='language'>QuickBasic</li>
112+
</ul>
113+
</section>
114+
<script src='/js/jquery.js' type='text/javascript'></script>
115+
<script src='/js/jquery.magnific-popup.min.js' type='text/javascript'></script>
116+
<script src='/js/app.js' type='text/javascript'></script>
117+
</body>
118+
</html>

competitions/osgcc_1.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
title: "OSGCC 1"
2+
slug: "osgcc_1"
3+
games:
4+
- name: Mail Defense
5+
participants: ["Eric Conlon", "Nick Farnan", "Joe Frambach"]
6+
languages: [python]
7+
slug: "MailDefense"
8+
source: http://github.com/osgcc/osgcc1-MailDefense
9+
about: http://github.com/osgcc/osgcc1-MailDefense/blob/master/README.md
10+
11+
- name: Resident Pancake
12+
participants: ["Jarrett Billingsley", "Chris Brack", "Adam Modlin"]
13+
languages: [D]
14+
slug: "ResidentPancake"
15+
source: http://github.com/osgcc/osgcc1-ResidentPancake
16+
about: http://github.com/osgcc/osgcc1-ResidentPancake/blob/master/README
17+
18+
- name: Chalupas
19+
participants: ["Lindsey Bieda", "Brad Kuhlman", "wilkie"]
20+
languages: [C++]
21+
slug: "Chalupas"
22+
source: http://github.com/osgcc/osgcc1-Chalupas
23+
about: http://github.com/osgcc/osgcc1-Chalupas/blob/master/README
24+
25+
- name: Moon Invaders
26+
participants: ["Jay Soyer"]
27+
languages: [QuickBasic]
28+
slug: "MoonInvaders"
29+
source: http://github.com/osgcc/osgcc1-MoonInvaders
30+
about: http://github.com/osgcc/osgcc1-MoonInvaders/blob/master/README

competitions/osgcc_2.html

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<link href='/css/reset.css' rel='stylesheet' type='text/css'>
5+
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,600' rel='stylesheet' type='text/css'>
6+
<link href='/css/main.css' rel='stylesheet' type='text/css'>
7+
<link href='/css/magnific-popup.css' rel='stylesheet' type='text/css'>
8+
</head>
9+
<body>
10+
<nav>
11+
<ul class='navbar'>
12+
<li>
13+
<a href='/index.html'>Home</a>
14+
</li>
15+
<li>
16+
<a href='/competitions.html'>Competitions</a>
17+
</li>
18+
<li>
19+
<a href='/resources.html'>Resources</a>
20+
</li>
21+
</ul>
22+
</nav>
23+
<section>
24+
<h1 class='competition'>OSGCC 2</h1>
25+
<h2 class='game'>OMGWTFADD</h2>
26+
<ul class='participants'>
27+
Creators:
28+
<li class='participant'>Lindsey Bieda</li>
29+
<li class='participant'>Brad Kuhlman</li>
30+
<li class='participant'>wilkie</li>
31+
</ul>
32+
<ul class='screenshots'>
33+
<li class='screenshot'><a class='popup' href='/images/osgcc_2/omgwtfadd_0.png'><img src='/thumbs/osgcc_2/omgwtfadd_0.png'></a></li>
34+
<li class='screenshot'><a class='popup' href='/images/osgcc_2/omgwtfadd_1.png'><img src='/thumbs/osgcc_2/omgwtfadd_1.png'></a></li>
35+
</ul>
36+
<ul class='links'>
37+
<li class='link'>
38+
<a href='http://github.com/osgcc/osgcc2-OMGWTFADD'>source</a>
39+
</li>
40+
<li class='link'>
41+
<a href='http://github.com/osgcc/osgcc2-OMGWTFADD/blob/master/README.md'>about</a>
42+
</li>
43+
</ul>
44+
<ul class='languages'>
45+
Languages:
46+
<li class='language'>C++</li>
47+
</ul>
48+
<h2 class='game'>Steampunk Calculators</h2>
49+
<ul class='participants'>
50+
Creators:
51+
<li class='participant'>Eduardo Gonzalez</li>
52+
<li class='participant'>Josh Albrecht</li>
53+
</ul>
54+
<ul class='screenshots'>
55+
<li class='screenshot'><a class='popup' href='/images/osgcc_2/steampunk-calculators_0.png'><img src='/thumbs/osgcc_2/steampunk-calculators_0.png'></a></li>
56+
<li class='screenshot'><a class='popup' href='/images/osgcc_2/steampunk-calculators_1.png'><img src='/thumbs/osgcc_2/steampunk-calculators_1.png'></a></li>
57+
<li class='screenshot'><a class='popup' href='/images/osgcc_2/steampunk-calculators_2.png'><img src='/thumbs/osgcc_2/steampunk-calculators_2.png'></a></li>
58+
</ul>
59+
<ul class='links'>
60+
<li class='link'>
61+
<a href='http://github.com/osgcc/osgcc2-SteampunkCalculators'>source</a>
62+
</li>
63+
<li class='link'>
64+
<a href='http://github.com/osgcc/osgcc2-SteampunkCalculators/blob/master/README'>about</a>
65+
</li>
66+
</ul>
67+
<ul class='languages'>
68+
Languages:
69+
<li class='language'>python</li>
70+
</ul>
71+
<h2 class='game'>Tetris</h2>
72+
<ul class='participants'>
73+
Creators:
74+
<li class='participant'>Chuck Davis</li>
75+
<li class='participant'>Steve Klabnik</li>
76+
<li class='participant'>Marylou Kunkle</li>
77+
</ul>
78+
<ul class='screenshots'>
79+
No Screenshots Available
80+
</ul>
81+
<ul class='links'>
82+
<li class='link'>
83+
<a href='http://github.com/osgcc/osgcc2-Tetris'>source</a>
84+
</li>
85+
<li class='link'>
86+
<a href='http://github.com/osgcc/osgcc2-Tetris/blob/master/README'>about</a>
87+
</li>
88+
</ul>
89+
<ul class='languages'>
90+
Languages:
91+
<li class='language'>D</li>
92+
</ul>
93+
<h2 class='game'>MoonRPG</h2>
94+
<ul class='participants'>
95+
Creators:
96+
<li class='participant'>Jessica Hedges</li>
97+
<li class='participant'>Jay Soyer</li>
98+
</ul>
99+
<ul class='screenshots'>
100+
No Screenshots Available
101+
</ul>
102+
<ul class='links'>
103+
<li class='link'>
104+
<a href='http://github.com/osgcc/osgcc2-MoonRPG'>source</a>
105+
</li>
106+
<li class='link'>
107+
<a href='http://github.com/osgcc/osgcc2-MoonRPG/blob/master/README'>about</a>
108+
</li>
109+
</ul>
110+
<ul class='languages'>
111+
Languages:
112+
<li class='language'>QuickBasic</li>
113+
</ul>
114+
</section>
115+
<script src='/js/jquery.js' type='text/javascript'></script>
116+
<script src='/js/jquery.magnific-popup.min.js' type='text/javascript'></script>
117+
<script src='/js/app.js' type='text/javascript'></script>
118+
</body>
119+
</html>

0 commit comments

Comments
 (0)