Skip to content

Commit 0f1dd68

Browse files
committed
shuffle
1 parent bd3cdca commit 0f1dd68

11 files changed

+99
-58
lines changed

Rakefile

+16-2
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,29 @@
11
task :default => :build
22

33
desc "Build my site, dammit!"
4-
task :build => [ :projects, :contact, :talks, :about ]
4+
task :build => [ :index, :projects, :contact, :talks, :about ]
55

66
def build(page)
7+
require 'yaml'
78
yaml = YAML.load_file("pages/#{page}.yml")
89
yaml["width"] = yaml[page.to_s].size * ((yaml['block-width'] || 260) + 32) + 4
910
File.open("pages/#{page}.yml", "w") { |f| f.puts yaml.to_yaml + "---\n" }
1011
system "cat pages/#{page}.{yml,mustache} | mustache > #{page}.html"
1112
end
1213

14+
task :index do
15+
require 'yaml'
16+
require 'rdiscount'
17+
data = YAML.dump('yield' => Markdown.new(File.read('index.md')).to_html)
18+
19+
File.open('data.yml', 'w') do |f|
20+
f.puts data
21+
f.puts "---"
22+
end
23+
24+
exec "cat data.yml index.mustache | mustache > index.html"
25+
end
26+
1327
task :about do
1428
build :about
1529
end
@@ -34,5 +48,5 @@ end
3448

3549
desc "Kick it!"
3650
task :kicker do
37-
exec "kicker --no-growl -e rake css/defunkt.css pages"
51+
exec "kicker --no-growl -e rake css/defunkt.css pages index.md"
3852
end

about.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ <h1> chris w. </h1>
2626
<p>lives in <a href="http://www.flickr.com/search/?q=san+francisco">San Francisco, CA</a>.</p>
2727
<p>grew up in <a href="http://www.flickr.com/search/?q=cincinnati%20bengals">Cincinnati, OH</a>.</p>
2828
<p>tweets as <a href="http://twitter.com/defunkt">@defunkt</a>.</p>
29-
<p>can be emailed at <a href="mailto:chris@ozmm.org">chris@ozmm.org</a>.</p>
29+
<p>can be emailed at <a href="mailto:chris@wanstrath.com">chris@wanstrath.com</a>.</p>
3030
<div class="back">
3131
<a href="/">
3232
&#8617;

bio.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Chris Wanstrath is the CEO and a co-founder of GitHub, the largest software code hosting site in the world. Before bootstrapping the company from nothing to sheer profitability with his fellow co-founders, Chris ran a successful Ruby on Rails consulting shop alongside Rails expert and entrepreneur PJ Hyett (also a GitHub co-founder). Together they helped launch startups, scale websites, and identify the problems that GitHub would eventually solve.
2+
3+
While consulting Chris contributed chapters to technical books such as "Advanced Rails Recipes" and, again with PJ Hyett, co-authored a popular yet provocative Ruby and Rails blog titled "Err the Blog." Many of the ideas presented on that blog still exist as idioms in the Ruby ecosystem today. Prior to his Ruby period Chris worked at CNET Networks on the code that powered GameSpot, TV.com, and MP3.com, where he learned the power of community and the value of fast, iterative business development.
4+
5+
A college dropout, Chris is an outspoken open source advocate with dozens of open source projects and hundreds of contributions under his belt, some of which power high trafficked sites such as Twitter and Groupon. Currently he travels the world speaking about the power of open source to developers and the potential of networking to fellow entrepreneurs. He's given keynote talks at the International RailsConf, Startup Riot Atlanta, Rails Summit Latin America, and more while speaking at a variety of regional and international conferences.
6+
7+
Chris was recently named one of BusinessWeek's "30 under 30" young entrepreneurs to watch while GitHub won TechCrunch's "Best Boostrapped Startup" in 2009.

contact.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
<h1> contact </h1>
1818

1919
<div class="row">
20-
<a href="mailto:chris@ozmm.org" class="block">
20+
<a href="mailto:chris@wanstrath.com" class="block">
2121
<h2> email </h2>
22-
<p> chris@ozmm.org </p>
22+
<p> chris@wanstrath.com </p>
2323
</a>
2424
<a href="http://github.com/defunkt" class="block">
2525
<h2> github </h2>

index.html

+17-48
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,29 @@
1-
<!DOCTYPE html>
2-
1+
<!DOCTYPE HTML>
32
<html>
43
<head>
5-
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
64
<title>chris wanstrath: the official website</title>
7-
<style type="text/css">
8-
* {
9-
margin: 0;
10-
padding: 0;
11-
}
5+
<link href="/css/reset.css" rel="stylesheet" type="text/css" />
126

7+
<style>
138
body {
14-
/* http://flickr.com/photos/cgstopgo/2199917653/ */
15-
background: url(/img/defunkt.jpg) no-repeat;
16-
height: 1024px;
17-
font-family: Lucida Grande;
18-
}
19-
20-
.links {
21-
position: absolute;
22-
left: 850px;
23-
top: 30px;
24-
list-style-type: none;
25-
}
26-
27-
.bottom {
28-
position: absolute;
29-
bottom: 10px;
30-
left: 850px;
31-
}
32-
33-
a {
34-
color: #444;
35-
line-height: 18px;
36-
}
37-
38-
a:visited {
39-
40-
}
41-
42-
h3 {
43-
font-family: Lucida Grande;
9+
background:#fff;
10+
font-family: Helvetica Neue, Arial, sans-serif;
11+
margin-left: 15px;
4412
}
13+
h1 { font-size: 120px; }
14+
p { margin-top: 20px; font-size: 30px; }
4515
</style>
4616
</head>
17+
4718
<body>
48-
<div class="links">
49-
<a href="contact.html">contact</a> |
50-
<a href="projects.html">projects</a> |
51-
<a href="talks.html">talks</a>
52-
</div>
19+
<h1>Chris Wanstrath</h1>
20+
21+
<p>CEO and Co-Founder of <a href="http://github.com/defunkt">GitHub</a>.</p>
22+
23+
<p><a href="&#109;&#x61;&#105;&#108;&#x74;&#111;&#x3a;&#99;&#104;&#x72;&#105;&#x73;&#x40;&#119;&#x61;&#x6e;&#115;&#x74;&#114;&#97;&#116;&#x68;&#x2e;&#x63;&#x6f;&#109;">&#x63;&#104;&#x72;&#x69;&#x73;&#64;&#119;&#x61;&#110;&#115;&#x74;&#x72;&#97;&#116;&#104;&#46;&#x63;&#x6f;&#109;</a></p>
5324

54-
<div class="bottom">
55-
<a href="about.html">
56-
about chris wanstrath
57-
</a>
58-
</div>
25+
<p><a href="/projects">projects</a> |
26+
<a href="/talks">talks</a> |
27+
<a href="/about">about</a></p>
5928
</body>
6029
</html>

index.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Chris Wanstrath
2+
3+
CEO and Co-Founder of [GitHub](http://github.com/defunkt).
4+
5+
<chris@wanstrath.com>
6+
7+
[projects](/projects) |
8+
[talks](/talks) |
9+
[about](/about)

index.mustache

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!DOCTYPE HTML>
2+
<html>
3+
<head>
4+
<title>chris wanstrath: the official website</title>
5+
<link href="/css/reset.css" rel="stylesheet" type="text/css" />
6+
7+
<style>
8+
body {
9+
background:#fff;
10+
font-family: Helvetica Neue, Arial, sans-serif;
11+
margin-left: 15px;
12+
}
13+
h1 { font-size: 120px; }
14+
p { margin-top: 20px; font-size: 30px; }
15+
</style>
16+
</head>
17+
18+
<body>
19+
{{{ yield }}}
20+
</body>
21+
</html>

pages/about.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ about:
44
- fact: lives in <a href="http://www.flickr.com/search/?q=san+francisco">San Francisco, CA</a>.
55
- fact: grew up in <a href="http://www.flickr.com/search/?q=cincinnati%20bengals">Cincinnati, OH</a>.
66
- fact: tweets as <a href="http://twitter.com/defunkt">@defunkt</a>.
7-
- fact: can be emailed at <a href="mailto:chris@ozmm.org">chris@ozmm.org</a>.
7+
- fact: can be emailed at <a href="mailto:chris@wanstrath.com">chris@wanstrath.com</a>.
88
width: 1464
99
---

pages/contact.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
---
2-
contact:
1+
---
2+
contact:
33
- name: email
44
url: mailto:chris@wanstrath.com
55
description: chris@wanstrath.com

pages/talks.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
---
22
talks:
3+
- name: yhp
4+
url: http://yourhiddenpotential.co.uk/2010/05/04/github%E2%80%99s-co-founder-chris-wanstrath/
5+
description: interview
6+
- name: posscon 10
7+
url: http://www.flickr.com/photos/49742412@N06/4562714517/sizes/l/
8+
description: open source sucks
9+
- name: the geek talk
10+
url: http://thegeektalk.com/interviews/chris-wanstrath/
11+
description: interview
312
- name: the changelog
413
url: http://thechangelog.com/post/352878673/episode-0-1-0-chris-wanstrath-from-github
514
description: github interview
@@ -111,5 +120,5 @@ talks:
111120
- name: sf ruby meetup
112121
url: http://errtheblog.com/static/pdfs/memcached.pdf
113122
description: memcaching rails
114-
width: 10808
123+
width: 11684
115124
---

talks.html

+13-1
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,26 @@
99
.row > a:nth-child(6n+4):hover {
1010
background-color: #00ffff;
1111
}
12-
.row { width: 10808px; }
12+
.row { width: 11684px; }
1313
</style>
1414
</head>
1515

1616
<body>
1717
<h1> talks </h1>
1818

1919
<div class="row">
20+
<a href="http://yourhiddenpotential.co.uk/2010/05/04/github%E2%80%99s-co-founder-chris-wanstrath/" class="block">
21+
<h2> yhp </h2>
22+
<p> interview </p>
23+
</a>
24+
<a href="http://www.flickr.com/photos/49742412@N06/4562714517/sizes/l/" class="block">
25+
<h2> posscon 10 </h2>
26+
<p> open source sucks </p>
27+
</a>
28+
<a href="http://thegeektalk.com/interviews/chris-wanstrath/" class="block">
29+
<h2> the geek talk </h2>
30+
<p> interview </p>
31+
</a>
2032
<a href="http://thechangelog.com/post/352878673/episode-0-1-0-chris-wanstrath-from-github" class="block">
2133
<h2> the changelog </h2>
2234
<p> github interview </p>

0 commit comments

Comments
 (0)