Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bd3fb75

Browse files
author
Troy Melhase
committed
Created gh-pages branch via GitHub
0 parents  commit bd3fb75

File tree

10 files changed

+787
-0
lines changed

10 files changed

+787
-0
lines changed

images/code.png

1.15 KB
Loading

images/pattern.png

13 KB
Loading

images/tar.png

1.3 KB
Loading

images/top.png

1.09 KB
Loading

images/zip.png

1.28 KB
Loading

index.html

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
<!doctype html>
2+
<!-- The Time Machine GitHub pages theme was designed and developed by Jon Rohan, on Feb 7, 2012. -->
3+
<!-- Follow him for fun. http://twitter.com/jonrohan. Tail his code on http://github.com/jonrohan -->
4+
<html>
5+
<head>
6+
<meta charset="utf-8">
7+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
8+
9+
<link rel="stylesheet" href="stylesheets/stylesheet.css" media="screen"/>
10+
<link rel="stylesheet" href="stylesheets/pygment_trac.css"/>
11+
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
12+
<script type="text/javascript" src="javascripts/script.js"></script>
13+
14+
<title>java2python</title>
15+
<meta name="description" content="Simple but effective library to translate Java source code to Python.">
16+
17+
<meta name="viewport" content="width=device-width,initial-scale=1">
18+
19+
</head>
20+
21+
<body>
22+
23+
<div class="wrapper">
24+
<header>
25+
<h1 class="title">java2python</h1>
26+
</header>
27+
<div id="container">
28+
<p class="tagline">Simple but effective library to translate Java source code to Python.</p>
29+
<div id="main" role="main">
30+
<div class="download-bar">
31+
<div class="inner">
32+
<a href="https://github.com/natural/java2python/tarball/master" class="download-button tar"><span>Download</span></a>
33+
<a href="https://github.com/natural/java2python/zipball/master" class="download-button zip"><span>Download</span></a>
34+
<a href="https://github.com/natural/java2python" class="code">fork java2python on GitHub</a>
35+
</div>
36+
<span class="blc"></span><span class="trc"></span>
37+
</div>
38+
<article class="markdown-body">
39+
<h3>Welcome to GitHub Pages.</h3>
40+
41+
<p>This automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here using GitHub Flavored Markdown, select a template crafted by a designer, and publish. After your page is generated, you can check out the new branch:</p>
42+
43+
<pre><code>$ cd your_repo_root/repo_name
44+
$ git fetch origin
45+
$ git checkout gh-pages
46+
</code></pre>
47+
48+
<p>If you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.</p>
49+
50+
<h3>Designer Templates</h3>
51+
52+
<p>We've crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved if it remained markdown format.</p>
53+
54+
<h3>Rather Drive Stick?</h3>
55+
56+
<p>If you prefer to not use the automatic generator, push a branch named <code>gh-pages</code> to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator written by our own Tom Preston-Werner. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.</p>
57+
58+
<h3>Authors and Contributors</h3>
59+
60+
<p>You can <a href="https://github.com/blog/821" class="user-mention">@mention</a> a GitHub username to generate a link to their profile. The resulting <code>&lt;a&gt;</code> element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (<a href="/defunkt" class="user-mention">@defunkt</a>), PJ Hyett (<a href="/pjhyett" class="user-mention">@pjhyett</a>), and Tom Preston-Werner (<a href="/mojombo" class="user-mention">@mojombo</a>) founded GitHub.</p>
61+
62+
<h3>Support or Contact</h3>
63+
64+
<p>Having trouble with Pages? Check out the documentation at <a href="http://help.github.com/pages">http://help.github.com/pages</a> or contact [email protected] and we’ll help you sort it out.</p>
65+
</article>
66+
</div>
67+
</div>
68+
<footer>
69+
<div class="owner">
70+
<p><a href="https://github.com/natural" class="avatar"><img src="https://secure.gravatar.com/avatar/3adcd9a46ec42fcee1d67e29cb7ca4a2?s=30&amp;d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png" width="48" height="48"/></a> <a href="https://github.com/natural">natural</a> maintains <a href="https://github.com/natural/java2python">java2python</a></p>
71+
</div>
72+
<div class="creds">
73+
<small>This page generated using <a href="https://pages.github.com/">GitHub Pages</a><br/>theme by <a href="http://twitter.com/jonrohan/">Jon Rohan</a></small>
74+
</div>
75+
</footer>
76+
</div>
77+
<div class="current-section">
78+
<a href="#top">Scroll to top</a>
79+
<a href="https://github.com/natural/java2python/tarball/master" class="tar">tar</a><a href="https://github.com/natural/java2python/zipball/master" class="zip">zip</a><a href="" class="code">source code</a>
80+
<p class="name"></p>
81+
</div>
82+
83+
84+
</body>
85+
</html>

javascripts/script.js

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
(function($) {
2+
$(document).ready(function(){
3+
4+
// putting lines by the pre blocks
5+
$("pre").each(function(){
6+
var pre = $(this).text().split("\n");
7+
var lines = new Array(pre.length+1);
8+
for(var i = 0; i < pre.length; i++) {
9+
var wrap = Math.floor(pre[i].split("").length / 70)
10+
if (pre[i]==""&&i==pre.length-1) {
11+
lines.splice(i, 1);
12+
} else {
13+
lines[i] = i+1;
14+
for(var j = 0; j < wrap; j++) {
15+
lines[i] += "\n";
16+
}
17+
}
18+
}
19+
$(this).before("<pre class='lines'>" + lines.join("\n") + "</pre>");
20+
});
21+
22+
var headings = [];
23+
24+
var collectHeaders = function(){
25+
headings.push({"top":$(this).offset().top - 15,"text":$(this).text()});
26+
}
27+
28+
if($(".markdown-body h1").length > 1) $(".markdown-body h1").each(collectHeaders)
29+
else if($(".markdown-body h2").length > 1) $(".markdown-body h2").each(collectHeaders)
30+
else if($(".markdown-body h3").length > 1) $(".markdown-body h3").each(collectHeaders)
31+
32+
$(window).scroll(function(){
33+
if(headings.length==0) return true;
34+
var scrolltop = $(window).scrollTop() || 0;
35+
if(headings[0] && scrolltop < headings[0].top) {
36+
$(".current-section").css({"opacity":0,"visibility":"hidden"});
37+
return false;
38+
}
39+
$(".current-section").css({"opacity":1,"visibility":"visible"});
40+
for(var i in headings) {
41+
if(scrolltop >= headings[i].top) {
42+
$(".current-section .name").text(headings[i].text);
43+
}
44+
}
45+
});
46+
47+
$(".current-section a").click(function(){
48+
$(window).scrollTop(0);
49+
return false;
50+
})
51+
});
52+
})(jQuery)

params.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"name":"java2python","body":"### Welcome to GitHub Pages.\r\nThis automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here using GitHub Flavored Markdown, select a template crafted by a designer, and publish. After your page is generated, you can check out the new branch:\r\n\r\n```\r\n$ cd your_repo_root/repo_name\r\n$ git fetch origin\r\n$ git checkout gh-pages\r\n```\r\n\r\nIf you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.\r\n\r\n### Designer Templates\r\nWe've crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved if it remained markdown format.\r\n\r\n### Rather Drive Stick?\r\nIf you prefer to not use the automatic generator, push a branch named `gh-pages` to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator written by our own Tom Preston-Werner. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.\r\n\r\n### Authors and Contributors\r\nYou can @mention a GitHub username to generate a link to their profile. The resulting `<a>` element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (@defunkt), PJ Hyett (@pjhyett), and Tom Preston-Werner (@mojombo) founded GitHub.\r\n\r\n### Support or Contact\r\nHaving trouble with Pages? Check out the documentation at http://help.github.com/pages or contact [email protected] and we’ll help you sort it out.","tagline":"Simple but effective library to translate Java source code to Python.","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}

stylesheets/pygment_trac.css

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
.highlight { background: #ffffff; }
2+
.highlight .c { color: #999988; font-style: italic } /* Comment */
3+
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
4+
.highlight .k { font-weight: bold } /* Keyword */
5+
.highlight .o { font-weight: bold } /* Operator */
6+
.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
7+
.highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
8+
.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
9+
.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
10+
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
11+
.highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
12+
.highlight .ge { font-style: italic } /* Generic.Emph */
13+
.highlight .gr { color: #aa0000 } /* Generic.Error */
14+
.highlight .gh { color: #999999 } /* Generic.Heading */
15+
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
16+
.highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
17+
.highlight .go { color: #888888 } /* Generic.Output */
18+
.highlight .gp { color: #555555 } /* Generic.Prompt */
19+
.highlight .gs { font-weight: bold } /* Generic.Strong */
20+
.highlight .gu { color: #800080; font-weight: bold; } /* Generic.Subheading */
21+
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
22+
.highlight .kc { font-weight: bold } /* Keyword.Constant */
23+
.highlight .kd { font-weight: bold } /* Keyword.Declaration */
24+
.highlight .kn { font-weight: bold } /* Keyword.Namespace */
25+
.highlight .kp { font-weight: bold } /* Keyword.Pseudo */
26+
.highlight .kr { font-weight: bold } /* Keyword.Reserved */
27+
.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
28+
.highlight .m { color: #009999 } /* Literal.Number */
29+
.highlight .s { color: #d14 } /* Literal.String */
30+
.highlight .na { color: #008080 } /* Name.Attribute */
31+
.highlight .nb { color: #0086B3 } /* Name.Builtin */
32+
.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
33+
.highlight .no { color: #008080 } /* Name.Constant */
34+
.highlight .ni { color: #800080 } /* Name.Entity */
35+
.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
36+
.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
37+
.highlight .nn { color: #555555 } /* Name.Namespace */
38+
.highlight .nt { color: #000080 } /* Name.Tag */
39+
.highlight .nv { color: #008080 } /* Name.Variable */
40+
.highlight .ow { font-weight: bold } /* Operator.Word */
41+
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
42+
.highlight .mf { color: #009999 } /* Literal.Number.Float */
43+
.highlight .mh { color: #009999 } /* Literal.Number.Hex */
44+
.highlight .mi { color: #009999 } /* Literal.Number.Integer */
45+
.highlight .mo { color: #009999 } /* Literal.Number.Oct */
46+
.highlight .sb { color: #d14 } /* Literal.String.Backtick */
47+
.highlight .sc { color: #d14 } /* Literal.String.Char */
48+
.highlight .sd { color: #d14 } /* Literal.String.Doc */
49+
.highlight .s2 { color: #d14 } /* Literal.String.Double */
50+
.highlight .se { color: #d14 } /* Literal.String.Escape */
51+
.highlight .sh { color: #d14 } /* Literal.String.Heredoc */
52+
.highlight .si { color: #d14 } /* Literal.String.Interpol */
53+
.highlight .sx { color: #d14 } /* Literal.String.Other */
54+
.highlight .sr { color: #009926 } /* Literal.String.Regex */
55+
.highlight .s1 { color: #d14 } /* Literal.String.Single */
56+
.highlight .ss { color: #990073 } /* Literal.String.Symbol */
57+
.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
58+
.highlight .vc { color: #008080 } /* Name.Variable.Class */
59+
.highlight .vg { color: #008080 } /* Name.Variable.Global */
60+
.highlight .vi { color: #008080 } /* Name.Variable.Instance */
61+
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
62+
63+
.type-csharp .highlight .k { color: #0000FF }
64+
.type-csharp .highlight .kt { color: #0000FF }
65+
.type-csharp .highlight .nf { color: #000000; font-weight: normal }
66+
.type-csharp .highlight .nc { color: #2B91AF }
67+
.type-csharp .highlight .nn { color: #000000 }
68+
.type-csharp .highlight .s { color: #A31515 }
69+
.type-csharp .highlight .sc { color: #A31515 }

0 commit comments

Comments
 (0)