Skip to content

Instantly share code, notes, and snippets.

View j3lte's full-sized avatar

Jelte Lagendijk j3lte

View GitHub Profile
@j3lte
j3lte / copy-best-trackers.sh
Created July 2, 2026 15:05
Raycast Torrent Trackers Copy Script
#!/bin/bash
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Copy Torrent Trackers
# @raycast.mode compact
# Optional parameters:
# @raycast.icon 🤖
# @raycast.packageName Web
@j3lte
j3lte / 0_README.md
Created May 27, 2026 11:05
Motorola Smart Feed — Affiliate Link Hijacking Investigation (DeviceNative SDK)

Motorola Smart Feed — Affiliate Link Hijacking Investigation

TL;DR

Motorola's pre-installed Smart Feed app (com.motorola.smartfeed) contains a third-party SDK called DeviceNative that silently injects affiliate-tracked app suggestions into the Motorola launcher. When users click what appears to be a normal app icon in their launcher's suggestion area, the click is intercepted and redirected through affiliate tracking URLs (america.devicenative.com / asia.devicenative.com) before landing on the destination. 144 apps are targeted across 16 markets, including Walmart, Target, Best Buy, Temu, AliExpress, Expedia, and more.

This investigation was performed through static analysis of APK version 1.03.0095 (build 361030095) using jadx and apktool, followed by live API queries to the DeviceNative server.


@j3lte
j3lte / proxmox.md
Created November 6, 2025 19:00 — forked from scyto/proxmox.md
my proxmox cluster

ProxMox Cluster - Soup-to-Nutz

aka what i did to get from nothing to done.

note: these are designed to be primarily a re-install guide for myself (writing things down helps me memorize the knowledge), as such don't take any of this on blind faith - some areas are well tested and the docs are very robust, some items, less so). YMMV

Purpose of Proxmox cluster project

Required Outomces of cluster project

@j3lte
j3lte / docker-swarm-architecture.md
Created November 6, 2025 18:58 — forked from scyto/docker-swarm-architecture.md
My Docker Swarm Architecture

This (and related gists) captures how i created my docker swarm architecture. This is intended mostly for my own notes incase i need to re-creeate anything later! As such expect some typos and possibly even an error...

Installation Step-by-Step

Each major task has its own gist, this is to help with maitainability long term.

  1. Install Debian VM for each docker host
  2. install Docker
  3. Configure Docker Swarm
  4. Install Portainer
  5. Install KeepaliveD
  6. Using VirtioFS backed by CephFS for bind mounts (migrating from glsuterFS - WIP)
@j3lte
j3lte / README.md
Created October 31, 2025 20:11 — forked from magnetikonline/README.md
NSSM - the Non-Sucking Service Manager cheatsheet.
@j3lte
j3lte / ._dotfiles.md
Last active October 25, 2025 14:03
Scripts I add to my .dotfiles

Scripts

Scripts I add to my dotfiles (Mac OS)

  • git-cleanup.sh - Used to cleanup the local mess of branches that are not on remote.
  • git-sync-fork.sh - When working with a fork, I want to sync my fork with the upstream. Instead of doing it on Github, just do it in the terminal
@j3lte
j3lte / git-cleanup.sh
Created December 17, 2024 11:34
Bash script to clean out my local branches that have been gone from the remote
#!/bin/bash
# Check if force mode is enabled
force_mode=false
if [ "$1" == "--force" ]; then
force_mode=true
fi
# Fetch latest updates from the remote and prune deleted branches
git fetch --prune

Keybase proof

I hereby claim:

  • I am j3lte on github.
  • I am j3lte (https://keybase.io/j3lte) on keybase.
  • I have a public key whose fingerprint is 4C4F C100 D442 BBC7 DA9F 78BE 8040 EB69 77A7 270C

To claim this, I am signing this object:

@j3lte
j3lte / nordvpn.sh
Created February 8, 2023 12:16 — forked from Dreyer/nordvpn.sh
Check the status of a NordVPN connection from your shell.
#!/bin/bash
URL='https://nordvpn.com/wp-admin/admin-ajax.php?action=get_user_info_data'
JSON=$(curl -s $URL)
printf "\n"
#echo $JSON | python -m json.tool
echo $JSON | python -c 'import sys, json; data = json.load(sys.stdin); print "IP: %s (%s)\nStatus: %s" % (data["ip"], data["isp"], "\033[32mProtected" if data["status"] is True else "\033[31mUnprotected");'
printf "\n"
@j3lte
j3lte / postgres_queries_and_commands.sql
Created November 15, 2022 16:28 — forked from rgreenjr/postgres_queries_and_commands.sql
Useful PostgreSQL Queries and Commands
-- show running queries (pre 9.2)
SELECT procpid, age(clock_timestamp(), query_start), usename, current_query
FROM pg_stat_activity
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%'
ORDER BY query_start desc;
-- show running queries (9.2)
SELECT pid, age(clock_timestamp(), query_start), usename, query
FROM pg_stat_activity
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%'