Skip to content

Instantly share code, notes, and snippets.

@riceissa
riceissa / ublock-origin-substack.txt
Last active January 25, 2025 01:45
uBlock Origin filters for Substack and Substack-based websites
! Block annoying Substack stuff
substack.com,overcomingbias.com,astralcodexten.com,mindthefuture.info,benlandautaylor.com,news.manifold.markets,betonit.ai##.subscribe-dialog
substack.com,overcomingbias.com,astralcodexten.com,mindthefuture.info,benlandautaylor.com,news.manifold.markets,betonit.ai##.subscribe-dialog-scroll-modal-scroll-capture
substack.com,overcomingbias.com,astralcodexten.com,mindthefuture.info,benlandautaylor.com,news.manifold.markets,betonit.ai##[class*=".frontend-components-SubscribePrompt-module__subscribeDialog--"]
substack.com,overcomingbias.com,astralcodexten.com,mindthefuture.info,benlandautaylor.com,news.manifold.markets,betonit.ai##[class*=".frontend-components-SubscribePrompt-module__background--"]
substack.com,overcomingbias.com,astralcodexten.com,mindthefuture.info,benlandautaylor.com,news.manifold.markets,betonit.ai##.post-end-cta-full
substack.com,overcomingbias.com,astralcodexten.com,mindthefuture.info,benlandautaylor.com,news.manifold.markets,betonit.ai##.show-subscribe.subscr
<?php
/**
* Sets up the default filters and actions for most
* of the WordPress hooks.
*
* If you need to remove a default hook, this file will
* give you the priority for which to use to remove the
* hook.
*
* Not all of the default hooks are found in default-filters.php
@AkdM
AkdM / Edit_Repack_ISO_tutorial.md
Last active January 25, 2025 01:43
Edit and repack .iso bootable image

On Linux

Installing mkisofs

apt-get install mkisofs

Editing ISO image

mkdir /tmp/custom_iso

@fnky
fnky / ANSI.md
Last active January 25, 2025 01:42
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
#include <stdio.h>
#include <string.h>
#include <stdint.h>
static uint64_t hash_str(char *data) {
uint64_t prime = 0x100000001b3;
uint64_t hash = 0xcbf29ce484222325;
for (size_t i = 0; data[i]; i++) {
hash ^= (unsigned char)data[i];
hash *= prime;
@paulosevero
paulosevero / xploreapi.py
Created December 31, 2020 21:35
IEEE Xplore API with some modifications
import math
import requests
from urllib.parse import quote
from urllib.request import urlopen
import xml.etree.ElementTree as ET
import json
class XPLORE:
@glnds
glnds / less-cheatsheet.md
Last active January 25, 2025 01:34
Less Cheatsheet

Less Cheatsheet

less {filename}

Navigation
SPACE forward one window
b backward one window
d forward half window
@hackermondev
hackermondev / research.md
Last active January 25, 2025 01:34
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

@heroheman
heroheman / ranger-cheatsheet.md
Last active January 25, 2025 01:34
Ranger Cheatsheet

Ranger Cheatsheet

General

Shortcut Description
ranger Start Ranger
Q Quit Ranger
R Reload current directory
? Ranger Manpages / Shortcuts