Skip to content

Instantly share code, notes, and snippets.

View hypersoft's full-sized avatar

Triston J. Taylor hypersoft

View GitHub Profile
@hypersoft
hypersoft / git-checkout-unmodified-binaries
Created December 12, 2017 00:15
Git: Auto-Generated Binary Synchronization: Zap unmodified binary files
#!/usr/bin/env bash
# This is a Git tool which zaps-auto-generated-binaries, which have not
# been modified from the previous version.
# This tool is designed to help keep commit history clean and concise.
GITROOT="`realpath $1`"; shift;
MD5FILES="$@";
@hypersoft
hypersoft / throttle.sh
Last active May 27, 2020 08:12
User-Level: Process IO, CPU and Memory throttling using systemd-run, in a convenient shell script.
#!/usr/bin/bash
function throttle.help() { cat<<EOF
throttle [OPTIONS] COMMAND
OPTIONS:
-- Stop options processing and execute COMMAND using systemd-run.
@hypersoft
hypersoft / MicroMachine.java
Last active May 2, 2018 02:48
Virtual: MicroMachine
package com.hypersoft.systems.usa.bleeding.edge;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;