Skip to content

Instantly share code, notes, and snippets.

@jasonm23
jasonm23 / How to set overscan on MacOS Displays when the slider is missing.md
Last active October 9, 2024 11:12
How to set overscan on MacOS Displays when the slider is missing

How to set overscan on MacOS Displays when the slider is missing?

Screenshot 2022-06-03 at 12 21 03

When I connect a monitor or TV to my Mac. Usually I have an overscan slider in the Display Preferences. However sometimes, it's not there. Ironically, this always seems to happen when the screen needs overscan adjustment.

Thankfully it's not impossible to fix the issue.

I haven't found much useful information on this, the difficulty level is quite high, we will need to use the terminal. Open spotlight and type Terminal, press enter and you'll get an imposing Terminal window, with a flashing cursor and not much else. We'll come back to that in a moment or two.

@gabriel-fallen
gabriel-fallen / gpu_blur.html
Created May 17, 2020 15:25
Bluring images with GPU.js
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>GPU.js &mdash; blur</title>
<script src="gpu-browser.min.js"></script>
</head>
<body>
<input id="image" type="file" accept="image/*">
<p>Original:</p>
@toricls
toricls / Time-based-auto-scaling-on-fargate.md
Created August 5, 2019 01:49
Example: Time-based Auto Scaling on Amazon ECS + AWS Fargate

Set parameters

$ export ECS_CLUSTER_NAME={YOUR_ECS_CLUSTER_NAME}
$ export ECS_SERVICE_NAME={YOUR_ECS_SERVICE_NAME}

RegisterScalableTarget

@BlueNexus
BlueNexus / python2pseudo.py
Last active November 5, 2024 16:23
Python to Pseudocode converter
import os.path
import re
'''
INSTRUCTIONS
1. Create a file with the following code
2. Put the file you want to convert into the same folder as it, and rename it to "py_file.py"
3. Add a "#F" comment to any lines in the code which have a function call that doesn't assign anything (so no =),
as the program cannot handle these convincingly
4. Run the converter file