Download transcripts from Descript share links. Extracts the embedded publish ID from the page and downloads the subtitle and transcript files directly.
| File | Contents |
|---|
| #!/usr/bin/env bash | |
| # Claude Code Command Center — one-shot installer | |
| # Run: bash ~/.claude/command-center/install.sh | |
| set -euo pipefail | |
| log() { printf '\e[1;34m→\e[0m %s\n' "$1"; } | |
| ok() { printf '\e[1;32m✓\e[0m %s\n' "$1"; } | |
| err() { printf '\e[1;31m✗\e[0m %s\n' "$1" >&2; exit 1; } | |
| # ── Preflight ──────────────────────────────────────────────────────────────── |
Download transcripts from Descript share links. Extracts the embedded publish ID from the page and downloads the subtitle and transcript files directly.
| File | Contents |
|---|
A lightweight Flask server that wraps the authenticated Claude Code CLI as a localhost REST API.
Single-file app. Prompt is passed via stdin to avoid shell injection and argument length limits.
git clone https://gist.github.com/sunapi386/043750b63ad09a5421c4d5bb78c0fcd1 claude-api| #!/bin/bash | |
| # ============================================================================== | |
| # resize_disk.sh (v6 - Based on Your Working Commands) | |
| # | |
| # Uses the exact command sequence that you verified works manually. | |
| # | |
| # ============================================================================== | |
| set -e |
| #include <laz-perf/io.hpp> | |
| #include <laz-perf/las.hpp> | |
| #include <filesystem> | |
| void write_a_fake_laz(const std::string &path) { | |
| const std::filesystem::path &outname (path); | |
| using namespace laszip; | |
| using namespace laszip::formats; | |
| struct point { | |
| las::point10 p; |
| #!/bin/bash | |
| # This script compresses the Cardano node's 'immutable' directory to reduce storage usage. | |
| # It creates directories for archives, indexes, and a write-overlay within the db path. | |
| # The script groups files by their name prefixes, compresses them using pixz, and checks for existing archives to avoid reprocessing. | |
| # After compression, original files are deleted, and new files are moved to the write-overlay. | |
| # Ratarmount is used to mount a virtual directory combining the read-only archives and the write-overlay for operational continuity. | |
| # Variables | |
| CARDANO_DB_PATH=~/cnode/db # Replace with your actual Cardano db path | |
| RATAR_PATH="$CARDANO_DB_PATH/ratar" |
| cmake_minimum_required(VERSION 3.10) | |
| project(project_name CXX) | |
| set(CMAKE_CXX_STANDARD 17) | |
| set(CMAKE_CXX_STANDARD_REQUIRED ON) | |
| set(CMAKE_REQUIRED_FLAGS -std=c++17) | |
| include(CheckCXXSymbolExists) | |
| add_executable(project_name project_name.cc) | |
| set_property(TARGET project_name PROPERTY CXX_STANDARD 17) | |
| ## target_link_libraries(project_name) # link libraries here |
| #!/bin/bash | |
| ### steps #### | |
| # verify the system has a cuda-capable gpu | |
| # download and install the nvidia cuda toolkit and cudnn | |
| # setup environmental variables | |
| # verify the installation | |
| ### | |
| ### to verify your gpu is cuda enable check |