-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
176 lines (148 loc) · 4.6 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="./main.css">
<title>Junior Resume</title>
</head>
<body>
<div class="center-content">
<header>
<h1>Alexander Lavrukhine</h1>
</header>
<main>
<section class="skills">
<ul>
<li>
<bold>First Name:</bold> Alexander
</li>
<li>
<bold>Last Name:</bold> Lavrukhine
</li>
<li>
<bold>Email:</bold> [email protected]
</li>
<li>
<bold>Phone number:</bold> +79992054060
</li>
<li>
<bold>Web:</bold> https://github.com/zanhesl
</li>
</ul>
</section>
<section class="profile">
<h2>Profile</h2>
<div class="main-info">
<img src="./personal_image.jpg" alt="personal_portrait" width="200px">
<p>Beginner junior developer seeking for improvement of personal
front-end skills with real-job practice and for gaining development
experience. Highly passionate towards JS development and software
design combined with intelligence to serve the
needs of the business.</p>
</div>
</section>
<section class="skills">
<h2>Skills</h2>
<ul class="skills-list">
<li>
<bold>HTML 5, CSS3, JS, Photoshop</bold> - advanced level
</li>
<li>
<bold>Python and frameworks(Django, BeautifulSoup, NumPy, MatPlotLib)</bold> - medium level
</li>
<li>
<bold>C#, SQL, PHP, Azure</bold> - beginner level
</li>
</ul>
</section>
<section class="projects">
<h2>Projects & Work Experience</h2>
<p>Despite having rather insufficient working experience,
I have done a few front-end and python projects,
which could be found on my personal Github page.
It contains both learning and developing ones.</p>
</section>
<section class="code-examples">
<h2>Code Example:</h2>
<p>This is my small project for parsing balance of many Yandex.Money accounts on Python3:</p>
<pre>
import mechanize
import http.cookiejar
import requests
from bs4 import BeautifulSoup
import csv
from datetime import datetime
from multiprocessing import Pool
import time
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
def get_html(br):
r = br.response()
data = r.read()
return data
def get_page_data(html):
soup = BeautifulSoup(html, 'lxml')
balance = 'empty'
try:
balance = soup.find('span', class_='price__whole-amount
text text_size_xxxxl text_view_primary text_weight_regular').text.strip()
except Exception as e:
print('No connection')
return balance
def open_acc(login, password, number):
# Browser
br = mechanize.Browser()
# Cookie Jar
cj = http.cookiejar.LWPCookieJar()
br.set_cookiejar(cj)
# Browser options
br.set_handle_equiv(True)
br.set_handle_redirect(True)
br.set_handle_referer(True)
br.set_handle_robots(False)
# Follows refresh 0 but not hangs on refresh > 0
br.set_handle_refresh(mechanize._http.HTTPRefreshProcessor(), max_time=1)
#br.set_debug_http(True)
#br.set_debug_redirects(True)
#br.set_debug_responses(True)
# User-Agent
br.addheaders = [('User-agent', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1)
Gecko/2008071615 Fedora/3.0.1-1.fc9 Firefox/3.0.1')]
br.open("https://passport.yandex.ru/auth?origin=money&retpath=https%3A%2F%2Fmoney.yandex.ru%2F%3Ffrom%3Dauth")
br.select_form(nr=0)
br['login'] = login
br.select_form(nr=0)
br['passwd'] = password
br.submit()
try:
br.select_form(nr=0)
br['answer'] = number
br.submit()
except Exception as es:
pass
return get_page_data(get_html(br))
def main():
usernames = open('accounts_list.txt').read().split('\n')
for user in usernames:
user = user.split()
print(open_acc(user[0], user[1], user[2]), ' rub ------', user[0])
if __name__ == '__main__':
main()
</pre>
</section>
<section class="education">
<h2>Education</h2>
<p>Third-year ITMO student(ICT department), also took a number of
front-end HTMLAcademy courses on JavaScript and HTML&CSS.
</p>
<p>
I am currently studying English in my University on
C2 level(passed C1 examination successfully)
and constantly trying to improve it by reading literature(both
professional and imaginative) and conversating with people.
</p>
</section>
</main>
</div>
</body>
</html>