Skip to content

Instantly share code, notes, and snippets.

View kennethkeim's full-sized avatar

Kenneth Keim kennethkeim

View GitHub Profile
@twish
twish / reset_display_montaray.md
Created November 15, 2021 15:26
Reset external displays macos monterey

Reset external display configurations in macos Monterey

Background

I had the issue where a display reported a supported resolution that was actually not supported. This caused macos to get stuck in a loop where macos would try to connect to the monitor, succeed. Only to have the monitor disconnect since it did not support the resolution. This made it impossible to manually change the resolution since macos only shows the settings if the display is connected.

After a bunch of googling and trial and error I solved it with the following workaround:

@mshafrir
mshafrir / states_hash.json
Created May 9, 2012 17:05
US states in JSON form
{
"AL": "Alabama",
"AK": "Alaska",
"AS": "American Samoa",
"AZ": "Arizona",
"AR": "Arkansas",
"CA": "California",
"CO": "Colorado",
"CT": "Connecticut",
"DE": "Delaware",