-
Notifications
You must be signed in to change notification settings - Fork 1
/
oldpc.php
executable file
·72 lines (72 loc) · 3.23 KB
/
oldpc.php
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
<html>
<head>
<title>OldPC</title>
<style>
body {
background-color: black;
color: white;
font-size: 150%;
margin:40px auto;
max-width:650px;
font-family: Monospace;
}
a {
color: chartreuse;
}
pre {
white-space: pre-wrap; /* Since CSS 2.1 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
</style>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<?php include 'head.php'; ?>
<img id="selfie" src="/selfie.php" width="100%"></img>
<h1>What is OldPC?</h1>
OldPC is 'Hewlett-Packard HP Pavilion 17 Notebook PC' connected over ethernet cable to the <a href="https://en.wikipedia.org/wiki/IP_over_Avian_Carriers">IPoAC</a> router that gives us connection to the internet that is almost twice as fast as standard dial-up internet!<br />
In addition to that, it has an non-water cooling system with "Fan Always On" techonogy (that is impossible to disable in Basic Input/Output System) which keep us on about 40 degrees! It's CPU is 'AMD A8-4500M APU with Radeon(tm) HD Graphics', also, if you choose to use OldPC as your hosting provider, you will get:<br />
> Random reboots<br />
> Unstable and slow network connection<br />
> Closed ports<br />
> 1600 <strike>600</strike> GB of shared HDD storage<br />
> 7 <strike>8</strike> GB of RAM<br />
> Access to camera, on which you can see the router, which is on my attic<br />
> KVM based virtualization, with os of your choice<br />
> Security provided by AMD Platform Security Processor<br />
> No warranty of any kind.<br />
<hr />
No, this is not a joke. Feel free to grab OldPC source from <a href="/git/">git</a> and setup your own server, or <a href="/donate.php">donate</a>.
<script>
var nextid = 0;
function prefetchNext() {
nextid++;
url = "/selfie.php?id="+nextid;
var req = new XMLHttpRequest();
req.open('GET', url, true);
req.responseType = 'blob';
image = document.getElementById('selfie');
req.onload = function() {
if (this.status === 200) {
var imageBlob = this.response;
img = URL.createObjectURL(imageBlob); // IE10+
// Video is now downloaded
// and we can set it as source on the video element
image.src = img
}
}
req.onerror = function() {
//alert("An error occured, refreshing page");
window.location.href = "/";
}
req.send();
}
setInterval(() => {
prefetchNext();
}, 10 * 1000)
</script>
</body>
</html>