Skip to content

Instantly share code, notes, and snippets.

Phippsy michaelphipps

Block or report user

Report or block michaelphipps

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@michaelphipps
michaelphipps / web-font-not-working.md
Last active May 27, 2018
How to get web fonts working correctly in your server environment.
View web-font-not-working.md

If you have web fonts on a subdomain seperate to the domain you are calling them, usual advice is to place the following into the .htaccess file for the subdomain

<IfModule mod_headers.c>
  <FilesMatch “.(eot|otf|ttc|ttf|woff|woff2)$”>
    Header set Access-Control-Allow-Origin “*”
  </FilesMatch>  
</IfModule>
View apiexplorer.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta content="width=device-width, initial-scale=1" name="viewport">
<meta content="" name="description">
<meta content="" name="author">
<link href="../../favicon.ico" rel="icon">
<title>JSON API Explorer</title><!-- Latest compiled and minified CSS -->
View keybase.md

Keybase proof

I hereby claim:

  • I am michaelphipps on github.
  • I am michaelphipps (https://keybase.io/michaelphipps) on keybase.
  • I have a public key whose fingerprint is FAE5 1CEC F182 EB36 BB3E 4BAD AFC5 0520 8CDF C98D

To claim this, I am signing this object:

You can’t perform that action at this time.