Skip to content

Instantly share code, notes, and snippets.

View markthomas93's full-sized avatar

Mark Thomas markthomas93

  • freelance
  • California
View GitHub Profile
@velzie
velzie / manifest-v2-chrome.md
Last active July 17, 2025 18:55
How to keep using adblockers on chrome and chromium

NOTE

by the time you're reading this, this probably no longer works since the policy has been removed. I reccomend you to check out https://github.com/r58Playz/uBlock-mv3 instead

How to keep using adblockers on chrome and chromium

  1. google's manifest v3 has no analouge to the webRequestBlocking API, which is neccesary for (effective) adblockers to work
  2. starting in chrome version 127, the transition to mv3 will start cutting off the use of mv2 extensions alltogether
  3. this will inevitably piss of enterprises when their extensions don't work, so the ExtensionManifestV2Availability key was added and will presumably stay forever after enterprises complain enough

You can use this as a regular user, which will let you keep your mv2 extensions even after they're supposed to stop working

@VictorTaelin
VictorTaelin / gpt4_abbreviations.md
Last active July 11, 2025 21:21
Notes on the GPT-4 abbreviations tweet

Notes on this tweet.

  • The screenshots were taken on different sessions.

  • The entire sessions are included on the screenshots.

  • I lost the original prompts, so I had to reconstruct them, and still managed to reproduce.

  • The "compressed" version is actually longer! Emojis and abbreviations use more tokens than common words.

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

@todbot
todbot / ESP32_Composite_GFX_Fractal.ino
Created March 1, 2022 20:57
Real-time fractals on ESP32 and composite video out
/*
Real-time fractals on ESP32 and composite video out
1 Mar 2022 - @todbot
Basically just combined this sketch:
https://create.arduino.cc/projecthub/picass01/fractal-mandelbrot-with-arduino-72a2b6
and the "GFX_HelloWorld" sketch from
https://github.com/Roger-random/ESP_8_BIT_composite
Uses ESP_8_BIT_composite color composite video generator library on ESP32.
@joelonsql
joelonsql / PostgreSQL-EXTENSIONs.md
Last active July 19, 2025 06:57
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.

@akemin-dayo
akemin-dayo / qemu-screamer-build-usage-guide.md
Last active June 9, 2025 00:21
A guide to building and using the audio-enabled "Screamer" fork of PowerPC QEMU on macOS and Windows

A guide to building and using the audio-enabled "Screamer" fork of PowerPC QEMU on macOS and Windows

Karen/あけみ (Twitter, Homepage)

Last updated: 2021/10/09 (QEMU-screamer version 6.1.50)

Here's a quickly-written guide describing how to build and use mcayland's excellent "Screamer" fork of QEMU which adds working audio support to QEMU for PowerPC guests!

Yes, this means working audio in PowerPC versions of OS X, Mac OS 9, and even Linux!

This guide isn't… quite up to my quality standards yet, but I figured I'd release it in this state regardless for anyone that might benefit from it, especially since I had to figure out quite a bit of this myself due to some of the existing documentation being somewhat outdated or incorrect.

@Riizade
Riizade / career-advice.md
Last active November 24, 2024 01:50
A compilation of my career advice for students, new grads, and to some degree even experienced individuals in the software development field.

Preface

This document is intended to provide advice for people working in industry, but primarily for those working in software engineering or very closely related high-paying tech fields such as security, IT, machine learning, data science, etc.

This is written from the perspective of 6+ years experience, but hopefully contains some good nuggets of advice even for those who have experience beyond that.

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 for comparatively less salary, because time spent with family and on your hobbies is more important than the salary growth you give up in exchange.

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)?

const notionToken = "secret_xxxxxxxxxx";
const notionDbId = "xxxxxxxxxx";
const calendarId = "[email protected]";
const notionPrefix = "https://www.notion.so/";
const nameProp = "Name";
const dateProp = "Date";
const hoursProp = "Hours";
const statusProp = "Status";