Skip to content

Commit 6c105d2

Browse files
committedNov 29, 2012
initial commit
0 parents  commit 6c105d2

15 files changed

+193
-0
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_site

‎CNAME

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sourcefu.com

‎_config.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
destination: _site
2+
server: auto
3+
markdown: rdiscount
4+
rdiscount:
5+
extensions: [autolink]
6+
authors:
7+
pdurbin:
8+
display_name: Philip Durbin
9+
something_to_iterate_over: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]

‎_includes/breadcrumbs-begin.html

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<div id="bread">
2+
<ul>

‎_includes/breadcrumbs-end.html

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
</ul>
2+
</div>

‎_includes/breadcrumbs.html

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{% include breadcrumbs-begin.html %}
2+
3+
{% comment %}
4+
based on http://stackoverflow.com/questions/9612235/what-are-some-good-ways-to-implement-breadcrumbs-on-a-jekyll-site/9633517#9633517
5+
{% endcomment %}
6+
7+
{% capture url_parts %}{{ page.url | remove: "/index.html" | replace: '/', " " }}{% endcapture %}
8+
{% capture num_levels_deep %}{{ url_parts | number_of_words | minus: 1 }}{% endcapture %}
9+
{% capture remaining_parts %}{{ url_parts }}{% endcapture %}
10+
{% assign growing_path="" %}
11+
12+
{% if num_levels_deep == "-1" %}
13+
<li><a href="/">home</a> &nbsp; </li>
14+
{% else %}
15+
<li><a href="/">home</a> &#187; </li>
16+
{% for unused in site.something_to_iterate_over limit: num_levels_deep %}
17+
18+
{% capture first_of_remaining %}{{ remaining_parts | truncatewords: 1, '' }}{% endcapture %}
19+
{% capture growing_path %}{{ growing_path }}/{{ first_of_remaining }}{% endcapture %}
20+
21+
<li><a href="{{growing_path}}">{{ first_of_remaining }}</a> &#187; </li>
22+
23+
{% comment %}
24+
<li>(remaining_parts: {{remaining_parts}}, first_of_remaining: {{first_of_remaining}}, growing_path: {{growing_path}}) <a href="{{growing_path}}">{{ first_of_remaining }}</a> &#187; </li>
25+
{% endcomment %}
26+
27+
{% capture remaining_parts %}{{ remaining_parts | remove_first: first_of_remaining }}{% endcapture %}
28+
29+
{% endfor %}
30+
{% endif %}
31+
32+
{% include breadcrumbs-end.html %}

‎_includes/topics.yaml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
- Bash: http://gnu.org/software/bash
2+
- Design patterns: http://en.wikipedia.org/wiki/Software_design_pattern
3+
- Git: http://git-scm.com
4+
- Haskell: http://haskell.org
5+
- Java: http://oracle.com/technetwork/java/javase/documentation
6+
- JavaScript: http://en.wikipedia.org/wiki/JavaScript
7+
- NoSQL: http://en.wikipedia.org/wiki/NoSQL
8+
- Perl: http://perl.org
9+
- PHP: http://php.net
10+
- Python: http://python.org
11+
- R: http://r-project.org
12+
- Ruby: http://ruby-lang.org
13+
- SQL: http://en.wikipedia.org/wiki/SQL
14+
- Vagrant: http://vagrantup.com

‎_layouts/default.html

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2+
"http://www.w3.org/TR/html4/loose.dtd">
3+
<html>
4+
<head>
5+
<title>{{ page.title }}</title>
6+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7+
<meta name="viewport" content="width=device-width">
8+
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
9+
<link rel="stylesheet" href="/master.css" type="text/css">
10+
</head>
11+
<body>
12+
{% include breadcrumbs.html %}
13+
<h1>{{ page.title }}</h1>
14+
{{ content }}
15+
</body>
16+
</html>

‎_layouts/post.html

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2+
"http://www.w3.org/TR/html4/loose.dtd">
3+
<html>
4+
<head>
5+
<title>{{ page.title }}</title>
6+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7+
<meta name="viewport" content="width=device-width">
8+
<link rel="stylesheet" href="/master.css" type="text/css">
9+
</head>
10+
<body>
11+
{% include breadcrumbs-begin.html %}
12+
<li><a href="/">home</a> &#187; </li>
13+
{% include breadcrumbs-end.html %}
14+
<h1>{{ page.title }}</h1>
15+
<font size=-1>{{ page.date | date:"%Y-%m-%d" }} by <a href="/members/{{page.author}}">{{ site.authors[page.author]display_name }}</a></font>
16+
{{ content }}
17+
</body>
18+
</html>

‎favicon.ico

Whitespace-only changes.

‎index.md

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
layout: default
3+
title: sourcefu
4+
---
5+
## Guiding principles
6+
7+
* None of us is as smart as all of us
8+
* Open source by default
9+
* [When in doubt, make it public](http://www.codinghorror.com/blog/2007/04/when-in-doubt-make-it-public.html)
10+
11+
## On topic
12+
13+
{% include topics.yaml %}
14+
15+
## Publicly-logged IRC channel: #sourcefu on Freenode
16+
17+
http://irclog.greptilian.com/sourcefu/today
18+
19+
Our primary means of communication is an IRC channel on [Freenode](http://freenode.net) called #sourcefu that we log publicly because "[we live in a world of infinitely searchable micro-content, and every contribution, however small, enriches all of us](http://www.codinghorror.com/blog/2007/04/when-in-doubt-make-it-public.html)."
20+
21+
If you enjoy the [topics](topics) you see in [our logs][logs], you are welcome to join the conversation! The easiest way is via http://webchat.freenode.net/?channels=sourcefu but most of us use desktop IRC clients such as [irssi](http://www.irssi.org), [Pidgin](http://www.pidgin.im), or [Adium](http://adium.im) or mobile IRC clients such as [IRC999](http://itunes.apple.com/us/app/irc999/id360698285?mt=8) or [AndChat](https://play.google.com/store/apps/details?id=net.andchat&hl=en).
22+
23+
## Members
24+
25+
See our [members](members) page and https://github.com/sourcefu
26+
27+
## About the name sourcefu
28+
29+
Fu is a nod to http://crimsonfu.github.com , http://commandlinefu.com and http://catb.org/jargon/html/F/suffix-fu.html
30+
31+
## Updating this website
32+
33+
The source is at http://github.com/sourcefu/sourcefu.github.com
34+
35+
[logs]: http://irclog.greptilian.com/sourcefu

‎master.css

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
body {
2+
background-color: white;
3+
}
4+
5+
pre {
6+
white-space: pre-wrap; /* http://www.w3.org/TR/CSS2/text.html */
7+
border: 1px solid #DEDEDE;
8+
}
9+
10+
code {
11+
background-color: #F8F8F8;
12+
border: 1px solid #DEDEDE;
13+
}
14+
15+
pre code {
16+
border: none;
17+
}
18+
19+
h1 {
20+
font-size: 140%;
21+
margin-top: 4px;
22+
margin-bottom: 4px;
23+
}
24+
25+
h2 {
26+
font-size: 100%;
27+
}
28+
29+
#bread {
30+
/* border: 1px solid #DEDEDE; */
31+
}
32+
33+
#bread ul {
34+
padding-left: 0;
35+
margin-top: 2px;
36+
margin-bottom: 2px;
37+
}
38+
39+
#bread ul li {
40+
display: inline;
41+
font-size: 70%;
42+
}

‎members/index.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: Members of sourcefu
3+
layout: default
4+
---
5+
* [Philip Durbin](pdurbin)

‎members/pdurbin/index.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: Philip Durbin
3+
layout: default
4+
---
5+
I started the #sourcefu IRC channel (where I go by "pdurbin") and log it at http://irclog.greptilian.com/sourcefu/today
6+
7+
http://greptilian.com is my website, where you can find links to my accounts on GitHub, Twitter, etc.
8+
9+
I authored most of the sourcefu home page, including our guiding principles.

‎topics/index.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
layout: default
3+
title: topics
4+
---
5+
On topic for #sourcefu:
6+
7+
{% include topics.yaml %}

0 commit comments

Comments
 (0)