Skip to content

Instantly share code, notes, and snippets.

@johnmap
johnmap / patch-edid.md
Created January 4, 2021 13:08 — forked from ejdyksen/patch-edid.md
A script to fix EDID problems on external monitors in macOS

patch-edid.rb

A script to fix EDID problems on external monitors in macOS.

Instructions

  1. Connect only the problem display.

  2. Create this directory structure (if it doesn't already exist):

@johnmap
johnmap / gist:a3223d6548fa1480d0787390a477eed4
Created July 3, 2018 17:25
jotform full screen embed quick & dirty
<html>
<head>
<title>{YOUR SURVEY TITLE}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
html, body, iframe{
padding: 0;
margin: 0;
width: 100%;
@johnmap
johnmap / papajohns.rb
Created April 17, 2016 14:26 — forked from johnhamelink/papajohns.rb
Ruby CLI Client for Papa Johns' API
require 'rubygems'
require 'bundler/setup'
require 'faraday'
require 'pry'
require 'json'
@conn = Faraday.new(url: 'https://api.papajohns.co.uk') do |faraday|
faraday.adapter Faraday.default_adapter
end