Skip to content

Instantly share code, notes, and snippets.

View HauptJ's full-sized avatar
:octocat:

Joshua N Haupt HauptJ

:octocat:
View GitHub Profile
#pragma once
#include "HellTypes.h"'
#include "HellConstants.h"
#include "CreateInfo.h"
#include "Types/Game/AnimatedGameObject.h"
struct Dobermann {
void Init(DobermannCreateInfo createInfo);
void Update(float deltaTime);
@HauptJ
HauptJ / MyStringMap.h
Created November 15, 2025 23:52
MyStringMap.h StringMap / HashMap QuadraticProving Implementation in Progress
//
// Created by josh on 11/15/2025.
//
#ifndef MYSTRINGMAP_H
#define MYSTRINGMAP_H
#include "abstractstringmap.h"
#include <string>
#include <utility>
@HauptJ
HauptJ / vscode.yml
Created November 13, 2025 04:02
Ansible Script to Install VSCode on RHEL Systems with DNF
#!/usr/bin/env ansible-playbook
---
- name: Install Text Editors
hosts: localhost
become: true
gather_facts: False
tasks:
- name: Add VSC repo
@HauptJ
HauptJ / optFeatures.ps1
Created November 9, 2025 23:43
PowerShell Script to Enable Windows Optional Features - Specifically HyperV and WSL By Default
#Requires -RunAsAdministrator
param (
[string[]] $optFeatures = @("Microsoft-Hyper-V-All", "VirtualMachinePlatform", "Microsoft-Windows-Subsystem-Linux"),
[bool] $optRestart = $False
)
try {
foreach($feature in $optFeatures) {
Enable-WindowsOptionalFeature -Online -FeatureName $feature -All -NoRestart
@HauptJ
HauptJ / tex.yml
Created October 4, 2025 17:19
Ansible Playbook to Install Latex on Fedora
#!/usr/bin/env ansible-playbook
---
- name: Install and Configure LaTex
hosts: localhost
become: true
gather_facts: False
vars:
tex_live: texlive-scheme-full
tex_live_retries: 888
@HauptJ
HauptJ / editors.yml
Created October 4, 2025 17:18
Ansible Playbook to install Emacs and Vim
#!/usr/bin/env ansible-playbook
---
- name: Install Text Editors
hosts: localhost
become: true
gather_facts: False
tasks:
- name: Install Terminal Text Editors
dnf:
@HauptJ
HauptJ / ansible.sh
Created October 4, 2025 17:17
Bash script to install Ansible on Fedora
#!/usr/bin/env bash
# Ensure we have root permissions
if [[ $(/usr/bin/id -u) -ne 0 ]]; then
echo "Not running as root"
exit
fi
dnf update -y
dnf install ansible -y
@HauptJ
HauptJ / gcloud.yml
Created September 30, 2025 00:06
Install Google Cloud CLI Fedora
#!/usr/bin/env ansible-playbook
---
- name: Install Kubectl
hosts: localhost
become: true
gather_facts: false
tasks:
- name: Configure YUM repo
yum_repository:
@HauptJ
HauptJ / kubectl.yml
Created September 29, 2025 19:52
Install Kubectl on RHEL Based Systems
#!/usr/bin/env ansible-playbook
---
- name: Install Kubectl
hosts: localhost
become: true
gather_facts: false
tasks:
- name: Configure YUM repo
yum_repository:
@HauptJ
HauptJ / editors.yml
Created December 9, 2024 03:01
Single file Ansible Playbook to install text editors on Fedora
#!/usr/bin/env ansible-playbook
---
- name: Install Text Editors
hosts: localhost
become: true
gather_facts: False
tasks:
- name: Install Terminal Text Editors
dnf: