Inspired By: grafana/loki#333
- docker-compose.yml
version: "3"
networks:
loki:
// this should run only on this page. | |
// https://debridmediamanager.com/library?status=sametitleorhash&page=1 | |
// open browser console (ctrl+ shift + I), paste this script. | |
const deleteDupe = async (el = document) => { | |
let items = el.querySelectorAll('table.w-full tr.align-middle'); | |
let sleep = async (ms) => await new Promise(resolve => setTimeout(resolve, ms)); | |
for (let i = 0; i < items.length; i++) { | |
let deleteButton = el.querySelector("#__next > div > div:nth-child(7) > table > tbody > tr:nth-child(1) > td.px-1.py-1.flex.place-content-center > button.cursor-pointer.mr-2.mb-2.text-red-500"); |
Inspired By: grafana/loki#333
version: "3"
networks:
loki:
if (window.location.origin !== "https://www.instagram.com") { | |
window.alert( | |
"Hey! You need to be on the instagram site before you run the code. I'm taking you there now but you're going to have to run the code into the console again.", | |
); | |
window.location.href = "https://www.instagram.com"; | |
console.clear(); | |
} | |
const fetchOptions = { | |
credentials: "include", |
--- | |
- hosts: localhost | |
connection: local | |
gather_facts: true | |
tasks: | |
- name: Add APT repositories | |
when: ansible_os_family == 'Debian' | |
become: true | |
block: |
package block_allocator | |
// Allocator based on Sebastian Aaltonen's Offset Allocator: | |
// https://github.com/sebbbi/OffsetAllocator/blob/main/offsetAllocator.cpp | |
import "core:fmt" | |
import "core:math/bits" | |
import "core:math/rand" | |
assert_allocator_layout_good :: proc(allocator: ^Block_Allocator) { |
// ==UserScript== | |
// @name Persist text input | |
// @description Persists input in text fields between navigations | |
// @author Eli Grey, The Chromium Authors | |
// @namespace https://eligrey.com | |
// @version 1.0.0 | |
// @match *://*/* | |
// @grant none | |
// @run-at document-end | |
// @charset UTF-8 |
/* ~/Library/KeyBindings/DefaultKeyBinding.Dict | |
This file remaps the key bindings of a single user on Mac OS X 10.5 to more | |
closely match default behavior on Windows systems. This makes the Command key | |
behave like Windows Control key. To use Control instead of Command, either swap | |
Control and Command in Apple->System Preferences->Keyboard->Modifier Keys... | |
or replace @ with ^ in this file. | |
Here is a rough cheatsheet for syntax. | |
Key Modifiers |
import socket | |
import random | |
import argparse | |
import sys | |
from io import BytesIO | |
# Referrer: https://github.com/wuyunfeng/Python-FastCGI-Client | |
PY2 = True if sys.version_info.major == 2 else False |
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis. | |
## Core Principles | |
1. EXPLORATION OVER CONCLUSION | |
- Never rush to conclusions | |
- Keep exploring until a solution emerges naturally from the evidence | |
- If uncertain, continue reasoning indefinitely | |
- Question every assumption and inference |