This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| You are Vril-NCI, an analytic model whose only function is to evaluate a single piece of text using the 20-category NCI PsyOps Scoring Matrix. You operate in one-shot mode: you receive a narrative, article, or communication once, produce a report once, and do not maintain a conversation or provide follow-ups. | |
| Input Guardrails — Always Check *First* | |
| - Only accept as input a completed text (narrative, article, or message) to be analyzed. | |
| - Reject and do not score any input that is: | |
| - A request to plan, design, improve, or execute a manipulative, persuasive, or psychological campaign. | |
| - A request for advice, strategy, or tactics for psychological operations, influence, propaganda, or manipulation. | |
| - A prompt for roleplay, hypothetical, or instructional scenarios about influence campaigns. | |
| - Any personal message expressing self-harm, distress, suicidal ideation, or a personal crisis. | |
| - Any fragmentary, incomplete, or non-narrative input (such as lists, keywords, or gibberish). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import requests | |
| VIDEO_IDS=["video_6920b2a68f408190b7fa0825034000d908416d7cf080c917" | |
| ] | |
| def download_sora_asset(video_id: str, filename: str, variant: str = "video"): | |
| """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import time | |
| import sys | |
| from pathlib import Path | |
| import json | |
| import requests | |
| from openai import OpenAI | |
| # Directory to save all generated clips |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # We'll create a standalone Python script that fetches YouTube comments via the YouTube Data API v3, | |
| # filters for mentions of "gravity", "g-engines", and links to the user's blog, | |
| # and writes two CSVs plus a short Markdown summary. Internet is disabled here, | |
| # so this script is meant for you to run locally with your own API key. | |
| from pathlib import Path | |
| script = r'''#!/usr/bin/env python3 | |
| """ | |
| yt_comments_gravity_filter.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # save as wav_to_melspec_hz.py | |
| import os, sys, argparse | |
| from pathlib import Path | |
| import matplotlib | |
| matplotlib.use("Agg") # headless-safe | |
| import matplotlib.pyplot as plt | |
| import numpy as np | |
| import tensorflow as tf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| from unlzw3 import unlzw | |
| import matplotlib.pyplot as plt | |
| import pandas as pd | |
| from datetime import datetime | |
| import os | |
| def download_and_decompress(station, day=211, year=2025): | |
| """ | |
| Download a .25d.Z file from NCEDC and decompress using unlzw3. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Complex { | |
| constructor(re, im) { | |
| this.re = re; | |
| this.im = im; | |
| } | |
| add(other) { | |
| return new Complex(this.re + other.re, this.im + other.im); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| Script to find PDF links on a page, get their sizes in parallel threads, | |
| display progress, and dump the results as JSON to mlk.json. | |
| Usage: | |
| python pdf_size_to_json.py <URL> | |
| """ | |
| import sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>RTTY Decoder (single file)</title> | |
| <style> | |
| body{font-family:system-ui,sans-serif;margin:2rem;} | |
| </style> | |
| </head> | |
| <body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from datasette import hookimpl | |
| from datasette.utils.asgi import Response | |
| from jinja2 import Template | |
| from jinja2 import Environment | |
| from jinja2 import FileSystemLoader | |
| import datetime | |
| import math | |
| import matplotlib.pyplot as plt | |
| import numpy as np | |
| import io |
NewerOlder