-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
281 lines (271 loc) · 11 KB
/
index.html
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
<!DOCTYPE html>
<html>
<head>
<title>Andrew Kulinich - UI development expert, javascript team lead</title>
<script src="http://code.jquery.com/jquery-1.4.4.min.js"></script>
<script src="http://4vanger.com/libs/jquery.tmpl.js"></script>
<script src="http://4vanger.com/libs/underscore.js"></script>
<link href="resume.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
/**
* Welcome to secret CV level.
* Code below uses some funny Javascript tricks.
* Don't think I'm writing such kind of code for production :)
**/
$(function(){
var resume = {
name: "boom galaxy galaxy dna javascript htc ini lupus google",// WTF?
nickname: "4vanger",
desiredPosition: "UI development expert, javascript team lead",
birthTimestamp: 429408000000,
viagraPillsUsed: Math.floor(Math.PI) - Math.round(Math.E),
notes: "Few words about myself to make this resume less formal.\n\
When I got interested how whisky is made - I built my own distillery at home. Yes, I'm hacker - I'm interested how things are made.\n\
When something is not working correctly - I will get to the root of problem, fix it and learn from that.\n\
I hate poorly written code, incorrect indents or inconsistently named variables. Code should be perfect - only then it will work correctly.\n\
I love Javascript a lot because it is so easy and agile. And today I could write anything with Javascript - not only browser UI, but also server-side and mobile apps. I love it so much that even this resume is written on Javascript - check out page source.\n\
I live in Ukraine, but I'm ok to relocate if necessary.",
education: "Ukraine, Chernivtsi National University 2000-2005, Master's degree on CS",
codeLinesWritten: Infinity,
iAmUsingGotoOperator: 3.3 * 3 == 9.9,
jobs: [
{
company: "IT Group",
href: "http://www.itgrp.net/",
position: "Web developer, project manager",
notes: "My first job, using Ruby (my love!), first projects with JS. Acting as a project manager.",
startTimestamp: 1044057600000,
finishTimestamp: 1096588800000
},
{
company: "U-wiss",
href: "http://www.u-wiss.com/",
position: "Java/Javascript web developer",
notes: "Started as a Java developer - building all that huge ERP, B2B systems using JBoss, EJB etc. Then switched to writing Javascript and stucked there for next 6 years (at present moment)",
startTimestamp: 1096588800000,
finishTimestamp: 1146441600000
},
{
company: "Self-employed",
href: "http://www.rentacoder.com/",
position: "Freelance developer",
notes: "Great way to learn something new. Different tasks every day, working at night to get into customer timezone. Selling Javascript as my major skill.",
startTimestamp: 1117584000000,
finishTimestamp: 1133395200000
},
{
company: "Zapatec",
href: "http://www.zapatec.com/",
position: "AJAX tech lead, department manager",
notes: "Developing Zapatec AJAX Suite - commercial Javascript framework with very handy widgets. Opened an R&D office in Chernivtsi, Ukraine. Growing the team up to 12 developers.",
startTimestamp: 1146441600000,
finishTimestamp: 1225497600000
},
{
company: "Funambol",
href: "http://www.funambol.com/",
position: "AJAX tech lead, department manager",
notes: "Funambol acquired Zapatec and we concentrated on building solid web 2.0 app for working with phone sync data. <a href='http://my.funambol.com/' target='_blank'>Try it live</a>. Still managing ukrainian R&D office.",
startTimestamp: 1225497600000,
finishTimestamp: 1296518400000
},
{
company: "Appcelerator",
href: "http://www.appcelerator.com/",
position: "AJAX tech lead, department manager",
notes: "After Funambol my team started working for Appcelerator. We've created environment for creating, managing and running black-box tests for mobile applications. Also in a very short term developed <a href='http://developer.appcelerator.com/blog/2011/05/major-titanium-updates.html' target='_blank'>HTML5 Mobile Web SDK</a> for running your Titanium projects into browser.",
startTimestamp: 1296518400000
}
],
projects: [
{
name: "Bugazza team",
href: "http://www.bugazza.com/",
description: "Created a team and grew it from scratch.",
experienceGained: "Hiring people, firing people, managing relations inside the team, supporting office work, finding a customers.",
status: "Great team. Enjoying working with my friends every day.",
startTimestamp: 1146441600000
},
{
name: 'Email-Me-Not',
href: "https://www.email-me-not.com/",
startTimestamp: 1275350400000,
description: "Stores account data for your online accounts, provides good unique passwords, strongly encrypts everything, provides unique email address for every account that redirects mail for your account.",
status: "Launched, actively using myself. For public usage must spent more time on design and bug fixing",
experienceGained: "Working with mail server, learned jQuery, encryption in PHP."
},
{
name: 'Service Book',
description: "Low-end cell phones application to provide a local services directory. Order taxi, pizza or get latest football results using your feature phone.",
experienceGained: "Entrepreneur skills +20, writing pitch, executive summary, calculating financials and figuring out business models.",
status: "Closed. We had good idea, great business advisory and almost had our first big customer. Decided to stop development because this is not our area of competence.",
startTimestamp: 1296518400000,
finishTimestamp: 1301616000000
},
{
name: 'Oolli2',
description: "Social game on FB",
experienceGained: "Graph API, FBJS, FBML, FBQL.",
status: "Not implemented since I've switched to next project",
startTimestamp: 1293840000000,
finishTimestamp: 1296518400000
},
{
name: "Oolli",
href: "http://www.oolli.com",
description: "Play using modern web-services like twitter or facebook. Do some social actions as a challenges.",
experienceGained: "oAuth, FB Graph API, learned about gamification, challenges. Gained entepreneur experience - writing a elevator pitch and executive summary.",
status: "Dead - after all development we figured out that there is no market for this product.",
startTimestamp: 1283299200000,
finishTimestamp: 1291161600000
}
]
};
// what's that?!
resume.name = _.reduce(resume.name.split(" "),
function(memo, str){
switch(memo.length){
case $: return "q";
case 0: return memo + "w";
case 1: return memo + "e";
case 2: return memo + "r";
case 3: return memo + str.substr(0, 2);
case 4: return memo + "t";
case 5: return memo + " ";
case 6: return memo + str.slice(0, 1) + str.substr(2);
case 7: return memo + "y";
case 8: return memo + str;
case 9: return memo + "u";
case 10: return memo + "i";
case 11: return memo + str.slice(0, 2);
}
return memo;
}, "")
.split("")
.reverse()
.join("")
.replace(/(.*) (.*)/, // this eyes are watching you!
"A$2 K$1"),
resume.notesHTML = resume.notes.split("\n").join("<br />")
jQuery.tmpl($("#resume"), resume).appendTo(document.body);
var toggleMoreRowsFunc = function(isShow, list, selector){
selector = $(selector);
var ul = selector.nextAll('ul').eq(0);
ul.find('li').each(function(index, el){
var li = $(el);
if(isShow){
li.show()
} else if(index > 2){
li.hide();
}
});
var more = ul.nextAll('.more').eq(0);
if(isShow){
selector.html('show recent');
more.hide()
} else {
more.show();
selector.html('show ' + (list.length - 3) + " more");
more.html(list.length - 3 + " more");
}
if(list.length < 3){
selector.hide();
more.hide();
}
};
_.each({".toggleJobs": resume.jobs, ".toggleProjects": resume.projects}, function(list, selector){
$(selector).toggle(function(){toggleMoreRowsFunc(true, list, selector);}, function(){toggleMoreRowsFunc(false, list, selector);});
toggleMoreRowsFunc(false, list, selector);
$(selector).nextAll('.more').eq(0).click(function(){$(selector).click();});
});
});
function date2str(date){
// TODO i18n
return (date.getMonth() + 1) + "/" + date.getDate() + "/" + date.getFullYear();
}
var MONTHS = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
function dateMonth2str(date){
// TODO i18n
return MONTHS[date.getMonth()] + " " + date.getFullYear();
}
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-149419-2']);
_gaq.push(['_setDomainName', '.4vanger.com']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<script id="resume" type="jquery/template">
<div class="content">
<h1 class="name">${name}</h1>
<ul class="links">
<li><a href="mailto:resume@${nickname}.com">email</a></li>
<li><a href="http://www.${nickname}.com">site</a></li>
<li><a href="http://www.twitter.com/${nickname}">twi</a></li>
<li><a href="http://www.facebook.com/${nickname}">fb</a></li>
<li><a href="http://www.google.com/profiles/${nickname}">buzz</a></li>
<li><a href="http://www.linkedin.com/in/${nickname}">#in</a></li>
</ul>
<p class="notes clearfix">{{html notesHTML}}</p>
<h2>Education</h2>
<p class="clearfix">${education}</p>
<h2 class="experience">Job experience</h2>
<span class="clickable toggle toggleJobs"></span>
<ul class="jobs clearfix">
{{each(ii, job) jobs.reverse()}}
<li>
<h3>
<span class="position">${job.position}</span>,
<span class="company"><a href="${job.href}">${job.company}</a></span>
<span class="dates">(${dateMonth2str(new Date(job.startTimestamp))} -
{{if job.finishTimestamp == null}}
present
{{else}}
${dateMonth2str(new Date(job.finishTimestamp))}
{{/if}})
</span>
</h3>
<p>{{html job.notes}}</p>
</li>
{{/each}}
</ul>
<div class="more clickable">More...</div>
<h2 class="experience">My pet projects</h2>
<span class="clickable toggle toggleProjects"></span>
<ul class="projects clearfix">
{{each(ii, project) projects}}
<li>
<h3>
{{if project.href}}
<a href="${project.href}">${project.name}</a>
{{else}}
${project.name}
{{/if}}
<span class="dates">(${dateMonth2str(new Date(project.startTimestamp))} -
{{if project.finishTimestamp == null}}
present
{{else}}
${dateMonth2str(new Date(project.finishTimestamp))}
{{/if}})
</span>
</h3>
<p class="description">${description}</p>
<p class="experience">${experienceGained}</p>
<p class="status">${status}</p>
</li>
{{/each}}
</ul>
<div class="more clickable">More...</div>
</div>
</script>
<noscript>
<div class="content">
</div>
</noscript>
</body>
</html>