Skip to content

Instantly share code, notes, and snippets.

View markthomas93's full-sized avatar

Mark Thomas markthomas93

  • freelance
  • California
View GitHub Profile
@markthomas93
markthomas93 / github-actions-notes.md
Created June 16, 2022 20:37 — forked from br3ndonland/github-actions-notes.md
Getting the Gist of GitHub Actions
@markthomas93
markthomas93 / PostgreSQL-EXTENSIONs.md
Created June 16, 2022 20:36 — forked from joelonsql/PostgreSQL-EXTENSIONs.md
1000+ PostgreSQL EXTENSIONs

🗺🐘 1000+ PostgreSQL EXTENSIONs

This is a list of URLs to PostgreSQL EXTENSION repos, listed in alphabetical order of parent repo, with active forks listed under each parent.

⭐️ >= 10 stars
⭐️⭐️ >= 100 stars
⭐️⭐️⭐️ >= 1000 stars
Numbers of stars might not be up-to-date.

@markthomas93
markthomas93 / demo_business_records.json
Created June 9, 2022 21:58 — forked from seanstory/demo_business_records.json
A json listing of fake businesses
[
{
"business_id": "b72ed9bb-d74d-44f6-bb23-83ed7e51121d",
"business_name": "Jane",
"city": "New York",
"street_address": "100 W Houston St",
"phone_number": "(212) 254-7000",
"tags": [
"Breakfast & Brunch",
"American (New)",
@markthomas93
markthomas93 / career-advice.md
Created June 9, 2022 21:54 — forked from Riizade/career-advice.md
A compilation of my career advice for students, new grads, and to some degree even experienced individuals in the software development field.

Optimize for happiness.

Not for salary, not for status, not for "career growth". All of those things are just proxies for things people think will make them happy. Sometimes the best job you can have is a "rest and vest" position working 5 hours a week (not exaggerating, I've been there).

Always think about a job (and anything else) in terms of tradeoffs. How good is the food in the area? Can you enjoy your favorite hobbies in the area (skiing, camping, sports, esports, scuba, surfing, etc)? Will you have time for your hobbies? Can you walk to work? Do you have friends at the company/in the area?

Trying to tie a dollar amount to the above is usually a fool's errand, but generally once you're making $100k+/yr even a substantial pay increase is not worth a noticeable decrease in quality of life elsewhere.

Negotiation is more important than you think.

Read this wonderful blog post by patio11. https://www.kalzumeus.com/2012/01/23/salary-negotiation/

@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 |