Skip to content

Instantly share code, notes, and snippets.

View Krush206's full-sized avatar

Matheus Garcia Krush206

View GitHub Profile

Ministério Público de São Paulo

Comprei o celular moto e6i, que inclui software de código aberto. Entrei em contato com a Motorola Brasil, mas obtive uma resposta equivocada. Sou engenheiro de software e gostaria de obter o código fonte do kernel (núcleo do sistema operacional) para o celular moto e6i. Fui informado que "fica a critério do fornecedor disponibilizar ou não". Fui informado que "a responsabilidade é da Google". Informações totalmente equivocadas. Fora que a opção que a Motorola Brasil oferece, envio de carta ao exterior, viola o direito à liberdade de escolha. Negação de acesso a um produto ou serviço constitui violação ao direito à liberdade de escolha. E as informações equivocadas constituem violação ao direito à informação. "When we speak of free software, we are referring to freedom, not price.

@Krush206
Krush206 / MPSP.md
Last active December 3, 2025 01:23

Ministério Público de São Paulo

Verificando as capturas de tela apresentadas pelo noticiante, concluo pela existência de indícios de que a noticiada não vem cumprindo o quanto prometido. Em consulta preliminar na rede mundial de computadores, é possível obter a informação de que o aparelho Motorola Moto E6i utiliza o kernel GPL, o que significa que o firmware e os drivers são de código aberto e podem ser baixados e modificados por quaisquer usuários/consumidores. Ainda, verifica-se que o kernel do sistema operacional Android, utilizado em dispositivos como o Moto e6i, é baseado no Linux e licenciado sob a GNU General Public License (GPL) versão 2. Essa licença estabelece que qualquer entidade que distribua binários derivados do código GPL tem a obrigação de disponibilizar o código-fonte correspondente,

Discord complaint

I'm a user of the Discord platform. Recently, I tried sending a friend request, and the platform asked me for e-mail verification, twice. The third time, I was asked to verify my phone number. And that's where the problem began. I cannot verify my phone number, and I can't tell whether it's registered in another account or not. I'm not presented an error at all. The company's proposed solution is to create a new account. However, sooner or later, in a new account, I may be asked to verify my phone number, and, again, result in a locked account.

This is a major redress issue. Not only does that attack the right to redress, but also the local federal law on data protection, LGPD. I'm a resident of Brazil, and I know my rights on data deletion. The company refused to delete my data, for security reasons. However, your privacy policy doesn't override the local federal law on data protection.

First, I was told there's none solution. Then, I was told the solution is to create a new account. T

lrwxrwxrwx 1 root root 20 Jan 1 06:05 aboot -> /dev/block/mmcblk0p5
lrwxrwxrwx 1 root root 20 Jan 1 06:05 apnhlos -> /dev/block/mmcblk0p1
lrwxrwxrwx 1 root root 21 Jan 1 06:05 backup -> /dev/block/mmcblk0p19
lrwxrwxrwx 1 root root 21 Jan 1 06:05 boot -> /dev/block/mmcblk0p16
lrwxrwxrwx 1 root root 21 Jan 1 06:05 cache -> /dev/block/mmcblk0p25
lrwxrwxrwx 1 root root 20 Jan 1 06:05 ddr -> /dev/block/mmcblk0p4
lrwxrwxrwx 1 root root 21 Jan 1 06:05 efs -> /dev/block/mmcblk0p13
lrwxrwxrwx 1 root root 21 Jan 1 06:05 fota -> /dev/block/mmcblk0p18
lrwxrwxrwx 1 root root 21 Jan 1 06:05 fsc -> /dev/block/mmcblk0p20
lrwxrwxrwx 1 root root 20 Jan 1 06:05 fsg -> /dev/block/mmcblk0p9

Welcome to my donations page! This is where you can support my works.

If you enjoy and appreciate my works, consider a donation! =)

5 USD

@Krush206
Krush206 / README.md
Last active October 6, 2023 11:49
A basic command interpreter. (For teaching purposes.)

Mysh

Moved to here.

The C Shell isn't bad.

The C Shell is one of the most reliable Shells I ever worked with. The C Shell inherited features from and is the only continuation on the Thompson Shell and Mashey Shell (the Shells included with Research Unix and PWB Unix, respectively). Erroneously, the C Shell is regarded as bad and glitchy. I beg to differ, though. Due to its "limitations", the C Shell is one of the most reliable Shells to work with. I added some comments on this Perl developer's complaints on the C Shell, in the hope it'll serve as a guide on how to adequately write scripts, as well as to encourage people on not giving up.

The power of a system comes more from the relationships among programs than from the programs themselves.

By following this principle, it's possible to get many interesting things out of Shells and any program at all. Control structures (namely, if/else) can be replaced wi

@Krush206
Krush206 / .cshrc
Created March 13, 2022 17:38
FreeBSD .cshrc with some convenient additions.
# $FreeBSD$
#
# .cshrc - csh resource script, read at beginning of execution by each shell
#
# see also csh(1), environ(7).
# more examples available at /usr/share/examples/csh/
#
alias h history 25
alias j jobs -l
@Krush206
Krush206 / pwgen_sh
Last active February 8, 2022 15:49
A Shell script to generate random strings.
grep -ao '[\!-~]' < /dev/urandom | \
head -$1 | tr -d '\n' # The first argument defines the length
echo ""