-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
146 lines (136 loc) · 4.19 KB
/
index.html
File metadata and controls
146 lines (136 loc) · 4.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Jorrel's Webpage</title>
<link rel="openid.server" href="http://www.myopenid.com/server" />
<link rel="openid.delegate" href="http://jorrel.myopenid.com/" />
<style type="text/css">
body {
font-family: Verdana;
background: #D4D2FB url(images/gradient.png) repeat-y;
margin: 2em 0em 2em 10em;
}
ul {
list-style-type: none;
padding-left: 0.5em;
}
#photo {
float: left;
}
#photo img {
width: 173px;
height: 180px;
}
#links {
float: left;
width: 500px
}
#links ul li {
padding: 5px 0;
}
.link-url {
font-size: 0.6em;
font-style: italic;
color: #888;
}
.link-url:before {
content: '(';
}
.link-url:after {
content: ')';
}
#repos {
float: left;
width: 200px;
}
#foot {
text-align: center;
font-size: 0.7em;
color: #777;
margin: 2em 0 0 0;
clear: both;
width: 700px;
}
</style>
</head>
<body>
<h1>Welcome, you reached Jorrel's webpage.</h1>
<div id="links">
<p>
Here's some links:
</p>
<ul>
<li>
<a href="http://www.upstrat.com/">Company</a>
<span class="link-url">http://www.upstrat.com/</span>
</li>
<li>
<a href="http://jorrel.blogspot.com/">Blog</a>
<span class="link-url">http://jorrel.blogspot.com/</span>
</li>
<li>
<a href="http://www.twitter.com/jorrel">Twitter</a>
<span class="link-url">http://www.twitter.com/jorrel</span>
</li>
<li>
<a href="http://github.com/jorrel">GitHub</a>
<span class="link-url">http://github.com/jorrel</span>
</li>
<li>
<a href="http://del.icio.us/jorrel">del.icio.us</a>
<span class="link-url">http://del.icio.us/jorrel</span>
</li>
<li>
<a href="http://www.friendster.com/jorrel">Friendster</a>
<span class="link-url">http://www.friendster.com/jorrel</span>
</li>
<li>
<a href="http://picasaweb.google.com/jorrel">Picasa</a>
<span class="link-url">http://picasaweb.google.com/jorrel</span>
</li>
<li>
<a href="http://friendfeed.com/jorrel">FriendFeed</a>
<span class="link-url">http://friendfeed.com/jorrel</span>
</li>
<li>
<a href="http://www.workingwithrails.com/person/5866-jorrel-ang">Working With Rails</a>
<span class="link-url">http://www.workingwithrails.com/person/5866-jorrel-ang</span>
</li>
<li>
<a href="http://www.google.com/search?q=jorrel+ang">others</a>
<span class="link-url">http://www.google.com/search?q=jorrel+ang</span>
</li>
</ul>
</div>
<div id="photo">
<img src="images/jorrel-southpark.jpg" alt="jorrel's avatar" />
</div>
<br /><br /><br /><br /><br /><br /><br /><br /><br /><!-- ugly -->
<div id="repos">
<p>My Codes:</p>
<ul>
</ul>
</div>
<div id="foot">:)</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
var projects;
$(function() {
var limit = 30; // how many repos to list
var login = 'jorrel'; // your username
$.getJSON('http://github.com/api/v1/json/' + login + '?callback=?', function(data) {
projects = data;
var repos = $.grep(data.user.repositories, function(repo) {
return !(repo.fork || repo.name == login + '.github.com');
});
repos.sort(function(a, b) {
return b.watchers - a.watchers;
});
$.each(repos.slice(0, limit), function() {
$('#repos ul').append('<li><a href="' + this.url + '">' + this.name + '</a></li>');
});
});
});
</script>
</body>
</html>