Skip to content

Instantly share code, notes, and snippets.

@ariesyous
ariesyous / scp-ps-seller-minimal.json
Created September 29, 2025 16:41
scp-ps-seller-minimal.json
{
"Version": "2012-10-17",
"Statement": [
{ "Sid": "BlockComputeAndInfra",
"Effect": "Deny",
"Action": [
"ec2:*","eks:*","ecs:*","ecr:*","lambda:*",
"elasticloadbalancing:*","rds:*","dynamodb:*",
"apigateway:*","cloudformation:*","sagemaker:*",
"kinesis:*","glue:*","emr:*","lightsail:*",
@ariesyous
ariesyous / default.md
Created June 22, 2025 18:57 — forked from cablej/default.md
Cluely System prompt

<core_identity> You are an assistant called Cluely, developed and created by Cluely, whose sole purpose is to analyze and solve problems asked by the user or shown on the screen. Your responses must be specific, accurate, and actionable. </core_identity>

<general_guidelines>

  • NEVER use meta-phrases (e.g., "let me help you", "I can see that").
  • NEVER summarize unless explicitly requested.
  • NEVER provide unsolicited advice.
  • NEVER refer to "screenshot" or "image" - refer to it as "the screen" if needed.
  • ALWAYS be specific, detailed, and accurate.
@ariesyous
ariesyous / dump.sh
Created June 22, 2025 05:53
codedump.sh
#!/usr/bin/env bash
REPO_DIR="${1:-.}"
OUTPUT_FILE="codedump.md"
# Reset output file
> "$OUTPUT_FILE"
# Find and filter files
find "$REPO_DIR" \
@ariesyous
ariesyous / concat.py
Last active December 23, 2024 19:00
concat.py
import os
import sys
def concatenate_code(directory, output_filename, delimiter="---"):
"""
Concatenates all code files in a directory into a single output file.
Args:
directory: The directory containing the code files.
output_filename: The name of the output file.
@ariesyous
ariesyous / powershell
Created May 30, 2020 08:58
PowerShell command to get a Windows product key from the machine it's ran against
(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
@ariesyous
ariesyous / volume_export.sh
Created July 19, 2018 02:46
volume_export.sh v2
#!/bin/bash
# Author: Aries Youssefian
# This script will take a volume ID, clone it, attach it to a host, convert that volume to a qcow2, detach, then using Symp CLI will upload it to a remote cluster
# Upon completion it should then delete the volume.
#
# Must be run from a Symphony node.
# SCRIPT ASSUMES SOURCE NODE HAS ENOUGH SPACE ON mancala0
# Script also assumes only 1 project exists per source and destination domain (eg, default)
# if more projects exist, specify -r flag for the project
#