Skip to content

Instantly share code, notes, and snippets.

View fathonix's full-sized avatar
💭
I may be slow to respond.

Aldo Fathoni fathonix

💭
I may be slow to respond.
View GitHub Profile
@rexim
rexim / dup.c
Last active December 8, 2025 14:27
Xor Party Tricks
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int xs[] = {7,62,2,46,73,43,26,82,5,95,57,56,44,21,40,79,13,6,9,8,72,59,65,81,60,78,13,85,87,58,48,25,32,47,67,4,31,19,33,1,92,14,53,89,84,54,29,10,17,3,77,70,45,97,34,23,86,55,15,64,68,83,76,41,18,39,94,22,74,11,69,49,12,35,20,90,100,98,36,63,91,38,66,93,50,96,61,71,75,37,52,88,30,28,99,27,42,51,80,24,16};
int main()
{
int x = 0;
for (int i = 1; i <= 100; ++i) {
@kfh83
kfh83 / instructions.md
Last active December 4, 2025 00:24
Building KDE 2.2.2 on Debian 13 (as of Nov. 2025)

This is originally based on the work of sandsmark. His port hasn't been touched since ~early 2022 and has since stopped compiling, so i have made a few fixes to the code in the following repositories...

Order of build:

  1. qt2 (https://github.com/kfh83/qt2)
  2. kde2-kdelibs (https://github.com/kfh83/kde2-kdelibs)
  3. kde2-kdebase (https://github.com/kfh83/kde2-kdebase)

To build any of these, once you've gotten the required dependencies and have cloned the repos, cd into the desired repository's directory and run mkdir build && cd build then run cmake .. && make. Once its done building you can run sudo make install and move onto the next component (if applicable).

Base dependencies:

@Nriver
Nriver / clear.py
Created September 25, 2025 02:13
Clear github hidden notifications
import urllib.request
import json
# ⚠️ Replace this with your GitHub personal access token (must include notifications scope)
GITHUB_TOKEN = "your_personal_access_token_here"
BASE_URL = "https://api.github.com"
HEADERS = {
"Authorization": f"Bearer {GITHUB_TOKEN}",
"Accept": "application/vnd.github+json",
@hackermondev
hackermondev / research.md
Last active December 8, 2025 22:28
Unique 0-click deanonymization attack targeting Signal, Discord and hundreds of platform

hi, i'm daniel. i'm a 15-year-old high school junior. in my free time, i hack billion dollar companies and build cool stuff.

3 months ago, I discovered a unique 0-click deanonymization attack that allows an attacker to grab the location of any target within a 250 mile radius. With a vulnerable app installed on a target's phone (or as a background application on their laptop), an attacker can send a malicious payload and deanonymize you within seconds--and you wouldn't even know.

I'm publishing this writeup and research as a warning, especially for journalists, activists, and hackers, about this type of undetectable attack. Hundreds of applications are vulnerable, including some of the most popular apps in the world: Signal, Discord, Twitter/X, and others. Here's how it works:

Cloudflare

By the numbers, Cloudflare is easily the most popular CDN on the market. It beats out competitors such as Sucuri, Amazon CloudFront, Akamai, and Fastly. In 2019, a major Cloudflare outage k

(* Follower Control Algorithm
This function implements a control algorithm for a follower system,
possibly used in robotics or autonomous vehicles. *)
let node follower_control (
leader_position: float,
leader_velocity: float,
follower_position: float,
follower_velocity: float
):
@Chubukov-Aleksey
Chubukov-Aleksey / debug_from_qr.py
Last active October 28, 2024 04:04 — forked from benigumocom/debug_from_qr.py
Connect Wireless Debug from Terminal on Android11
#!/usr/bin/env python3
"""
Android11
Pair and connect devices for wireless debug on terminal
python-zeroconf: A pure python implementation of multicast DNS service discovery
https://github.com/jstasiak/python-zeroconf
"""
@lupoDharkael
lupoDharkael / README.md
Created April 5, 2024 23:01 — forked from Moondarker/README.md
Fixing device UUIDs in BCD under Linux

Fixing device UUIDs in BCD under Linux

Please note, it's easier to just use a recovery flash drive/dvd disk!

I just wanted a new challenge, and I found it:

Info on target system

My friend has switched from Windows to Fedora. Somehow in the process, Windows Bootloader went missing from EFI partition (I would love to know how did that happen as much as you do or don't, but I wasn't supervising at the moment, so... no idea)

@thanksshu
thanksshu / gen_wg_conf_from_cf_zero_trust.py
Last active August 30, 2025 16:43
Generate wireguard config from cloudflare zero trust (DEPRECATED)
"""
Generate wireguard config from cloudflare zero trust
Credit to https://gitlab.com/Misaka-blog/warp-script
"""
import datetime
import json
import random
import string
from urllib import request
@robertkirkman
robertkirkman / README.md
Last active December 11, 2024 19:37
How to build Turnip for SurfaceFlinger on-device without a PC and without zhiyong/termux-ndk

How to build Mesa Turnip with -Dplatforms=android but without cross-compilation

Small warning: This will "mess up" your Termux installation's zlib.pc file, but if you do other compilations with really similar settings to this one, you're probably going to need it again before you "fix" it by reinstalling Termux's official zlib anyway.

  1. Install Termux

termux-setup-storage
pkg install git make clang binutils
git clone https://github.com/madler/zlib.git
@jcmvbkbc
jcmvbkbc / gist:316e6da728021c8ff670a24e674a35e6
Last active August 29, 2025 23:28
esp32s3 linux rebuild scripts
Latest versions of these scripts are available in git repository https://github.com/jcmvbkbc/esp32-linux-build