Skip to content

Instantly share code, notes, and snippets.

View markthomas93's full-sized avatar
:shipit:
Working from home

Mark Thomas markthomas93

:shipit:
Working from home
  • freelance
  • California
View GitHub Profile
@markthomas93
markthomas93 / download-file.js
Created May 24, 2022 21:44 — forked from javilobo8/download-file.js
Download files with AJAX (axios)
axios({
url: 'http://localhost:5000/static/example.pdf',
method: 'GET',
responseType: 'blob', // important
}).then((response) => {
const url = window.URL.createObjectURL(new Blob([response.data]));
const link = document.createElement('a');
link.href = url;
link.setAttribute('download', 'file.pdf');
document.body.appendChild(link);
@markthomas93
markthomas93 / banner_harvester.jpg
Created April 2, 2022 00:42 — forked from bgulla/banner_harvester.jpg
Proxmox Nested Virtualization Tutorial- Harvester/ESXI
banner_harvester.jpg

Remote Gaming and Video editing with Proxmox GPU passthrough in a Windows 10 VM.

Are you a PC enthusiast want to play around virtualization and have you just recently upgraded to a 3000 series RTX card and don't know what to do with your 2000 series well I have a project for you.

I am going to assume you have a Proxmox Host with an extra GPU setup.

Once you pass the GPU through to a VM the host will not have access to the GPU anymore. This is why I recomend adding a second GPU to your host. Also the GPU cannot be shared across guests.

Changes to Proxmox Server

ssh into your Proxmox Server and edit Grub

@markthomas93
markthomas93 / btrfs-chsheet.md
Created March 7, 2022 07:58 — forked from alter2000/btrfs-chsheet.md
Btrfs workshop OSCAL 2019

Hello there

I've prepared this in case I get sick or just too lazy to speak during the workshop, so that you won't be left high and dry.

If you've worked before with LVM/ZFS

Here's a table comparing terms:

| Human | Btrfs | LVM | ZFS |

@markthomas93
markthomas93 / zfs-management.md
Created March 7, 2022 06:21
ZFS Installation & Management

ZFS Installation & Management

ZFS Installation

This tutorial will guide you on how to install Z File System (ZFS) on a Linux distribution. We will use Ubuntu Linux distribution since ZFS package in Ubuntu is maintained well to be compatible with it's Linux Kernel

If you are using an Cloud Instance like in Amazon Web Service you can use the default provided Ubuntu Amazon Machine Image (AMI) like Ubuntu 16.04, 18.04, and 20.04 when you are provisioning it

@markthomas93
markthomas93 / README.md
Created March 6, 2022 06:23 — forked from EnigmaCurry/README.md
Proxmox install log on bare metal

Proxmox install log on Bare Metal

Assumptions

  • A single node proxmox v5.4-3 install
  • Only one public IP address
  • LXC/KVM for "pet" (development) containers
  • Portainer / Docker for less stateful more automated use-cases
  • My server's FQDN is stardust.gtown.lan.rymcg.tech - use your own domain name.
@markthomas93
markthomas93 / smb.conf
Created March 6, 2022 05:04 — forked from tomtastic/smb.conf
Samba 4.13.5 config for MacOS Monterey
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Some options that are often worth tuning have been included as
@markthomas93
markthomas93 / speed-test.sh
Created March 6, 2022 00:26 — forked from tuanpt98/speed-test.sh
Test OS and Disk Information
#!/bin/bash
#######################################################
# Tocdo.net Linux Server Benchmarks v1.5
# Run speed test:
# curl -Lso- tocdo.net | bash
#######################################################
# Colors
RED='\033[0;31m'
GREEN='\033[0;32m'