diff --git a/about.html b/about.html index 8e25b93..a7ac421 100644 --- a/about.html +++ b/about.html @@ -41,6 +41,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= +
diff --git a/ascii.html b/ascii.html index 7e0c5e0..3a9c523 100644 --- a/ascii.html +++ b/ascii.html @@ -38,6 +38,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= + diff --git a/assets/css/index.css b/assets/css/index.css index 9cacc99..52cdb81 100644 --- a/assets/css/index.css +++ b/assets/css/index.css @@ -2,3 +2,12 @@ img.no-drag { pointer-events: none; } +img.fog { + pointer-events: none; + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; +} + diff --git a/assets/js/hacker-podcast.js b/assets/js/hacker-podcast.js index 8c5ce2c..8613e75 100644 --- a/assets/js/hacker-podcast.js +++ b/assets/js/hacker-podcast.js @@ -1,31 +1,31 @@ -const letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ/.?!@#$%^&*()_+"; - -let interval = null; -let interval2 = null; -let interval3 = null; - - -document.querySelector(".copyright").onmouseover = event => { - let iteration2 = 0; - let old2 = "Copyright © Nathan Woodburn 2023"; - clearInterval(interval2); - - interval2 = setInterval(() => { - event.target.innerText = event.target.innerText - .split("") - .map((letter, index2) => { - if(index2 < iteration2) { - return old2[index2]; - } - - return letters[Math.floor(Math.random() * 41)] - }) - .join(""); - - if(iteration2 >= old2.length){ - clearInterval(interval2); - } - - iteration2 += 1/3; - }, 10); +const letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ/.?!@#$%^&*()_+"; + +let interval = null; +let interval2 = null; +let interval3 = null; + + +document.querySelector(".copyright").onmouseover = event => { + let iteration2 = 0; + let old2 = "Copyright © Nathan Woodburn 2023"; + clearInterval(interval2); + + interval2 = setInterval(() => { + event.target.innerText = event.target.innerText + .split("") + .map((letter, index2) => { + if(index2 < iteration2) { + return old2[index2]; + } + + return letters[Math.floor(Math.random() * 41)] + }) + .join(""); + + if(iteration2 >= old2.length){ + clearInterval(interval2); + } + + iteration2 += 1/3; + }, 10); } \ No newline at end of file diff --git a/assets/js/hacker.js b/assets/js/hacker.js index 5b09ca6..7634fcd 100644 --- a/assets/js/hacker.js +++ b/assets/js/hacker.js @@ -1,84 +1,84 @@ -const letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ/.?!@#$%^&*()_+"; - -let interval = null; -let interval2 = null; -let interval3 = null; - - -window.onload = (event) => { - -target = document.querySelector(".nathanwoodburn"); - let iteration = 0; - let final = "NATHAN.WOODBURN/"; - clearInterval(interval); - - interval = setInterval(() => { - target.innerText = target.innerText - .split("") - .map((letter, index) => { - if(index < iteration) { - return final[index]; - } - - return letters[Math.floor(Math.random() * 41)] - }) - .join(""); - - if(iteration >= final.length){ - clearInterval(interval); - } - - iteration += 1 / 3; - }, 30); -}; - -document.querySelector(".copyright").onmouseover = event => { - let iteration2 = 0; - let old2 = "Copyright © Nathan Woodburn 2023"; - console.log(old2); - clearInterval(interval2); - - interval2 = setInterval(() => { - event.target.innerText = event.target.innerText - .split("") - .map((letter, index2) => { - if(index2 < iteration2) { - return old2[index2]; - } - - return letters[Math.floor(Math.random() * 41)] - }) - .join(""); - - if(iteration2 >= old2.length){ - clearInterval(interval2); - } - - iteration2 += 1/3; - }, 10); - } - // document.querySelector(".hacker3").onmouseover = event => { - // let iteration3 = 0; - // let old3 = event.target.innerText; - // console.log(old3); - // clearInterval(interval3); - - // interval3 = setInterval(() => { - // event.target.innerText = event.target.innerText - // .split("") - // .map((letter, index3) => { - // if(index3 < iteration3) { - // return old3[index3]; - // } - - // return letters[Math.floor(Math.random() * 41)] - // }) - // .join(""); - - // if(iteration3 >= old3.length){ - // clearInterval(interval3); - // } - - // iteration3 += 1 / 3; - // }, 10); +const letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ/.?!@#$%^&*()_+"; + +let interval = null; +let interval2 = null; +let interval3 = null; + + +window.onload = (event) => { + +target = document.querySelector(".nathanwoodburn"); + let iteration = 0; + let final = "NATHAN.WOODBURN/"; + clearInterval(interval); + + interval = setInterval(() => { + target.innerText = target.innerText + .split("") + .map((letter, index) => { + if(index < iteration) { + return final[index]; + } + + return letters[Math.floor(Math.random() * 41)] + }) + .join(""); + + if(iteration >= final.length){ + clearInterval(interval); + } + + iteration += 1 / 3; + }, 30); +}; + +document.querySelector(".copyright").onmouseover = event => { + let iteration2 = 0; + let old2 = "Copyright © Nathan Woodburn 2023"; + console.log(old2); + clearInterval(interval2); + + interval2 = setInterval(() => { + event.target.innerText = event.target.innerText + .split("") + .map((letter, index2) => { + if(index2 < iteration2) { + return old2[index2]; + } + + return letters[Math.floor(Math.random() * 41)] + }) + .join(""); + + if(iteration2 >= old2.length){ + clearInterval(interval2); + } + + iteration2 += 1/3; + }, 10); + } + // document.querySelector(".hacker3").onmouseover = event => { + // let iteration3 = 0; + // let old3 = event.target.innerText; + // console.log(old3); + // clearInterval(interval3); + + // interval3 = setInterval(() => { + // event.target.innerText = event.target.innerText + // .split("") + // .map((letter, index3) => { + // if(index3 < iteration3) { + // return old3[index3]; + // } + + // return letters[Math.floor(Math.random() * 41)] + // }) + // .join(""); + + // if(iteration3 >= old3.length){ + // clearInterval(interval3); + // } + + // iteration3 += 1 / 3; + // }, 10); // } \ No newline at end of file diff --git a/assets/js/info.js b/assets/js/info.js new file mode 100644 index 0000000..960264f --- /dev/null +++ b/assets/js/info.js @@ -0,0 +1,89 @@ +// On load +onload = function() { + dockerInfo(); + systemUptime(); + systemLoad(); + +}; + + + +// On tick +setInterval(function() { + dockerInfo(); + systemUptime(); + systemLoad(); + + console.log("Updated"); +}, 1000); + +const api = "https://glances.woodburn.au/api/3/"; + +// Docker info function +function dockerInfo() { + // Get the containers.name values from the json + // Replace the interHTML for #containers with the container name + fetch(api + "docker") + .then(response => response.json()) + .then(data => { + // Loop through the containers and get the name and the status + // Display in a containers running and containers stopped + let runningContainers = []; + let stoppedContainers = []; + for (let i = 0; i < data.containers.length; i++) { + if (data.containers[i].Status === "running") { + runningContainers.push(data.containers[i].name); + } else { + stoppedContainers.push(data.containers[i].name); + } + } + // Create the containersName variable + let containersName = "Total Containers: " + data.containers.length + "-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: https://keybase.io/download
Version: Keybase Go 6.0.1 (windows)
xsFNBGPp+YUBEADrOH051Panj+KMnVCvilPx4L4jSqOH/TwdQIpp3y2JSk5foysY
9/n3AbeUoKi5x+vKp9XNmIZjwSlUcTUo65kx39vlSiMRuRkRkdLGACc0pM8GCKtl
7s016bvX22h5w2jg1d4d5Aq7BUsoRgMlgNWkAhPKzwgR67VYfnLI2sRe2+9P0Aj4
venAZnk0XNHNmL70dHNvG9M9CK11kNGiG2Xqnb4vVTTyLD54i040JCK2xkAOk1PX
JIoIyBu2wAUz3rMczopJWrInDrMiZN56a0bqQQQt8lKf8dD6yNfb1LXJWfuxHlw4
Zjkz2D99zT9J++fRQhwJfye/1sgk069aKXyv1lg0N1cPulkP+7uD5389NKc2wA/b
rw0p2Rr7BnPpz4KlTGaOfU9KmxP1eQ3WpH/FMVLkxun4hNuEeca+/yAw6OCCqB/C
P5SagzDeKTjUdi2yo2KuhHon7U0G+xyCqK7j998H/SIh3T/wjxE8FHCTHH2VuuQ/
9xXMpkXqctCQy83th1YmWkqBDyLioYVs6DpjLb6BytRXajHqXhX94ZLcdxSwjbWh
Evse0PHpQZsDHs1cKCZTmGnH0VUhuPUHykYoNwDdimpLLVpGfkr7s+BgfZCQnSkc
kHIzmZFT3rTFSIsMFa3Kr8HRDqA6ezC5RT7/s5fa4vN0/Hh0eAthMuv4NQARAQAB
zSxOYXRoYW4gV29vZGJ1cm4gPGNvbnRhY3RAbmF0aGFuLndvb2RidXJuLmF1PsLB
dQQTAQgAKQUCY+n5hQkQIDsABHitDvECGwMFCR4TOAAECwcJAwUVCAoCAwQWAAEC
AACTphAAwE4UDHqFy3BkMaQPNOjovhPu0dimj6EFlLqxFoXX7/kWsbZUtHiRuSHY
vm18J6prV9EcpjGb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cEkSmfl/RJMNizolgRDz8S1XS0MZmG6/xrX7kxK2SfuXlxaDgMWoCAaxoil2MW2
BXxhwZ8GQayuZKJGdTc/iDzk6C7dkQCoBfdxDWGeY1yACfcbAiRA/u5gdpFg6+Wm
IUWwchpPHZmUozcuiPWQX5f3w7pzMMHYzov8otu5vsuPbnAuc1OcwSFXTb4FP98G
B7ORBWU/xvmMz5vqfcywY3bdr8938GJXs7MxqcXJJoMivUYzUGHSw4zf5tOxnltq
AFZjP2muCOBwDKDm8c3/Q3lqZkijIn/iiolSNhNHQZlbuP/57+1XMDBOrHYwhUFB
zcpFkUrFho23Gwia2Q3lkn129qbFW7J5dMVizAwvt3DnsTZYDl3KgIWQwgId4BMi
Rk2DJK5d65l1qg7f6w2pNaVG3i5Om+t7Z22UNuCJT/HG/cP6F9es0rAaNFXXxdRS
/G749MtEVVLiCbHNE4ZfWfXgAuiw9KIQaD/tCostZIEbJgwOePMXxXQWCR6V4yfA
i0GVXA==
=W9Zx
-----END PGP PUBLIC KEY BLOCK-----
diff --git a/podcast.html b/podcast.html
index 6a7fe44..f794a28 100644
--- a/podcast.html
+++ b/podcast.html
@@ -39,6 +39,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
+
diff --git a/projects.html b/projects.html
index fb89322..1655517 100644
--- a/projects.html
+++ b/projects.html
@@ -39,6 +39,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
+
diff --git a/resume.html b/resume.html
index b81a436..e1e88a3 100644
--- a/resume.html
+++ b/resume.html
@@ -39,6 +39,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
+