Refactoring

This commit is contained in:
d3m0k1d
2025-11-20 17:21:44 +03:00
parent f2ecc5cc1a
commit e0c206cfc5
12 changed files with 0 additions and 63 deletions

View File

@@ -1,7 +0,0 @@
FROM nginx:alpine3.22
EXPOSE 80 443
COPY . /
COPY ./nginx.conf /etc/nginx/nginx.conf

View File

@@ -1,25 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>d3m0k1d</title>
<link rel="icon" href="/frontend/homepage/media/68747470733a2f2f63646e2e776f726c64766563746f726c6f676f2e636f6d2f6c6f676f732f6769742d69636f6e2e737667.svg" type="image/x-icon">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="navigation">
<nav class="home-btn">
<a href="/">Home</nav>
<nav class="contacts-btn">
<a href="/contacts">Contacts</a>
</nav>
<nav class="guest-btn">
<a href="/guestbook">Guestbook</a>
</nav>
<nav class="posts-btn">
<a href="/posts">Posts</a>
</nav>
</div>

View File

@@ -1,31 +0,0 @@
body
{
background-color: black;
font-family: commit mono, monospace;
color: white;
}
a
{
text-decoration: none;
color: white;
}
.navigation
{
font-size: 18px;
width: 50%;
margin: auto;
display: flex;
justify-content: center;
padding-top: 1%;
}
.home-btn,
.posts-btn,
.guest-btn,
.contacts-btn {
margin-left: 6.25%;
margin-right: 6.25%;
}

View File

@@ -1,25 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>d3m0k1d</title>
<link rel="icon" href="/frontend/homepage/media/68747470733a2f2f63646e2e776f726c64766563746f726c6f676f2e636f6d2f6c6f676f732f6769742d69636f6e2e737667.svg" type="image/x-icon">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="navigation">
<nav class="home-btn">
<a href="/">Home</nav>
<nav class="contacts-btn">
<a href="/contacts">Contacts</a>
</nav>
<nav class="guest-btn">
<a href="/guestbook">Guestbook</a>
</nav>
<nav class="posts-btn">
<a href="/posts">Posts</a>
</nav>
</div>

View File

@@ -1,31 +0,0 @@
body
{
background-color: black;
font-family: commit mono, monospace;
color: white;
}
a
{
text-decoration: none;
color: white;
}
.navigation
{
font-size: 18px;
width: 50%;
margin: auto;
display: flex;
justify-content: center;
padding-top: 1%;
}
.home-btn,
.posts-btn,
.guest-btn,
.contacts-btn {
margin-left: 6.25%;
margin-right: 6.25%;
}

View File

@@ -1,74 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>d3m0k1d</title>
<link rel="icon" href="/frontend/homepage/media/68747470733a2f2f63646e2e776f726c64766563746f726c6f676f2e636f6d2f6c6f676f732f6769742d69636f6e2e737667.svg" type="image/x-icon">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="navigation">
<nav class="home-btn">
<a href="/">Home</nav>
<nav class="contacts-btn">
<a href="/contacts">Contacts</a>
</nav>
<nav class="guest-btn">
<a href="/guestbook">Guestbook</a>
</nav>
<nav class="posts-btn">
<a href="/posts">Posts</a>
</nav>
</div>
<div class="ascii-art">
<pre>
╭────────────────────────╮
│ │
│ d3m0k1d │
│ ------------ │
│ DevOps Engineer │
│ InfoSec Student │
│ │
│ │
╰────────────────────────╯
</pre>
</div>
<div class="nav-links">
<a class="nav-links" href="https://github.com/d3m0k1d">[GitHub]</a>
<a class="nav-links" href="https://t.me/fonnto">[Telegram]</a>
<a class="nav-links" href="MAILTO:contact@d3m0k1d.ru">[Email]</a>
</div>
<div class="about-me-container">
<h1 class="about-me">About me</h1>
<span class="about-me">I am a DevOps Engineer from Russia and a student of Information Security at Don State Technical University. This is my personal website featuring information about me, my projects, posts, and guestbook. For inquiries, please check a contact page or write me an email.</span>
<span class="about-me">I have experience developing APIs using Python (FastAPI) and Golang (Gin), along with various personal projects. I have extensive experience administrating Linux systems - my home server runs on Proxmox with LXC containers running Debian 13 (yes, this website is hosted on it!).</span>
<h2 class="about-me">Technical Skills</h2>
<div class="skills-section">
<h3 class="skill-category">Languages</h3>
<span class="about-me">Golang, Python, Bash, C (Base level), HTML/CSS</span>
<h3 class="skill-category">Infrastructure & DevOps</h3>
<span class="about-me">Docker, LXC, Proxmox, Git, CI/CD (GitHub Actions, GitLab), Ansible</span>
<h3 class="skill-category">Systems & Platforms</h3>
<span class="about-me">Unix-systems, Windows, Arduino</span>
<h3 class="skill-category">Other Skills</h3>
<span class="about-me">Markdown, LaTeX, English(B1 only for reading and simple writing)</span">
<h3 class="skill-category">Github stats</h3>
<img src="https://nirzak-streak-stats.vercel.app/?user=d3m0k1d&theme=dark&hide_border=true">
<img src="https://camo.githubusercontent.com/ccd68624a1b5ff943056ff41083c3fa24e1e3288586b2d657a89aae9d0b69e3b/68747470733a2f2f6769746875622d726561646d652d73746174732e76657263656c2e6170702f6170692f746f702d6c616e67732f3f757365726e616d653d64336d306b3164267468656d653d6461726b26686964655f626f726465723d7472756526696e636c7564655f616c6c5f636f6d6d6974733d7472756526636f756e745f707269766174653d74727565266c61796f75743d636f6d70616374">
</div>
</div>
<footer class="footer">
<span class="footer">© 2025 Ilya Chernishev</span>
</footer>
</body>
</html>

View File

@@ -1 +0,0 @@
<svg width="2500" height="2500" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet"><path d="M251.172 116.594L139.4 4.828c-6.433-6.437-16.873-6.437-23.314 0l-23.21 23.21 29.443 29.443c6.842-2.312 14.688-.761 20.142 4.693 5.48 5.489 7.02 13.402 4.652 20.266l28.375 28.376c6.865-2.365 14.786-.835 20.269 4.657 7.663 7.66 7.663 20.075 0 27.74-7.665 7.666-20.08 7.666-27.749 0-5.764-5.77-7.188-14.235-4.27-21.336l-26.462-26.462-.003 69.637a19.82 19.82 0 0 1 5.188 3.71c7.663 7.66 7.663 20.076 0 27.747-7.665 7.662-20.086 7.662-27.74 0-7.663-7.671-7.663-20.086 0-27.746a19.654 19.654 0 0 1 6.421-4.281V94.196a19.378 19.378 0 0 1-6.421-4.281c-5.806-5.798-7.202-14.317-4.227-21.446L81.47 39.442l-76.64 76.635c-6.44 6.443-6.44 16.884 0 23.322l111.774 111.768c6.435 6.438 16.873 6.438 23.316 0l111.251-111.249c6.438-6.44 6.438-16.887 0-23.324" fill="#DE4C36"/></svg>

Before

Width:  |  Height:  |  Size: 898 B

View File

@@ -1,42 +0,0 @@
- name: Configure a frontend server
hosts: server
become: yes
tasks:
- name: Install git
apt:
name: git
state: latest
update_cache: yes
when: ansible_os_family == "Debian"
- name: Clone repo with script
ansible.builtin.git:
repo: https://github.com/d3m0k1d/automation-scripts.git
dest: /opt/automation-scripts
version: main
when: ansible_os_family == "Debian"
- name: Make install script executable
ansible.builtin.file:
path: /opt/automation-scripts/scripts/sysadmins/debian-init-docker.sh
mode: '0755'
when: ansible_os_family == "Debian"
- name: Run install script
ansible.builtin.shell:
cmd: /opt/automation-scripts/scripts/sysadmins/debian-init-docker.sh
chdir: /opt/automation-scripts/scripts/sysadmins
when: ansible_os_family == "Debian"
register: docker_install_result
- name: Install certbot
apt:
name: python3-certbot-nginx
state: latest
update_cache: yes
when: ansible_os_family == "Debian"
- name: Run certbot for domain
shell: certbot --nginx -d d3m0k1d.ru -d www.d3m0k1d.ru --non-interactive --agree-tos --email contact@d3m0k1d.ru
when: ansible_os_family == "Debian"

View File

@@ -1,25 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>d3m0k1d</title>
<link rel="icon" href="media/68747470733a2f2f63646e2e776f726c64766563746f726c6f676f2e636f6d2f6c6f676f732f6769742d69636f6e2e737667.svg" type="image/x-icon">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="navigation">
<nav class="home-btn">
<a href="/">Home</nav>
<nav class="contacts-btn">
<a href="/contacts">Contacts</a>
</nav>
<nav class="guest-btn">
<a href="/guestbook">Guestbook</a>
</nav>
<nav class="posts-btn">
<a href="/posts">Posts</a>
</nav>
</div>

View File

@@ -1,31 +0,0 @@
body
{
background-color: black;
font-family: commit mono, monospace;
color: white;
}
a
{
text-decoration: none;
color: white;
}
.navigation
{
font-size: 18px;
width: 50%;
margin: auto;
display: flex;
justify-content: center;
padding-top: 1%;
}
.home-btn,
.posts-btn,
.guest-btn,
.contacts-btn {
margin-left: 6.25%;
margin-right: 6.25%;
}

View File

@@ -1,71 +0,0 @@
body
{
background-color: black;
font-family: commit mono, monospace;
color: white;
}
a
{
text-decoration: none;
color: white;
}
.navigation
{
font-size: 18px;
width: 50%;
margin: auto;
display: flex;
justify-content: center;
padding-top: 1%;
}
.home-btn,
.posts-btn,
.guest-btn,
.contacts-btn {
margin-left: 6.25%;
margin-right: 6.25%;
}
.ascii-art{
font-size: 15px;
text-align: center;
margin-top: 5%;
}
.highlight{
color: hsl(270, 73%, 53%);
}
.nav-links{
text-align: center;
color: hsl(270, 73%, 53%);
}
.about-me-container{
width: 50%;
margin: auto;
padding-top: 5%;
}
.about-me{
text-align: left;
}
.footer{
width: 50%;
padding-top: 10%;
margin: auto;
text-align: center;
color: rgb(155, 156, 167, 1);
}