From 54cd756f5bd97e313cfadbf3e39f6b0149b3897e Mon Sep 17 00:00:00 2001 From: hopperelec Date: Sat, 15 Jun 2024 12:44:14 +0100 Subject: [PATCH] Completed the .py Monaco virtual-files --- .../virtual-files/cpp/HappyNumbers.cpp | 2 +- .../virtual-files/python/HeartbeatsData.py | 7 ++++++- .../virtual-files/python/HopperBot (old).py | 14 +++++++++++++- .../virtual-files/python/PiggyBankCounter.py | 7 ++++++- .../virtual-files/python/TiktTok-Notifs.py | 3 ++- .../virtual-files/web-dev/open-source.ts | 2 +- .../virtual-files/web-dev/www-v1/script.js | 2 +- 7 files changed, 30 insertions(+), 7 deletions(-) diff --git a/src/lib/media/monaco-viewer/virtual-files/cpp/HappyNumbers.cpp b/src/lib/media/monaco-viewer/virtual-files/cpp/HappyNumbers.cpp index 35ef20b..fd38aae 100644 --- a/src/lib/media/monaco-viewer/virtual-files/cpp/HappyNumbers.cpp +++ b/src/lib/media/monaco-viewer/virtual-files/cpp/HappyNumbers.cpp @@ -3,5 +3,5 @@ int main() { std::cout << "As part of some competitive programming between I and AzureAqua, I developed an efficient 'happy number' calculator"; std::cout << "Happy numbers are integers for which the sum of all their digits squared are also happy. 1 is a primitive happy number."; - // https://github.com/HopperElec/HappyNumbersCalculatorCPP/ + // https://github.com/hopperelec/HappyNumbersCalculatorCPP/ } diff --git a/src/lib/media/monaco-viewer/virtual-files/python/HeartbeatsData.py b/src/lib/media/monaco-viewer/virtual-files/python/HeartbeatsData.py index f87f5c1..2f18615 100644 --- a/src/lib/media/monaco-viewer/virtual-files/python/HeartbeatsData.py +++ b/src/lib/media/monaco-viewer/virtual-files/python/HeartbeatsData.py @@ -1 +1,6 @@ -# TODO \ No newline at end of file +print(""" +I am passionate about the quantified self, which includes various time-tracking. +Most time-tracking is done through "heartbeats" which just say what I was doing at a particular time. +HeartbeatsData is a Python library I made which produces a few interesting charts (using matplotlib) for visualizing this data. +""") +# https://github.com/hopperelec/HeartbeatsData diff --git a/src/lib/media/monaco-viewer/virtual-files/python/HopperBot (old).py b/src/lib/media/monaco-viewer/virtual-files/python/HopperBot (old).py index f87f5c1..4ec55ac 100644 --- a/src/lib/media/monaco-viewer/virtual-files/python/HopperBot (old).py +++ b/src/lib/media/monaco-viewer/virtual-files/python/HopperBot (old).py @@ -1 +1,13 @@ -# TODO \ No newline at end of file +print(""" +HopperBot is the Discord bot I use for most Discord servers I create or moderate. + +It was originally developed using Discord.py and included the following features before I switched to JDA: +- Moderation logging +- Purging +- Polls +- Automatically generating numbered VCs +- A playlist +- An economy +- AI analysis and impersonations of some users (friends, only with consent) +""") +# https://github.com/hopperelec/HopperBot-Python/ diff --git a/src/lib/media/monaco-viewer/virtual-files/python/PiggyBankCounter.py b/src/lib/media/monaco-viewer/virtual-files/python/PiggyBankCounter.py index f87f5c1..af93398 100644 --- a/src/lib/media/monaco-viewer/virtual-files/python/PiggyBankCounter.py +++ b/src/lib/media/monaco-viewer/virtual-files/python/PiggyBankCounter.py @@ -1 +1,6 @@ -# TODO \ No newline at end of file +print(""" +PiggyBankCounter is one of the first larger and object-oriented project I developed, back in 2019. +It's a GUI tool, built using Pygame, which allows for calculating a value of a piggy bank across hundreds of currencies. +It's certainly not good quality for my current standards, but I'm still proud of it because of how young I was when I made it. +""") +# Sadly, the code is private because it contains many references to my school and I frankly don't want to DOX myself diff --git a/src/lib/media/monaco-viewer/virtual-files/python/TiktTok-Notifs.py b/src/lib/media/monaco-viewer/virtual-files/python/TiktTok-Notifs.py index f87f5c1..cf5883f 100644 --- a/src/lib/media/monaco-viewer/virtual-files/python/TiktTok-Notifs.py +++ b/src/lib/media/monaco-viewer/virtual-files/python/TiktTok-Notifs.py @@ -1 +1,2 @@ -# TODO \ No newline at end of file +print("TikTok-Notifs is a simple program I developed for displaying desktop notifications whenever a followed TikTok user posts a new TikTok") +# https://github.com/hopperelec/TikTok-Notifs diff --git a/src/lib/media/monaco-viewer/virtual-files/web-dev/open-source.ts b/src/lib/media/monaco-viewer/virtual-files/web-dev/open-source.ts index 1b0014b..7baf7bd 100644 --- a/src/lib/media/monaco-viewer/virtual-files/web-dev/open-source.ts +++ b/src/lib/media/monaco-viewer/virtual-files/web-dev/open-source.ts @@ -1,7 +1,7 @@ function contributedTo(author: string, projectName: string) { const GITHUB_URL = `https://github.com/${author}/${projectName}`; console.log( - `I have contributed to ${GITHUB_URL}; see my contributions here: ${GITHUB_URL}/commits?author=HopperElec`, + `I have contributed to ${GITHUB_URL}; see my contributions here: ${GITHUB_URL}/commits?author=hopperelec`, ); } contributedTo("mlomb", "chat-analytics"); diff --git a/src/lib/media/monaco-viewer/virtual-files/web-dev/www-v1/script.js b/src/lib/media/monaco-viewer/virtual-files/web-dev/www-v1/script.js index 42e1ff2..975aeb6 100644 --- a/src/lib/media/monaco-viewer/virtual-files/web-dev/www-v1/script.js +++ b/src/lib/media/monaco-viewer/virtual-files/web-dev/www-v1/script.js @@ -1 +1 @@ -// Most of the Javascript used on this website was just for opening and closing an accordion, but I did experiment with it a bit \ No newline at end of file +// Most of the Javascript used on this website was just for opening and closing an accordion, but I did experiment with it a bit