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
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="Simon's website"
/>
<title>s-oshea</title>
<link href="css/style.css" rel="stylesheet" />
<link href="css/layout.css" rel="stylesheet" />
<link href="css/hamburger.css" rel="stylesheet" />
<style>
.project-header {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items:flex-end;
margin: 1rem 0;
}
/************************************************
* DESKTOP RULES
*/
@media screen and (min-width: 851px) {
}
/*
* MOBILE RULES
*/
@media screen and (max-width: 850px) {
}
</style>
</head>
<body>
<a href="#main" class="skipLink">Skip to main content</a>
<header>
<a href="index.html" class="logo" aria-label="Company Logo">s-oshea</a>
<button
id="hamburger"
aria-label="Toggle mobile navigation menu"
aria-expanded="false"
>
<span></span>
<span></span>
<span></span>
</button>
<nav>
<a class="navLink activeTab" role="navigation" href="projects.html">projects</a>
<a class="navLink" role="navigation" href="testimonials.html">testimonials</a>
<a class="navLink" role="navigation" href="more.html">more</a>
</nav>
</header>
<main id="main">
<!-- project data inserted via script -->
</main>
<footer>
<div id="footer-left">
<a href="assets/resume.pdf">resume</a>
<a href="https://www.linkedin.com/in/simon-o-shea/">linkedin</a>
<a href="https://www.github.com/sotrali">github</a>
</div>
<div id="footer-right">
<a href="mailto:vesspa0330@gmail.com">vesspa0330@gmail.com</a>
<span>207 701 6630</span>
<span id="clock"></span>
</div>
</footer>
<script>
const projectData = {
"Porkbun Dynamic DNS" : {
"language" : "vanilla Go",
"url" : "https://git.slimetech.pro/simon/porkbun-ddns",
"description" : "I wrote my first DDNS client in Bash, but quickly realized I needed something a bit more robust. I decided to rewrite it in Go, and made it flexible enough to share with others.<br /><br />This program is easy to use, it supports an unlimited number of domains and sub-domains by default, and should work on any operating system! All you need is your own Porkbun API key and secret."
},
"CLI Color Converter" : {
"language" : "vanilla Python",
"url" : "https://git.slimetech.pro/simon/color-converter",
"description" : "One of my first stabs at using Python for anything beyond a simple CSV manipulation script. This command-line program can process entire files of color codes, translating them into any of the 6 supported color formats.<br /><br />Writing this program ended up helping me succeed with breathing life into an old QuickBooks to Salesforce data migration program, which I use at work."
},
"Comment Engine" : {
"language" : "vanilla Go",
"url" : "",
"description" : "A program that serves as the back-end to a pet project of mine. It listens for comment submissions, saves them accordingly, and serves stored comments upon request. Considering its nature, I cannot share a link to its code."
},
"Startpage Builder" : {
"language" : "HTML, CSS, vanilla JS",
"url" :"https://git.slimetech.pro/simon/diy-startpage",
"description" : "This page is an omage to the concept of \"startpages\", webpages you make yourself and set as your default for all new tabs. They are meant to hold your bookmarks, and are a form of self-expression that goes beyond re-inventing the bookmarks bar.<br /><br />I wanted to enable people without skills in html/css/js to craft their own startpage, so I built this \"app\". To try it out, <a href=\"https://slimetech.pro/startpage.html\" target=\"_blank\">click here</a>.<br /><br />In all honesty, this project suffers badly from scope-creep and the interface is cumbersome, but it's very feature-rich, I believe it is nearly bug free, and it's quite fun to use once you get used to it. It's a single html file for portability, not because I love writing thousands of lines of javascript in a single file."
}
}
// render all project data upon page load
window.onload = () => {
let main = document.getElementsByTagName('main')[0];
for (projectName of Object.keys(projectData)) {
let project = projectData[projectName];
main.insertAdjacentHTML('beforeend', `
<section>
<div class="project-header">
<h1>
${project.url ? `<a href="${project.url}" target="_blank">` : ``}
${projectName}
${project.url ? `</a>` :``}
</h1>
<span style="font-style: italic;">${project.language}</span>
</div>
<p>${project.description}</p>
</section>
`);
}
}
</script>
<script src="js/hamburger.js"></script>
<script src="js/clock.js"></script>
</body>
</html>
|