Skip to content

Commit 670aa78

Browse files
committed
added project home
0 parents  commit 670aa78

File tree

4 files changed

+300
-0
lines changed

4 files changed

+300
-0
lines changed

css/common.css

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
body {
2+
font-family: Georgia, sans-serif;
3+
}
4+
5+
.forkme {
6+
position: absolute;
7+
top: 0;
8+
right: 0;
9+
border: 0;
10+
}
11+
12+
a {
13+
color: #333;
14+
}
15+
16+
a:hover {
17+
color: #636363;
18+
}
19+
20+
pre {
21+
margin: 0;
22+
}
23+
24+
#container {
25+
width: 700px;
26+
margin: 0 auto;
27+
}
28+
29+
#container .download img {
30+
width: 90px;
31+
border: 0;
32+
float: right;
33+
}
34+
35+
#container .branding > a {
36+
font-size: 400%;
37+
}
38+
39+
#container .branding .small {
40+
padding-left: 10px;
41+
font-size: 200%;
42+
}
43+
44+
#container .command {
45+
padding: 10px;
46+
background-color: #333;
47+
color: #FFE;
48+
}
49+
50+
#container .version {
51+
padding: 5px;
52+
background-color: #333;
53+
color: #FFE;
54+
}

css/ir_black.css

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
/*
2+
IR_Black style (c) Vasily Mikhailitchenko <vaskas@programica.ru>
3+
*/
4+
5+
pre code {
6+
display: block; padding: 0.5em;
7+
background: #333; color: #f8f8f8;
8+
}
9+
10+
pre .shebang,
11+
pre .comment,
12+
pre .template_comment,
13+
pre .javadoc {
14+
color: #7c7c7c;
15+
}
16+
17+
pre .keyword,
18+
pre .tag,
19+
pre .ruby .function .keyword,
20+
pre .tex .command {
21+
color: #96CBFE;
22+
}
23+
24+
pre .function .keyword,
25+
pre .sub .keyword,
26+
pre .method,
27+
pre .list .title {
28+
color: #FFFFB6;
29+
}
30+
31+
pre .string,
32+
pre .tag .value,
33+
pre .cdata,
34+
pre .filter .argument,
35+
pre .attr_selector,
36+
pre .apache .cbracket,
37+
pre .date {
38+
color: #A8FF60;
39+
}
40+
41+
pre .subst {
42+
color: #DAEFA3;
43+
}
44+
45+
pre .regexp {
46+
color: #E9C062;
47+
}
48+
49+
pre .function .title,
50+
pre .sub .identifier,
51+
pre .pi,
52+
pre .decorator,
53+
pre .ini .title,
54+
pre .tex .special {
55+
color: #FFFFB6;
56+
}
57+
58+
pre .class .title,
59+
pre .constant,
60+
pre .smalltalk .class,
61+
pre .javadoctag,
62+
pre .yardoctag,
63+
pre .phpdoc,
64+
pre .nginx .built_in {
65+
color: #FFFFB6;
66+
}
67+
68+
pre .symbol,
69+
pre .ruby .symbol .string,
70+
pre .ruby .symbol .keyword,
71+
pre .ruby .symbol .keymethods,
72+
pre .number,
73+
pre .variable,
74+
pre .vbscript,
75+
pre .literal {
76+
color: #C6C5FE;
77+
}
78+
79+
pre .css .keyword {
80+
color: #96CBFE;
81+
}
82+
83+
pre .css .rule .keyword,
84+
pre .css .id {
85+
color: #FFFFB6;
86+
}
87+
88+
pre .css .class {
89+
color: #FFF;
90+
}
91+
92+
pre .hexcolor {
93+
color: #C6C5FE;
94+
}
95+
96+
pre .number {
97+
color:#FF73FD;
98+
}
99+
100+
pre .tex .formula {
101+
opacity: 0.7;
102+
}

index.html

Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
6+
7+
<title>tbranyen/nodegit @ GitHub</title>
8+
9+
<link rel="stylesheet" href="css/common.css">
10+
<link rel="stylesheet" href="css/ir_black.css">
11+
</head>
12+
13+
<body>
14+
<!-- Fork Me -->
15+
<a href="http://github.com/tbranyen/nodegit">
16+
<img class="forkme" src="http://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub">
17+
</a>
18+
19+
<div id="container">
20+
21+
<!-- Download helpers -->
22+
<section class="download">
23+
<a href="http://github.com/tbranyen/nodegit/zipball/master">
24+
<img src="http://github.com/images/modules/download/zip.png"></a>
25+
<a href="http://github.com/tbranyen/nodegit/tarball/master">
26+
<img src="http://github.com/images/modules/download/tar.png"></a>
27+
</section>
28+
29+
<!-- Branding -->
30+
<section class="branding">
31+
<a href="http://github.com/tbranyen/nodegit">nodegit</a>
32+
<span class="small">by <a href="http://github.com/tbranyen">tbranyen</a></span>
33+
</section>
34+
35+
<div class="description">
36+
<span class="version">Version 0.0.1</span> Node.js libgit2 asynchronous native bindings
37+
</div>
38+
39+
<p>A collection of non-blocking Node.js libgit2 bindings, raw api, convenience api, unit tests, documentation and accomodations to make contributing easier.</p>
40+
41+
<h2>dependencies</h2>
42+
<p>
43+
<ul>
44+
<li><a href="http://nodejs.org/" target="_blank">Node.js 0.4.2 or latest</a></li>
45+
<li><a href="http://git-scm.com/" target="_blank">Git</a> <em>( if you want to unit test )</em></li>
46+
</ul>
47+
</p>
48+
49+
<h2>install</h2>
50+
<p>
51+
<pre class="command">sudo npm install nodegit</pre>
52+
</p>
53+
54+
<h2>use</h2>
55+
<p>
56+
<em>emulate `git log`</em>
57+
<pre><code>
58+
// Load in the module
59+
var git = require( 'nodegit' );
60+
// Open a repository for reading
61+
git.repo( '.git', function( err, repo ) {
62+
// Success is always 0, failure is always an error string
63+
if( err ) { throw err; }
64+
// Use the master branch
65+
repo.branch( 'master', function( err, branch ) {
66+
if( err ) { throw err; }
67+
// Iterate over the revision history
68+
branch.history.each( function( i, commit ) {
69+
// Print out `git log` emulation
70+
console.log( 'commit ' + commit.sha );
71+
console.log( commit.author.name + '<' + commit.author.email + '>' );
72+
console.log( commit.time );
73+
console.log( '\n' );
74+
console.log( commit.message );
75+
console.log( '\n' );
76+
});
77+
});
78+
});
79+
</code>
80+
</pre>
81+
</p>
82+
83+
84+
<h2>download</h2>
85+
<p>
86+
You can download this project in either
87+
<a href="http://github.com/tbranyen/nodegit/zipball/master">zip</a> or
88+
<a href="http://github.com/tbranyen/nodegit/tarball/master">tar</a> formats.
89+
</p>
90+
91+
<p>
92+
You can also clone and build the project with <a href="http://git-scm.com">Git</a> by running:
93+
<pre class="command">$ git clone git://github.com/tbranyen/nodegit
94+
95+
$ cd nodegit
96+
97+
$ ./configure
98+
$ make
99+
$ make install
100+
101+
update with
102+
103+
$ make update
104+
</pre>
105+
</p>
106+
107+
</div>
108+
109+
<script src="js/highlight.pack.js"></script>
110+
<script>
111+
hljs.tabReplace = ' ';
112+
hljs.initHighlightingOnLoad();
113+
</script>
114+
</body>
115+
</html>
116+
117+
<!--
118+
____ ____ ____ ____ ____ ____ ____
119+
||N |||O |||D |||E |||. |||J |||S ||
120+
||__|||__|||__|||__|||__|||__|||__||
121+
|/__\|/__\|/__\|/__\|/__\|/__\|/__\|
122+
123+
____
124+
||+ ||
125+
||__||
126+
|/__\|
127+
128+
____ ____ ____ ____ ____ ____ ____
129+
||L |||I |||B |||G |||I |||T |||2 ||
130+
||__|||__|||__|||__|||__|||__|||__||
131+
|/__\|/__\|/__\|/__\|/__\|/__\|/__\|
132+
133+
____
134+
||= ||
135+
||__||
136+
|/__\|
137+
138+
____ ____ ____ ____ ____ ____ ____
139+
||O |||W |||N |||Z |||O |||N |||E ||
140+
||__|||__|||__|||__|||__|||__|||__||
141+
|/__\|/__\|/__\|/__\|/__\|/__\|/__\|
142+
143+
-->

js/highlight.pack.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)