Skip to content

Instantly share code, notes, and snippets.

View dbraga's full-sized avatar

Damiano Braga dbraga

  • Trulia
  • San Francisco
View GitHub Profile
@dbraga
dbraga / macos-recovery-server.md
Created December 29, 2017 11:55
Fixing "The recovery server could not be contacted" in MacOS High Sierra

I was trying to reinstall High Sierra on an older MacBook Air using internet recovery and I kept on getting an error message when trying to reinstall High Sierra.

The recovery server could not be contacted

It appears that this has to do with the time on the machine not being synchronized, so when the MacBook tries to reach out to the recovery server the certificates do not validate and we get this useless error message.

To fix this.

  1. Open up a Terminal from the utilities menu
  2. Enter the following command
@dbraga
dbraga / gist:4165986
Created November 29, 2012 01:00 — forked from hay/gist:1351230
Enterprisify your Java Class Names!
<!doctype html>
<html>
<head>
<title></title>
<style>
body {
background: white;
text-align: center;
padding: 20px;
font-family: Georgia, serif;