Skip to content

Instantly share code, notes, and snippets.

View jacobsantos's full-sized avatar

Jacob Santos jacobsantos

View GitHub Profile
protocol SomethingProtocol {
public doSomething();
}
@jacobsantos
jacobsantos / java-interface-presentation
Last active August 29, 2015 14:10
Basic Java Interface
public interface ISomething {
public void doSomething();
}
@jacobsantos
jacobsantos / describe1.php
Created August 12, 2014 15:00
Describe function with example description and action
<?php
describe(
// The description of the specification.
'the describe function needs to have callable and context',
// All of the options and tests are contained within this closure.
// The closure or invoke object must accept no arguments, because none will
// be given when called.
function() {}
);
@jacobsantos
jacobsantos / example.php
Last active December 16, 2015 02:09 — forked from amkaos/gist:5357240
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
</head>
<body>
<?php