Skip to content

Instantly share code, notes, and snippets.

View morisono's full-sized avatar

morisono

View GitHub Profile
@morisono
morisono / Github Webhook Tutorial.md
Created July 10, 2026 01:57 — forked from jagrosh/Github Webhook Tutorial.md
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings
@morisono
morisono / README.md
Created July 10, 2026 01:57 — forked from taichikuji/README.md
Get a DDNS up and running with DuckDNS - Step by Step

Get a DDNS up and running with DuckDNS - Step by Step

Understanding DDNS

In summary, DDNS stands for Dynamic DNS. DDNS updates a DNS name in real-time to point to a changing IP address. This is useful for devices without a static IP. For example, companies like Google use static IPs and IP ranges, which are more expensive than ephemeral IPs and IP ranges. DDNS provides a cost-effective alternative, linking a hostname to a dynamic IP address.

How Does DDNS Work?

To use DDNS, you need an account with a DDNS provider. While some services are paid, they are still cheaper than static public IPs from ISPs. A script or service on your device updates the DDNS server with your current IP at regular intervals to maintain the link between your hostname and IP address. Luckily for us, DuckDNS is free for everybody and relays on donations to keep their services running.

@morisono
morisono / color_auto_name.py
Created July 10, 2026 00:26 — forked from Pullusb/color_auto_name.py
Get closest color name from rgb
#-# Find Approx closest color name from rgb/hex value - Standalone
#-# Just import/use get_color_name (check after line 1000)
def srgb_to_linearrgb(c):
if c < 0: return 0
elif c < 0.04045: return c/12.92
else: return ((c+0.055)/1.055)**2.4
def hex_to_rgb(h):
'''Convert a hexadecimal color value to a 3-tuple of integers
@morisono
morisono / css_color.py
Created July 10, 2026 00:26 — forked from adjam/css_color.py
Get the 'nearest' CSS color names to a given hex RGB color value
#!/usr/bin/env python
from operator import itemgetter
import sys
import json
import math
import re
# usage: ./color.py [hex RGB color]
# returns the five 'closest' CSS color names to the input color
@morisono
morisono / Bug Bounty Resources.txt
Created July 10, 2026 00:19 — forked from PentesterAhmed/Bug Bounty Resources.txt
My Resources and Links over time to various Tools, Notes, Videos, Papers, Articles, Writeups, and more. Will be moving to my own private hosted Wikipedia soon. Ascii Art Font: Calvin S
╔╦╗╦ ╦ ╔╗ ┬ ┬┌─┐ ╔╗ ┌─┐┬ ┬┌┐┌┬┐┬ ┬ ╦═╗┌─┐┌─┐┌─┐┬ ┬┬─┐┌─┐┌─┐┌─┐
║║║╚╦╝ ╠╩╗│ ││ ┬ ╠╩╗│ ││ │││││ └┬┘ ╠╦╝├┤ └─┐│ ││ │├┬┘│ ├┤ └─┐
╩ ╩ ╩ ╚═╝└─┘└─┘ ╚═╝└─┘└─┘┘└┘┴ ┴ ╩╚═└─┘└─┘└─┘└─┘┴└─└─┘└─┘└─┘
//
()==========>>======================================--
\\
2FA Bypass
@morisono
morisono / Bug Bounty Resources.txt
Created July 10, 2026 00:19 — forked from prabhatverma47/Bug Bounty Resources.txt
My Resources and Links over time to various Tools, Notes, Videos, Papers, Articles, Writeups, and more. Will be moving to my own private hosted Wikipedia soon. Ascii Art Font: Calvin S
╔╦╗╦ ╦ ╔╗ ┬ ┬┌─┐ ╔╗ ┌─┐┬ ┬┌┐┌┬┐┬ ┬ ╦═╗┌─┐┌─┐┌─┐┬ ┬┬─┐┌─┐┌─┐┌─┐
║║║╚╦╝ ╠╩╗│ ││ ┬ ╠╩╗│ ││ │││││ └┬┘ ╠╦╝├┤ └─┐│ ││ │├┬┘│ ├┤ └─┐
╩ ╩ ╩ ╚═╝└─┘└─┘ ╚═╝└─┘└─┘┘└┘┴ ┴ ╩╚═└─┘└─┘└─┘└─┘┴└─└─┘└─┘└─┘
//
()==========>>======================================--
\\
2FA Bypass
@morisono
morisono / bluesky-osa.md
Created July 10, 2026 00:18 — forked from mary-ext/bluesky-osa.md
Bluesky's age assurance sucks, here's how to work around it.

Bluesky's age assurance sucks, here's how to work around it.

Bluesky has implemented age verification measures in response to regional laws that restrict access, prompting users to verify their age through Epic Games' Kids Web Services before they can access adult content.

This sucks, but thankfully there are ways to work around it.

Before diving in: I encourage you to read this entire document, including the

@morisono
morisono / delegation-chain.md
Created July 7, 2026 01:13 — forked from roninjin10/delegation-chain.md
delegation-chain.md

Refined prompt: Delegation Chain

Goal

Build delegation-chain, a first-class smithers workflow where stronger models recursively decompose, de-risk, and delegate work to weaker models — plus a live n8n-style UI — with every piece shipped as a reusable standard-library module. Its first production workload: a slow, docs-driven migration of ../plue (closed-source Go) into this repo's apps/* / packages/*, covering source code, infra-as-code, end-user docs, and (approval-gated) internal docs.

The workflow, phase by phase

Phase 0 — Goal refinement. An agent takes the user's ambiguous goal and forecasts the minimum set of questions needed to make it unambiguous. It asks only genuine user-preference questions (implementation decisions are made by the chain itself) and skips unlikely ones. Each question ships with a prefilled recommended default. The smart agent emits questions as JSON; a fast, cheap agent renders each question's form UI in a separate task, optimistically staying ~10 questions ahead of the user so

@morisono
morisono / gluetun-mullvad-rotate
Created July 2, 2026 20:03 — forked from dedworks/gluetun-mullvad-rotate
gluetun-mullvad-rotate: Automate randomly choosing a Mullvad VPN server based on SERVER_CITIES variable in docker_compose.yml
#!/bin/bash
# Depends: jq (https://stedolan.github.io/jq/)
default_compose="/docker/compose/gluetun/docker-compose.yml"
compose="${1:-$default_compose}"
relays_url="https://api.mullvad.net/www/relays/all/"
fail() { printf "%s: %s\n" "$0" "$*"; exit 1; }
read_var() {
@morisono
morisono / f2-deepseek.js
Last active June 24, 2026 17:32
Deepseek on every browser tab. Register it to ScriptAutoRunner extension. then Push F2 to launch.
const ENDPOINT = 'https://api.deepseek.com/v1';
const MODEL = 'deepseek-v4-flash';
const STORAGE = {
API_KEY: '__ds_api_key__',
CUSTOM: '__ds_custom_instruction__',
HISTORY: '__ds_history__',
};
let modalOpened = false;