diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..2bd0fc2 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,33 @@ +name: Build Eleventy + +on: + push: + branches: + - master + +jobs: + build: + runs-on: ubuntu-20.04 + + strategy: + matrix: + node-version: [12.x] + + steps: + - uses: actions/checkout@v2 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + + - name: Install dependencies & build + run: | + npm ci + npm run build + + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + publish_dir: ./_site + github_token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml deleted file mode 100644 index 93e9667..0000000 --- a/.github/workflows/static.yml +++ /dev/null @@ -1,43 +0,0 @@ -# Simple workflow for deploying static content to GitHub Pages -name: Deploy static content to Pages - -on: - # Runs on pushes targeting the default branch - push: - branches: ["main"] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages -permissions: - contents: read - pages: write - id-token: write - -# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. -# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. -concurrency: - group: "pages" - cancel-in-progress: false - -jobs: - # Single deploy job since we're just deploying - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Setup Pages - uses: actions/configure-pages@v5 - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - with: - # Upload entire repository - path: 'docs' - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 diff --git a/.gitignore b/.gitignore index b98fa38..d1a9dc6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ _site/ -node_modules/ \ No newline at end of file +node_modules/ +docs/ \ No newline at end of file diff --git a/docs/en/blog/index.html b/docs/en/blog/index.html deleted file mode 100644 index de0c45c..0000000 --- a/docs/en/blog/index.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - Adrian Victor - - - - - - - - - - - - -
- -
-
-

Adrian Victor:Blog

- Fanasy is not a crime, find your castle in the sky. - -
-
-
-
- -
-
-
- -
-

Listing Blog Posts:

- -
-
-
- - \ No newline at end of file diff --git a/docs/en/index.html b/docs/en/index.html deleted file mode 100644 index 25aa957..0000000 --- a/docs/en/index.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - Adrian Victor - - - - - - - - - - - - -
- -
-
-

Adrian Victor

- Fanasy is not a crime, find your castle in the sky. - -
-
-
-
- -
-
-
- -
-
-
- - -
-

Welcome

-

It seems that you have found my website! Hi, I am Adrian Victor (or tenkuma), a Brazilian guy who likes to mess around with computers, computer programs and enimatpyrtlyhtemids.

-

Socials and Contact

-

- I'm publicly available at Mastodon (@tenkuma@mstdn.social), - GitHub (adrianvic), - Disroot Git (adrianvictor), - Discord (@adrianvic), - YouTube (@adrianvictor8), - BitView (tenkuma), - Modrinth (tenkumabear) - and XMPP (adrianvictor@disroot.org). -

-

You can message me on my E-mail (adrianvictor@disroot.org) or feel free to get in touch through any of the other places mentioned above. For project-specific subjects, check for the project's contact field or if there's no such field add +projectname to my E-mail address (example: adrianvictor+coolproject@disroot.org).

-

Please, avoid reaching me through ways not mentioned above :)

-
-
-

My Music

-

Me and my friends have an amateur record label called Margarina Records, things usually move slowly with my musical works, usually because of college and the lack of proper music production knowledge, but I'm working my way through it.

-

You can follow my latest songs at the label website and on Genius. You'd probably also like the other member's works as well, so take a look at all songs from MGR.

-
-
-

My Videos

-

I have a YouTube channel where I post mostly Minecraft videos, but I want to have other types of content in the future. There's no scedule for my videos because it takes a lot of editing time to put a video together, and I have little time to work on my own projects, you should subscribe if you want to know when I post something!

-

Here's a random video I'm proud of:

- - -

How to use MCA Selector to merge worlds in Minecraft Java!

-
-
-
-

My Software

-

I am studying computing at IFC (SC, Brazil) but in my free time I have some projects like computer applications, Minecraft plugins, Minecraft servers, etc... Anything that is public should be in my GitHub profile.

- -
-
-
-
A digital drawing of the top of a fork with a black outline, in the right a text in white says 'Pesto Wiki'
- - - -
-
-

Native music player for Android devices that connects to Jellyfin media servers. The code is based on Gelli's archived repository, which is based on an old version of Phonograph.

-
-
-
-
-
- - - -
-
-

Eye of Nemesis is a plugin that allows server admins to write policies that will deny or allow (black/whitelist) players to do specific things based on the value of nodes.

-
-
- -
-
-
- - - -
-
-

This PaperMC plugin integrates with VaultUnlocked to provide a unique, item-based economy system for your Minecraft server. Instead of relying solely on virtual balances, players use in-game items as physical currency, adding a layer of immersion and realism to your economy.

-
-
-
-
-
- - - -
-
-

Multi-platform customizable client for wikis written in Python using PySide6 (QT).

-
-
-
-
-
- -
-
- - \ No newline at end of file diff --git a/docs/index.html b/docs/index.html deleted file mode 100644 index 51aaf18..0000000 --- a/docs/index.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - Adrian Victor - - - - - - - - - - - - -
- -
-
-

Adrian Victor

- Fanasy is not a crime, find your castle in the sky. - -
-
-
-
- -
-
-
- - -
-

Pick a language

- -
-
-
- - \ No newline at end of file diff --git a/docs/posts/android-developer-verification/index.html b/docs/posts/android-developer-verification/index.html deleted file mode 100644 index acf43d7..0000000 --- a/docs/posts/android-developer-verification/index.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - Adrian Victor - On the Recent Changes to App Distribution Requirements in the Android System by Google. - - - - - - - - - - - - -
- -
-
-

Adrian Victor:Blog

- Fanasy is not a crime, find your castle in the sky. - -
-
-
-
- -
-
-
-
-
-
-

On the Recent Changes to App Distribution Requirements in the Android System by Google.

-

Adrian Victor - Fri Aug 29 2025 21:00:00 GMT-0300 (Brasilia Standard Time)

-
-

Recap

- -

Android is that open-source operating system that works well for users and is loved by developers. Always known for breaking barriers and being open, expandable, versatile, and even friendly to power users-something not every system dares to be (iOS, Windows Phone). For a long time, Android was seen this way compared to its competitors: a breath of fresh air against the abusive practices of companies like Apple. But it seems the Android we've nurtured for two decades no longer fits in the pockets of Google executives; it is too free, creating ethical and technical barriers to the profitable exploitation path adopted by its developer.

- -

What happened with Android?

- -

At the end of this month (August 2025), Google announced that starting September 2026, all apps installed on certified devices (those with Google Android and locked bootloader) will need to undergo a developer verification process. This process involves collecting personal data from the individual distributing the app, so they can be identified and held accountable for potential malicious activities related to their software. The same applies to companies, which must also pay a $25 USD fee. This process is mandatory even if the app is distributed outside Google's official stores, raising obvious concerns about user privacy and freedom.

- -

Implications, Justifications, and Motivations of the New Policy

- -

It is important to examine Google's justification and try to understand its true motivation behind this distribution policy. Let's start by analyzing Google's statement:

- -
"By making Android safer, we're protecting the open environment that allows developers and users to confidently create and connect. Android's new developer verification is an extra layer of security that deters bad actors and makes it harder for them to spread harm."
- -

They argue that the new rules are intended to improve user security, preventing malicious software from being installed on certified Android devices. Again, we see "security" used to justify controversial practices that limit the end user's control over their device. This was also the justification given for the proven abusive sideloading restrictions that led Google to lose a lawsuit against Epic Games-a more sophisticated version of the same issue is happening here.

- -

It is easy to sympathize with the company when the words are well-phrased, but as a user who loves alternative software outside the big tech ecosystem, I have seen enough examples of authority abuse to conclude that Google's recent actions are simply an attempt to regain part, if not all, of the control it had over Android devices before the previously mentioned case.

- -

One example is the kio-gdrive software, widely used to integrate Google Drive with the KDE file manager on Linux systems. The software was blocked from asking users if they authorized access to their Google Drive account. Instead of the permission popup, Google displayed a warning implying that the legitimate software could be malicious. Developers reported:

- -
"Google blocked us from using this back in June because we weren't able -justify our API usage to their satisfaction. As such, the permission is now blocked [...] mamaking 25% of the KAccounts KCM non-functional. Remove the gdrive permissions [...] for now so at least other Google things can work (at least in theory)."
- -
"It's beyond stupid (IMHO) if individual users can't indicate that they're fine with a particular piece of software accessing their supposedly sensitive data!"
- -

Although I couldn't find the exact internal conversations between developers-and I'm giving Google the benefit of the doubt-it is at least suspicious that Google did not agree that software performing its primary functions within Google Drive should have a valid reason to access it. This was not an isolated case; Google operates behind the scenes to control what happens on Android. For example, apps compiled for older system versions would show alarming security warnings because recent changes introduced more permission barriers, even though old apps didn't support them. A reasonable warning would emphasize that permissions must be granted to support optional features, but the actual messages were vague, conveniently scaring users attempting sideloading and helping maintain the Play Store monopoly.

- -

Speaking of alarming warnings, let's discuss Play Protect, software embedded in the Google Play Store that scans installed sideloaded apps and reports the results back to Google. At first glance, this is a good idea, assuming the user opts in. The problem arises when the difference between malware detection messages and warnings triggered by outdated software is unclear, causing two serious effects: it renders Google's protection service almost useless while maintaining the Play Store monopoly.

- -

Imagine sideloading for the first time: you try to install an old version of a favored software. You receive exaggerated warnings about the supposed dangers, abandon the installation, and install the latest version from the Play Store. Google thus indirectly forces more users to use its store, ensuring the lucrative 30% transaction fee.

- -

Now consider a second scenario: you're an advanced Android user who understands sideloading and loves installing open-source apps outside the Play Store. You click a suspicious link and download a malicious APK. Play Protect warns you during installation, but the warnings are so frequent and exaggerated-even when no malware is detected-that you ignore them out of habit. The result: malware on your device, and Play Protect was ineffective.

- -

Sometimes, downloading software outside the Play Store is the only option, because developers may not want to publish apps there-either for privacy reasons (developers must disclose personal data when publishing) or because of publishing fees, which may discourage donation-supported developers. Users must have the freedom to choose what runs on their devices.

- -

According to current information, developers don't have to make their data public if they avoid distributing apps via the Play Store. This is the least Google could do to make the new distribution policies fairer. Google also claims the verification isn't meant to inspect app content or purpose; it is supposedly only to block malware distribution. Whether this holds up remains to be seen, given it could also serve as a convenient tool for abuse of power.

- -

Next Steps

- -

We must watch how these policies are applied and how they affect the Android ecosystem. An inevitable consequence is that countless abandoned apps, perfectly functional without the new requirements, will disappear overnight. Not all old software connects to the internet, and not all represents a constant threat. Google is taking away the option for experienced users to take responsibility and say: "I know what I'm doing!", treating us like children, as if they know what's best for everyone.

- -

The commercial Android on phones is based on the AOSP, meaning Android's core remains open, and Google hasn't taken that from users yet. I plan to write another post explaining how to regain control of your device through system modifications, from the simplest, safest, most stable methods to advanced approaches, if you feel confident.

-
-
-
-
- - \ No newline at end of file diff --git a/docs/posts/telnet-en/index.html b/docs/posts/telnet-en/index.html deleted file mode 100644 index e0b71ae..0000000 --- a/docs/posts/telnet-en/index.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - Adrian Victor - Telnet - - - - - - - - - - - - -
- -
-
-

Adrian Victor:Blog

- Fanasy is not a crime, find your castle in the sky. - -
-
-
-
- -
-
-
-
-
-
-

Telnet

-

Adrian Victor & Arthur Borges - Tue Aug 26 2025 21:00:00 GMT-0300 (Brasilia Standard Time)

-
- -

What the protocol is, its function and history

-

Telnet (from TELecommunication NETwork) is a TCP/IP stack network protocol that allows remote text-mode communication between computers. Its main function is to provide an interactive session where a user can access and control another device as if they were on a local terminal.

-

Created in 1969, Telnet was one of the first protocols developed for ARPANET (the network that gave rise to the Internet) and became fundamental for system and device administration in the 1970s, 1980s, and 1990s. Over time, it fell out of use due to lack of security, being replaced by more modern alternatives such as SSH (Secure Shell).

-

Implementation

-

Default port: 23/TCP.
-Works at the application layer of the OSI model.
-Format: Based on ASCII character exchange, without encryption.
-RFC: Defined by RFC 854 (1983).
-Architecture: Follows the client-server model

-

How it works

-

In practice, Telnet works relatively simply. The process starts when the client establishes a TCP connection to the server via port 23. Then a remote terminal session is initiated and the user must provide credentials such as username and password. After authentication, commands typed on the client are transmitted in plain text to the server, which processes them and returns the corresponding output. The session remains active as long as the user wants, normally ending with commands like exit or logout

-

Use cases

-

For many years, Telnet was widely used for remote access to Unix, Linux, and Windows servers, especially older versions of these systems. It also became common in network device administration, such as routers and switches, until SSH became the standard. Additionally, mainframes and some legacy devices still use Telnet today. Another practical application is in educational environments and network diagnostics, where it is used to test open ports and check service connectivity, such as running “telnet server.com 80” to see if a web server port is operational.

-

Encryption: the inherent problem

-

Telnet has no native encryption, which makes it extremely vulnerable. To solve this problem, more secure alternatives were developed. The main one is SSH (Secure Shell), created in the 1990s as a direct Telnet replacement. SSH offers the same functionality while ensuring data protection through strong authentication and full traffic encryption. Another, less common approach is using SSL/TLS to tunnel Telnet sessions, but in practice this is rarely used.

-

Advantages and disadvantages

-

Telnet’s advantages include simplicity, low resource usage, and compatibility with various older systems, which facilitated its adoption over the years. However, these benefits are outweighed by its disadvantages. The main one is the lack of encryption, exposing all transmitted data—including passwords—in plain text. This makes it vulnerable to attacks such as sniffing, which captures network packets, and hijacking, which takes over active sessions. For this reason, Telnet is considered obsolete and unsafe for use on open networks like the Internet.

-

Relation to other protocols

-

Telnet is part of the TCP/IP protocol family and uses TCP to ensure reliable communication. Like other protocols in this stack, such as HTTP, FTP, and SMTP, it relies on stable connections to perform its functions, but its distinguishing feature has always been terminal-mode interactivity. Due to security flaws, it was replaced by its natural successor, SSH, which retained Telnet’s conceptual base but added robust protection layers.

-

Functional example

-

Below is a Telnet connection simulator written in JavaScript.

-
-

Loading...

-
-
-
-
-
-
-
-
-
-

Server

- - -
-
-

Client

- -
- - -
-
-
-
-
-
-
- - \ No newline at end of file diff --git a/docs/posts/telnet-pt/index.html b/docs/posts/telnet-pt/index.html deleted file mode 100644 index 327468b..0000000 --- a/docs/posts/telnet-pt/index.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - Adrian Victor - Telnet - - - - - - - - - - - - -
- -
-
-

Adrian Victor:Blog

- Fanasy is not a crime, find your castle in the sky. - -
-
-
-
- -
-
-
-
-
-
-

Telnet

-

Adrian Victor & Arthur Borges - Tue Aug 26 2025 21:00:00 GMT-0300 (Brasilia Standard Time)

-
- -

O que é o protocolo, sua função e histórico

-

O Telnet (do inglês TELecommunication NETwork) é um protocolo de rede da pilha -TCP/IP que permite a comunicação remota entre computadores em modo texto. Sua -função principal é proporcionar uma sessão interativa, em que um usuário pode -acessar e controlar outro dispositivo como se estivesse em um terminal local.

-

Criado em 1969, o Telnet foi um dos primeiros protocolos desenvolvidos para a -ARPANET (a rede que deu origem à Internet) e tornou-se fundamental para a -administração de sistemas e dispositivos nas décadas de 1970, 1980 e 1990. Com o -tempo, caiu em desuso devido à falta de segurança, sendo substituído por -alternativas mais modernas, como o SSH (Secure Shell).

-

Implementação

-

Porta padrão: 23/TCP.
-Funciona na camada de aplicação do modelo OSI.
-Formato: Baseado em troca de caracteres ASCII, sem criptografia.
-RFC: Definido pela RFC 854 (1983).
-Arquitetura: Segue o modelo cliente-servidor

-

Funcionamento

-

Na prática, o Telnet funciona de maneira relativamente simples. O processo começa -quando o cliente estabelece uma conexão TCP com o servidor por meio da porta 23. -Em seguida, uma sessão de terminal remoto é iniciada e o usuário deve fornecer -suas credenciais, como nome de usuário e senha. Após a autenticação, os -comandos digitados no cliente são transmitidos em texto puro ao servidor, que os -processa e retorna a saída correspondente. A sessão permanece ativa enquanto o -usuário desejar, sendo encerrada normalmente com comandos como exit ou logout

-

Cenários de uso

-

Durante muitos anos, o Telnet foi amplamente utilizado para acesso remoto a -servidores Unix, Linux e Windows, especialmente em versões mais antigas desses -sistemas. Também se tornou bastante comum na administração de dispositivos de -rede, como roteadores e switches, até que o SSH passou a ser adotado como -padrão. Além disso, grandes computadores centrais, conhecidos como mainframes, -e alguns dispositivos legados ainda utilizam Telnet até hoje. Outra aplicação prática -do protocolo está em ambientes educacionais e no diagnóstico de redes, onde é -usado para testar portas abertas e verificar conectividade de serviços, como ao -executar “telnet servidor.com 80” para checar se a porta de um servidor web está em -funcionamento.

-

Criptografia: o problema inerente

-

O Telnet não possui criptografia nativa, o que o torna extremamente vulnerável. Para -solucionar esse problema, surgiram alternativas mais seguras. A principal delas é o -SSH (Secure Shell), desenvolvido nos anos 1990 como um substituto direto do -Telnet. O SSH oferece as mesmas funcionalidades, mas garante a proteção dos -dados por meio de autenticação forte e criptografia de todo o tráfego. Outra -possibilidade, embora menos comum, é o uso de SSL/TLS para tunelar sessões -Telnet, mas na prática essa abordagem raramente é utilizada.

-

Vantagens e desvantagens

-

Entre as vantagens do Telnet, destacam-se sua simplicidade, baixo consumo de -recursos e compatibilidade com diferentes sistemas antigos, o que facilitou sua -adoção ao longo dos anos. Contudo, essas qualidades são superadas por suas -desvantagens. A principal é a ausência de criptografia, que expõe todos os dados -transmitidos, incluindo senhas, em texto puro. Isso o torna vulnerável a ataques -como o sniffing, que captura pacotes de rede, e o hijacking, que sequestra sessões -ativas. Por esse motivo, o Telnet é considerado obsoleto e inseguro para uso em -redes abertas, como a própria Internet.

-

Relação com outros protocolos

-

O Telnet faz parte da família de protocolos da pilha TCP/IP e utiliza o TCP para -garantir a confiabilidade na comunicação. Assim como outros protocolos dessa pilha, -como HTTP, FTP e SMTP, ele se baseia em conexões estáveis para realizar suas -funções, mas seu diferencial sempre foi a interatividade em modo terminal. No -entanto, devido às falhas de segurança, acabou sendo substituído por seu sucessor -natural, o SSH, que manteve a mesma base conceitual do Telnet, mas adicionou -camadas robustas de proteção.

-

Exemplo funcional

-

Abaixo há um simulador de conexão Telnet feito em JavaScript.

-
-

Loading...

-
-
-
-
-
-
-
-
-
-

Servidor

- - -
-
-

Cliente

- -
- - -
-
-
- -
-
-
-
- - \ No newline at end of file diff --git a/docs/posts/verificacao-de-desenvolvedor-no-android/index.html b/docs/posts/verificacao-de-desenvolvedor-no-android/index.html deleted file mode 100644 index 2417129..0000000 --- a/docs/posts/verificacao-de-desenvolvedor-no-android/index.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - Adrian Victor - Sobre as recentes mudanças nos requisitos de distribuição de apps no sistema Android feitas pela Google. - - - - - - - - - - - - -
- -
-
-

Adrian Victor:Blog

- Fanasy is not a crime, find your castle in the sky. - -
-
-
-
- -
-
-
-
-
-
-

Sobre as recentes mudanças nos requisitos de distribuição de apps no sistema Android feitas pela Google.

-

Adrian Victor - Fri Aug 29 2025 21:00:00 GMT-0300 (Brasilia Standard Time)

-
-

Recapitulando

- -

Android é aquele sistema operacional open-source que funciona bem para os usuários, e que os desenvolvedores amam. Sempre conhecido por quebrar barreiras e por ser aberto, expansível, versátil e até amigável com os mais nerds, coisa que nem todo sistema tem a cara e coragem de ser (iOS, Windows Phone). É assim que, por muito tempo, o Android foi visto em relação aos seus concorrentes: Um suspiro de ar puro em relação às práticas abusivas de empresas como a Apple. Mas parece que o Android que cultivamos por duas décadas não cabe mais no bolso dos executivos da Google, é livre demais, e isso criou barreiras éticas e técnicas no lucrativo caminho de exploração adotado pela sua desenvolvedora.

- -

O que aconteceu com o Android?

- -

A Google anunciou no final deste mês (Agosto de 2025) que a partir de Setembro de 2026 todos os apps instalados em dispositivos certificados (aqueles com o Android da Google e de bootloader bloqueado) precisarão passar pelo processo de verificação de desenvolvedor, processo cujo consiste da coleta de dados pessoais do indivíduo que vai distribuir a aplicação para que o mesmo possa ser identificado e atribuído a possíveis atividades maliciosas relacionadas ao seu software, o mesmo vale para empresas, que além disso precisam pagar uma taxa de 25 USD. O processo é forçado e necessário mesmo com a distribuição do app sendo feita fora das lojas oficiais da Google, o que trouxe óbvias preocupações sobre privacidade e liberdade dos usuários do sistema.

- -

As implicações, justificativas e motivações da nova política

- -

É importante analisar a justificativa e tentar entender a real motivação que a Google teve ao criar tal política de distribuição. Portanto começamos analisando a fala da Google:

- -
"Para tornar o Android mais seguro, estamos protegendo o ambiente aberto que permite que desenvolvedores e usuários criem e se conectem com confiança. A nova verificação de desenvolvedor do Android é uma camada que detém atores maliciosos e faz com que seja mais difícil para que eles espalhem o mau."
- -

Ela argumenta que as novas regras do sistema foram feitas com a intenção de aprimorar a segurança do usuário, evitando que software malicioso seja instalado em dispositivos Android certificados. Outra vez vemos segurança sendo usada como forma de justificar práticas controversas que limitam o poder do usuário final no seu próprio dispositivo. Essa também era a justificativa dada para a prática comprovadamente abusiva de bloqueio de sideloading de apps que levou a Google a perder seu caso no tribunal contra a empresa Epic Games, aqui vemos uma versão mais sofisticada da mesma.

- -

É fácil simpatizar com a empresa quando as palavras são bem colocadas, mas como usuário ávido de softwares alternativos aos das big-techs, eu já vi exemplos de abuso de autoridade suficientes para concluir que as recentes ações da Google não passam de uma forma de recuperar parte, se não todo o controle que ela tinha sobre os dispositivos Android antes do caso mencionado anteriormente.

- -

Um exemplo desses abusos é o caso do software kio-gdrive, que era amplamente utilizado para integrar o Google Drive ao explorador de arquivos do KDE, um ambiente para sistemas Linux. O software foi bloqueado de perguntar para os usuários se eles autorizavam o acesso a sua conta do Google Drive, no lugar do popup de permissão, a Google colocou um aviso informando os usuários que o software legítimo poderia ser malicioso, seguem os relatos dos desenvolvedores:

- -
"Google bloqueou o nosso acesso a essa função em junho porque não conseguimos explicar o nosso uso da API de forma que eles julgam satisfatória. Por causa disso o sistema de permissões agora está bloqueado [...] tornando 25% das KAccounts KCM não funcionais. Remova as permissões [...] para que pelo menos o restante das integrações funcione (pelo menos em teoria)."
- -
"É mais que estúpido (na minha humilde opinião) usuários individuais não poderem indicar que eles concordam com um software específico acessando seus dados supostamente sensíveis!"
- -

Por mais que durante minhas pesquisas eu não tenha achado exatamente quais conversas foram trocadas pelo time de desenvolvedores - e com isso estou dando um grande benefício da dúvida para a Google -, é no mínimo suspeito que a Google não tenha concordado que um software que exerce suas funções primárias dentro do ambiente do Google Drive tem um motivo válido para usufruir do mesmo. Esse não foi um caso único, a Google age nas entrelinhas para controlar o que acontece ou não no Android, como quando apps compilados para versões mais antigas do sistema mostravam um aviso assustador sobre segurança pois mudanças recentes haviam colocado mais barreiras no sistema de permissões, porém os apps antigos não tinham suporte a elas. Um aviso sobre as permissões que seriam dadas ao aplicativo instalado, enfatizando que elas teriam que ser dadas ao aplicativo por ele não suportar as permissões opcionais é razoável, entretanto a mensagem exibida foi bem mais vaga do que deveria ser, o que convenientemente serviu para assustar os usuários que experimentavam sideloading e ajudou a manter o monopólio da Google Play Store.

- -

Falando em avisos assustadores, chegou a hora de falar do Play Protect, um software embutido na Google Play Store que escaneia os apps instalados no seu dispositivo via sideloading e retorna o resultado para a base de dados da Google, uma ideia boa a primeira vista, levando em conta que a empresa respeita a escolha do usuário com o modelo opt-in, questionando o mesmo se ele gostaria de enviar seus apps instalados para a análise. O grande problema aparece quando a diferença entre as mensagens de detecção de malware e as que são acionadas pelo simples fato do software estar desatualizado é tão turva que causa dois efeitos graves, que juntos tornam o serviço de proteção da Google praticamente inútil para o usuário, enquanto mantém o monopólio da Google.

- -

Suponhamos que você está experimentando sideloading pela primeira vez: você tenta instalar uma versão antiga de um software que você gosta. Você recebe a mensagem exacerbada sobre os supostos perigos de instalar o software desatualizado, desiste da instalação e instala a versão atual pela Google Play Store. Assim a Google força, mesmo que indiretamente, mais um usuário a usar sua loja, garantindo os lucrativos 30% de taxa nas transações dos apps.

- -

Agora apresento um segundo cenário hipotético: você é um usuário mais avançado do sistema Android que tem total noção do que se trata o sideloading e adora instalar seus aplicativos de código aberto por fora da Play Store. Porém você clica em um link duvidoso e baixa um arquivo APK malicioso. Na hora de instalar você recebe o aviso do Play Protect, mas ele é tão frequente e exagerado - até mesmo quando nenhum malware foi detectado - que você acaba dispensando-o por já estar acostumado a ter que fazer isso (isso quando o usuário já não desativou ele nas configurações da Play Store). Agora o usuário tem um malware em seu dispositivo, o Play Protect foi inútil.

- -

Em certas situações baixar um software por fora da loja da Google é a única opção, pois existem casos onde o desenvolvedor não quer publicar seu app na Play Store, tanto por questões de privacidade - já que os desenvolvedores são forçados a revelar certos dados pessoais para o público quando publicam seus apps -, quanto pela taxa imposta na publicação e vendas internas do aplicativo, que pode afastar desenvolvedores sustentados puramente por doações dos usuários. Pouco importa o motivo, os usuários devem ser livres para escolher o que roda em seus dispositivos.

- -

De acordo com as informações disponibilizadas até agora, os desenvolvedores não precisarão tornar seus dados públicos caso optem por não distribuir sua aplicação na Play Store, e isso é o mínimo que a Google poderia fazer para tornar as novas políticas de distribuição mais justas para os desenvolvedores. A empresa também afirma que essa verificação não tem o objetivo de verificar o que há dentro da aplicação ou sua finalidade, portanto estaria sendo imposta puramente para barrar a distribuição contínua de malwares, resta ver se a afirmação se sustenta, tendo em vista que isso também pode ser uma ferramenta de abuso de poder conveniente para a Google, como outras serviram nos exemplos citados acima.

- -

Próximos passos

- -

Devemos ficar atentos a como essas novas políticas vão ser aplicadas, e como as mesmas afetarão o ecossistema do Android. Uma consequência inevitável das mudanças é que um número inestimável de aplicações abandonadas pelos desenvolvedores, que - se não fosse pelos novos requisitos - seriam perfeitamente funcionais serão perdidas de um dia para o outro. Nem todo software antigo se conecta à internet, nem todo software antigo representa um perigo constante ao usuário. A Google está tirando do usuário experiente a opção de assumir a responsabilidade e dizer: "Eu sei o que estou fazendo!", nos segurando como crianças, como se soubessem o que é melhor para todos.

- -

O Android comercializado nos celulares é baseado no AOSP, o que significa que a força vital do Android é aberta, e isso a Google ainda não tirou dos usuários. Portanto pretendo fazer um outro post explicando como você pode recuperar o controle do seu dispositivo por meio de modificações no sistema, da forma mais simples, segura e estável possível, até as formas mais avançadas, caso você se sinta confiante.

-
-
-
-
- - \ No newline at end of file diff --git a/docs/pt/blog/index.html b/docs/pt/blog/index.html deleted file mode 100644 index 2a77b3b..0000000 --- a/docs/pt/blog/index.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - Adrian Victor - - - - - - - - - - - - -
- -
-
-

Adrian Victor:Blog

- Fanasy is not a crime, find your castle in the sky. - -
-
-
-
- -
-
-
- -
-

Listando Postagens do Blog:

- -
-
-
- - \ No newline at end of file diff --git a/docs/pt/index.html b/docs/pt/index.html deleted file mode 100644 index 45b22bb..0000000 --- a/docs/pt/index.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - Adrian Victor - - - - - - - - - - - - -
- -
-
-

Adrian Victor

- Fanasy is not a crime, find your castle in the sky. - -
-
-
-
- -
-
-
- -
-
-
- - -
-

Bem-vindo

-

Parece que você encontrou meu website! Olá, sou Adrian Victor (ou tenkuma), um cara brasileiro que gosta de mexer com computadores, programas de computadores e enimatpirtlitemídios.

-

Redes Sociais e Contato

-

- Estou publicamente disponível no Mastodon (@tenkuma@mstdn.social), - GitHub (adrianvic), - Disroot Git (adrianvictor), - Discord (@adrianvic), - YouTube (@adrianvictor8), - BitView (tenkuma), - Modrinth (tenkumabear) - e XMPP (adrianvictor@disroot.org). -

-

Você pode me enviar um correio eletrônico para (adrianvictor@disroot.org) ou me contactar por qualquer outro meio citado acima. Para assuntos relativos a projetos específicos, verifique o campo de contato do projeto, caso não haja um adicione +nomedoprojeto ao meu endereço de E-mail (exemplo: adrianvictor+projetolegal@disroot.org).

-

Por favor, evite me contactar por meios não citados acima :)

-
-
-

Música

-

Eu e meus amigos temos uma gravadora de música amadora chamada Margarina Records, as coisas andam devagar com meus projetos musicais, geralmente por causa da escola ou falta de conhecimento no campo, mas eu estou dando um jeito.

-

Você pode conferir minhas músicas mais recentes no site da gravadora e no Genius. Você provavelmente vai gostar do trabalho dos outros membros, então dê uma olhada nas outras tracks da MGR.

-
-
-

Vídeos

-

Eu tenho um canal no YouTube em que na maioria das vezes eu posto vídeos de Minecraft, mas pretendo expandir a variedade de conteúdos no futuro. Não tenho nenhuma previsão de publicação no meu canal, pois editar os vídeos leva tempo e eu tenho pouco tempo para trabalhar nos meus projetos, você deveria se inscrever se quiser saber quando eu posto meus vídeos!

-

Aqui está um vídeo aleatório que eu me orgulho de ter postado:

- - -

Como usar o MCA Selector para juntar mundos do Minecraft Java!

-
-
-
-

Software

-

Estou estudando informática no IFC (SC, Brazil) mas no meu tempo livre tenho projetos como programas de computador, plugins para Minecraft, servidores Minecraft, etc... Todos meus projetos públicos estão disponíveis no meu perfil do GitHub.

- -
-
-
-
Um desenho digital do topo de um garfo com uma borda preta, à direita um texto branco diz 'Pesto Wiki'
- - - -
-
-

Reprodutor de música nativo para dispositivos Android que se conecta a servidores de mídia Jellyfin. O código é baseado no repositório arquivado do Gelli, que por sua vez se baseia em uma versão antiga do Phonograph.

-
-
-
-
-
- - - -
-
-

Eye of Nemesis é um plugin que permite aos administradores de servidores escrever políticas que negarão ou permitirão (lista negra/branca) que os jogadores façam coisas específicas com base no valor dos nós.

-
-
- -
-
-
- - - -
-
-

Este plugin PaperMC integra-se ao VaultUnlocked para fornecer um sistema de economia único baseado em itens para o seu servidor Minecraft. Em vez de depender apenas de saldos virtuais, os jogadores usam itens do jogo como moeda física, adicionando uma camada de imersão e realismo à sua economia.

-
-
-
-
-
- - - -
-
-

Cliente personalizável multiplataforma para wikis escrito em Python usando PySide6 (QT).

-
-
-
-
-
- -
-
- - \ No newline at end of file diff --git a/docs/school/api-rodrigoribeiro/index.html b/docs/school/api-rodrigoribeiro/index.html deleted file mode 100644 index e3d45cd..0000000 --- a/docs/school/api-rodrigoribeiro/index.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - Adrian Victor - Demonstração da API do Prof. Rodrigo Ribeiro - - - - - - - - - - - - -
- -
-
-

Adrian Victor:Trabalhos

- Fanasy is not a crime, find your castle in the sky. - -
-
-
-
- -
-
-
- -
-

Demonstração da API do Prof. Rodrigo Ribeiro

-

A API do Prof. Rodrigo Ribeiro permite que o client envie uma imagem, assim retornando o resultado de uma leitura óptica realizada sobre a mesma com inteligência artificial. Esse client lê o resultado e o mostra de forma simples para o usuário.

-

Mais informações sobre a API podem ser encontradas no seu website.

-
Token: Ausente
-
- - -
- - -
-
-
-
- -
- - -
-
-
-

Resultados da leitura óptica:

-
-
-
- -
-
- - \ No newline at end of file diff --git a/docs/school/guia-ifc-novatos/index.html b/docs/school/guia-ifc-novatos/index.html deleted file mode 100644 index faf65f8..0000000 --- a/docs/school/guia-ifc-novatos/index.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - Adrian Victor - Guia para novatos no IFC. - - - - - - - - - - - - -
- -
-
-

Adrian Victor:Escola

- Fanasy is not a crime, find your castle in the sky. - -
-
-
-
- -
-
-
-
-
-
-

Guia para novatos no IFC.

-

Adrian Victor - Mon Jan 12 2026 21:00:00 GMT-0300 (Brasilia Standard Time)

-
- -

Antes de tudo, quero dar boas vindas a qualquer novato que esteja lendo esse documento, o IF é uma grande oportunidade que felizmente você não deixou passar! Não vou me extender muito nesse tópico pois tenho certeza que vocês vão ouvir depoimentos de ex-alunos bem-sucedidos ao longo do período letivo.

-

Estou organizando esse documento para evitar que os veteranos tenham que explicar tudo para cada novato que apresentar a mesma dúvida, centralizando o conteúdo para facilitar quando você dá aquela esquecida sobre como algo funciona. Ao mesmo tempo, não quero que ele substitua o contato que você poderia ter com um veterano, não deixe de conversar e fazer novas amizades!

-

Para correções ou dúvidas que não sanei aqui, você pode me mandar um e-mail (adrianvictor@disroot.org) ou me contactar por qualquer outro lugar que você conseguir, vou corrigir/adicionar o mais rápido possível. Caso algum veterano se interesse em escrever algo para complementar essa postagem, fico feliz em adicionar seu texto ou link aqui.

- -

O SIGAA

-

SIGAA (Sistema Integrado Para Ferrar com os Alunos) vai ser o lugar onde você vê as suas notas, frequências, aplica para auxílios e entrega trabalhos – caso você encontre um professor que ainda tem sanidade pra usar essa coisa além do que se faz obrigatório.

-

Ofensas à parte, vamos dar uma olhada nas partes importantes do sistema.

-

Login e cadastro

-
- -

1 - Tela de login do SIGAA.

-
-

Após acessar o site do SIGAA, você deve ver a tela de login mostrada na imagem. Antes de tudo, verifique se você está no SIGAA dos alunos.(1.1)

-

Caso você tenha um login, o acesso é bem simples, apenas preencha os campos de usuário e senha(1.2) e confirme. O login expira em 1 minuto de inatividade.

- -

No caso de você não possuir um cadastro, use o link abaixo da tela de login(1.3) para abrir o formulário de cadastro.

- -

Tela Principal

-
- -

2 - Tela inicial do SIGAA

-
- -

A tela principal do SIGAA é uma bagunça, mas você não vai usar nem metade do que tem nela, por isso vamos dar uma olhada somente nas funcionalidades principais dela.

- -

No cabeçalho(2.1) você tem acesso a coisas como boletim, atestado de frequência, etc... Também é o lugar que você gerencia seus auxílios.

- -

É possível gerenciar seu perfil público e dados na barra lateral(2.2), assim como acessar alguns links úteis (como o da biblioteca digital). O seu perfil fica visível em postagens e respostas enviadas no forum do SIGAA.(2.6) Por algum motivo, minha foto de perfil some toda hora, já não me dou mais o trabalho de colocar de volta.

- -

Não cadastre um e-mail que você usa com frequência no SIGAA, pois ele vai entupir sua caixa de entrada com SPAM. E os e-mails que seriam úteis chegam tão tarde que perdem a utilidade (já recebemos e-mail sobre cancelamento de aulas com um mês de atraso). Se você quiser manter seu e-mail pessoal no SIGAA, já que eles realmente mandam alguma coisa importante uma vez ou outra por ano, configure um filtro para o endereço do IF (ifc.edu.br) que joga todos os e-mails do SIGAA para uma caixa diferente no seu e-mail.

- -

Continuando, chegamos na lista de matérias do seu ano letivo(2.5), você vai usar ela para acessar a página da matéria.

- -

E por fim, temos o forum(2.6), que eu incluí por dó, pois ninguém nunca usa ele. Em teoria ele serve para alunos tirarem suas dúvidas e/ou buscarem ajuda sobre algum tópico relevante do curso, mas acabou que ele virou uma bagunça empoierada que quase não tem atividade nenhuma.

- -

Página da Matéria

-
- -

3 - Página da matéria no SIGAA

-
- -

Essa é, provavelmente, a página que você mais vai usar do SIGAA, ela mostra todas as atividades do ano na lista principal(3.2). Essa lista vai ficando mais bagunçada ao decorrer do ano, ela mostra as atividades das mais antigas para as mais novas, portanto quando o ano passar e o(a) professor(a) adicionar muitas atividades, você vai ter que rolar até o final para achar a mais recente. Se o seu professor adicionar atividades futuras na lista, você também terá que procurar a desse dia.

- -

O Menu da Turma Virtual(3.1) também é importantíssimo, e dessa vez não tenho muito o que dizer, ele funciona como um menu. Os itens que você mais vai usar são Alunos > Frequência para ver sua frequência nessa matéria e Alunos > Ver notas, que mostra suas notas individuais dessa matéria, até mesmo as que não aparecem no boletim ainda.

- -

Na barra lateral da direita(3.3) você encontra o andamento das aulas, que é a quantidade de aulas ministradas em relação ao total. O número de aulas ministradas pode exceder o número de aulas totais, porém as excedentes não vão afetar a sua média de faltas. Também tem algumas outras caixas de notícias, enquetes, atividades, avaliações e forum, mas nenhuma é usada com frequência.

- -

Vale ressaltar que no celular é difícil rolar a página quando você dá zoom, para resolver isso você precisa rolar (arrastar) no Menu da Turma Virtual, porque na lista principal vai rolar apenas a lista de atividades.

- -

Frequência

-

As frequências são contabilizadas pela chamada que os professores fazem no começo da aula. Eventos como a FICE e OLINCAC também contam presença e geralmente um professor fica encarregado de fazer a chamada da manhã, enquanto outro fica na tarde (é bem fácil pegar a chamada da manhã/tarde e ir embora).

-

O aluno não pode exceder em faltas 25% do total de aulas e o limite por matéria do SIGAA não conta no boletim, portanto se você exceder ele sem ultrapassar o limite total, você ainda passa. As matérias optativas são uma excessão, com essas você precisa tomar cuidado para não atingir o limite de faltas.

-

Por mais que o limite esteja entorno de 300 faltas, não recomendo que se acostume a faltar, pois temos 9 aulas por dia, ou seja, 9 faltas. Até as faltas em aulas específicas somam rápido.

- -

Referências

- -
-
-
-
- - \ No newline at end of file diff --git a/docs/static/android-chrome-192x192.png b/docs/static/android-chrome-192x192.png deleted file mode 100644 index 7412893..0000000 Binary files a/docs/static/android-chrome-192x192.png and /dev/null differ diff --git a/docs/static/android-chrome-512x512.png b/docs/static/android-chrome-512x512.png deleted file mode 100644 index 11103d2..0000000 Binary files a/docs/static/android-chrome-512x512.png and /dev/null differ diff --git a/docs/static/apple-touch-icon.png b/docs/static/apple-touch-icon.png deleted file mode 100644 index e7e523d..0000000 Binary files a/docs/static/apple-touch-icon.png and /dev/null differ diff --git a/docs/static/favicon-16x16.png b/docs/static/favicon-16x16.png deleted file mode 100644 index 800a6dc..0000000 Binary files a/docs/static/favicon-16x16.png and /dev/null differ diff --git a/docs/static/favicon-32x32.png b/docs/static/favicon-32x32.png deleted file mode 100644 index 3ace631..0000000 Binary files a/docs/static/favicon-32x32.png and /dev/null differ diff --git a/docs/static/favicon.ico b/docs/static/favicon.ico deleted file mode 100644 index 92263f2..0000000 Binary files a/docs/static/favicon.ico and /dev/null differ diff --git a/docs/static/images/8thNote.svg b/docs/static/images/8thNote.svg deleted file mode 100644 index 3d097cc..0000000 --- a/docs/static/images/8thNote.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/static/images/android-jellybean.jpg b/docs/static/images/android-jellybean.jpg deleted file mode 100644 index 8bf932a..0000000 Binary files a/docs/static/images/android-jellybean.jpg and /dev/null differ diff --git a/docs/static/images/androidrecovery.jpg b/docs/static/images/androidrecovery.jpg deleted file mode 100644 index 6d7f4fd..0000000 Binary files a/docs/static/images/androidrecovery.jpg and /dev/null differ diff --git a/docs/static/images/arrow-cursor.svg b/docs/static/images/arrow-cursor.svg deleted file mode 100644 index b630ade..0000000 --- a/docs/static/images/arrow-cursor.svg +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/docs/static/images/bear-fade-old.jpg b/docs/static/images/bear-fade-old.jpg deleted file mode 100644 index 931bca0..0000000 Binary files a/docs/static/images/bear-fade-old.jpg and /dev/null differ diff --git a/docs/static/images/bear-fade.jpg b/docs/static/images/bear-fade.jpg deleted file mode 100644 index 6524e23..0000000 Binary files a/docs/static/images/bear-fade.jpg and /dev/null differ diff --git a/docs/static/images/bear.jpg b/docs/static/images/bear.jpg deleted file mode 100644 index 6cd61af..0000000 Binary files a/docs/static/images/bear.jpg and /dev/null differ diff --git a/docs/static/images/cameraroll.svg b/docs/static/images/cameraroll.svg deleted file mode 100644 index 6583fe3..0000000 --- a/docs/static/images/cameraroll.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/static/images/eye_of_nemesis.png b/docs/static/images/eye_of_nemesis.png deleted file mode 100644 index 5fc0ab9..0000000 Binary files a/docs/static/images/eye_of_nemesis.png and /dev/null differ diff --git a/docs/static/images/file-code.svg b/docs/static/images/file-code.svg deleted file mode 100644 index 7ef5eef..0000000 --- a/docs/static/images/file-code.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - Svg Vector Icons : http://www.onlinewebfonts.com/icon - - \ No newline at end of file diff --git a/docs/static/images/gears.svg b/docs/static/images/gears.svg deleted file mode 100644 index ed275ab..0000000 --- a/docs/static/images/gears.svg +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/docs/static/images/ifc.jpg b/docs/static/images/ifc.jpg deleted file mode 100644 index 14a03df..0000000 Binary files a/docs/static/images/ifc.jpg and /dev/null differ diff --git a/docs/static/images/itemeconomy2-wide.png b/docs/static/images/itemeconomy2-wide.png deleted file mode 100644 index eb5c46d..0000000 Binary files a/docs/static/images/itemeconomy2-wide.png and /dev/null differ diff --git a/docs/static/images/jamfish-wide.png b/docs/static/images/jamfish-wide.png deleted file mode 100644 index f1d6718..0000000 Binary files a/docs/static/images/jamfish-wide.png and /dev/null differ diff --git a/docs/static/images/me.png b/docs/static/images/me.png deleted file mode 100644 index f821815..0000000 Binary files a/docs/static/images/me.png and /dev/null differ diff --git a/docs/static/images/pestowikifull.png b/docs/static/images/pestowikifull.png deleted file mode 100644 index 6be271b..0000000 Binary files a/docs/static/images/pestowikifull.png and /dev/null differ diff --git a/docs/static/images/pestowikifullwhite.png b/docs/static/images/pestowikifullwhite.png deleted file mode 100644 index c97a5a1..0000000 Binary files a/docs/static/images/pestowikifullwhite.png and /dev/null differ diff --git a/docs/static/images/redes.jpg b/docs/static/images/redes.jpg deleted file mode 100644 index 06ee81e..0000000 Binary files a/docs/static/images/redes.jpg and /dev/null differ diff --git a/docs/static/images/sigaa-inicio.png b/docs/static/images/sigaa-inicio.png deleted file mode 100644 index d9991cc..0000000 Binary files a/docs/static/images/sigaa-inicio.png and /dev/null differ diff --git a/docs/static/images/sigaa-login.png b/docs/static/images/sigaa-login.png deleted file mode 100644 index bf51e68..0000000 Binary files a/docs/static/images/sigaa-login.png and /dev/null differ diff --git a/docs/static/images/sigaa-materia.png b/docs/static/images/sigaa-materia.png deleted file mode 100644 index ffc63c1..0000000 Binary files a/docs/static/images/sigaa-materia.png and /dev/null differ diff --git a/docs/static/images/songs/pg.jpg b/docs/static/images/songs/pg.jpg deleted file mode 100644 index 7a7b04c..0000000 Binary files a/docs/static/images/songs/pg.jpg and /dev/null differ diff --git a/docs/static/images/songs/velkommen.jpg b/docs/static/images/songs/velkommen.jpg deleted file mode 100644 index 6d5232f..0000000 Binary files a/docs/static/images/songs/velkommen.jpg and /dev/null differ diff --git a/docs/static/images/songs/winds.png b/docs/static/images/songs/winds.png deleted file mode 100644 index fee764c..0000000 Binary files a/docs/static/images/songs/winds.png and /dev/null differ diff --git a/docs/static/images/sound-off.png b/docs/static/images/sound-off.png deleted file mode 100644 index f9bb0b3..0000000 Binary files a/docs/static/images/sound-off.png and /dev/null differ diff --git a/docs/static/images/sound-on.png b/docs/static/images/sound-on.png deleted file mode 100644 index e2f6357..0000000 Binary files a/docs/static/images/sound-on.png and /dev/null differ diff --git a/docs/static/images/video.svg b/docs/static/images/video.svg deleted file mode 100644 index a70d9a9..0000000 --- a/docs/static/images/video.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/docs/static/images/youtube_video.jpg b/docs/static/images/youtube_video.jpg deleted file mode 100644 index 85ba74d..0000000 Binary files a/docs/static/images/youtube_video.jpg and /dev/null differ diff --git a/docs/static/main.css b/docs/static/main.css deleted file mode 100644 index e15fc85..0000000 --- a/docs/static/main.css +++ /dev/null @@ -1,800 +0,0 @@ -:root { - --theme-color: #4c6d6e; - --theme-color-lighter: #84b9bb; - --theme-color-variation: #22e6ed; -} - -* { - margin: 0; - padding: 0; - box-sizing: border-box; -} - -body { - background-color: black; - font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; - font-size: 1em; - color: white; -} - -a { - transition: .2s; - color: lightgray; - text-decoration: none; -} - -a:hover { - color: var(--theme-color-lighter); -} - -li { - list-style-type: none; -} - -select { - background-color: transparent; - color: white; - border: none; - font-size: 1em; -} - -#music { - padding: 0; - display: flex; - gap: .4em; - inline-size: fit-content; - height: 1.4em; - margin-top: auto; - opacity: .6; -} - -#music:hover { - opacity: 1; -} - -header { - display: flex; - border-bottom: thick solid rgba(255, 255, 255, 0.1); - width: 100%; - box-shadow: - 2px 7px 5px rgba(0,0,0,0.3), - 0px -4px 10px rgba(0,0,0,0.3); - background-color: rgba(0, 0, 0, 0.15); -} - -header div { - padding: 1rem; -} - -#everythingHelper { - position: relative; -} - -#everythingHelper .bg { - position: absolute; - top: 0; - left: 0; - z-index: -1; - opacity: .5; - width: 100%; - height: auto; - -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%); - -webkit-mask-repeat: no-repeat; - -webkit-mask-size: 100% 100%; - mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%); - mask-repeat: no-repeat; - mask-size: 100% 100%; - user-select: none; - transition: .4s; -} - -header ul { - transition: .2s; - font-size: larger; - margin: auto 0 auto 0; - padding: 0; - opacity: 0.6; - text-align: right; -} - -header ul a { - transition: .2s; - color: white; -} - -header ul a:hover { - color: var(--theme-color); -} - -header ul:hover { - opacity: 1; -} - -#mainHelper { - padding-top: 3rem; - max-width: 50vw; - margin: auto; - display: flex; -} - -main { - margin-bottom: 2em; -} - -h1, h2, h3 { - text-shadow: 2px 7px 5px rgba(0,0,0,0.3), - 0px -4px 10px rgba(0,0,0,0.3); -} - -blockquote, main p { - margin-bottom: 1em; -} - -main h1, main h2 { - margin-bottom: .5em; -} - -main h2 { - margin-top: 1em; -} - -b { - color: var(--theme-color-lighter); - font-weight: 600; -} - -blockquote { - margin-left: 2.8em; -} - -#headerSubtitle { - color: white; - opacity: 0.6; -} - -h2 { - font-weight: normal; - color: var(--theme-color-lighter); -} - -textarea, input, button { - border: medium solid var(--theme-color-lighter); - background-color: black; - color: white; - padding: .6em; -} - -#sound { - filter: invert(); -} - -#sound:hover { - cursor: pointer; -} - -#linksHelper { - margin: auto 1em auto auto; - display: flex; - flex-direction: column; - gap: .2em; -} - -#linksHelper:hover { - opacity: 1; -} - -#headerLinks { - user-select: none; -} - -#headerLinks a { - color: white; -} - -#headerLinks a { - margin-right: .2em; - margin-left: .2em; -} - -#headerLinks:last-child { - margin-left: 0; -} - -#headerLinks a:first-child { - margin-left: 0; -} - -#headerLinks a:last-child { - margin-right: 0; -} - -header div:first-child { - margin-bottom: 0; -} - -#headerSquareMusic img, #headerSquareVideo img, #headerSquareCode img, #defaultSquare img { - filter: invert(); -} - -.headerSquare, #defaultSquare { - transition: .4s; - border: medium solid white; - height: 7vh; - overflow: hidden; - width: 10vh; - opacity: .4; - padding: .4em; - cursor: pointer; - user-select: none; -} - -.headerSquare img, #defaultSquare img { - width: 100%; - height: auto; -} - -.headerSquare:hover, #defaultSquare { - z-index: 1; - /* height: 10vh; */ - /* background-color: black; */ -} - -.headerSquare.selected, #defaultSquare.selected { - opacity: 1; - height: 10vh; - box-shadow: - 2px 7px 5px rgba(0,0,0,0.4), - 0px -4px 10px rgba(0,0,0,0.4); - background-color: rgba(0, 0, 0, 0.3); -} - -#homeSquares { - display: flex; - flex-direction: column; - transition: .4s; - width: fit-content; - height: fit-content; - margin-right: 3vw; - margin-bottom: 3rem; - gap: 10px; -} - -div.hs { - display: none; -} - -div.hs.selected { - display: unset; -} - -.ytembed { - display: block; - margin: auto; -} - -.margarinaColor { - color: #ff85e1; -} - -.hsProjects { - gap: .6em; - display: flex; - flex-direction: column; -} - -.hsProject { - margin-bottom: .4em; - /* padding: 1em; */ - border: medium solid rgba(255, 255, 255, 0.6); - width: 100%; - height: fit-content; - transition: .2s; - display: flex; - flex-direction: column; - gap: 1em; - box-shadow: - 2px 7px 5px rgba(0,0,0,0.4), - 0px -4px 10px rgba(0,0,0,0.4); - background-color: rgba(0, 0, 0, 0.2); -} - -.hsProjectHeader { - transition: .2s; - display: flex; - height: 7em; - border-bottom: medium solid rgba(255, 255, 255, 0.6); - padding: 1em; -} - -.hsProjectHeaderIcon { - transition: .2s; - fill: white; - stroke: white; - height: 50%; - width: auto; - margin: auto 0; - opacity: .6; -} - -.hsProjectHeaderIcon img { - height: 100%; -} - -.hsProject:hover { - border-color: white; -} - -.hsProject:hover .hsProjectHeader { - border-color: white; -} - -.hsProject:hover .hsProjectHeaderIcon { - opacity: 1; -} - -.hsProjectImage { - width: 100%; - max-height: 100%; -} - -.hsProjectImage img { - height: 100%; - width: auto; -} - -.hsProjectContent { - padding: 1em; -} - -.invertedc { - filter: invert(); -} - -#hsCode { - flex-direction: column; -} - -#hsCode.selected { - display: flex; -} - -.ellipsis-loader { - animation: 1.8s infinite ellipsis-loader; - display: inline-block; - height: 8px; - overflow: hidden; - position: relative; - width: 140px; - margin: auto; -} -.ellipsis-loader__dot { - animation: 1.8s infinite ellipsis-loader__dot; - background: #FFF; - border-radius: 50%; - float: left; - height: 8px; - position: absolute; - width: 8px; -} -.ellipsis-loader__dot:nth-child(1) { - animation-delay: 0.15s; - left: -13px; -} -.ellipsis-loader__dot:nth-child(2) { - animation-delay: 0.3s; - left: -26px; -} -.ellipsis-loader__dot:nth-child(3) { - animation-delay: 0.45s; - left: -39px; -} -.ellipsis-loader__dot:nth-child(4) { - animation-delay: 0.6s; - left: -52px; -} - -#telnetSimulation { - display: flex; - width: 100%; - gap: 10px; -} - -#telnetSimulation div { - flex: 1; - display: flex; - flex-direction: column; - gap: 10px; - height: 100%; -} - -#telnetSimulation div textarea { - width: 100%; - resize: none; - height: 300px; -} - -#telnetSimulationInput { - display: flex; -} - -#telnetSimulationLoadingHolder { - text-align: center; - margin: 10px; - display: none; - flex-direction: column; -} - -#youtubeVideo p { - font-size: 2vh; -} - -#youtubeVideoImage { - width: 100%; - transition: .3s; - box-shadow: - 2px 7px 5px rgba(0,0,0,0.3), - 0px -4px 10px rgba(0,0,0,0.3); -} - -#youtubeVideoImage:hover { - opacity: .8; -} - -#languageList { - font-size: 2vh; -} - -#languageList li { - margin-bottom: .5em; -} - -#languageList li a { - transition: 1s; -} - -.languagesHighlightedLink { - color: var(--theme-color-variation); -} - -.fadeIn { - animation: fadeIn .5s ease-in 1 forwards; -} -.fadeOut { - opacity: 1; - animation: fadeOut .5s ease-out 1 forwards; -} - -.oneLineClamp { - overflow: hidden; - width: 100%; - display: -webkit-box; - /* height: 1em; */ - line-clamp: 1; - -webkit-line-clamp: 1; - -webkit-box-orient: vertical -} - -aside.metromenu { - z-index: 2; - position: fixed; - top: 0; - right: 0; - width: 30vw; - background-color: black; - height: 100vh; - transition: .2s; - transition-timing-function: cubic-bezier(0.1, 0.2, 0.3, 0.955); - padding: 2em; -} - -aside.metromenu.closed { - transform: translateX(100%); -} - -aside.metromenu h2 { - font-size: xx-large; -} - -aside.metromenu p { - margin-bottom: .4em; -} - -aside.metromenu .optionsToggle { - margin-bottom: 1em; -} - -.optionsToggle { - cursor: pointer; -} - -aside.metromenu .optionsToggle { - opacity: .6; - width: fit-content; -} - -aside.metromenu #content { - display: flex; - flex-direction: column; - gap: 1em; -} - -.checkbox { - display: flex; -} - -.checkbox p { - flex-grow: 1; -} - -input[type="checkbox"] { - border: thick solid white; -} - -input[type="range"] { - width: 100%; - border: none; - padding: 0; -} - -input[type="range"]::-webkit-slider-thumb, input[type="range"]::-moz-range-thumb { - background-color: black; - transition: .2s; - border-radius: 0; - border: medium solid white; - height: 1.2em; -} - -input[type="range"]:hover::-webkit-slider-thumb, input[type="range"]:hover::-moz-range-thumb { - height: 2em; - background-color: white; - border-width: thin; -} - -input[type="range"]::-webkit-slider-runnable-track, input[type="range"]::-moz-range-track { - background-color: white; - height: 1em; -} - -#songDrawer { - display: flex; - height: 10em; - overflow-x: auto; - overflow-y: hidden; - gap: .2em; -} - -.drawerSong { - position: relative; - overflow: hidden; -} - -.drawerSong img { - transition: .4s; - width: 5em; - height: 100%; - object-fit: cover; - object-position: left top; - opacity: .4; - filter: grayscale(1); -} - -.drawerSong p { - position: absolute; - top: 0; - left: 0; - display: inline; -} - -.drawerSong:hover img, .drawerSong.selected img { - opacity: 1; - overflow: hidden; - width: 10em; -} - -.drawerSong.selected img { - filter: none; - /* width: auto; */ -} - -.drawerSong.selected { - width: 10em; -} - -.playlistTitle { - background-color: white; - color: black; -} - -#playlist { - transition: .2s; - max-height: 10em; - overflow: auto; - border: medium solid white; -} - -#playlist p { - cursor: pointer; - padding: 0 .4em; -} - -#playlist p:first-child { - padding-bottom: .2em; -} - -.playingSong { - font-size: larger; -} - -hs { - border-bottom: thin solid white; -} - -#linksHelper hs { - margin: .2em 0; - opacity: .6; -} - -#linkshelper:hover hs { - opacity: 1; -} - -.hidden { - display: none; -} - -.invisible { - opacity: 0; -} - -.bg.invisible { - opacity: 0!important; -} - -@keyframes ellipsis-loader { - 0%, 25% { - transform: translateX(0); - } - 100% { - transform: translate(20px); - } -} -@keyframes ellipsis-loader__dot { - 0% { - animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); - transform: translateX(0); - } - 55% { - animation-timing-function: cubic-bezier(0.785, 0.135, 0.15, 0.86); - opacity: 1; - transform: translateX(98px); - } - 75%, 100% { - transform: translateX(212px); - } - 90% { - opacity: 0.2; - } -} - -@media screen and (max-width: 1280px) { - body { - font-size: 2vh; - } - - header { - padding-top: 1.4rem; - text-align: center; - flex-direction: column; - } - - header ul { - margin: auto; - margin-bottom: 1.4rem; - } - - main { - max-width: 90vw; - } - - main h1 { - font-size: 3vh; - } - - #headerLinks { - text-align: center; - width: 100%; - } - - #homeTitle { - font-size: 4vh; - } - - #linksHelper { - margin: 0 auto 0 auto; - } - - #mainHelper { - flex-direction: column; - max-width: 90vw; - } - - #homeSquares { - flex-direction: row; - align-content: center; - justify-content: center; - width: 40vw; - margin-left: auto; - margin-right: auto; - } - - .headerSquare, #defaultSquare { - aspect-ratio: 1/1; - height: 100%; - flex-grow: 1; - } - - .headerSquare.selected, #defaultSqaure.selected { - height: unset!important; - } - - - #languageList { - font-size: 2.5vh; - } - - #postHeader { - /* border-bottom: 8px dashed rgba(255, 255, 255, 0.1); */ - } - - .hsProjectHeader { - height: fit-content; - flex-direction: column; - gap: 1em; - } - - .hsProjectImage { - max-height: 5em; - margin: auto; - width: fit-content; - } - - .hsProjectImage img { - height: 100%; - max-height: inherit; - } - - .hsProjectHeaderIcon { - margin: auto; - } - - aside.metromenu { - width: 50%; - } -} - -@media screen and (max-width: 800px) { - #homeSquares { - width: 60vw; - } - - aside.metromenu { - width: 100%; - } -} - -@media screen and (max-width: 720px) { - #homeSquares { - width: 80vw; - } -} - -@keyframes fadeIn { - to { - opacity: 1; - } -} -@keyframes fadeOut { - to { - opacity: 0; - } -} \ No newline at end of file diff --git a/docs/static/music/PG2.mp3 b/docs/static/music/PG2.mp3 deleted file mode 100644 index d296b72..0000000 Binary files a/docs/static/music/PG2.mp3 and /dev/null differ diff --git a/docs/static/music/Velkommen.mp3 b/docs/static/music/Velkommen.mp3 deleted file mode 100644 index cfbf3f4..0000000 Binary files a/docs/static/music/Velkommen.mp3 and /dev/null differ diff --git a/docs/static/music/dreamscape.mp3 b/docs/static/music/dreamscape.mp3 deleted file mode 100644 index 5d342e1..0000000 Binary files a/docs/static/music/dreamscape.mp3 and /dev/null differ diff --git a/docs/static/music/skychat.mp3 b/docs/static/music/skychat.mp3 deleted file mode 100644 index 997a98d..0000000 Binary files a/docs/static/music/skychat.mp3 and /dev/null differ diff --git a/docs/static/scripts/ccd.js b/docs/static/scripts/ccd.js deleted file mode 100644 index fd9542f..0000000 --- a/docs/static/scripts/ccd.js +++ /dev/null @@ -1,14 +0,0 @@ -const konamiCode = ['ArrowUp', 'ArrowUp', 'ArrowDown', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'ArrowLeft', 'ArrowRight', 'KeyB', 'KeyA']; -let keyIndex = 0; - -document.addEventListener('keydown', function(event) { - if (event.code === konamiCode[keyIndex]) { - keyIndex++; - if (keyIndex === konamiCode.length) { - window.location.href = './toyourdreams.txt' - keyIndex = 0; - } - } else { - keyIndex = 0; - } -}); \ No newline at end of file diff --git a/docs/static/scripts/home.js b/docs/static/scripts/home.js deleted file mode 100644 index a7bdfd1..0000000 --- a/docs/static/scripts/home.js +++ /dev/null @@ -1,51 +0,0 @@ -const _homeSquares = document.querySelector("#homeSquares"); -const main = document.querySelector("main"); - -let info = [ - ["Default", "defaultSquare", "arrow-cursor.svg", "Computer cursor arrow line drawing"], - ["Music", "headerSquareMusic", "8thNote.svg", "Music note line drawing"], - ["Video", "headerSquareVideo", "video.svg", "Video roll line drawing"], - ["Code", "headerSquareCode", "file-code.svg", "Computer code file line drawing"] -] - -info.forEach(square => { - let rawHTML = `
${square[3]}
`; - _homeSquares.innerHTML += rawHTML; -}); - -const homeSquares = document.querySelectorAll(".headerSquare"); -let selectedSquare = "defaultSquare"; -let selectedSquareDiv; -updateSquare(); - -homeSquares.forEach(square => - square.addEventListener('click', () => { - toggleSquare(square); - }) -) - -function toggleSquare(square) { - if (selectedSquare && (selectedSquare == square.id)) { - return - } - else if (selectedSquare) { - oldSquare = document.getElementById(selectedSquare); - oldSquare.classList.toggle("selected"); - document.querySelector(`#${selectedSquareDiv}`).classList.toggle("selected"); - } - selectedSquare = square.id; - updateSquare() -} - -function getSquareDivByID(id) { - divID = `hs${info.find(item => item[1] === id)[0]}`; - return document.querySelector(`#${divID}`); -} - -function updateSquare() { - square = document.getElementById(selectedSquare); - square.classList.toggle("selected"); - div = getSquareDivByID(square.id); - selectedSquareDiv = div.id; - div.classList.toggle("selected"); -} \ No newline at end of file diff --git a/docs/static/scripts/language.js b/docs/static/scripts/language.js deleted file mode 100644 index d9d5df2..0000000 --- a/docs/static/scripts/language.js +++ /dev/null @@ -1,37 +0,0 @@ -const el = document.getElementById("languageTitle"); -const texts = [["Pick a language", "English"], ["Escolha um idioma", "Português Brasileiro"]]; -let i = 0; -let fadeTime = 1000; -let holdTime = 2000; -const links = document.querySelectorAll("#languageList li a"); -let currentLang = 0; - -el.style.transition = `opacity ${fadeTime}ms`; -el.style.opacity = 1; - -function cycle() { - el.style.opacity = 0; - removeOldHighlightedLang(); - setTimeout(() => { - i = (i + 1) % texts.length; - currentLang = i; - el.textContent = texts[i][0]; - el.style.opacity = 1; - setNewHighlightedLang() - }, fadeTime); -} - -function removeOldHighlightedLang() { - document.querySelector(".languagesHighlightedLink").classList.remove("languagesHighlightedLink"); -} - -function setNewHighlightedLang() { - links.forEach(link => { - if (link.innerText == texts[currentLang][1]) { - link.classList.add('languagesHighlightedLink'); - } - }) -} - -setNewHighlightedLang() -setInterval(cycle, fadeTime * 2 + holdTime); \ No newline at end of file diff --git a/docs/static/scripts/main.js b/docs/static/scripts/main.js deleted file mode 100644 index c11da94..0000000 --- a/docs/static/scripts/main.js +++ /dev/null @@ -1,213 +0,0 @@ -// This script handles the playback of music in the header's miniplayer ;) -const body = document.querySelector("body"); - -const musicdiv = document.getElementById("music"); -musicdiv.innerHTML = ` - - - -` -const linksHelper = document.getElementById("linksHelper"); -linksHelper.insertBefore(document.createElement("hs"), document.getElementById("headerLinks")); - -const songs = [ - { file: "Velkommen.mp3", name: 'Velkommen', artwork: "velkommen.jpg" }, - { file: "PG2.mp3", name: 'Frugal APE', artwork: "pg.jpg" }, - { file: "dreamscape.mp3", name: 'Dreamscape', artwork: "winds.png" }, - { file: "skychat.mp3", name: 'Skychat', artwork: "winds.png" } -]; - -// Options page -const optionsAside = document.createElement("aside"); -optionsAside.classList.add("closed"); -optionsAside.classList.add("metromenu"); -{ - const back = document.createElement("p"); - back.textContent = headeri18n.back; - back.classList.add("optionsToggle"); - - const title = document.createElement("h2"); - title.textContent = headeri18n.options; - optionsAside.appendChild(title); - optionsAside.appendChild(back); - - const content = document.createElement("div"); - content.innerHTML = ` -
-
-
-

-

${headeri18n.by} tenkuma

-
-
-
-

Volume

- -
-
-

${headeri18n.hideBackground}

- -
-
- ` - optionsAside.appendChild(content); -} -body.appendChild(optionsAside); - - -const toggleIMG = document.querySelector('#sound'); -toggleIMG.addEventListener('click', () => { - toggleAudio(); -}) - -const hideBG = document.querySelector("input#background"); -if (localStorage.getItem("bgHidden") === "true") hideBG.checked = true, toggleBG(); -hideBG.addEventListener("click", () => { - toggleBG(); -}) - -function toggleBG() { - const bg = document.querySelector(".bg"); - bg.classList.toggle("invisible"); - localStorage.setItem("bgHidden", bg.classList.contains("invisible")) -} - -const songsDrawer = document.querySelector("#songDrawer"); -const drawerSongs = []; -const playlist = document.querySelector("#playlist"); -const expandButton = document.createElement('p'); -expandButton.textContent = "Playlist"; -expandButton.classList.add("playlistTitle"); -playlist.appendChild(expandButton); - -songs.forEach(song => { - const songElement = document.createElement("div"); - songElement.classList.add("drawerSong"); - songElement.dataset.song = song.file; - const songImage = document.createElement("img"); - songImage.src = `/static/images/songs/${song.artwork}`; - songElement.appendChild(songImage); - songElement.addEventListener('click', () => { - changeSong(song.file); - }); - drawerSongs.push(songElement); - songsDrawer.appendChild(songElement); - - // Playlist - const playlistEntry = document.createElement("p"); - playlistEntry.textContent = song.name; - playlistEntry.addEventListener('click', () => { - changeSong(song.file); - }) - playlist.appendChild(playlistEntry); -}) - -const audioSelect = document.getElementById("songSelection"); -songs.forEach(song => { - const songOption = document.createElement("option"); - songOption.value = song.file; - songOption.textContent = song.name; - audioSelect.appendChild(songOption); -}); - -const playingSongLabel = document.querySelector(".playingSong"); - -function updatePlayingLabel(label) { - drawerSongs.forEach(sng => { - sng.classList.remove("selected"); - if (sng.dataset.song == label) { - sng.classList.add("selected"); - } - }); - - const songString = songs.find(item => item.file === label).name; - playingSongLabel.textContent = songString; -} - -const savedSong = localStorage.getItem("song"); - -if (savedSong) { - audioSelect.value = savedSong; - updatePlayingLabel(savedSong); -} else { - audioSelect.value = songs[0].file; - updatePlayingLabel(songs[0].file); -} - -const optionsButton = document.querySelectorAll(".optionsToggle"); -optionsButton.forEach(button => { - button.addEventListener('click', () => { - optionsAside.classList.toggle('closed'); - }); -}); - -// Create the audio object using the current select value -let audio = new Audio(`/static/music/${audioSelect.value}`); - -const savedTime = localStorage.getItem("audioTime"); -const savedVolume = localStorage.getItem("volume"); -const wasPlaying = localStorage.getItem("audioPlaying") === 'true'; - -function play() { - audio.volume = localStorage.getItem("volume"); - audio.play(); - localStorage.setItem("audioPlaying", "true") - toggleIMG.src = "/static/images/sound-on.png" - console.log(`[Music Player] playing ${audioSelect.value}`) -} - -function stop() { - audio.pause(); - localStorage.setItem("audioPlaying", "false") - toggleIMG.src = "/static/images/sound-off.png" -} - -function setVolume(volume) { - audio.volume = volume; - localStorage.setItem("volume", volume); -} - -function toggleAudio() { - if (!audio.paused) { - stop(); - } else { - play(); - } -} - -window.addEventListener("beforeunload", () => { - localStorage.setItem("audioTime", audio.currentTime); - localStorage.setItem("audioPlaying", !audio.paused); -}); - -function changeSong(song) { - const wasPlaying = !audio.paused; - stop(); - localStorage.removeItem("audioTime"); - audio = new Audio(`/static/music/${song}`); - if (savedVolume) setVolume(savedVolume); - console.log(`[Music Player] changing song to ${song}`) - localStorage.setItem("song", song); - updatePlayingLabel(song); - if (wasPlaying) play(); -} - -// hooking into the options menu 'change' event to update the song -audioSelect.addEventListener('change', () => { - changeSong(audioSelect.value); -}) - -// Set initial playback state and volume based on saved preferences -if (savedTime) audio.currentTime = parseFloat(savedTime); - -if (savedVolume) { - document.getElementById("volume").value = savedVolume * 100; -} else { - document.getElementById("volume").value = 100; -} - -if (wasPlaying) { - play(); -} else { - stop(); -} \ No newline at end of file diff --git a/docs/static/scripts/telnetSimulator.js b/docs/static/scripts/telnetSimulator.js deleted file mode 100644 index bfcefca..0000000 --- a/docs/static/scripts/telnetSimulator.js +++ /dev/null @@ -1,66 +0,0 @@ -const screen = document.getElementById('telnetSimulationClientScreen'); -const input = document.getElementById('telnetSimulationInputBox'); -const btn = document.getElementById('telnetSimulationClientSend') -const sbtn = document.getElementById('telnetSimulationServerClean'); -const sscreen = document.getElementById('telnetSimulationServerScreen'); -const loading = document.getElementById("telnetSimulationLoadingHolder") -const loadingText = document.getElementById("telnetSimulationLoadingText") -let loadingms = 2500; - -btn.addEventListener('click', () => { - send_command(); -}) - -sbtn.addEventListener('click', () => { - screen.innerHTML = ''; - sscreen.innerHTML = ''; -}) - -async function send_command() { - if (!input.value) return; - const command = input.value; - input.value = ''; - screen.value += `telnet> ${command}\n`; - await wait(loadingms, "Camada OSI #7 - Aplicação: Usuário digitou o texto na aplicação."); - await wait(loadingms, "Camada OSI #6 - Apresentação: Tradução do comando para um pacote legível para o servidor."); - await wait(loadingms, "Camada OSI #5 - Sessão: Sistema do cliente abre uma conexão com o servidor."); - await wait(loadingms, "Camada OSI #4 - Transporte: Sistema do cliente troca informações com o servidor."); - await wait(loadingms, "Camada OSI #3 - Rede: O sistema do cliente resolve o endereço do servidor."); - await wait(loadingms, "Camada OSI #2 - Enlace de dados: Os frames são entregues ao dispositivo com o endereço MAC correto."); - await wait(loadingms, "Camada OSI #1 - Física: Os dados são transmitidos por cabo, ou via wireless, para o dispositivo de destino."); - process_command(command); -} - -async function process_command(command) { - sscreen.value += `Comando recebido: ${command}\n`; - args = command.split(" "); - command = args[0] - args.shift(); - await wait(loadingms, "O servidor empacota uma resposta, que também será passada por todas camadas até chegar no cliente."); - switch (command) { - case 'help': - screen.value += `Comandos disponíveis:\nhelp - mostra essa mensagem de ajuda\nping - responde 'pong'\necho [texto] - retorna o texto especificado no comando\ntimeout [milissegundos] - muda o tempo que as mensagens de carregamento da simulação duram` - break; - case 'echo': - screen.value += `Resposta do servidor: ${args.join(' ')}\n` - break; - case 'ping': - screen.value += `Pong!\n` - break; - case 'timeout': - loadingms = args[0] - screen.value += `O tempo das mensagens de carregamento foi mudado para ${args[0]}ms!` - break; - default: - screen.value += `Comando desconhecido! Envie help para ver a lista de comandos.\n` - break; - } -} - -async function wait(ms, txt = '') { - const delay = ms => new Promise(res => setTimeout(res, ms)); - loadingText.innerHTML = txt; - loading.style.display = "flex" - await delay(ms) - loading.style.display = "none" -} \ No newline at end of file diff --git a/docs/static/site.webmanifest b/docs/static/site.webmanifest deleted file mode 100644 index 258ecd0..0000000 --- a/docs/static/site.webmanifest +++ /dev/null @@ -1 +0,0 @@ -{"name":"","short_name":"","icons":[{"src":"/static/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/static/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file diff --git a/docs/static/visual/github.svg b/docs/static/visual/github.svg deleted file mode 100644 index f0db0db..0000000 --- a/docs/static/visual/github.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file