Skip to content

Instantly share code, notes, and snippets.

View ericmdev's full-sized avatar

Eric Mugerwa ericmdev

  • Manchester, United Kingdom
View GitHub Profile
@ericmdev
ericmdev / application.html.erb
Created December 12, 2015 04:38 — forked from garethrees/application.html.erb
Boilerplate HTML <head> Section
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<!-- Make a DNS handshake with a foreign domain, so the connection goes faster when the user eventually needs to access it. This works well for loading in assets (like images) from another domain, or a JavaScript library from a CDN. -->
<link rel="dns-prefetch" href="//ajax.googleapis.com" />
<link rel="dns-prefetch" href="//s3.amazonaws.com" />
<!-- Make sure the latest version of IE is used -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

Quick install PHP 7.0:

1. Install depends PHP 7.0
$ brew install autoconf automake gmp bison27 gd freetype t1lib gettext zlib mcrypt
2. Configure PHP 7.0
$ git clone --depth=1 https://github.com/php/php-src.git

$ cd php-src

@ericmdev
ericmdev / penguin.php
Last active November 28, 2015 03:25
PHP penguin class.
class penguin
{
}