Every repository with this icon (
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Tue May 06 17:01:50 -0700 2008 | [carlosbrando] |
| |
History.txt | Tue May 06 17:39:09 -0700 2008 | [carlosbrando] |
| |
License.txt | Fri Apr 25 19:25:25 -0700 2008 | [drnic] |
| |
README.markdown | Tue May 06 17:55:16 -0700 2008 | [drnic] |
| |
Rakefile | Mon May 05 21:33:01 -0700 2008 | [drnic] |
| |
config/ | Sat Apr 26 03:38:37 -0700 2008 | [drnic] |
| |
lib/ | Fri Apr 25 19:25:25 -0700 2008 | [drnic] |
| |
script/ | Sat Apr 26 02:58:06 -0700 2008 | [drnic] |
| |
src/ | Tue May 06 17:52:04 -0700 2008 | [drnic] |
| |
tasks/ | Sat Apr 26 02:58:06 -0700 2008 | [drnic] |
| |
test/ | Tue May 06 17:52:04 -0700 2008 | [drnic] |
| |
website/ | Tue May 06 17:58:41 -0700 2008 | [drnic] |
Github Badges
Want to show off your projects on github to world? Then a sexy badge on your blog would be awesome.
Its still under development, but here is a screenshot of the unit tests + the sample badge below.
Live Demo
See the project website: http://drnicjavascript.rubyforge.org/githubbadge](http://drnicjavascript.rubyforge.org/githubbadge)
Usage
It is expected that to use the widget, you will copy + paste + modify the following snippet into your blog sidebar.
<div id="github-badge"></div>
<script type="text/javascript" charset="utf-8">
GITHUB_USERNAME = "drnic";
GITHUB_LIST_LENGTH = 10;
GITHUB_HEAD = "div"; // e.g. change to "h2" for wordpress sidebars
GITHUB_THEME = "white"; // try 'black'
GITHUB_TITLE = "My projects"
GITHUB_SHOW_ALL = "Show all"
</script>
<script src="http://drnicjavascript.rubyforge.org/github_badge/dist/github-badge-launcher.js" type="text/javascript"></script>
Black background? If your site has a black background the badge will automatically attempt to use the black_badge.css theme. If it doesn’t trigger for your site add the GITHUB_THEME='black' code to the configuration above.
Website
http://drnicjavascript.rubyforge.org/githubbadge](http://drnicjavascript.rubyforge.org/githubbadge)
Author
Dr Nic Williams, drnicwilliams@gmail.com






