Compare commits

...

8 Commits

9 changed files with 122 additions and 16 deletions

16
build.sh Normal file
View File

@@ -0,0 +1,16 @@
source $stdenv/setup
# Compile Sass sources and get resume file
mkdir build && cd build
mkdir css && sassc $src/scss/style.scss css/style.css
mkdir font && cp $src/font/* font/
mkdir js && cp $src/js/* js/
cp $src/resume.html resume.html
mkdir $out
# Save generated files
cp resume.html $out
mkdir $out/css && cp ./css/style.css $out/css
chromium --disable-gpu --headless --print-to-pdf="$out/Resume-Danila-Fedorin.pdf" file://$(pwd)/resume.html

43
flake.lock generated Normal file
View File

@@ -0,0 +1,43 @@
{
"nodes": {
"flake-utils": {
"locked": {
"lastModified": 1676283394,
"narHash": "sha256-XX2f9c3iySLCw54rJ/CZs+ZK6IQy7GXNY4nSOyu2QG4=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "3db36a8b464d0c4532ba1c7dda728f4576d6d073",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1676718858,
"narHash": "sha256-giQecvcifVLNHCC9lMfTGP09tNxXhOMw+d/aql7MhRw=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "e6d5772f3515b8518d50122471381feae7cbae36",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-22.11",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

15
flake.nix Normal file
View File

@@ -0,0 +1,15 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
{
defaultPackage = import ./package.nix {
pkgs = import nixpkgs { inherit system; };
};
}
);
}

Binary file not shown.

Binary file not shown.

13
js/feather.min.js vendored Normal file

File diff suppressed because one or more lines are too long

10
package.nix Normal file
View File

@@ -0,0 +1,10 @@
{ pkgs, sass ? pkgs.sassc, chromium ? pkgs.ungoogled-chromium }:
pkgs.stdenv.mkDerivation {
name = "daniel-resume";
version = "0.1";
builder = ./build.sh;
buildInputs = [ sass chromium ];
src = ./.;
FONTCONFIG_FILE = pkgs.makeFontsConf { fontDirectories = []; };
}

View File

@@ -1,6 +1,6 @@
<html> <html>
<head> <head>
<script src="https://unpkg.com/feather-icons"></script> <script src="js/feather.min.js"></script>
<title>Resume - Daniel Fedorin</title> <title>Resume - Daniel Fedorin</title>
<link href="css/style.css" rel="stylesheet"> <link href="css/style.css" rel="stylesheet">
</head> </head>
@@ -29,8 +29,8 @@
<section> <section>
<h1>Education</h1> <h1>Education</h1>
<div class="section-content"> <div class="section-content">
<em class="italic">Bachelor of Science</em>, Oregon State University, Major: Computer Science | Minor: Mathematics - Completed June 2020<em class="bold">4.0 GPA</em><br> <em class="italic">Master of Science</em>, Oregon State University, Computer Science - Completed June 2022<em class="bold">4.0 GPA</em><br>
<em class="italic">Master of Science</em>, Oregon State University, Computer Science - Expected June 2022<em class="bold">4.0 GPA</em> <em class="italic">Bachelor of Science</em>, Oregon State University, Major: Computer Science | Minor: Mathematics - Completed June 2020<em class="bold">4.0 GPA</em>
</div> </div>
</section> </section>
<section> <section>
@@ -73,7 +73,8 @@
<h2>maypop</h2> <h2>maypop</h2>
<i data-feather="link" class="project-link-icon"></i> <i data-feather="link" class="project-link-icon"></i>
</a> &mdash; </a> &mdash;
Instructional implementation of a dependently typed functional programming language capable of formal proofs. <!-- Instructional implementation of a dependently typed functional programming language capable of formal proofs. -->
Dependently typed functional programming language capable of formal proofs.
</div> </div>
<!-- <!--
<div class="project-container"> <div class="project-container">
@@ -187,6 +188,7 @@
</ul> </ul>
</div> </div>
<!--
<div class="position"> <div class="position">
<h2>Lead Programmer</h2> <h2>Lead Programmer</h2>
<div class="position-location">Northwest Advanced Programming Workshop, Portland, OR | Summer 2017</div> <div class="position-location">Northwest Advanced Programming Workshop, Portland, OR | Summer 2017</div>
@@ -195,9 +197,10 @@
<li>Designed and implemented a <em class="bold">desktop calculator</em> application with a focus on usability and feature-completeness.</li> <li>Designed and implemented a <em class="bold">desktop calculator</em> application with a focus on usability and feature-completeness.</li>
<li>Worked on a variety of components, including parsing input through a custom regular expression engine, evaluating expressions through Taylor Series, and UI design.</li> <li>Worked on a variety of components, including parsing input through a custom regular expression engine, evaluating expressions through Taylor Series, and UI design.</li>
<li>Profiled and debugged application using <em class="bold">VisualVM</em> in order to find inefficiencies, reducing computation time by 60%.</li> <li>Profiled and debugged application using <em class="bold">VisualVM</em> in order to find inefficiencies, reducing computation time by 60%.</li>
<!-- <li>Exercised public speaking and communication skills by reporting progress to supervisor and presenting to other teams.</li> --> <li>Exercised public speaking and communication skills by reporting progress to supervisor and presenting to other teams.</li>
</ul> </ul>
</div> </div>
-->
<!-- <!--
<div class="position"> <div class="position">

View File

@@ -1,5 +1,3 @@
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,700;1,400;1,700&family=Raleway:wght@400;600;700&display=swap');
$text-font: 'Raleway'; $text-font: 'Raleway';
$big-font: 'Raleway'; $big-font: 'Raleway';
$color-main: #36e281; $color-main: #36e281;
@@ -7,6 +5,12 @@ $color-secondary: $color-main;
$color-link: black; $color-link: black;
$color-text: black; $color-text: black;
@font-face {
font-family: "Raleway";
src: url("../font/Raleway-VariableFont_wght.ttf") format("truetype"),
url("../font/Raleway-Italic-VariableFont.ttf") format("truetype");
}
@media print { @media print {
@page { @page {
margin: 0 0 0 0; margin: 0 0 0 0;
@@ -37,7 +41,8 @@ body {
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
font-family: $text-font; font-family: $text-font;
line-height: 1.225em; line-height: 1.3em;
font-size: 1.05em;
font-variant-ligatures: none; font-variant-ligatures: none;
@media not print { @media not print {
@@ -70,25 +75,26 @@ hr {
} }
div.name { div.name {
font-size: 1.7rem; font-size: 1.7em;
margin: 10px; margin: 10px;
font-family: $big-font, serif; font-family: $big-font, serif;
} }
h1 { h1 {
font-size: 1.25rem; font-size: 1.25em;
font-family: $big-font, serif; font-family: $big-font, serif;
font-weight: 600; font-weight: 600;
margin: 10px; margin: 10px;
margin-top: 12px;
margin-bottom: 2.5px; margin-bottom: 2.5px;
display: inline-block; display: inline-block;
} }
h2 { h2 {
font-size: 1.2rem; font-size: 1.2em;
font-weight: 400; font-weight: 400;
margin-bottom: 0px; margin-bottom: 0px;
margin-top: 0.2rem; margin-top: 0.2em;
} }
ul { ul {
@@ -141,14 +147,14 @@ a.project-link {
align-items: center; align-items: center;
h2 { h2 {
font-size: 1rem; font-size: 1em;
} }
} }
svg.project-link-icon { svg.project-link-icon {
height: 0.9rem; height: 0.9em;
width: 0.9rem; width: 0.9em;
margin-left: 0.25rem; margin-left: 0.25em;
} }
main { main {