Skip to content

Commit

Permalink
porting rubber duck debugging site
Browse files Browse the repository at this point in the history
  • Loading branch information
benjholla committed Feb 14, 2017
1 parent 5960b1b commit d203612
Show file tree
Hide file tree
Showing 12 changed files with 33 additions and 40 deletions.
10 changes: 5 additions & 5 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
#

# Name of your site (displayed in the header)
name: Your Name
name: Rubber Duck Debugging

# Short bio or description (displayed in the header)
description: Web Developer from Somewhere
description: Debugging software with a rubber ducky

# URL of your avatar or profile pic (you could use your GitHub profile pic)
avatar: https://raw.githubusercontent.com/barryclark/jekyll-now/master/images/jekyll-logo.png
avatar: https://raw.githubusercontent.com/RubberDuckDebugging/rubberduckdebugging.github.io/master/images/rubberducky.png

#
# Flags below are optional
Expand All @@ -21,12 +21,12 @@ footer-links:
email:
facebook:
flickr:
github: barryclark/jekyll-now
github: RubberDuckDebugging
instagram:
linkedin:
pinterest:
rss: # just type anything here for a working RSS icon
twitter: jekyllrb
twitter: # just type twitter username
stackoverflow: # your stackoverflow profile, e.g. "users/50476/bart-kiers"
youtube: # channel/<your_long_string> or user/<user-name>
googleplus: # anything in your profile username that comes after plus.google.com/
Expand Down
6 changes: 4 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
<head>
<title>{% if page.title %}{{ page.title }} – {% endif %}{{ site.name }} – {{ site.description }}</title>

<link rel="icon" href="/favicon.ico" type="image/ico" />
<link rel="shortcut icon" href="/favicon.ico" type="image/ico" />

{% include meta.html %}

<!--[if lt IE 9]>
Expand All @@ -27,8 +30,7 @@ <h1 class="site-name"><a href="{{ site.baseurl }}/">{{ site.name }}</a></h1>
</div>

<nav>
<a href="{{ site.baseurl }}/">Blog</a>
<a href="{{ site.baseurl }}/about">About</a>
<a href="{{ site.baseurl }}/">Home</a>
</nav>
</header>
</div>
Expand Down
15 changes: 0 additions & 15 deletions about.md

This file was deleted.

Binary file added favicon.ico
Binary file not shown.
Binary file removed images/config.png
Binary file not shown.
Binary file removed images/first-post.png
Binary file not shown.
Binary file removed images/jekyll-logo.png
Binary file not shown.
Binary file removed images/jekyll-now-theme-screenshot.jpg
Binary file not shown.
Binary file added images/rubberducky.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 removed images/step1.gif
Binary file not shown.
18 changes: 0 additions & 18 deletions index.html

This file was deleted.

24 changes: 24 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
layout: default
---

## The Rubber Duck Debugging Method

1. Beg, borrow, steal, buy, fabricate or otherwise obtain a rubber duck (bathtub variety)
2. Place rubber duck on desk and inform it you are just going to go over some code with it, if that's all right.
3. Explain to the duck what your code is supposed to do, and then go into detail and explain your code line by line
4. At some point you will tell the duck what you are doing next and then realise that that is not in fact what you are actually doing. The duck will sit there serenely, happy in the knowledge that it has helped you on your way.

**Note**: In a pinch a coworker might be able to substitute for the duck, however, it is often prefered to confide mistakes to the duck instead of your coworker.

*Original Credit*: ~Andy from lists.ethernal.org

## FAQs
- **If duck's are so smart, why don't we just let the ducks do all the work?**
It would be wonderful if this were true, but the fact is that most duck's prefer to take a mentoring role. There are a few ducks however that do choose to code, but these are the duck's that nobody hears about because they are selected for secret government projects which are highly classified in nature.

- **Where can I learn more about rubber duck debugging?**
More information can be found [here](http://en.wikipedia.org/wiki/Rubber_duck_debugging) and [here](http://lists.ethernal.org/oldarchives/cantlug-0211/msg00174.html).

- **Where can I hire my own duck?**
Great question! [Amazon.com](https://www.amazon.com) hosts a wide selection of affordable ducks that have graduated with a technical degree from some of the world's leading universities.

0 comments on commit d203612

Please sign in to comment.