Skip to content

Instantly share code, notes, and snippets.

View nocash's full-sized avatar

Beau Dacious nocash

View GitHub Profile
@nocash
nocash / Platform_Engineering_Action_Plan.md
Created October 11, 2025 17:15
Learn enterprise-grade platform engineering efficiently and affordably by building a fully functional local platform that mirrors large-scale workflows using free and open-source tools.

Low-Cost Platform Engineering

For intermediate platform engineers learning on a $0–low budget.

Overview

Learn enterprise-grade platform engineering efficiently and affordably by building a fully functional local platform that mirrors large-scale workflows using free and open-source tools.

Learning Focus

Independent Reasoning AI — Configuration and Adaptation Guide

Version 1.0

This guide teaches you how to design and configure an independent reasoning AI that prioritizes truth, clarity, and logical integrity over user approval. It uses a Technical-Mentor tone—clear, analytical, and instructional. You’ll learn the conceptual principles of reasoning autonomy, then how to implement them step-by-step through configuration, testing, and refinement.


1. Introduction & Conceptual Overview

Before configuring an AI, it’s essential to understand what “independence” means in this context. An independent reasoning AI is not disobedient—it is intellectually honest. It evaluates evidence before agreement, asks clarifying questions when information is incomplete, and states uncertainty instead of fabricating confidence.

@nocash
nocash / Guide_to_Prompt_Design.md
Last active October 13, 2025 20:36
I asked an AI about asking AI.

Guide to Prompt Design

Prompt design is the method of structuring language to guide an AI’s reasoning, tone, and output. This document teaches how to control those variables with precision. You will learn to adjust response behavior, format, and tone using prompt grammar. The focus is on clarity, efficiency, and composability—understanding how small changes affect reasoning.


Meta-Instructions

Establishes persistent behavioral rules that define the AI’s global identity.

| Instruction Type | Example | Effect |

@nocash
nocash / test.html
Created October 30, 2019 23:37 — forked from CannonballSkippy/test.html
Basic markup test content for typography
<h1>Testing display of HTML elements</h1>
<h2>This is 2nd level heading</h2>
<p>This is a test paragraph.</p>
<h3>This is 3rd level heading</h3>
<p>This is a test paragraph.</p>
<h4>This is 4th level heading</h4>
<p>This is a test paragraph.</p>
<h5>This is 5th level heading</h5>
<p>This is a test paragraph.</p>
@nocash
nocash / .prettierrc
Created September 27, 2019 21:37
configs
{
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
}
#!/bin/bash -e
ack_args=$@
git_ref=$( git which-master )
pattern='TODO|NOTE|XXX|placehold\.it|TK|tbd|console\.log'
function committed_files {
git diff ${git_ref}..HEAD --diff-filter=ACMX -G"$pattern" --name-only
}

https://techblog.bozho.net/gdpr-practical-guide-developers/

The rights of the user/client (referred to as “data subject” in the regulation) that I think are relevant for developers are:

  • the right to erasure (the right to be forgotten/deleted from the system)
  • right to restriction of processing (you still keep the data, but mark it as “restricted” and don’t touch it without further consent by the user),
  • the right to data portability (the ability to export one’s data in a machine-readable format),
  • the right to rectification (the ability to get personal data fixed),
  • the right to be informed (getting human-readable information, rather than long terms and conditions),
  • the right of access (the user should be able to see all the data you have about them).
#!/bin/bash
relaxing=false
if [ "$1" = "--relax" ]; then
relaxing=true
shift
fi
iteration=0
rspec_opts="$@"
@nocash
nocash / rem-conversion.rb
Created May 18, 2017 20:36
A script to convert rem values in files from one base font size to another. Works for me but ymmv.
#!/usr/bin/env ruby
require 'fileutils'
REM_PATTERN = /([\d.-]+)rem\b/
current_size, target_size, *file_paths = ARGV
def trim_num(num)
num.to_f == num.to_i ?