Skip to content

Instantly share code, notes, and snippets.

View activedecay's full-sized avatar

chunk activedecay

View GitHub Profile
@activedecay
activedecay / test-every-ocp.txt
Created October 28, 2021 15:18
output from running the interop validator against ocp profiles using the profile simulator as a device
Doing ../HWMgmt-OCP-Profiles/LICENSE
Redfish Interop Validator, version 2.0.1
Option online_profiles not supported!
{
"DEFAULT": {},
"Tool": {
"verbose": {
"value": "",
"description": "TBD"
#!/bin/bash
# Based on public domain work by Yury V. Zaytsev <yury@shurup.com>
# Deps: bash4+, xpath, egrep, virsh
set -e
set -u
MACHINES=$( virsh list --name | egrep "\S" )
NETWORK="default"
BRIDGE="bridge0"
/* this script will slightly back up production, but that can be
easily solved by adding some storage containers between belts */
const source = parseInt(process.argv[2]);
const begin = { source, nodes: [] };
const splits = [2, 3];
const target = parseInt(process.argv[3]);
let gold = false;
function recurse(current = begin, depth = 1) {
@activedecay
activedecay / input.sh
Created January 14, 2019 01:01
input from users until ctrl-c
#!/usr/bin/env bash
while read -p "in >" line; do
echo line was ${line}
done
/** By_Sean_Eron_Anderson seander@cs.stanford.edu */
#include <stdbool.h>
#include <stdint.h>
#include <endian.h>
#define CHAR_BIT 8
void Compute_the_sign_of_an_integer() {
/*Compute the sign of an integer*/
@activedecay
activedecay / ansible-vvv.log
Created January 4, 2019 15:19
ansible npm module verbose run log
sweet@beastmode:~/lab$ aplay -i 'hosty-host,' -e ansible_ssh_pass=vagrant -u vagrant npm-install.yml -vvv
ansible-playbook 2.7.2
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/sweet/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible
executable location = /usr/local/bin/ansible-playbook
python version = 2.7.12 (default, Nov 12 2018, 14:36:49) [GCC 5.4.0 20160609]
Using /etc/ansible/ansible.cfg as config file
Parsed hosty-host, inventory source with host_list plugin
@activedecay
activedecay / Makefile
Last active January 1, 2019 21:56
god-like makefile, thanks Beta
# c
# ├── Makefile
# ├── obj
# └── src
# ├── lib.c
# ├── lib.h
# └── server.c
EXE := doit
SRC := src
import {arrayOf} from "./util/array"
import p5 from 'p5' // vector fromAngle
import particle from './particle'
export default function (s) {
s.createSpan('cellScale')
const cellScaleSlider = s.createSlider(2, 100, 9, 1)
s.createSpan('particleCount')
const particleCountSlider = s.createSlider(2, 10000, 40, 1)
s.createSpan('frameRate')
This software contains unmodified binary redistributions for
H2 database engine (http://www.h2database.com/),
which is dual licensed and available under the MPL 2.0
(Mozilla Public License) or under the EPL 1.0 (Eclipse Public License).
An original copy of the license agreement can be found at:
http://www.h2database.com/html/license.html
BSD 2-Clause License
Copyright (c) [year], [fullname]
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this