Skip to content

Commit

Permalink
replace tabs with spaces, remove some whitespace at EOL
Browse files Browse the repository at this point in the history
  • Loading branch information
acrogenesis committed Dec 18, 2013
1 parent c537d43 commit 52b006a
Show file tree
Hide file tree
Showing 8 changed files with 200 additions and 205 deletions.
22 changes: 11 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>GitHub R&eacute;sum&eacute;</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="keywords" content="cv, resume, hResume, github, community, free, fun, nice, useful" />
<meta name="description" content="GitHub resumes, generated by the community, for the community." />
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.7.0/build/reset-fonts-grids/reset-fonts-grids.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/resume.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/print.css" media="print" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.1.min.js"></script>
<script type="text/javascript" src="js/mustache.js"></script>
<script type="text/javascript" src="js/githubresume.js"></script>
<title>GitHub R&eacute;sum&eacute;</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="keywords" content="cv, resume, hResume, github, community, free, fun, nice, useful" />
<meta name="description" content="GitHub resumes, generated by the community, for the community." />
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.7.0/build/reset-fonts-grids/reset-fonts-grids.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/resume.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/print.css" media="print" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.1.min.js"></script>
<script type="text/javascript" src="js/mustache.js"></script>
<script type="text/javascript" src="js/githubresume.js"></script>
</head>
<body id="resume">
<noscript>You need to enable Javascript to generate and see r&eacute;sum&eacute; pages.</noscript>
<noscript>You need to enable Javascript to generate and see r&eacute;sum&eacute; pages.</noscript>
</body>
</html>
18 changes: 9 additions & 9 deletions js/githubresume.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,12 @@ var run = function() {
since: since,
resume_url: window.location
};

// We consider a limit of 4 months since the GitHub opening (Feb 2008) to be considered as an early adopter
if ((since == '2008' && sinceMonth <= 5) || since <= '2007') {
view.earlyAdopter = 1;
}

view.userStatus = getUserStatus();
function getUserStatus() {
var COEF_REPOS = 2;
Expand All @@ -203,22 +203,22 @@ var run = function() {
var FOURTH_STEP = 50;
var FIFTH_STEP = 150;
var EXTRA_POINT_GAIN = 1;

var statusScore = data.public_repos * COEF_REPOS
+ data.public_gists * COEF_GISTS
+ data.followers * COEF_FOLLOWERS
+ data.following * COEF_FOLLOWING;

// Extra points
// - Early adopter
if (view.earlyAdopter == 1) {
statusScore += EXTRA_POINT_GAIN;
}
// - Blog & Email & Location
if (view.location && view.location != '' && view.email && view.email != '' && data.blog && data.blog != '') {
statusScore += EXTRA_POINT_GAIN;
}
if (view.location && view.location != '' && view.email && view.email != '' && data.blog && data.blog != '') {
statusScore += EXTRA_POINT_GAIN;
}

if (statusScore == FIRST_STEP) {
return 'Inactive GitHub user';
}
Expand All @@ -238,7 +238,7 @@ var run = function() {
return 'Passionate GitHub user';
}
};

if (data.blog !== undefined && data.blog !== null && data.blog !== '') {
view.website = addHttp + data.blog;
}
Expand Down
28 changes: 13 additions & 15 deletions views/job.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
<div class="job {{last}}">
<h2>
<a href="http://github.com/{{username}}/{{name}}">{{name}}</a>
</h2>
<h3>{{#language}}{{language}} - {{/language}}Creator &amp; Owner</h3>
<h4>{{date}}</h4>
<p>{{description}}</p>
<p>
This repository has {{watchers}} {{watchersLabel}} and {{forks}} {{forksLabel}}.
If you would like more information about this repository and my
contributed code, please visit
<a href="https://github.com/{{username}}/{{name}}">the repo</a> on
GitHub.
</p>
<h2>
<a href="http://github.com/{{username}}/{{name}}">{{name}}</a>
</h2>
<h3>{{#language}}{{language}} - {{/language}}Creator &amp; Owner</h3>
<h4>{{date}}</h4>
<p>{{description}}</p>
<p>
This repository has {{watchers}} {{watchersLabel}} and {{forks}} {{forksLabel}}.
If you would like more information about this repository and my
contributed code, please visit
<a href="https://github.com/{{username}}/{{name}}">the repo</a> on
GitHub.
</p>
</div>


6 changes: 3 additions & 3 deletions views/opt_out.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<div id="hd" role="banner"><h1>This user hasn't opted in</h1></div>
<div id="bd" role="main">
<div class="yui-g">
<p>This user has <strong>not</strong> opted in to this unofficial GitHub résumé service.</p>
<br />
<p>If you would like to opt-in, simply go to our <a href="http://github.com/resume/resume.github.com">GitHub Project</a> page and <strong>star</strong> the project.</p>
<p>This user has <strong>not</strong> opted in to this unofficial GitHub résumé service.</p>
<br />
<p>If you would like to opt-in, simply go to our <a href="http://github.com/resume/resume.github.com">GitHub Project</a> page and <strong>star</strong> the project.</p>
</div>
</div>

Expand Down
15 changes: 6 additions & 9 deletions views/org.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@

<div class="org {{last}}">
<h2>{{name}}</h2>
<h3>Member</h3>
<h4>{{now}}</h4>
<p>If you would like more information about this organization, please visit <a href="https://github.com/{{name}}">the organization page</a> on GitHub.</p>
</div>


<div class="org {{last}}">
<h2>{{name}}</h2>
<h3>Member</h3>
<h4>{{now}}</h4>
<p>If you would like more information about this organization, please visit <a href="https://github.com/{{name}}">the organization page</a> on GitHub.</p>
</div>
10 changes: 5 additions & 5 deletions views/repo.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{#repo}}
<hgroup>
<h1>{{repo}}</h1>
<h2>{{language}}</h2>
</hgroup>
<p>{{description}}</p>
<hgroup>
<h1>{{repo}}</h1>
<h2>{{language}}</h2>
</hgroup>
<p>{{description}}</p>
{{/repo}}
158 changes: 79 additions & 79 deletions views/resume.html
Original file line number Diff line number Diff line change
@@ -1,58 +1,58 @@
<div id="actions" class="yui-t7">
<a href="#" id="print">Print</a>
<a href="mailto:?subject=Resume for {{name}}&body=Link to resume: {{resume_url}}" id="email">Email</a>
<a href="#" id="print">Print</a>
<a href="mailto:?subject=Resume for {{name}}&body=Link to resume: {{resume_url}}" id="email">Email</a>
</div>

<div id="doc2" class="yui-t7">

<div id="inner" class="vcard">
<div id="inner" class="vcard">

<div id="hd">
<div class="yui-gc">
<div class="yui-u first">
<h1 class="fn">{{name}}</h1>
<h2>{{userStatus}}</h2>
</div>
<div id="hd">
<div class="yui-gc">
<div class="yui-u first">
<h1 class="fn">{{name}}</h1>
<h2>{{userStatus}}</h2>
</div>

<div class="yui-u">
<div class="contact-info">
{{#gravatar_id}}
<img src="https://secure.gravatar.com/avatar/{{gravatar_id}}?s=140&amp;d=https://github.com/images/gravatars/gravatar-140.png" alt="avatar" class="photo" />
{{/gravatar_id}}
{{#email}}<h3><a href="mailto:{{email}}" class="email">{{email}}</a></h3>{{/email}}
</div><!--// .contact-info -->
</div>
</div><!--// .yui-gc -->
</div><!--// hd -->
<div class="yui-u">
<div class="contact-info">
{{#gravatar_id}}
<img src="https://secure.gravatar.com/avatar/{{gravatar_id}}?s=140&amp;d=https://github.com/images/gravatars/gravatar-140.png" alt="avatar" class="photo" />
{{/gravatar_id}}
{{#email}}<h3><a href="mailto:{{email}}" class="email">{{email}}</a></h3>{{/email}}
</div><!--// .contact-info -->
</div>
</div><!--// .yui-gc -->
</div><!--// hd -->

<div id="bd">
<div id="yui-main">
<div class="yui-b">
<div id="bd">
<div id="yui-main">
<div class="yui-b">

<div id="profile" class="yui-gf">
<div class="yui-u first">
<h2>GitHub Profile</h2>
</div>
<div class="yui-u">
<p class="enlarge">
On GitHub {{#earlyAdopter}}as an early adopter {{/earlyAdopter}} since {{since}}, {{name}} is a developer
{{#location}}
based in <span class="adr locality">{{location}}</span>
{{/location}}
{{#repos}}with <a href="https://github.com/{{{username}}}?tab=repositories">{{repos}} public {{reposLabel}}</a>{{/repos}}{{^repos}}without any public repository for now{{/repos}}{{#followers}}&nbsp;and <a href="https://github.com/{{{username}}}/followers">{{followers}} {{followersLabel}}</a>{{/followers}}.
</p>
</div>
</div><!--// .yui-gf -->
{{#website}}
<div class="yui-gf" id="mywebsite">
<div class="yui-u first">
<h2>Website</h2>
</div>
<div class="yui-u" id="content-website">
<a href="{{website}}" id="mywebsite" title="{{name}}'s website">{{website}}</a>
</div>
</div>
{{/website}}
<div id="profile" class="yui-gf">
<div class="yui-u first">
<h2>GitHub Profile</h2>
</div>
<div class="yui-u">
<p class="enlarge">
On GitHub {{#earlyAdopter}}as an early adopter {{/earlyAdopter}} since {{since}}, {{name}} is a developer
{{#location}}
based in <span class="adr locality">{{location}}</span>
{{/location}}
{{#repos}}with <a href="https://github.com/{{{username}}}?tab=repositories">{{repos}} public {{reposLabel}}</a>{{/repos}}{{^repos}}without any public repository for now{{/repos}}{{#followers}}&nbsp;and <a href="https://github.com/{{{username}}}/followers">{{followers}} {{followersLabel}}</a>{{/followers}}.
</p>
</div>
</div><!--// .yui-gf -->
{{#website}}
<div class="yui-gf" id="mywebsite">
<div class="yui-u first">
<h2>Website</h2>
</div>
<div class="yui-u" id="content-website">
<a href="{{website}}" id="mywebsite" title="{{name}}'s website">{{website}}</a>
</div>
</div>
{{/website}}
<div class="yui-gf" id="mylanguages">
<div class="yui-u first">
<h2>Languages</h2>
Expand All @@ -61,47 +61,47 @@ <h2>Languages</h2>

</div>
</div>
<div id="repositories" class="yui-gf">
<div class="yui-u first">
<h2>Popular Repositories</h2>
</div><!--// .yui-u -->
<div id="repositories" class="yui-gf">
<div class="yui-u first">
<h2>Popular Repositories</h2>
</div><!--// .yui-u -->

<div class="yui-u" id="jobs">
<div class="yui-u" id="jobs">
<span>Loading information...</span><img src="images/loader.gif" />
</div><!--// .yui-u -->
</div><!--// .yui-gf -->
</div><!--// .yui-u -->
</div><!--// .yui-gf -->

<div class="yui-gf" id="organizations">
<div class="yui-u first">
<h2>Organizations</h2>
</div><!--// .yui-u -->
<div class="yui-u first">
<h2>Organizations</h2>
</div><!--// .yui-u -->

<div class="yui-u" id="orgs">
<div class="yui-u" id="orgs">
<span>Loading information...</span><img src="images/loader.gif" />
</div><!--// .yui-u -->
</div><!--// .yui-gf -->
</div><!--// .yui-u -->
</div><!--// .yui-gf -->

<div id="about" class="yui-gf last">
<div class="yui-u first">
<h2>About This R&eacute;sum&eacute;</h2>
</div>
<div class="yui-u">
<p class="enlarge">
This r&eacute;sum&eacute; is generated automatically using public information from the developer's GitHub account. The repositories are
ordered by popularity based on a very simple popularity heuristic that defines the popularity of a repository
by its sum of watchers and forks. Do not hesitate to visit <a href="https://github.com/{{{username}}}" title="{{name}}'s GitHub page">{{name}}'s GitHub page</a>
for a complete work history.
</p>
</div>
</div><!--// .yui-gf -->
</div><!--// .yui-b -->
</div><!--// yui-main -->
</div><!--// bd -->
<div id="about" class="yui-gf last">
<div class="yui-u first">
<h2>About This R&eacute;sum&eacute;</h2>
</div>
<div class="yui-u">
<p class="enlarge">
This r&eacute;sum&eacute; is generated automatically using public information from the developer's GitHub account. The repositories are
ordered by popularity based on a very simple popularity heuristic that defines the popularity of a repository
by its sum of watchers and forks. Do not hesitate to visit <a href="https://github.com/{{{username}}}" title="{{name}}'s GitHub page">{{name}}'s GitHub page</a>
for a complete work history.
</p>
</div>
</div><!--// .yui-gf -->
</div><!--// .yui-b -->
</div><!--// yui-main -->
</div><!--// bd -->

<div id="ft">
<p>{{name}} &mdash; {{#email}}<a href="mailto:{{email}}">{{email}}</a> &mdash; {{/email}} {{#website}}<a href="{{website}}" title="{{name}}'s website">{{website}}</a> &mdash; {{/website}} <a href="https://github.com/{{username}}" title="GitHub profile" class="url">https://github.com/{{username}}</a></p>
</div><!--// footer -->
<div id="ft">
<p>{{name}} &mdash; {{#email}}<a href="mailto:{{email}}">{{email}}</a> &mdash; {{/email}} {{#website}}<a href="{{website}}" title="{{name}}'s website">{{website}}</a> &mdash; {{/website}} <a href="https://github.com/{{username}}" title="GitHub profile" class="url">https://github.com/{{username}}</a></p>
</div><!--// footer -->

</div><!-- // inner -->
</div><!-- // inner -->

</div><!--// doc -->
Loading

0 comments on commit 52b006a

Please sign in to comment.