Verification-Driven Development (VDD) is a high-integrity software engineering framework designed to eliminate "code slop" and logic gaps through a generative adversarial loop. Unlike traditional development cycles that rely on passive code reviews, VDD utilizes a specialized multi-model orchestration where a Builder AI and an Adversarial AI are placed in a high-friction feedback loop, mediated by a human developer and a granular tracking system.
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 bash | |
| set -m # enable job control | |
| ## run with "-d" command line switch to debug each step, script will wait for keypress to go on | |
| ## integrated mods by KingdonB in his fork: https://gist.github.com/kingdonb/dec74f3b74ffbb83b54d53d5c033e508 | |
| ## added proper coredns patching via "coredns-custom" configmap | |
| ## added automatic /etc/hosts file modification if needed, sudo password will be asked in case | |
| ## added (commented out) lines to add Flux extra controllers to the setup | |
| ## deployed podinfo as in Flux Get Started guide |
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
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| annotations: | |
| deployment.kubernetes.io/revision: "8" | |
| creationTimestamp: "2020-11-02T14:42:53Z" | |
| generation: 8 | |
| labels: | |
| app.kubernetes.io/instance: flux | |
| app.kubernetes.io/version: latest |
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
| { | |
| "check": { | |
| "id": "check-disk", | |
| "name": "check-disk", | |
| "script": "/usr/lib/nagios/plugins/check_disk -w 30% -c 5%", | |
| "interval": "1m" | |
| } | |
| } |
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
| #!/bin/bash | |
| sudo /sbin/route add -net x.x.x.0/24 xxx.xxx.xxx.xxx | |
| # Save this file somewhere and make it executable (chmod a+x <file>) | |
| # Then run 'sudo defaults write com.apple.loginwindow LoginHook /Path/To/Your/Script' |
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
| # first: | |
| lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom | while read f; do sudo rm /usr/local/${f}; done | |
| sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /var/db/receipts/org.nodejs.* | |
| # To recap, the best way (I've found) to completely uninstall node + npm is to do the following: | |
| # go to /usr/local/lib and delete any node and node_modules | |
| cd /usr/local/lib | |
| sudo rm -rf node* |
The new Docker daemon uses port: 2376 with TLS enable by default. Sometimes I want to play with curl
on the old plain http port 2375. The trick is: use socat in a container to proxy the unix socket
to a real port.
docker run -d \
--volume /var/run/docker.sock:/var/run/docker.sock \
--name docker-http \
deb socat -d -d TCP-L:2375,fork UNIX:/var/run/docker.sock
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
| #!/bin/bash | |
| # Author: Erik Kristensen | |
| # Email: erik@erikkristensen.com | |
| # License: MIT | |
| # Nagios Usage: check_nrpe!check_docker_container!_container_id_ | |
| # Usage: ./check_docker_container.sh _container_id_ | |
| # | |
| # Depending on your docker configuration, root might be required. If your nrpe user has rights | |
| # to talk to the docker daemon, then root is not required. This is why root privileges are not |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq.Expressions; | |
| using System.Reflection; | |
| namespace Bleroy.Helpers { | |
| public static class NotNull { | |
| public static TProp Get<TSource, TProp>(this TSource source, Expression<Func<TSource, TProp>> property) where TSource : class { | |
| if (source == null) return default(TProp); | |
| var current = property.Body; |
NewerOlder