summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortekkub <tekkub@gmail.com>2010-07-15 19:21:46 -0600
committertekkub <tekkub@gmail.com>2010-07-15 19:21:46 -0600
commitfc0e28b11afd5c41dea40e35eab2260f59d87e8b (patch)
treeaa3733a480ed7ec35040ea3dcc37917d4809836f
parent8bb4333a5ea527cc9b53edf509bb9f7c25e42350 (diff)
Space saves the day!
-rw-r--r--_posts/2009-10-16-post-receive-hooks.markdown6
-rw-r--r--_posts/2010-01-19-multiple-keys.markdown2
-rw-r--r--_posts/2010-03-02-changing-author-info.markdown2
3 files changed, 5 insertions, 5 deletions
diff --git a/_posts/2009-10-16-post-receive-hooks.markdown b/_posts/2009-10-16-post-receive-hooks.markdown
index 8826423..c971a31 100644
--- a/_posts/2009-10-16-post-receive-hooks.markdown
+++ b/_posts/2009-10-16-post-receive-hooks.markdown
@@ -17,19 +17,19 @@ What we'll send is JSON containing information about the push and the commits in
Here's the template we use in Ruby to generate the JSON:
-<script src="http://gist.github.com/212213.js"></script>
+<script src="http://gist.github.com/212213.js"> </script>
This is sent as a POST with a single parameter: 'payload'
So, for example, you'd do something like this in a [Sinatra](http://sinatra.rubyforge.org/) server:
-<script src="http://gist.github.com/212212.js"></script>
+<script src="http://gist.github.com/212212.js"> </script>
The `commits` array is ordered with the most recent commit as the first element. The last element, therefor, is the oldest commit.
Here's an example payload:
-<script src="http://gist.github.com/212211.js"></script>
+<script src="http://gist.github.com/212211.js"> </script>
For more information on this technique, see the [Web Hooks Wiki](http://webhooks.pbwiki.com/).
diff --git a/_posts/2010-01-19-multiple-keys.markdown b/_posts/2010-01-19-multiple-keys.markdown
index 52c5c6e..fc82d5f 100644
--- a/_posts/2010-01-19-multiple-keys.markdown
+++ b/_posts/2010-01-19-multiple-keys.markdown
@@ -21,7 +21,7 @@ Configuring SSH
Once SSH has access to both keys, you need to tell it which key to use for which server. In most cases you can assume that SSH will fall back to `~/.ssh/id_rsa` by default, but we're going to force it anyway. To begin, open `~/.ssh/config` in your favorite editor.
-<script src="http://gist.github.com/281414.js?file=config"></script>
+<script src="http://gist.github.com/281414.js?file=config"> </script>
In short what this does is tells SSH to use the client key when connecting to the server github-client, which is really github.com.
diff --git a/_posts/2010-03-02-changing-author-info.markdown b/_posts/2010-03-02-changing-author-info.markdown
index 0dbab43..099aaf3 100644
--- a/_posts/2010-03-02-changing-author-info.markdown
+++ b/_posts/2010-03-02-changing-author-info.markdown
@@ -9,7 +9,7 @@ If you need to modify the author info in your repo's history, you can do so with
__Big bold warning__ This action is destructive to your repo's history. It's best to do this on a clone, just in case. Also beware that this should not be performed on a repo that has been shared with others. Use at your own risk.
-<script src="http://gist.github.com/262686.js?file=history_rewrite.sh"></script>
+<script src="http://gist.github.com/262686.js?file=history_rewrite.sh"> </script>
<noscript><pre>#!/bin/sh
git filter-branch --env-filter '