Skip to content

Instantly share code, notes, and snippets.

@vil
vil / brave.sh
Created January 14, 2026 07:02
Debloating policies for Brave.
debloat_brave() {
echo "Creating policies..."
sudo mkdir -p /etc/brave/policies/managed/
local debloat_policies="/etc/brave/policies/managed/debloat.json"
if [ ! -f "$debloat_policies" ]; then
sudo touch "$debloat_policies"
fi
sudo tee -a "$debloat_policies" >/dev/null <<'EOF'
{
@vil
vil / grapheneos_app_installation_guide.md
Created October 21, 2025 10:48
Chaddest way to install your apps on GOS.

The Best Way to Install Apps on GrapheneOS

App stores on GrapheneOS

Are you using GrapheneOS on your mobile device and wondering what the best way is to get apps for it? This guide will show you the safest, most reliable, and simply the chaddest way to install apps.



App Store (Not Google Play)

@vil
vil / why_grapheneos.md
Last active October 21, 2025 10:45
Why GrapheneOS is the most secure Android OS

Why GrapheneOS Is the Most Secure Android OS

GrapheneOS is a security- and privacy-focused mobile operating system built on Android. It runs on Google Pixel hardware and reinforces Android’s security model at every level. As the developers explain, GrapheneOS "starts from the strong baseline of the Android Open Source Project (AOSP) and takes great care to avoid increasing attack surface or hurting the strong security model." In practice, this means every feature is scrutinized for risk: unused hardware is disabled by default, new capabilities are opt-in, and aggressive exploit mitigations are added throughout the OS. The result is an Android variant that sacrifices little usability, but greatly strengthens defenses against both targeted and automated attacks.

@vil
vil / brave_debloat.md
Last active March 8, 2026 20:22
Brave Debloating Guide

Brave Browser Debloating Guide

Brave is an excellent, privacy-focused browser, but its default configuration comes packed with extra features that many users consider bloat. This guide will walk you through how to get rid of the bloat, hide the ads, and disable background services for a clean, minimal browsing experience.

Part 1: Clearing the Visual Bloat

The default start page and toolbars are crowded with Brave "cards," news feeds, and native crypto shortcuts. Fortunately, the surface-level clutter is easy to hide directly from the UI.

  • Clean the Start Page: Open a new tab, click the Customize button in the bottom right corner, and toggle off Brave News, Cards, and any unwanted background images or stats.
  • Clean the Toolbar: Right-click on the Brave Rewards, Brave Wallet, Brave VPN, and Leo AI icons located next to the URL bar, and select Hide.
@vil
vil / opsec_bible.md
Last active March 8, 2026 11:38
OpSec Bible - MD file containing useful tips and tricks to improve OpSec.

Operations Security (OpSec) Bible

Operations Security (OpSec) is crucial for maintaining the privacy and security of your activities. The following guidelines, divided into specific zones, will help you safeguard your identity and operations. Use common sense and conduct your own research to supplement these recommendations. Remember, these guidelines are meant for lawful purposes only.


These tips and tricks have been collected from other sources and guides that have been lost in time. Some of these tips

MX Master 3S logiops configuration

Config features:

  • Hi res scroll with free-spin enabled by default
  • Side buttons = Volume
  • Thumb gesture button = Switch between workspaces (hold and drag mouse right/left)
  • Option to use thumb gesture button to switch hosts (commented out)
@jdoss
jdoss / LUKS_and_TPM2_with_Fedora.md
Last active March 4, 2026 23:38
Decrypt LUKS volumes with a TPM on Fedora Linux

Decrypt LUKS volumes with a TPM on Fedora Linux

This guide allows you to use the TPM on your computer to decrypt your LUKS encrypted volumes. If you are worried about a cold boot attack on your hardware please DO NOT use this guide with your root volume!

Preflight Checks

Verify that you have a TPM in your computer:

# systemd-cryptenroll --tpm2-device=list
PATH DEVICE DRIVER
Process for setting up github pages with namecheap domain.
1. Go to namecheap.com, select and buy domain name.
2. Login to namecheap, go to username drop down and select dashboard.
3. Go to DomainList
4. Click manage button
5. Click Advanced DNS tab
6. Click add record and add three records:
Type: A Record | Host: @ | Value: 192.30.252.153 | TTL: Automatic
@Maddosaurus
Maddosaurus / Alternative_Keypad.md
Last active May 6, 2025 07:46
Binding Multimedia keys in i3

Alternative bindings for the 540p using pactl and i3 - Keyboard

 # set laptop display to lower res - thats better
 exec  xrandr --output eDP1 --mode 1920x1080
 
 # set Numlock to on at login time
 exec --no-startup-id numlockx on
 
 # start pidgin on launch
% RESUME DOCUMENT STYLE -- Released 23 Nov 1989
% for LaTeX version 2.09
% Copyright (C) 1988,1989 by Michael DeCorte
\typeout{Document Style `res' <26 Sep 89>.}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% res.sty
%
% \documentstyle{res}