Skip to content

Instantly share code, notes, and snippets.

View fatguytyson's full-sized avatar

Fat Guy Tyson/Sage Tyson fatguytyson

View GitHub Profile

Keybase proof

I hereby claim:

  • I am fatguytyson on github.
  • I am fatguytyson (https://keybase.io/fatguytyson) on keybase.
  • I have a public key ASDqPNmluZV38rL3-WaeAoqyy23YDsFly1vPwa-IItZrzwo

To claim this, I am signing this object:

@fatguytyson
fatguytyson / ScreenMonitor.sh
Created April 3, 2021 17:08
Screen watcher for Linux Mint Immersed (dis)connect.
#! /bin/bash
OUTPUT_NAME="DVI-I-2-2"
OUTPUT_MODE="1920x1080"
OUTPUT_LOCATION="--right-of DP-1-3"
LOG_DIR="~/.Immersed/Logs"
agent_started() {
pgrep Immersed &> /dev/null 2>&1
return $?
@fatguytyson
fatguytyson / SuffixTree.php
Created July 14, 2018 08:16
Suffix Tree w/ longest common substring specialization
function longestCommonSubstring($s, $t) {
// $start = microtime(true);
// $s = getRandString(100000);
// $t = getRandString(100000);
// $time = microtime(true)-$start;
// echo "String Gen: $time\n";
/** Dynamic Programing */
// $sa = str_split($s);
// $ta = str_split($t);