Skip to content

Instantly share code, notes, and snippets.

Avatar

Nicholas Bateman ncbateman

View GitHub Profile
@ncbateman
ncbateman / gist:c8119b411383bbeeaf82
Created May 27, 2015
Twitter Api oAuth 1.1 simple
View gist:c8119b411383bbeeaf82
<?php
$consumerKey = /*CONSUMER KEY*/;
$consumerSecret = /* CONSUMER SECRET*/;
$authContext = stream_context_create(array(
'http' => array(
@ncbateman
ncbateman / gist:111b9191b36d7f704b57
Created Apr 24, 2015
Schema.org Properties array PHP 2015
View gist:111b9191b36d7f704b57
<?php
array (
'http://schema.org/Thing' => 'Thing',
'http://schema.org/CreativeWork' => 'CreativeWork',
'http://schema.org/WebPage' => 'WebPage',
'http://schema.org/AboutPage' => 'AboutPage',
'http://schema.org/Organization' => 'Organization',
'http://schema.org/Place' => 'Place',
'http://schema.org/LocalBusiness' => 'LocalBusiness',
You can’t perform that action at this time.