Skip to content

Instantly share code, notes, and snippets.

This stock photo man is my spirit animal (he's mine, you can't have him)


This stock photo man is my spirit animal (he's mine, you can't have him)
View GitHub Profile
View pesticides.txt
The Sheep Look Up:

Screen Tearing in Linux

The purpose of this gist is to document my experiences with screen tearing in Linux.


  • Archlinux
  • i5-4460 (4) @ 3.4GHz
  • GeForce GTX 750 Ti
mkrupczak3 / docker-compose.yml
Created Sep 26, 2020
Minecraft Docker OpenJ9 ShenandoahGC: Ultra-low lag with Shenandoah GC
View docker-compose.yml
version: '3'
- "25565:25565"
mkrupczak3 /
Last active Oct 2, 2020
Batch convert Steam uncompressed PNG videogame screenshots to high-quality low compression JPG for use with twitter
# Batch convert Steam uncompressed PNG videogame screenshots to high-quality low compression JPG for use with twitter:
find . -type f -iname '*.png' -print0 | xargs -0 -n 1 -P 4 -I {} convert -verbose -units PixelsPerInch {} -colorspace sRGB -resize 3440x1440 -set filename:new '%t-%wx%h' -density 72 -format JPG -quality 97 '%[filename:new].jpg'

What does the revised statement say about financial stability?

In August 2020 , Powell noted the trend that in recent years, “a series of historically long expansions had been more likely to end with episodes of financial instability, prompting essential efforts to substantially increase the strength and resilience of the financial system.”

Given this history, the new statement explicitly addresses financial stability concerns as an important part of the Fed’s mandate. “[S]ustainably achieving maximum employment and price stability depends on a stable financial system. Therefore, the Committee’s policy decisions reflect its longer-run goals, its medium-term outlook, and its assessments of the balance of risks, including risks to the financial system that could impede the attainment of the Committee’s goals.”

This change elevates financial stability in the Fed’s hierarchy of goals and suggests that, depending on the circumstances, th

mkrupczak3 / Video_Enc_Notes.txt
Last active Nov 5, 2020
A set of notes for how I set up my twitch stream
View Video_Enc_Notes.txt
Twitch official notes:
Why use I NVENC (NVIDIA Turing and better) GPU ASIC encoding instead of CPU encoding?
NVENC is available on Maxwell arch. GPU's (GTX 10XX and later), but is vastly improved starting w/ the RTX (Turing & Ampere) cards.
GPU encoding = Fast but dumb
CPU encoding = Smart but slow:
View Foreword: The Power of Retained Earrings
Foreword: The Power of Retained Earnings
In 1924, Edgar Lawrence Smith, an obscure economist and financial advisor, wrote Common Stocks as Long Term Investments, a slim book that changed the investment world. Indeed, writing the book changed Smith himself, forcing him to reassess his own investment beliefs. Going in, he planned to argue that stocks would perform better than bonds during inflationary periods and that bonds would deliver superior returns during deflationary times. That seemed sensible enough. But Smith was in for a shock.
His book began, therefore, with a confession: "These studies are the record of a failure - the failure of facts to sustain a preconceived theory." Luckily for investors, that failure led Smith to think more deeply about how stocks should be evaluated. For the crux of Smith's insight, I will quote an early reviewer of his book, none other than John Maynard Keynes: "I have kept until last what is perhaps Mr. Smith's most important, and is certainly his most novel, point. Well-
mkrupczak3 / newcrontab
Created Sep 12, 2020
A crontab correction for newer versions of let's encrypt with Forest Hoffman's Wordpress Https Docker config
View newcrontab
root@urmum:~/projects/nginx_proxy# cat newcrontab
# Renew Let's Encrypt SSL Certificates that have < 30 days to go,
# in the morning (UTC time).
0 11 * * * certbot renew --quiet
root@urmum:~/projects/nginx_proxy# diff crontab newcrontab
< 0 11 * * * /usr/bin/certbot renew --quiet
> 0 11 * * * certbot renew --quiet
# Startup the nginx server. The server has to be active for the Let's Encrypt Certbot to
# register and install the certificates.
nginx -g "daemon on;"
# Checks that the SSL certificates are installed. If they are, renews any that are old, and
View I_Have_No_Mouth_And_Yet_I_Must_Scream_Walkthrough.txt
d888888b db db .d8b. db db d88888b d8b db .d88b. .88b d88. .d88b. db db d888888b db db
`88' 88 88 d8' `8b 88 88 88' 888o 88 .8P Y8. 88'YbdP`88 .8P Y8. 88 88 `~~88~~' 88 88
88 88ooo88 88ooo88 Y8 8P 88ooooo 88V8o 88 88 88 88 88 88 88 88 88 88 88 88ooo88
88 88~~~88 88~~~88 `8b d8' 88~~~~~ 88 V8o88 88 88 88 88 88 88 88 88 88 88 88~~~88
.88. 88 88 88 88 `8bd8' 88. 88 V888 `8b d8' 88 88 88 `8b d8' 88b d88 88 88 88
Y888888P YP YP YP YP YP Y88888P VP V8P `Y88P' YP YP YP `Y88P' ~Y8888P' YP YP YP
You can’t perform that action at this time.