Skip to content

Instantly share code, notes, and snippets.

@mathiazom
mathiazom / kagi_mathiazom.css
Last active January 22, 2025 07:31
Kagi Search Custom CSS (Dark Mode)
.theme_moon_dark {
--m_sri_gap_color: #000;
--kagi-accent: #000;
--background-color: #000;
}
body, html, .app-header {
background-color: #000000;
}
@tito
tito / refactor.py
Created March 8, 2023 16:51
Using OpenAI/ChatGPT as refactoring tool
"""
Refactoring tool using ChatGPT from Vue 2 to Vue 3
$ export OPENAPI_APIKEY=sk.........
$ python refactor.py MyView.vue
"""
import os
import re
import sys
@hackermondev
hackermondev / research.md
Last active January 22, 2025 07:30
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

@AbduazizZiyodov
AbduazizZiyodov / read.md
Last active January 22, 2025 07:30
Building Linux Kernel From Source

🐧 Building Linux Kernel From Source

📔 Source Code

You need to have the kernel's source code. You may(should) use source code that you installed in Lab 1 or download/extract tarball from https://www.kernel.org (choose stable).

🤌🏽 Vbox Min. Requirements

  • RAM: 8 GB
  • CPU cores: 4
  • Space from hard disk(virtual disk size): 50 GB (30 GB was not enough)
@lucj
lucj / handlers.py
Last active January 22, 2025 07:29
Kopf operator example
import kopf
import kubernetes
import yaml
@kopf.on.create('zalando.org', 'v1', 'databases')
def create_fn(body, spec, **kwargs):
# Get info from Database object
name = body['metadata']['name']
namespace = body['metadata']['namespace']
type = spec['type']