Compare commits
6 Commits
f98192ca7d
...
47fef8ebee
Author | SHA1 | Date | |
---|---|---|---|
47fef8ebee | |||
71248a7d23 | |||
779dfccf25 | |||
6b8fae6062 | |||
3e4d994416 | |||
f447ed3081 |
File diff suppressed because one or more lines are too long
@ -4,7 +4,7 @@
|
|||||||
}
|
}
|
||||||
* {
|
* {
|
||||||
color: #EEE;
|
color: #EEE;
|
||||||
scrollbar-color: #424242 #212121;
|
scrollbar-color: #424242 #212121;
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
*background-image: url("/assets/img/grass_dark.png");
|
*background-image: url("/assets/img/grass_dark.png");
|
||||||
@ -77,3 +77,7 @@ body {
|
|||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#typeracer-score {
|
||||||
|
filter: grayscale(1) invert(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -242,6 +242,17 @@ h1, h2 {
|
|||||||
image-rendering: pixelated;
|
image-rendering: pixelated;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#typeracer-score {
|
||||||
|
float: right;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 500px) {
|
||||||
|
#typeracer-score {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Fixes */
|
/* Fixes */
|
||||||
|
|
||||||
/* IE 9-11 has a bug which makes the ch css unit unusable, this will make it use the inputs size attribute instead */
|
/* IE 9-11 has a bug which makes the ch css unit unusable, this will make it use the inputs size attribute instead */
|
||||||
|
3
deploy.sh
Normal file
3
deploy.sh
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
rsync --exclude=\.git -r * reimar@192.168.0.4:/mnt/hdd/www/html
|
||||||
|
|
161
index.php
161
index.php
@ -1,90 +1,123 @@
|
|||||||
<?php
|
<?php
|
||||||
$age = (new DateTime("now"))->diff(DateTime::createFromFormat("Y-m-d", "2004-01-15"))->y;
|
$age = (new DateTime("now"))->diff(DateTime::createFromFormat("Y-m-d", "2004-01-15"))->y;
|
||||||
|
$temp = str_replace("temp=", "", exec("/usr/bin/vcgencmd measure_temp"));
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<?php require "inc/head.inc" ?>
|
<?php require "inc/head.inc" ?>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<?php require "inc/nav.inc" ?>
|
<?php require "inc/nav.inc" ?>
|
||||||
|
|
||||||
<div id="main-and-sidebar" dir="rtl" class="inline-block">
|
<div id="main-and-sidebar" dir="rtl" class="inline-block">
|
||||||
|
|
||||||
<div id="main-wrapper" class="inline-block">
|
<div id="main-wrapper" class="inline-block">
|
||||||
<div id="main" class="inline-block">
|
<div id="main" class="inline-block">
|
||||||
<main>
|
<main>
|
||||||
|
|
||||||
<div class="section container">
|
<div class="section container">
|
||||||
<h1>Welcome</h1>
|
<div id="typeracer-score">
|
||||||
<span>I'm <?= $age == 18 ? "an" : "a" ?> <?= $age ?> year old programmer from Denmark</span>
|
<a href="https://data.typeracer.com/pit/profile?user=reimarpb&universe=play&ref=badge" target="_blank">
|
||||||
<br>
|
<img src="https://data.typeracer.com/misc/badge?user=reimarpb" border="0" alt="TypeRacer.com scorecard for user reimarpb" loading="lazy" />
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
<a href="https://www.linkedin.com/in/reimarpb/" target="_blank" title="LinkedIn">
|
<h1>Welcome</h1>
|
||||||
<img class="icon" src="/assets/icons/linkedin.png" alt="LinkedIn" width="16" height="16"><!--
|
|
||||||
--></a>
|
|
||||||
<a href="https://github.com/ReimarPB" target="_blank" title="GitHub">
|
|
||||||
<picture class="dark">
|
|
||||||
<source type="image/svg+xml" srcset="/assets/icons/dark-mode/github.svg">
|
|
||||||
<img class="dark icon" src="/assets/icons/dark-mode/github.png" alt="GitHub">
|
|
||||||
</picture>
|
|
||||||
<picture class="light">
|
|
||||||
<source type="image/svg+xml" srcset="/assets/icons/light-mode/github.svg">
|
|
||||||
<img class="light icon" src="/assets/icons/light-mode/github.png" alt="GitHub">
|
|
||||||
</picture>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="section container">
|
<p>
|
||||||
<h1>Projects</h1>
|
I'm <?= $age == 18 ? "an" : "a" ?> <?= $age ?> year old programmer from Denmark.<br>
|
||||||
<hr>
|
This website is self-hosted on a Raspberry Pi. Server temperature: <b><?= $temp ?></b>
|
||||||
<img src="/assets/icons/popup-timer.ico" class="pixelated icon" alt="">
|
</p>
|
||||||
<b>Popup Timer</b>
|
|
||||||
<br>
|
|
||||||
<span>Have a timer or stopwatch in the corner of your screen, directly from within your browser</span>
|
|
||||||
<br>
|
|
||||||
<i><a href="https://popup-timer.reim.ar" target="_blank">Open in browser</a></i>
|
|
||||||
|
|
||||||
<hr>
|
<img class="icon" src="/assets/icons/linkedin.png" alt="LinkedIn" width="16" height="16">
|
||||||
|
<a href="https://www.linkedin.com/in/reimarpb/" target="_blank" title="LinkedIn">
|
||||||
|
LinkedIn
|
||||||
|
</a>
|
||||||
|
<br>
|
||||||
|
|
||||||
<img src="/assets/icons/gameoflife.ico" class="pixelated icon" alt="">
|
<picture class="dark">
|
||||||
<b>Game of life</b>
|
<source type="image/svg+xml" srcset="/assets/icons/dark-mode/github.svg">
|
||||||
<br>
|
<img class="dark icon" src="/assets/icons/dark-mode/github.png" alt="GitHub">
|
||||||
<span>Conway's Game of Life created with the win32 API</span>
|
</picture>
|
||||||
<br>
|
<picture class="light">
|
||||||
<i>
|
<source type="image/svg+xml" srcset="/assets/icons/light-mode/github.svg">
|
||||||
<a href="/assets/bin/gameoflife.exe">Download for Windows</a>
|
<img class="light icon" src="/assets/icons/light-mode/github.png" alt="GitHub">
|
||||||
•
|
</picture>
|
||||||
<a href="https://github.com/ReimarPB/GameOfLife-Win32" target="_blank">View on GitHub</a>
|
<a href="https://github.com/ReimarPB" target="_blank" title="GitHub">
|
||||||
</i>
|
GitHub
|
||||||
|
</a>
|
||||||
|
<br>
|
||||||
|
|
||||||
<hr>
|
<img class="icon" src="https://git.reim.ar/assets/img/favicon.png" alt="Gitea" width="16" height="16">
|
||||||
|
<a href="https://git.reim.ar/Reimar" target="_blank" title="Gitea">
|
||||||
|
Gitea
|
||||||
|
</a>
|
||||||
|
<br>
|
||||||
|
|
||||||
<img src="/assets/icons/reimtris.ico" class="icon" alt="">
|
<center style="clear: both;">
|
||||||
<b>Reimtris</b>
|
<b style="letter-spacing: 0.1em;">Mercantec Webring:</b>
|
||||||
<br>
|
<br>
|
||||||
<span>A Tetris clone written in Rust with epic background music</span>
|
<a href="https://tpho.dk">tpho.dk</a>
|
||||||
<br>
|
•
|
||||||
<i>
|
<a href="https://sfja.dk">sfja.dk</a>
|
||||||
<a href="/assets/bin/Reimtris.exe">Download for Windows</a>
|
•
|
||||||
•
|
<a href="https://mtkonge.dk">mtkonge.dk</a>
|
||||||
<a href="/assets/bin/Reimtris">Download for Linux</a>
|
•
|
||||||
</i>
|
<a href="https://handskemager.xyz">handskemager.xyz</a>
|
||||||
|
</center>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="section container">
|
||||||
|
<h1>Projects</h1>
|
||||||
|
<hr>
|
||||||
|
<img src="/assets/icons/popup-timer.ico" class="pixelated icon" alt="">
|
||||||
|
<b>Popup Timer</b>
|
||||||
|
<br>
|
||||||
|
<span>Have a timer or stopwatch in the corner of your screen, directly from within your browser</span>
|
||||||
|
<br>
|
||||||
|
<i><a href="https://popup-timer.reim.ar" target="_blank">Open in browser</a></i>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
<img src="/assets/icons/gameoflife.ico" class="pixelated icon" alt="">
|
||||||
|
<b>Game of life</b>
|
||||||
|
<br>
|
||||||
|
<span>Conway's Game of Life created with the win32 API</span>
|
||||||
|
<br>
|
||||||
|
<i>
|
||||||
|
<a href="/assets/bin/gameoflife.exe">Download for Windows</a>
|
||||||
|
•
|
||||||
|
<a href="https://github.com/ReimarPB/GameOfLife-Win32" target="_blank">View on GitHub</a>
|
||||||
|
</i>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
<img src="/assets/icons/reimtris.ico" class="icon" alt="">
|
||||||
|
<b>Reimtris</b>
|
||||||
|
<br>
|
||||||
|
<span>A Tetris clone written in Rust with epic background music</span>
|
||||||
|
<br>
|
||||||
|
<i>
|
||||||
|
<a href="/assets/bin/Reimtris.exe">Download for Windows</a>
|
||||||
|
•
|
||||||
|
<a href="/assets/bin/Reimtris">Download for Linux</a>
|
||||||
|
</i>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
</div><!--
|
</div><!--
|
||||||
|
|
||||||
--><?php require "inc/sidebar.inc" ?>
|
--><?php require "inc/sidebar.inc" ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php require "inc/background.inc" ?>
|
<?php require "inc/background.inc" ?>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user