2
2
3
3
< html >
4
4
< head >
5
- < title > Twitter ♥ Open Source</ title >
5
+ < title > Intracom Telecom Open Source SDN-NFV Projects </ title >
6
6
< link rel ="stylesheet " type ="text/css " href ="assets/reset.css ">
7
7
< link rel ="stylesheet " type ="text/css " href ="assets/grid.css ">
8
8
< link rel ="stylesheet " type ="text/css " href ="assets/style.css ">
9
- < link href ="//abs.twimg.com/favicons/favicon.ico " rel ="shortcut icon " type ="image/x-icon ">
10
- < script type ="text/javascript ">
11
-
12
- var _gaq = _gaq || [ ] ;
13
- _gaq . push ( [ '_setAccount' , 'UA-39101739-1' ] ) ;
14
- _gaq . push ( [ '_trackPageview' ] ) ;
15
-
16
- ( function ( ) {
17
- var ga = document . createElement ( 'script' ) ; ga . type = 'text/javascript' ; ga . async = true ;
18
- ga . src = ( 'https:' == document . location . protocol ? 'https://ssl' : 'http://www' ) + '.google-analytics.com/ga.js' ;
19
- var s = document . getElementsByTagName ( 'script' ) [ 0 ] ; s . parentNode . insertBefore ( ga , s ) ;
20
- } ) ( ) ;
21
-
22
- </ script >
23
9
< script type ="text/javascript " src ="assets/jquery-1.7.1.min.js "> </ script >
24
10
< script type ="text/javascript " src ="assets/strftime.js "> </ script >
25
11
< script type ="text/javascript ">
26
12
( function ( $ , undefined ) {
27
13
28
14
// Put custom repo URL's in this object, keyed by repo name.
29
- var repoUrls = {
30
- "bootstrap" : "http://twitter.github.com/bootstrap/" ,
31
- "finagle" : "http://twitter.github.com/finagle/" ,
32
- "hogan.js" : "http://twitter.github.com/hogan.js/"
33
- } ;
15
+ var repoUrls = { } ;
34
16
35
17
function repoUrl ( repo ) {
36
18
return repoUrls [ repo . name ] || repo . html_url ;
37
19
}
38
20
39
21
// Put custom repo descriptions in this object, keyed by repo name.
40
- var repoDescriptions = {
41
- "bootstrap" : "An HTML, CSS, and JS toolkit designed to kickstart development of webapps and sites" ,
42
- "naggati2" : "A protocol builder for Netty using Scala 2.8"
43
- } ;
22
+ var repoDescriptions = { } ;
44
23
45
24
function repoDescription ( repo ) {
46
25
return repoDescriptions [ repo . name ] || repo . description ;
55
34
var $time = $ ( "<a>" ) . attr ( "href" , repo . html_url + "/commits" ) . text ( strftime ( "%h %e, %Y" , repo . pushed_at ) ) ;
56
35
$item . append ( $ ( "<span>" ) . addClass ( "time" ) . append ( $time ) ) ;
57
36
58
- $item . append ( '<span class="bullet">⋅</span>' ) ;
37
+ /* $item.append('<span class="bullet">⋅</span>');*/
59
38
60
- var $watchers = $ ( "<a>" ) . attr ( "href" , repo . html_url + "/watchers" ) . text ( repo . watchers + " stargazers" ) ;
39
+ /* var $watchers = $("<a>").attr("href", repo.html_url + "/watchers").text(repo.watchers + " stargazers");
61
40
$item.append($("<span>").addClass("watchers").append($watchers));
62
41
63
42
$item.append('<span class="bullet">⋅</span>');
64
43
65
44
var $forks = $("<a>").attr("href", repo.html_url + "/network").text(repo.forks + " forks");
66
- $item . append ( $ ( "<span>" ) . addClass ( "forks" ) . append ( $forks ) ) ;
45
+ $item.append($("<span>").addClass("forks").append($forks));*/
67
46
68
47
$item . appendTo ( "#recently-updated-repos" ) ;
69
48
}
81
60
repos = repos || [ ] ;
82
61
page = page || 1 ;
83
62
84
- var uri = "https://api.github.com/orgs/twitter /repos?callback=?"
63
+ var uri = "https://api.github.com/orgs/intracom-telecom-sdn /repos?callback=?"
85
64
+ "&per_page=100"
86
65
+ "&page=" + page ;
87
66
118
97
} ) ;
119
98
120
99
$ . each ( repos , function ( i , repo ) {
121
- addRepo ( repo ) ;
100
+ if ( repo . name != "intracom-telecom-sdn.github.io" )
101
+ addRepo ( repo ) ;
122
102
} ) ;
123
103
124
104
// Sort by most-recently pushed to.
137
117
}
138
118
addRepos ( ) ;
139
119
140
- //get total number of Twitter members
141
120
function getNumMembers ( page , numMembers ) {
142
121
var page = page || 1 ;
143
122
var numMembers = numMembers || 0 ;
158
137
}
159
138
getNumMembers ( ) ;
160
139
161
- function randomItem ( array ) {
162
- return array [ Math . floor ( Math . random ( ) * array . length ) ] ;
163
- }
164
-
165
- var $flyzone ;
166
-
167
- function flyzone ( ) {
168
- if ( ! $flyzone ) {
169
- $flyzone = $ ( "<div>" ) . attr ( "id" , "flyzone" ) . prependTo ( document . body ) ;
170
- }
171
-
172
- return $flyzone ;
173
- }
174
-
175
- var sizes = [ "smaller" , "small" , "medium" , "large" , "fat" ] ;
176
-
177
- var sizeDimensions = {
178
- "smaller" : 50 ,
179
- "small" : 80 ,
180
- "medium" : 130 ,
181
- "large" : 200 ,
182
- "fat" : 300
183
- } ;
184
-
185
- function randomOpacity ( threshold ) {
186
- var opacity = Math . random ( ) ;
187
-
188
- while ( opacity < threshold ) {
189
- opacity = Math . random ( ) ;
190
- }
191
-
192
- return opacity ;
193
- }
194
-
195
- function makeLarry ( sizeName , speed ) {
196
- var size = sizeDimensions [ sizeName ] ;
197
- var top = Math . floor ( ( flyzone ( ) . height ( ) - size ) * Math . random ( ) ) ;
198
-
199
- var $img = $ ( "<img>" )
200
- . addClass ( "larry size-" + sizeName )
201
- . attr ( "src" , "assets/larry.png" )
202
- . attr ( "width" , size )
203
- . attr ( "height" , size )
204
- . css ( {
205
- position : "absolute" ,
206
- opacity : randomOpacity ( 0.4 ) ,
207
- top : top ,
208
- left : - size
209
- } ) ;
210
-
211
- $img . prependTo ( flyzone ( ) ) ;
212
-
213
- var left = flyzone ( ) . width ( ) + size ;
214
-
215
- $img . animate ( { left : left } , speed , function ( ) {
216
- $img . remove ( ) ;
217
- makeRandomLarry ( ) ;
218
- } ) ;
219
-
220
- return $img ;
221
- }
222
-
223
- function makeRandomLarry ( ) {
224
- var size = randomItem ( sizes ) ;
225
- var speed = Math . floor ( Math . random ( ) * 20000 ) + 15000 ;
226
- return makeLarry ( size , speed ) ;
227
- }
228
-
229
- $ ( function ( ) {
230
- $ ( "#logo" ) . click ( function ( ) {
231
- makeRandomLarry ( ) ;
232
- } ) ;
233
- } ) ;
234
-
235
- var match = ( / \b l a r r y ( = ( \d + ) ) ? \b / i) . exec ( window . location . search ) ;
236
-
237
- if ( match ) {
238
- var n = parseInt ( match [ 2 ] ) || 20 ;
239
-
240
- $ ( function ( ) {
241
- for ( var i = 0 ; i < n ; ++ i ) {
242
- setTimeout ( makeRandomLarry , Math . random ( ) * n * 500 ) ;
243
- }
244
- } ) ;
245
- }
246
140
} ) ( jQuery ) ;
247
141
</ script >
248
142
</ head >
249
143
< body >
250
144
< div id ="wrapper " class ="grid clearfix ">
251
145
< div id ="main " class ="grid-1 ">
252
- < div id ="logo "> < h1 > Twitter Open Source</ h1 > </ div >
253
- < h1 > Twitter is built on open source software. </ h1 >
254
- < p > Want to help? < a href ="https://twitter .com/jobs " > Join the Flock </ a > </ p >
255
- < p > Visit < a href ="https://dev.twitter. com/ "> dev.twitter .com</ a > </ p >
256
- < p > < a href ="https://twitter.com/about/resources " > Logos and other goodies </ a > </ p >
257
- </ div >
146
+ < div id ="logo "> < h1 > Intracom Telecom Open Source</ h1 > </ div >
147
+ < h1 > A collection of projects related to SDN and NFV </ h1 >
148
+ < p > Contact us: < br > < a href ="mailto:sdn-nfv@intracom-telecom .com" > sdn-nfv@intracom-telecom.com </ a > </ p >
149
+ < p > Visit us: < a href ="https://intracom-telecom. com/ "> www.intracom-telecom .com</ a > </ p >
150
+ < p > Follow us: < a href ="https://twitter.com/intracomtelecom " > @intracomtelecom </ a > </ p >
151
+ </ div >
258
152
259
153
< div class ="grid grid-3 ">
260
154
< div id ="statistics " class ="grid-1 alpha header ">
@@ -264,7 +158,6 @@ <h1>Statistics</h1>
264
158
< br >
265
159
< a href ="https://github.com/intracom-telecom-sdn?tab=members "> < span id ="num-members "> < img src ="assets/spinner.gif " /> </ span > members</ a >
266
160
</ p >
267
- < p class ="email "> < a href ="mailto:opensource@twitter.com "> opensource@twitter.com</ a > </ p >
268
161
</ div >
269
162
270
163
< div id ="recently-updated " class ="grid-2 omega header ">
0 commit comments