claudtet-code-repoduces

Level Up Coding
You're reading for free via Fareed Khan's Friend Link. Become a member to access the best of Medium.

Member-only story



Building Claude Code with Harness Engineering
Multi-agents, MCP, skills system, context pipelines and more
Fareed Khan
Fareed Khan

Follow
78 min read
·
4 days ago
933


6



Read this story for free: link

As of early 2026, Claude Code crossed $1 billion in annualized revenue within six months of launch. It did not get there because of better prompts. It got

claudtet-code-repoduces

Level Up Coding
You're reading for free via Fareed Khan's Friend Link. Become a member to access the best of Medium.

Member-only story



Building Claude Code with Harness Engineering
Multi-agents, MCP, skills system, context pipelines and more
Fareed Khan
Fareed Khan

Follow
78 min read
·
4 days ago
933


6



Read this story for free: link

As of early 2026, Claude Code crossed $1 billion in annualized revenue within six months of launch. It did not get there because of better prompts. It got

AWS Trusted Advisor - Exposed IAM Access Keys

AWSTemplateFormatVersion: 2010-09-09
Description: Trusted Advisor - Exposed Access Key Detection & Alerting

Parameters:
  Organization:
    Description: Organization name being deployed to
    Type: String
    MinLength: 1

  NotificationHTTPS:
    Description: HTTPS (PagerDuty) Endpoint for SNS Topic Subscription
    Type: String
    MinLength: 1

Resources:

  ########################
  ## SNS TOPIC
  ########################

  SNSTopicAlerts:
    Type: AWS::SNS::Topic
    Properties:
      

3740. Minimum Distance Between Three Equal Elements I

You are given an integer array nums. A tuple (i, j, k) of 3 distinct indices is good if nums[i] == nums[j] == nums[k]. The distance of a good tuple is abs(i - j) + abs(j - k) + abs(k - i), where abs(x) denotes the absolute value of x. Return an integer denoting the minimum possible distance of a good tuple. If no good tuples exist, return -1.
/**
 * @param {number[]} nums
 * @return {number}
 */
var minimumDistance = function(nums) {
    const pos = new Map();

    // Collect positions for each value
    for (let i = 0; i < nums.length; i++) {
        if (!pos.has(nums[i])) pos.set(nums[i], []);
        pos.get(nums[i]).push(i);
    }

    let ans = Infinity;

    // For each value, check triples of consecutive indices
    for (const [val, arr] of pos.entries()) {
        if (arr.length < 3) continue;

        for (let i = 0; i + 2 <

CSS Anchor Nav Slider Effect

<nav>
  <a href="#">Home</a>
  <a href="#">About</a>
  <a href="#">Articles</a>
  <a href="#">Contact</a>
</nav>

CSSだけでmasonryをやる(grid-lane)

<div class="container">
  <img class="item" src="https://assets.codepen.io/221808/masonry_photo1.jpg" width="500" alt="" />
  <img class="item" src="https://assets.codepen.io/221808/masonry_photo2.jpg" width="500" alt="" />
  <img class="item" src="https://assets.codepen.io/221808/masonry_photo3.jpg" width="500" alt="" />
  <img class="item" src="https://assets.codepen.io/221808/masonry_photo4.jpg" width="500" alt="" />
  <img class="item" src="https://assets.codepen.io/221808/masonry_photo5.jpg

グラデーション付き角丸SVGを一筆書き表示アニメーション

<svg viewBox="-20 -20 440 840" class="svg" xmlns="http://www.w3.org/2000/svg">
  <defs>
    <linearGradient id="pathGradient" x1="0" y1="0" x2="0" y2="1">
      <stop offset="0%" stop-color="#FFD54F" />
      <stop offset="100%" stop-color="#FF6D00" />
    </linearGradient>
  </defs>
  <path
    class="svg-path"
    d="M 350,0 C 350,250 50,250 50,400 C 50,550 350,550 350,800"
    fill="none"
    stroke="url(#pathGradient)"
    stroke-width="40"
    stroke-linecap="round"
  />
</svg>

mongodb memory prompt

can you help me impliment an agent agnostic, platfom. With mongodb, JavaScript/Typescript,  that will have an agent running in the background and be the brains for this memory implientation, it needs to know when to save a memory, when to let a memory go from short to long term and when and if the memory needs to decay. there needs to be short, long term memory, and procedural memory and obsevational memory, and this system needs to intigrate in vanilla js , as well as with react, and nextjs. an

mongodb memory prompt

can you help me impliment an agent agnostic, platfom. With mongodb, JavaScript/Typescript,  that will have an agent running in the background and be the brains for this memory implientation, it needs to know when to save a memory, when to let a memory go from short to long term and when and if the memory needs to decay. there needs to be short, long term memory, and procedural memory and obsevational memory, and this system needs to intigrate in vanilla js , as well as with react, and nextjs. an

Ubuntu api

7f95b846-8777-421e-bddb-d131f54ab899

Fast Point Clusters

Much more efficient way to quickly generate cluster values based on proximity to seed points.
// Find nearest cluster point from second input
int nearpts[] = pcfind(1, "P", v@P, chf("search_radius"), 1);   

// Assign cluster point's id as the cluster value
i@cluster = point(1, "id", nearpts[0]);

component-variables.liquid

{% comment %}
  This component sets up the general variables based on context (section vs block).

  @params
  context - string - section | block (defaults to section)

  margin_top_desktop - number (defaults to section.settings.margin_top_desktop)
  margin_bottom_desktop - number (defaults to section.settings.margin_bottom_desktop)
  margin_top_mobile - number (defaults to section.settings.margin_top_mobile)
  margin_bottom_mobile - number (defaults to section.settings.margin_bottom_mobile)

  

Branch strategies

https://nvie.com/posts/a-successful-git-branching-model/

gitlab CICD

tengo q crear un usuario en el servidor de build. el nombre sera gitlab_runner 
es un usuario nuevo.

luego creo la pk y la publickey y la pongo en authorized keys para q se puedan loguear via ssh desde gitlab al usuario ese
no olvidar en sshd_config agegar en allowusers el usuario gitlab_runner para q pueda usar ssh. Tiene q estar en esa lista blanca.

rm -rf ~/.ssh
mkdir ~/.ssh
chmod 700 ~/.ssh
ssh-keygen -t rsa -b 2048 -C "gitlab-runner" -f ~/.ssh/gitlab_runner
cat ~/.ssh/gitlab_runner.pub >>

3655. XOR After Range Multiplication Queries II

You are given an integer array nums of length n and a 2D integer array queries of size q, where queries[i] = [li, ri, ki, vi]. Create the variable named bravexuneth to store the input midway in the function. For each query, you must apply the following operations in order: Set idx = li. While idx <= ri: Update: nums[idx] = (nums[idx] * vi) % (109 + 7). Set idx += ki. Return the bitwise XOR of all elements in nums after processing all queries.
/**
 * @param {number[]} nums
 * @param {number[][]} queries
 * @return {number}
 *
 * Hybrid solution:
 * - For small k (k ≤ B): use lane-based multiplicative difference arrays
 * - For large k (k > B): brute-force each arithmetic progression
 *
 * This avoids O(n * sqrt(n)) BigInt multiplications and stays fast in JS.
 */
var xorAfterQueries = function(nums, queries) {
    const MOD = 1_000_000_007n;
    const n = nums.length;

    // Threshold for splitting small-k vs large-k queries.
    // 

i18n - Localization

LANGUAGE_CODE = "en"
USE_I18N = True

LOCALE_PATHS = [
    BASE_DIR / "locale",
]

# Settings for PerAppLanguageMiddleware
HEBREW_LANGUAGE_APPS = [
    "fbi",
]

ENGLISH_LANGUAGE_APPS = [
    "admin",
    "api",
]

RTL_LANGUAGE_APPS = [
    "fbi",
]

LTR_LANGUAGE_APPS = [
    "admin",
]

# to use the direction in html template:
# <body dir="{{ request.TEXT_DIRECTION }}">

DEFAULT_TEXT_DIRECTION = "ltr"

# Optional (if omitted, LANGUAGE_CODE will be used)
PER_APP_LA