| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,47 @@ | |||
| 1 | + body { | ||
| 2 | + font-family: Georgia, sans-serif; | ||
| 3 | + } | ||
| 4 | + .forkme { | ||
| 5 | + position: absolute; | ||
| 6 | + top: 0; | ||
| 7 | + right: 0; | ||
| 8 | + border: 0; | ||
| 9 | + } | ||
| 10 | + | ||
| 11 | + a { | ||
| 12 | + color: #333; | ||
| 13 | + } | ||
| 14 | + | ||
| 15 | + a:hover { | ||
| 16 | + color: #636363; | ||
| 17 | + } | ||
| 18 | + | ||
| 19 | + pre { | ||
| 20 | + margin: 0; | ||
| 21 | + } | ||
| 22 | + | ||
| 23 | + #container { | ||
| 24 | + width: 700px; | ||
| 25 | + margin: 0 auto; | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | + #container .download img { | ||
| 29 | + width: 90px; | ||
| 30 | + border: 0; | ||
| 31 | + float: right; | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + #container .branding > a { | ||
| 35 | + font-size: 400%; | ||
| 36 | + } | ||
| 37 | + | ||
| 38 | + #container .branding .small { | ||
| 39 | + padding-left: 10px; | ||
| 40 | + font-size: 200%; | ||
| 41 | + } | ||
| 42 | + | ||
| 43 | + #container .command { | ||
| 44 | + padding: 10px; | ||
| 45 | + background-color: #333; | ||
| 46 | + color: #FFE; | ||
| 47 | + } | ||
| Original file line number | Diff line number | Diff 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 | + } | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,78 +1,131 @@ | |||
| 1 | - <!DOCTYPE html> | ||
| 2 | - <html> | ||
| 3 | - <head> | ||
| 4 | - <meta charset='utf-8'> | ||
| 5 | - | ||
| 6 | - <title>tbranyen/nodegit @ GitHub</title> | ||
| 7 | - | ||
| 8 | - <style type="text/css"> | ||
| 9 | - body { | ||
| 10 | - margin-top: 1.0em; | ||
| 11 | - background-color: #2e2e2e; | ||
| 12 | - font-family: Helvetica, Arial, FreeSans, san-serif; | ||
| 13 | - color: #ffffff; | ||
| 14 | - } | ||
| 15 | - #container { | ||
| 16 | - margin: 0 auto; | ||
| 17 | - width: 700px; | ||
| 18 | - } | ||
| 19 | - h1 { font-size: 3.8em; color: #d1d1d1; margin-bottom: 3px; } | ||
| 20 | - h1 .small { font-size: 0.4em; } | ||
| 21 | - h1 a { text-decoration: none } | ||
| 22 | - h2 { font-size: 1.5em; color: #d1d1d1; } | ||
| 23 | - h3 { text-align: center; color: #d1d1d1; } | ||
| 24 | - a { color: #d1d1d1; } | ||
| 25 | - .description { font-size: 1.2em; margin-bottom: 30px; margin-top: 30px; font-style: italic;} | ||
| 26 | - .download { float: right; } | ||
| 27 | - pre { background: #000; color: #fff; padding: 15px;} | ||
| 28 | - hr { border: 0; width: 80%; border-bottom: 1px solid #aaa} | ||
| 29 | - .footer { text-align:center; padding-top:30px; font-style: italic; } | ||
| 30 | - </style> | ||
| 31 | - </head> | ||
| 32 | - | ||
| 33 | - <body> | ||
| 34 | - <a href="http://github.com/tbranyen/nodegit"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a> | ||
| 35 | - | ||
| 36 | - <div id="container"> | ||
| 37 | - | ||
| 38 | - <div class="download"> | ||
| 39 | - <a href="http://github.com/tbranyen/nodegit/zipball/master"> | ||
| 40 | - <img border="0" width="90" src="http://github.com/images/modules/download/zip.png"></a> | ||
| 41 | - <a href="http://github.com/tbranyen/nodegit/tarball/master"> | ||
| 42 | - <img border="0" width="90" src="http://github.com/images/modules/download/tar.png"></a> | ||
| 43 | - </div> | ||
| 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> | ||
| 44 | 12 | ||
| 45 | - <h1><a href="http://github.com/tbranyen/nodegit">nodegit</a> | ||
| 46 | - <span class="small">by <a href="http://github.com/tbranyen">tbranyen</a></span></h1> | ||
| 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> | ||
| 47 | 18 | ||
| 48 | - <div class="description"> | ||
| 49 | - NodeJS libgit2 asynchronous native bindings | ||
| 50 | - </div> | ||
| 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> | ||
| 51 | 34 | ||
| 52 | - <p>A collection of non-blocking Node.js libgit2 bindings, which includes a full raw api and a convenience api.</p><h2>Dependencies</h2> | ||
| 53 | - <p>Node.js v0.4.2 or latest | ||
| 54 | - Git</p> | ||
| 35 | + <div class="description"> | ||
| 36 | + <span class="command">Version 0.0.1</span> Node.js libgit2 asynchronous native bindings | ||
| 37 | + </div> | ||
| 55 | 38 | ||
| 56 | - <h2>Install</h2> | ||
| 57 | - <p>sudo npm install nodegit</p> | ||
| 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 v0.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> | ||
| 58 | 48 | ||
| 59 | - <h2>Contact</h2> | ||
| 60 | - <p>Tim Branyen (tim@tabdeveloper.com)</p> | ||
| 49 | + <h2>install</h2> | ||
| 50 | + <p> | ||
| 51 | + <pre class="command">sudo npm install nodegit</pre> | ||
| 52 | + </p> | ||
| 61 | 53 | ||
| 54 | + <h2>use</h2> | ||
| 55 | + <p> | ||
| 56 | + <pre><code> | ||
| 57 | + // Load in the module | ||
| 58 | + var git = require( 'nodegit' ); | ||
| 62 | 59 | ||
| 63 | - <h2>Download</h2> | ||
| 64 | - <p> | ||
| 65 | - You can download this project in either | ||
| 66 | - <a href="http://github.com/tbranyen/nodegit/zipball/master">zip</a> or | ||
| 67 | - <a href="http://github.com/tbranyen/nodegit/tarball/master">tar</a> formats. | ||
| 68 | - </p> | ||
| 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.toLocaleString() + ' ' + commit.timeOffset ); | ||
| 73 | + console.log( '\n' ); | ||
| 74 | + console.log( commit.message ); | ||
| 75 | + }); | ||
| 76 | + }); | ||
| 77 | + }); | ||
| 78 | + </code> | ||
| 79 | + </pre> | ||
| 80 | + </p> | ||
| 69 | 81 | ||
| 70 | - <p>You can also clone the project with <a href="http://git-scm.com">Git</a> | ||
| 71 | - by running: | ||
| 72 | - <pre>$ git clone git://github.com/tbranyen/nodegit</pre> | ||
| 73 | - </p> | ||
| 74 | 82 | ||
| 75 | - </div> | ||
| 83 | + <h2>download</h2> | ||
| 84 | + <p> | ||
| 85 | + You can download this project in either | ||
| 86 | + <a href="http://github.com/tbranyen/nodegit/zipball/master">zip</a> or | ||
| 87 | + <a href="http://github.com/tbranyen/nodegit/tarball/master">tar</a> formats. | ||
| 88 | + </p> | ||
| 89 | + | ||
| 90 | + <p> | ||
| 91 | + You can also clone the project with <a href="http://git-scm.com">Git</a> by running: | ||
| 92 | + <pre class="command">$ git clone git://github.com/tbranyen/nodegit</pre> | ||
| 93 | + </p> | ||
| 94 | + | ||
| 95 | + </div> | ||
| 76 | 96 | ||
| 77 | - </body> | ||
| 97 | + <script src="js/highlight.pack.js"></script> | ||
| 98 | + <script> | ||
| 99 | + hljs.tabReplace = ' '; | ||
| 100 | + hljs.initHighlightingOnLoad(); | ||
| 101 | + </script> | ||
| 102 | + </body> | ||
| 78 | 103 | </html> | |
| 104 | + | ||
| 105 | + <!-- | ||
| 106 | + ____ ____ ____ ____ ____ ____ ____ | ||
| 107 | + ||N |||O |||D |||E |||. |||J |||S || | ||
| 108 | + ||__|||__|||__|||__|||__|||__|||__|| | ||
| 109 | + |/__\|/__\|/__\|/__\|/__\|/__\|/__\| | ||
| 110 | + | ||
| 111 | + ____ | ||
| 112 | + ||+ || | ||
| 113 | + ||__|| | ||
| 114 | + |/__\| | ||
| 115 | + | ||
| 116 | + ____ ____ ____ ____ ____ ____ ____ | ||
| 117 | + ||L |||I |||B |||G |||I |||T |||2 || | ||
| 118 | + ||__|||__|||__|||__|||__|||__|||__|| | ||
| 119 | + |/__\|/__\|/__\|/__\|/__\|/__\|/__\| | ||
| 120 | + | ||
| 121 | + ____ | ||
| 122 | + ||= || | ||
| 123 | + ||__|| | ||
| 124 | + |/__\| | ||
| 125 | + | ||
| 126 | + ____ ____ ____ ____ ____ ____ ____ | ||
| 127 | + ||O |||W |||N |||Z |||O |||N |||E || | ||
| 128 | + ||__|||__|||__|||__|||__|||__|||__|| | ||
| 129 | + |/__\|/__\|/__\|/__\|/__\|/__\|/__\| | ||
| 130 | + | ||
| 131 | + --> | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments