Skip to content

Instantly share code, notes, and snippets.

View lucasmz-dev's full-sized avatar
🫥
they say rico you so nasty i said thank you very much

Lucas lucasmz-dev

🫥
they say rico you so nasty i said thank you very much
  • 2804::/16
  • 06:49 (UTC -03:00)
View GitHub Profile
@lucasmz-dev
lucasmz-dev / prefixo0303.md
Last active September 20, 2025 16:22
Bloquear chamadas com prefixo 0303 da Anatel com o Spam Blocker

É possível usar o app Spam Blocker, encontrado no F-Droid, para bloquear chamadas de telemarketing.

Após a configuração básica, basta adicionar uma 'regra de número', lá, você ativa a opção "Número bruto" no ícone de bandeira no campo de texto.

No campo, você vai inserir a seguinte expressão regular: ^(\+55|0)303\d{7}$. Ela detecta números começando em +55303 ou 0303, que contenham 7 dígitos exatamente depois.

@lucasmz-dev
lucasmz-dev / seedvault_issues.md
Last active August 31, 2025 12:25
Seedvault known issues

This page lists known issues one may experience when using Seedvault to back up or restore data. If you experience an undocumented issue not listed here, make sure to raise an issue so the next person doesn't have to suffer with it.

Many apps don't test or even disable backups

Most developers unfortunately do not test the system backup functionality with their apps. This often leads to broken backups, backups including unnecessary data, or not including data that should be included. For a lot of apps, this is fine, they may be simple enough that they can be cloned freely and without issue, but for others, this isn't the case.

Seedvault isn't magic, it can't figure out when that's the case, so you'll get a checkmark on the status page, even if the backups don't work.

You should keep that in mind. When you find an issue with a particular app's backups not working as expected, the best thing you can do, is let the developer of that app know.

@lucasmz-dev
lucasmz-dev / creditcard_harden.md
Last active September 6, 2025 20:40
Hardening a credit card

Hardening a credit card

When I get a new credit (or debit) card from a bank, I like to do a few things to strengthen its security, none of it ends up breaking my use cases or anything, but it could do so to you. So beware.

Pre-requisites

  1. Do not ever use your physical card for online purchases or any form of purchase using its details, if you've done so, even for Google Pay, get a new one.
  2. This guide assumes the card is brand new, as some stuff depends on certain details never being revealed, you can follow it anyway, but beware
  3. Credit cards overall are not great at security, you can not confirm the value of the purchase before making one, for example.
@lucasmz-dev
lucasmz-dev / película_aplicar.md
Created June 20, 2025 19:20
Aplicação de película

Aplicando uma película

Já vi muitas recomendações esquisitas sobre como se deve aplicar uma película de celular, a maior mentira são os paninhos que vem com ela normalmente, eles sujam mais do que qualquer coisa.

Com isso em mente, vim dar minhas recomendações nisto para que não tenha nenhuma bolha ou mancha na tela ao aplicar.

Recursos

  • Pano microfibra (preferencialmente 2), como alternativa você pode usar toalhas de papel de cozinha
@lucasmz-dev
lucasmz-dev / device-flasher.linux.profile
Last active January 15, 2025 04:10
A firejail profile for the CalyxOS device flasher
# Firejail profile for device-flasher.linux
# Description: CalyxOS' device flasher
# This file is overwritten after every install/update
# --- CUT HERE ---
# This is a generic template to help you create profiles.
# PRs welcome at https://github.com/netblue30/firejail/.
#
# Rules to follow:
# - lines with one # are often used in profiles
# - lines with two ## are only needed in special situations
@lucasmz-dev
lucasmz-dev / codium.local
Last active December 17, 2024 06:15
My VSCodium override
include whitelist-common.inc
env ELECTRON_OZONE_PLATFORM_HINT=auto
## Wayland
whitelist ${HOME}/.config/VSCodium
whitelist ${HOME}/.vscode-oss
## App data
noblacklist ${HOME}/Desenvolvimento
@lucasmz-dev
lucasmz-dev / mull-specific-patches.md
Last active October 3, 2024 01:49
Flags changed by Mull

Mull uses arkenfox as a base for the modifications done for the flags. This list should not include anything arkenfox; unless it has been commented out, uncommented, added, etc.

This list is made by analyzing the source files and only including anything marked as changed with MULL or BRACE.

Last updated: 2024/10/02 22:49 (-3 UTC) (9797ce5315b1d9dc37bb499236d8b4a49692dc62)

Arkenfox:

// Designed for arkenfox: https://github.com/arkenfox/user.js/
// MOTTO: This ain't Tor Browser.
// Patches
user_pref("network.dns.preferIPv6", true); // Fixes Firefox's own DNS resolver not preferring IPv6 like expected
// Usability
/// Session Restore
user_pref("browser.startup.page", 3);
user_pref("privacy.clearOnShutdown_v2.historyFormDataAndDownloads", false);
@lucasmz-dev
lucasmz-dev / calyxos-flasher-troubleshooting.md
Created September 4, 2024 03:16
CalyxOS flasher common troubleshooting steps

Troubleshooting issues with CalyxOS' flasher (command line)

This guide is meant to try and help with common issues when using the CalyxOS flasher. First of all, we will try to get your environment right. Be sure to follow the official instructions for your device, this is a different resource.

The flasher and docs usually recommend enabling USB debugging, in this case we will not, but you can anyway. USB debugging is used only for rebooting the device into bootloader/fastboot mode, instead of that, we will do this manually, as this step can cause issues.

Getting the device in bootloader/fastboot mode

After the preparation steps for your device, such as enabling OEM Unlocking, we will shut down the device and get into bootloader/fastboot mode.

@lucasmz-dev
lucasmz-dev / librewolf.overrides.cfg
Created August 25, 2024 22:12
My LibreWolf overrides
// Format: pref("", true)
// TLS:
// Enable Kyber
pref("security.tls.enable_kyber", true);
pref("network.http.http3.enable_kyber", true);
// Fix CRLite
pref("services.settings.server", "https://firefox.settings.services.mozilla.com/v1"); // CRLite needs this enabled, also fixes language downloads
pref("security.pki.crlite_mode", 2); // Prefer CRLite over OCSP