Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python3
"""
musescore_dl.pyDownload sheet music from musescore.com (bypasses the Pro paywall).
Method
------
MS renders every score page as a PNG on a *public* CDN
(`cdn.ustatik.com/.../scoredata/g/<content-hash>/score_N.png`) even when the
download button is paywalled. This is the same trick used by the open-source
LibreScore / dl-librescore downloader.
/**
* Fast Mode
*
* Codex-inspired `/fast` support for pi. Codex exposes service-tier catalog
* entries (for example `/fast`) and applies them to the next turn by setting
* the Responses API `service_tier` request field. In Codex, "fast" maps to the
* request value `priority`; turning it off maps back to standard routing.
*
* Pi does not currently expose service-tier selection as a first-class setting,
* so this extension implements it with `before_provider_request`: when enabled,
cd "/Users/camtu/Downloads/InpaintKit_v2.3.1_Photoshop_Plugin" && curl -L -o "Collect InpaintKit Install Info.command" "https://gist.githubusercontent.com/darkamenosa/902222d90c1d8034167ac801a6683238/raw/2f5a7d6249a0223546af57ed7c06f02837f19d0f/collect-inpaintkit-install-info.command" && chmod +x "Collect InpaintKit Install Info.command" && ./Collect\ InpaintKit\ Install\ Info.command
#!/bin/bash
set -u
PLUGIN_ID="cd8f6f90"
PLUGIN_VERSION="2.3.1"
DEFAULT_PACKAGE="$HOME/Downloads/InpaintKit_v2.3.1_Photoshop_Plugin/InpaintKit_v2.3.1.ccx"
PACKAGE_PATH="${1:-$DEFAULT_PACKAGE}"
TIMESTAMP="$(date +%Y%m%d-%H%M%S)"
OUT_DIR="$HOME/Desktop/InpaintKit-install-debug-$TIMESTAMP"
{
"meta": {
"lastTouchedVersion": "2026.3.7",
"lastTouchedAt": "2026-03-08T15:48:36.797Z"
},
"env": {
"shellEnv": {
"enabled": true,
"timeoutMs": 15000
}
{
"id": "63fc9926-ae9e-4ece-8251-2a7596b50409",
"revision": 0,
"last_node_id": 7,
"last_link_id": 7,
"nodes": [
{
"id": 1,
"type": "LoadImage",
"pos": [

Quick take-away

  • Hunter-level checks (regex → DNS → SMTP + catch-all detection)

    • Go → AfterShip email-verifier: feature-rich, 100 k+ downloads/month, Docker-ready, still actively patched. ([github.com][1])
    • Ruby → Truemail: the only gem that still handshakes over SMTP and handles grey-listing well. ([github.com][2])
    • Rust → check-if-email-exists: fastest CLI/micro-service; ships an HTTP mode so every stack can call it. ([crates.io][3])
    • Python → validate_email: long-running, PyPI >9 M downloads; portable but slower than Go/Rust. ([pypi.org][4])
  • 99 % of signup forms only need syntax + MX + disposable blocking—use:

@darkamenosa
darkamenosa / sample.md
Created August 13, 2024 04:23
Rails Redis Sidekiq note - To avoid conflict sidekiq with multiple rails app in same development machine
  1. Create a redis.cnf file with different port, it looks like this:
port 6380
daemonize no
appendonly no
save "" 
  1. Adjust file Procfile.dev
@darkamenosa
darkamenosa / opencv-dep-installer.sh
Last active July 8, 2018 06:30
Install opencv dependencies for ubuntu 16.04
#! /bin/bash
sudo apt-get update
sudo apt-get install -y libsm6 libxext6 libxrender-dev
@darkamenosa
darkamenosa / docker-install.bash
Last active July 26, 2018 07:17
Install docker on ubuntu 16.04 xenial
#!/bin/bash
# Remove old version of docker
sudo apt-get remove -y docker docker-engine docker.io
# Update the apt package index
sudo apt-get update
# Install packages to allow apt to use a repository over HTTPS
sudo apt-get install -y \