Skip to content

Instantly share code, notes, and snippets.

View dvins's full-sized avatar
🚀
Ad Astra!

David Vins dvins

🚀
Ad Astra!
View GitHub Profile
@manu354
manu354 / decompose_subtask_dependency_graph_and_orchestrate.md
Created February 2, 2026 03:47
Instructions for orchestrating multi-agent feature development through a dependency graph. Defines a 5-phase structure: data model, TDD, isolated UI with visual testing, and E2E integration.

ORCHESTRATION Instructions

  1. Decompose all subtasks required to accomplish this task into a dependency graph of nodes.

  2. Spawn agents to work through this dependency graph.

    • Note: wait_for_agent tool can be buggy—may need to call it multiple times.
  3. Manage/orchestrate Voicetree MCP agents to work through the dependency graph.

Recommended Structure

@ixahmedxi
ixahmedxi / tsup.config.ts
Created December 2, 2023 13:38
tsup multi entrypoint
import fs from 'fs';
import path from 'path';
import { defineConfig } from 'tsup';
// INFO: This is the only place you need to update when adding new entry folders
const entryFolders = ['primitives', 'ui'];
function getAllFilesInDirectory(dirPath: string): string[] {
return fs.readdirSync(dirPath).reduce<string[]>((allFiles, file) => {
@yeganemehr
yeganemehr / semanticVersioningConversion.js
Last active March 26, 2025 21:32 — forked from dislick/semanticVersioningConversion.js
Convert Semantic Versioning String to Integer in ES6
/**
* Convert a sematic versioning string into an 32-bit integer.
*
* Make sure the input string is compatible with the standard found
* at semver.org. Since this only uses 10-bit per major/minor/patch version,
* the highest possible SemVer string would be 1023.1023.1023.
* @param {string} version SemVer string
* @return {number} Numeric version
*/
const convertVersionToInt32 = function(version) {
@andreialecu
andreialecu / README.md
Last active April 6, 2023 17:44
Sentry NestJS GQL instrumentation
@click2install
click2install / DateTime.ts
Created November 21, 2021 08:07
[DateTime] - A GraphQL ScalarType for Luxon DateTime
import type { GraphQLScalarTypeConfig } from "graphql";
import { GraphQLScalarType } from "graphql";
import { DateTimeResolver } from "graphql-scalars";
import { DateTime } from "luxon";
export const GraphQLDateTimeConfig: GraphQLScalarTypeConfig<DateTime, DateTime> =
{
name: "DateTime",
description: "An ISO8601 date-time string represented by a Luxon DateTime instance.",
@p-hebert
p-hebert / RollupOrderedDrilldownTable.jsx
Created January 14, 2020 01:07
Cube.js Client Wrapper Gist
import React from 'react';
import * as R from 'ramda';
import cube from '../../utils/cube';
import TableContainer from './Table';
import { getAllResultSetDataFromResultSetDict } from '../../utils/cube.utils';
import {
sortByRowRollupValue,
sumColumnRollupRecordsToGrandTotalRecord,
} from '../helpers/rollupOrderedPatientAgeGroupDrilldownTableHelpers';
@skyzyx
skyzyx / homebrew-gnubin.md
Last active March 14, 2026 07:23
Using GNU command line tools in macOS instead of FreeBSD tools

macOS is a Unix, and not built on Linux.

I think most of us realize that macOS isn't a Linux OS, but what that also means is that instead of shipping with the GNU flavor of command line tools, it ships with the FreeBSD flavor. As such, writing shell scripts which can work across both platforms can sometimes be challenging.

Homebrew

Homebrew can be used to install the GNU versions of tools onto your Mac, but they are all prefixed with "g" by default.

All commands have been installed with the prefix "g". If you need to use these commands with their normal names, you can add a "gnubin" directory to your PATH from your bashrc.

@bsamuel-ui
bsamuel-ui / serverless-deploy-user.yaml
Last active June 5, 2019 17:20
Cloudformation template to deploy permissions for deploying a serverless project.
AWSTemplateFormatVersion: 2010-09-09
Description: >
Constructs a managed IAM policy to deploy a serverless project.
This template assumes the stack is being deployed in the current region and account.
You can then attach this policy to other IAM objects, such as users or roles.
Based on the work done in: https://github.com/serverless/serverless/issues/1439
@dislick
dislick / semanticVersioningConversion.js
Last active March 26, 2025 21:31
Convert Semantic Versioning String to Integer in ES6
/**
* Convert a sematic versioning string into an 32-bit integer.
*
* Make sure the input string is compatible with the standard found
* at semver.org. Since this only uses 10-bit per major/minor/patch version,
* the highest possible SemVer string would be 1023.1023.1023.
* @param {string} version SemVer string
* @return {number} Numeric version
*/
const convertVersionToInt32 = function(version) {