Skip to content

Instantly share code, notes, and snippets.

View morisono's full-sized avatar

morisono

View GitHub Profile
@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 / audit_logger.py
Created June 24, 2026 15:12 — forked from jeremynsl/audit_logger.py
Claude Code Hooks
#!/usr/bin/env python3
"""
Claude Code Audit Logger
Tracks all tool usage for compliance and debugging
"""
import json
import os
import sys
from datetime import datetime
@morisono
morisono / SKILL.md
Created June 19, 2026 01:30 — forked from k16shikano/SKILL.md
japanese-tech-writing/SKILL
name japanese-tech-writing
description 日本語の技術文書・書籍原稿の文章規範。整形(一文一行、引用ブロック、脚注、コラム記法)、段落と論証の構成(パラグラフライティング)、論証の厳密さ(ツッコミどころの除去)、読み手の負荷の管理、視点と語り、演出の抑制、LLM っぽい空句の禁止、冗長の排除を定める。日本語で技術書の章、草稿、記事、解説文を書くとき、または推敲・リライトするときに使用する。

日本語技術文書の文章規範

日本語で技術的な原稿(書籍の章、記事、解説文)を書く・推敲するときは、以下の規範に従う。

整形

@morisono
morisono / claude-account-banned-blocked.en.mdx
Created June 12, 2026 09:46 — forked from SeMax1337/claude-account-banned-blocked.en.mdx
Claudexia blog: Claude Account Banned, Suspended, or Deleted — What to Do in 2026

Claude Account Banned, Suspended, or Deleted — What to Do in 2026

🚀 Хочешь Claude API без ограничений и с удобной оплатой? Переходи на Claudexia.

TL;DR

Anthropic can ban, suspend, or delete your Claude account for ToS violations, region restrictions, VPN usage, payment failures, or suspicious activity. This guide walks you through every type of restriction, a step-by-step appeal process, and — if recovery fails — how to switch to Claudexia in one line of code and keep using Claude models without an Anthropic account.

Why Anthropic Bans or Suspends Claude Accounts

If you woke up to a "your account has been suspended" email from Anthropic, you are not alone. Throughout 2025 and into 2026, thousands of developers and everyday users have reported sudden account restrictions — sometimes with no clear explanation. Understanding why Anthropic takes action is the