Skip to content

Instantly share code, notes, and snippets.

@Maetih
Maetih / gist:2718d0e0a23940d8cb0e6a9235adddd8
Last active September 3, 2025 15:14
samsung-bloatware-apps-android-14
Goal: Improve privacy by minimizing system data traffic to Samsung, Google, 3rd party internet companies
Method: Remove pre-installed system apps, bloatware, talking back home via `adb shell pm uninstall --user 0 <PACKAGE_NAME>`
Boundary condition: No root, maintain system stability, security and updates, keep work profile
Tested device: Samsung tablet/phablet SM-T225 Galaxy Tab A7 Lite LTE
Tested OS versions: Samsung stock ROM, Android V. 12-14
Applicability: Should also work on other recent Samsung smartphones, tablets running the same stock ROMs
Success:
Not counting closed portal connectivity checks, regular background system connections were reduced to the following
domains - to be blocked by a firewall, if desired:
@vortexavalanche
vortexavalanche / dual_secure_boot.md
Created December 9, 2022 19:51 — forked from fikri-izzuddin/dual_secure_boot.md
Arch Linux dual secure boot with Windows 11
@sts10
sts10 / rust-command-line-utilities.markdown
Last active October 30, 2025 03:46
A curated list of command-line utilities written in Rust

A curated list of command-line utilities written in Rust

Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.

Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.

The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.

  • atuin: "Magical shell history"
  • bandwhich: Terminal bandwidth utilization tool
@sastan
sastan / $layout.svelte
Last active February 5, 2025 09:46
sveltekit + urql (extended version)
<script context="module">
import { get, readable } from 'svelte/store'
import { createClient, operationStore } from '@urql/svelte'
import { browser, dev } from '$app/env'
/**
* @type {import('@sveltejs/kit').Load}
*/
@myyc
myyc / arch_linux_install_guide.md
Last active October 15, 2025 00:52
Arch Linux setup with all the good stuff (Plymouth, encryption, systemd-boot etc.)

I've used this guide through 2024 despite archinstall and it's still more or less valid. After having used archinstall twice and having encountered obscure issues (luksOpen taking ages, or slow reboots in general) I switched back to a manual setup and it seems to be almost as straightforward.

Always refer to the official guide in case of doubt.

First things first

One important thing first: the environment you will encounter on the live image is very different from what you'll end up installing, some things are significantly easier there: e.g. wifi tools come

@gwennlbh
gwennlbh / remove_deployments_tab.py
Last active September 14, 2023 01:48
Remove the "Deployments" tab from github.com
"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
@wrighter
wrighter / download_bars.py
Last active September 19, 2025 12:16
A command line utility to download historical data from Interactive Brokers
#!/usr/bin/env python
import os
import sys
import argparse
import logging
from datetime import datetime, timedelta
from typing import List, Optional
from collections import defaultdict
@dmitrymoshkin
dmitrymoshkin / Elements of Statistical Learning.md
Created April 6, 2019 19:28 — forked from goerz/Elements of Statistical Learning.md
PDF bookmarks for "Hastie, Tibshirani, Friedman - The Elements of Statistical Learning" (LaTeX)

This gist contains out.tex, a tex file that adds a PDF outline ("bookmarks") to the freely available pdf file of the book

The Elements of Statistical Learning (2nd ed), by Trevor Hastie, Robert Tibshirani, and Jerome Friedman

https://web.stanford.edu/~hastie/ElemStatLearn/

The bookmarks allow to navigate the contents of the book while reading it on a screen.

Usage

@goerz
goerz / Elements of Statistical Learning.md
Last active August 6, 2025 17:27
PDF bookmarks for "Hastie, Tibshirani, Friedman - The Elements of Statistical Learning" (LaTeX)

This gist contains out.tex, a tex file that adds a PDF outline ("bookmarks") to the freely available pdf file of the book

The Elements of Statistical Learning (2nd ed), by Trevor Hastie, Robert Tibshirani, and Jerome Friedman

https://web.stanford.edu/~hastie/ElemStatLearn/

The bookmarks allow to navigate the contents of the book while reading it on a screen.

Usage