Skip to content

Instantly share code, notes, and snippets.

@JonnyWong16
JonnyWong16 / select_tmdb_poster.py
Last active January 22, 2025 18:49
Selects the default TMDB poster and art for movies in a Plex library if the current poster is from Gracenote.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Description: Selects the default TMDB poster if no poster is selected
or the current poster is from Gracenote.
Author: /u/SwiftPanda16
Requires: plexapi
Usage:
* Change the posters for an entire library:
@kushagharahi
kushagharahi / .Slickdeals URL Cleaner.md
Last active January 22, 2025 18:49
Slickdeals URL Cleaner UserScript

Tired of having to go through referral/affiliate links before you can view a deal on Slickdeals? This script strips the urls on Slickdeals of referrers. If it can't strip the urls, it marks them as "Referral Link?" in hot pink.

Install this UserScript in GreaseMonkey or similar UserScript manager.

before and after script

Note: You must click View Forum Thread (requires login) ![image](https://user-images.githubusercontent.com/3326002/211234558-3e83f0b9-486f-4ab5-ae

@hackermondev
hackermondev / research.md
Last active January 22, 2025 18:47
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

@awni
awni / mlx_distributed_deepseek.md
Last active January 22, 2025 18:45
Run DeepSeek R1 or V3 with MLX Distributed

Setup

On every machine in the cluster install conda and mlx-lm:

conda install openmpi
pip install -U mlx-lm

Next download the pipeline parallel run script. Download it to the same path on every machine:

@brianarn
brianarn / maths.js
Last active January 22, 2025 18:42
Module to wrap `console.group` around all methods
// A simple object with some methods,
// which throw errors when bad arguments are passed.
var maths = {
square : function (value) {
// Validity checking
if (arguments.length !== 1) {
throw new Error('square: Requires one and only one argument');
}
if (typeof value !== 'number') {
throw new Error('square: Requires numeric argument');
@suntong
suntong / Unicode official emojis.md
Last active January 22, 2025 18:41
unicode emoji symbols icons in UTF8 (emoticons, etc)

©️ Copyright Sign

®️ Registered Sign

‼️ Double Exclamation Mark

⁉️ Exclamation Question Mark

™️ Trade Mark Sign

ℹ️ Information Source

↔️ Left Right Arrow

↕️ Up Down Arrow

↖️ North West Arrow

↗️ North East Arrow

@lbbedendo
lbbedendo / pgadmin4_install_linux_mint.sh
Last active January 22, 2025 18:37
Instalando o pgAdmin 4 no Linux Mint (web e/ou desktop)
# Adaptado da página oficial do pgAdmin: https://www.pgadmin.org/download/pgadmin-4-apt/
# Testado na versão 20.3 (una)
#
# Setup the repository
#
# Install the public key for the repository (if not done previously):
sudo curl https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo apt-key add